From 9f886c89fed06f8988704c5b4a19f5c9b175e854 Mon Sep 17 00:00:00 2001 From: abuaboud Date: Sat, 14 Jan 2023 00:45:00 +0000 Subject: [PATCH 1/4] fixed webhook url --- docker-compose.yml | 2 +- packages/backend/package.json | 2 +- packages/backend/src/helper/trigger-utils.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 05256e3d20..0e5ec02cde 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.0' services: backend: - image: activepieces/backend:0.1.17 + image: activepieces/backend:0.1.18 container_name: activepieces-backend restart: unless-stopped privileged: true diff --git a/packages/backend/package.json b/packages/backend/package.json index 7b64a54280..bb05f8d532 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -1,6 +1,6 @@ { "name": "backend", - "version": "0.1.17", + "version": "0.1.18", "description": "", "main": "./src/index.ts", "scripts": { diff --git a/packages/backend/src/helper/trigger-utils.ts b/packages/backend/src/helper/trigger-utils.ts index f4a92d79b8..111f0226bd 100755 --- a/packages/backend/src/helper/trigger-utils.ts +++ b/packages/backend/src/helper/trigger-utils.ts @@ -168,7 +168,7 @@ const getWebhookUrl = async (flowId: FlowId): Promise => { const webhookPath = `v1/webhooks?flowId=${flowId}`; let serverUrl = system.get(SystemProp.BACKEND_URL); - if (serverUrl !== undefined) { + if (serverUrl === undefined) { const { ip } = await getPublicIp(); serverUrl = `http://${ip}:3000` } From 2d99fd74330ced55c3df0ef92a4a7112e0d9fb6b Mon Sep 17 00:00:00 2001 From: abuaboud Date: Sat, 14 Jan 2023 12:24:02 +0000 Subject: [PATCH 2/4] fixed env variables and bump versions --- docker-compose.yml | 4 +- docs/self-hosting/configurations.mdx | 18 +- packages/backend/docker-compose.yml | 0 packages/backend/package.json | 2 +- .../backend/resources/activepieces-engine.js | 2 +- packages/backend/src/flags/flag.service.ts | 3 +- .../backend/src/helper/public-ip-utils.ts | 13 +- packages/backend/src/helper/trigger-utils.ts | 12 +- .../configs-form/configs-form.component.ts | 2 +- .../common/service/authentication.service.ts | 4 +- .../edit-step-accodion.component.ts | 2 +- pnpm-lock.yaml | 940 +++++++++++++++++- 12 files changed, 964 insertions(+), 38 deletions(-) mode change 100755 => 100644 packages/backend/docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml index 0e5ec02cde..d92d69f744 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.0' services: backend: - image: activepieces/backend:0.1.18 + image: activepieces/backend:0.1.19 container_name: activepieces-backend restart: unless-stopped privileged: true @@ -21,7 +21,7 @@ services: - AP_REDIS_HOST=redis - AP_REDIS_PORT=6379 - AP_FRONTEND_URL=http://localhost:8080 - - AP_BACKEND_URL=http://localhost:8080/api +## - AP_BACKEND_URL=http://localhost:8080/api networks: - activepieces diff --git a/docs/self-hosting/configurations.mdx b/docs/self-hosting/configurations.mdx index c492fd0485..576f12b8ed 100755 --- a/docs/self-hosting/configurations.mdx +++ b/docs/self-hosting/configurations.mdx @@ -3,10 +3,22 @@ title: "Configurations" description: "" --- -To configure activepieces, you will need to set some environment variables, There is file called `.env` at the root directory for our main repo. +To configure activepieces, you will need to set some environment variables, There is file called `docker-compose.yml` at the root directory for our main repo. | Variable | Description | Default Value | | ---------------------------- | ----------------------------------------------------------------------------------------------------------- | ---------------- | -| `JWT_SECRET` | ❗️ Encryption key used for generating JWT tokens | `None` | -| `FRONTEND_URL` | ❗️ Url that will be used in webhook triggers. | `None` | +| `AP_JWT_SECRET` | ❗️ Encryption key used for generating JWT tokens | `None` | +| `AP_FRONTEND_URL` | ❗️ Url that will be used to specify redirect url. | `None` | +| `AP_BACKEND_URL` | ❗️ Url that will be used to generate webhook url. | `None` | +| `AP_POSTGRES_DATABASE` | The name of the PostgreSQL database | `activepieces` | +| `AP_POSTGRES_HOST` | The hostname or IP address of the PostgreSQL server | `postgres` | +| `AP_POSTGRES_PASSWORD` | The password for the PostgreSQL user | `A79Vm5D4p2VQHOp2gd5` | +| `AP_POSTGRES_PORT` | The port number for the PostgreSQL server | `5432` | +| `AP_POSTGRES_USERNAME` | The username for the PostgreSQL user | `postgres` | +| `AP_REDIS_HOST` | The hostname or IP address of the Redis server | `redis` | +| `AP_REDIS_PORT` | The port number for the Redis server | `6379` | + + +The backend URL plays a crucial role in the functioning of webhooks and app triggers. By default, the URL is set to the machine's IP address. To ensure proper operation, ensure that this address is accessible or specify a different URL. One possible solution for this is using a service like ngrok (https://ngrok.com/), which can be used to expose the backend port (3000) to the internet. + diff --git a/packages/backend/docker-compose.yml b/packages/backend/docker-compose.yml old mode 100755 new mode 100644 diff --git a/packages/backend/package.json b/packages/backend/package.json index bb05f8d532..cf7271821a 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -1,6 +1,6 @@ { "name": "backend", - "version": "0.1.18", + "version": "0.1.19", "description": "", "main": "./src/index.ts", "scripts": { diff --git a/packages/backend/resources/activepieces-engine.js b/packages/backend/resources/activepieces-engine.js index def3aaee81..39e0eb0b37 100644 --- a/packages/backend/resources/activepieces-engine.js +++ b/packages/backend/resources/activepieces-engine.js @@ -1,2 +1,2 @@ /*! For license information please see activepieces-engine.js.LICENSE.txt */ -(()=>{var __webpack_modules__={30108:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callbackifyAll=t.callbackify=t.promisifyAll=t.promisify=void 0,t.promisify=function(e,t){if(e.promisified_)return e;t=t||{};const n=Array.prototype.slice,o=function(){let o;for(o=arguments.length-1;o>=0;o--){const t=arguments[o];if(void 0!==t){if("function"!=typeof t)break;return e.apply(this,arguments)}}const r=n.call(arguments,0,o+1);let i=Promise;return this&&this.Promise&&(i=this.Promise),new i(((o,i)=>{r.push(((...e)=>{const r=n.call(e),a=r.shift();if(a)return i(a);t.singular&&1===r.length?o(r[0]):o(r)})),e.apply(this,r)}))};return o.promisified_=!0,o},t.promisifyAll=function(e,n){const o=n&&n.exclude||[];Object.getOwnPropertyNames(e.prototype).filter((t=>!o.includes(t)&&"function"==typeof e.prototype[t]&&!/(^_|(Stream|_)|promise$)|^constructor$/.test(t))).forEach((o=>{const r=e.prototype[o];r.promisified_||(e.prototype[o]=t.promisify(r,n))}))},t.callbackify=function(e){if(e.callbackified_)return e;const t=function(){if("function"!=typeof arguments[arguments.length-1])return e.apply(this,arguments);const t=Array.prototype.pop.call(arguments);e.apply(this,arguments).then((e=>{e=Array.isArray(e)?e:[e],t(null,...e)}),(e=>t(e)))};return t.callbackified_=!0,t},t.callbackifyAll=function(e,n){const o=n&&n.exclude||[];Object.getOwnPropertyNames(e.prototype).filter((t=>!o.includes(t)&&"function"==typeof e.prototype[t]&&!/^_|(Stream|_)|^constructor$/.test(t))).forEach((n=>{const o=e.prototype[n];o.callbackified_||(e.prototype[n]=t.callbackify(o))}))}},57451:function(e,t,n){var o,r,i;r=[n(1740)],void 0===(i="function"==typeof(o=function(e){"use strict";var t,n,o,r,i,a,s,l,c,p,u,d,g,f,h,m=e.Reader,y=e.Writer,v=e.util,b=e.roots._google_cloud_vision_protos||(e.roots._google_cloud_vision_protos={});return b.google=((h={}).cloud=((c={}).vision=((l={}).v1=((o={}).Vertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.int32();break;case 2:o.y=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&!v.isInteger(e.x)?"x: integer expected":null!=e.y&&e.hasOwnProperty("y")&&!v.isInteger(e.y)?"y: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.Vertex)return e;var t=new b.google.cloud.vision.v1.Vertex;return null!=e.x&&(t.x=0|e.x),null!=e.y&&(t.y=0|e.y),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.Vertex"},t}(),o.NormalizedVertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.NormalizedVertex)return e;var t=new b.google.cloud.vision.v1.NormalizedVertex;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.NormalizedVertex"},t}(),o.BoundingPoly=function(){function t(e){if(this.vertices=[],this.normalizedVertices=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.vertices&&o.vertices.length||(o.vertices=[]),o.vertices.push(b.google.cloud.vision.v1.Vertex.decode(e,e.uint32()));break;case 2:o.normalizedVertices&&o.normalizedVertices.length||(o.normalizedVertices=[]),o.normalizedVertices.push(b.google.cloud.vision.v1.NormalizedVertex.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.vertices&&e.hasOwnProperty("vertices")){if(!Array.isArray(e.vertices))return"vertices: array expected";for(var t=0;t>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;case 3:o.z=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null!=e.z&&e.hasOwnProperty("z")&&"number"!=typeof e.z?"z: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.Position)return e;var t=new b.google.cloud.vision.v1.Position;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),null!=e.z&&(t.z=Number(e.z)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0,n.z=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),null!=e.z&&e.hasOwnProperty("z")&&(n.z=t.json&&!isFinite(e.z)?String(e.z):e.z),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.Position"},t}(),o.ImageAnnotator=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.batchAnnotateImages=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1.BatchAnnotateImagesRequest,b.google.cloud.vision.v1.BatchAnnotateImagesResponse,t,n)},"name",{value:"BatchAnnotateImages"}),Object.defineProperty(t.prototype.batchAnnotateFiles=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1.BatchAnnotateFilesRequest,b.google.cloud.vision.v1.BatchAnnotateFilesResponse,t,n)},"name",{value:"BatchAnnotateFiles"}),Object.defineProperty(t.prototype.asyncBatchAnnotateImages=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1.AsyncBatchAnnotateImagesRequest,b.google.longrunning.Operation,t,n)},"name",{value:"AsyncBatchAnnotateImages"}),Object.defineProperty(t.prototype.asyncBatchAnnotateFiles=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1.AsyncBatchAnnotateFilesRequest,b.google.longrunning.Operation,t,n)},"name",{value:"AsyncBatchAnnotateFiles"}),t}(),o.Likelihood=(t={},(n=Object.create(t))[t[0]="UNKNOWN"]=0,n[t[1]="VERY_UNLIKELY"]=1,n[t[2]="UNLIKELY"]=2,n[t[3]="POSSIBLE"]=3,n[t[4]="LIKELY"]=4,n[t[5]="VERY_LIKELY"]=5,n),o.Feature=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.maxResults=e.int32();break;case 3:o.model=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 11:case 6:case 7:case 9:case 10:case 12:case 19:}return null!=e.maxResults&&e.hasOwnProperty("maxResults")&&!v.isInteger(e.maxResults)?"maxResults: integer expected":null!=e.model&&e.hasOwnProperty("model")&&!v.isString(e.model)?"model: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.Feature)return e;var t=new b.google.cloud.vision.v1.Feature;switch(e.type){case"TYPE_UNSPECIFIED":case 0:t.type=0;break;case"FACE_DETECTION":case 1:t.type=1;break;case"LANDMARK_DETECTION":case 2:t.type=2;break;case"LOGO_DETECTION":case 3:t.type=3;break;case"LABEL_DETECTION":case 4:t.type=4;break;case"TEXT_DETECTION":case 5:t.type=5;break;case"DOCUMENT_TEXT_DETECTION":case 11:t.type=11;break;case"SAFE_SEARCH_DETECTION":case 6:t.type=6;break;case"IMAGE_PROPERTIES":case 7:t.type=7;break;case"CROP_HINTS":case 9:t.type=9;break;case"WEB_DETECTION":case 10:t.type=10;break;case"PRODUCT_SEARCH":case 12:t.type=12;break;case"OBJECT_LOCALIZATION":case 19:t.type=19}return null!=e.maxResults&&(t.maxResults=0|e.maxResults),null!=e.model&&(t.model=String(e.model)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"TYPE_UNSPECIFIED":0,n.maxResults=0,n.model=""),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1.Feature.Type[e.type]:e.type),null!=e.maxResults&&e.hasOwnProperty("maxResults")&&(n.maxResults=e.maxResults),null!=e.model&&e.hasOwnProperty("model")&&(n.model=e.model),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.Feature"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="TYPE_UNSPECIFIED"]=0,t[e[1]="FACE_DETECTION"]=1,t[e[2]="LANDMARK_DETECTION"]=2,t[e[3]="LOGO_DETECTION"]=3,t[e[4]="LABEL_DETECTION"]=4,t[e[5]="TEXT_DETECTION"]=5,t[e[11]="DOCUMENT_TEXT_DETECTION"]=11,t[e[6]="SAFE_SEARCH_DETECTION"]=6,t[e[7]="IMAGE_PROPERTIES"]=7,t[e[9]="CROP_HINTS"]=9,t[e[10]="WEB_DETECTION"]=10,t[e[12]="PRODUCT_SEARCH"]=12,t[e[19]="OBJECT_LOCALIZATION"]=19,t}(),t}(),o.ImageSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsImageUri=e.string();break;case 2:o.imageUri=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&!v.isString(e.gcsImageUri)?"gcsImageUri: string expected":null!=e.imageUri&&e.hasOwnProperty("imageUri")&&!v.isString(e.imageUri)?"imageUri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ImageSource)return e;var t=new b.google.cloud.vision.v1.ImageSource;return null!=e.gcsImageUri&&(t.gcsImageUri=String(e.gcsImageUri)),null!=e.imageUri&&(t.imageUri=String(e.imageUri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsImageUri="",n.imageUri=""),null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&(n.gcsImageUri=e.gcsImageUri),null!=e.imageUri&&e.hasOwnProperty("imageUri")&&(n.imageUri=e.imageUri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ImageSource"},t}(),o.Image=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.content=e.bytes();break;case 2:o.source=b.google.cloud.vision.v1.ImageSource.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.content&&e.hasOwnProperty("content")&&!(e.content&&"number"==typeof e.content.length||v.isString(e.content)))return"content: buffer expected";if(null!=e.source&&e.hasOwnProperty("source")){var t=b.google.cloud.vision.v1.ImageSource.verify(e.source);if(t)return"source."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.Image)return e;var t=new b.google.cloud.vision.v1.Image;if(null!=e.content&&("string"==typeof e.content?v.base64.decode(e.content,t.content=v.newBuffer(v.base64.length(e.content)),0):e.content.length>=0&&(t.content=e.content)),null!=e.source){if("object"!=typeof e.source)throw TypeError(".google.cloud.vision.v1.Image.source: object expected");t.source=b.google.cloud.vision.v1.ImageSource.fromObject(e.source)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.content="":(n.content=[],t.bytes!==Array&&(n.content=v.newBuffer(n.content))),n.source=null),null!=e.content&&e.hasOwnProperty("content")&&(n.content=t.bytes===String?v.base64.encode(e.content,0,e.content.length):t.bytes===Array?Array.prototype.slice.call(e.content):e.content),null!=e.source&&e.hasOwnProperty("source")&&(n.source=b.google.cloud.vision.v1.ImageSource.toObject(e.source,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.Image"},t}(),o.FaceAnnotation=function(){function t(e){if(this.landmarks=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 2:o.fdBoundingPoly=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 3:o.landmarks&&o.landmarks.length||(o.landmarks=[]),o.landmarks.push(b.google.cloud.vision.v1.FaceAnnotation.Landmark.decode(e,e.uint32()));break;case 4:o.rollAngle=e.float();break;case 5:o.panAngle=e.float();break;case 6:o.tiltAngle=e.float();break;case 7:o.detectionConfidence=e.float();break;case 8:o.landmarkingConfidence=e.float();break;case 9:o.joyLikelihood=e.int32();break;case 10:o.sorrowLikelihood=e.int32();break;case 11:o.angerLikelihood=e.int32();break;case 12:o.surpriseLikelihood=e.int32();break;case 13:o.underExposedLikelihood=e.int32();break;case 14:o.blurredLikelihood=e.int32();break;case 15:o.headwearLikelihood=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.fdBoundingPoly&&e.hasOwnProperty("fdBoundingPoly")&&(n=b.google.cloud.vision.v1.BoundingPoly.verify(e.fdBoundingPoly)))return"fdBoundingPoly."+n;if(null!=e.landmarks&&e.hasOwnProperty("landmarks")){if(!Array.isArray(e.landmarks))return"landmarks: array expected";for(var t=0;t>>3){case 3:o.type=e.int32();break;case 4:o.position=b.google.cloud.vision.v1.Position.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:}if(null!=e.position&&e.hasOwnProperty("position")){var t=b.google.cloud.vision.v1.Position.verify(e.position);if(t)return"position."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.FaceAnnotation.Landmark)return e;var t=new b.google.cloud.vision.v1.FaceAnnotation.Landmark;switch(e.type){case"UNKNOWN_LANDMARK":case 0:t.type=0;break;case"LEFT_EYE":case 1:t.type=1;break;case"RIGHT_EYE":case 2:t.type=2;break;case"LEFT_OF_LEFT_EYEBROW":case 3:t.type=3;break;case"RIGHT_OF_LEFT_EYEBROW":case 4:t.type=4;break;case"LEFT_OF_RIGHT_EYEBROW":case 5:t.type=5;break;case"RIGHT_OF_RIGHT_EYEBROW":case 6:t.type=6;break;case"MIDPOINT_BETWEEN_EYES":case 7:t.type=7;break;case"NOSE_TIP":case 8:t.type=8;break;case"UPPER_LIP":case 9:t.type=9;break;case"LOWER_LIP":case 10:t.type=10;break;case"MOUTH_LEFT":case 11:t.type=11;break;case"MOUTH_RIGHT":case 12:t.type=12;break;case"MOUTH_CENTER":case 13:t.type=13;break;case"NOSE_BOTTOM_RIGHT":case 14:t.type=14;break;case"NOSE_BOTTOM_LEFT":case 15:t.type=15;break;case"NOSE_BOTTOM_CENTER":case 16:t.type=16;break;case"LEFT_EYE_TOP_BOUNDARY":case 17:t.type=17;break;case"LEFT_EYE_RIGHT_CORNER":case 18:t.type=18;break;case"LEFT_EYE_BOTTOM_BOUNDARY":case 19:t.type=19;break;case"LEFT_EYE_LEFT_CORNER":case 20:t.type=20;break;case"RIGHT_EYE_TOP_BOUNDARY":case 21:t.type=21;break;case"RIGHT_EYE_RIGHT_CORNER":case 22:t.type=22;break;case"RIGHT_EYE_BOTTOM_BOUNDARY":case 23:t.type=23;break;case"RIGHT_EYE_LEFT_CORNER":case 24:t.type=24;break;case"LEFT_EYEBROW_UPPER_MIDPOINT":case 25:t.type=25;break;case"RIGHT_EYEBROW_UPPER_MIDPOINT":case 26:t.type=26;break;case"LEFT_EAR_TRAGION":case 27:t.type=27;break;case"RIGHT_EAR_TRAGION":case 28:t.type=28;break;case"LEFT_EYE_PUPIL":case 29:t.type=29;break;case"RIGHT_EYE_PUPIL":case 30:t.type=30;break;case"FOREHEAD_GLABELLA":case 31:t.type=31;break;case"CHIN_GNATHION":case 32:t.type=32;break;case"CHIN_LEFT_GONION":case 33:t.type=33;break;case"CHIN_RIGHT_GONION":case 34:t.type=34;break;case"LEFT_CHEEK_CENTER":case 35:t.type=35;break;case"RIGHT_CHEEK_CENTER":case 36:t.type=36}if(null!=e.position){if("object"!=typeof e.position)throw TypeError(".google.cloud.vision.v1.FaceAnnotation.Landmark.position: object expected");t.position=b.google.cloud.vision.v1.Position.fromObject(e.position)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN_LANDMARK":0,n.position=null),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1.FaceAnnotation.Landmark.Type[e.type]:e.type),null!=e.position&&e.hasOwnProperty("position")&&(n.position=b.google.cloud.vision.v1.Position.toObject(e.position,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.FaceAnnotation.Landmark"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN_LANDMARK"]=0,t[e[1]="LEFT_EYE"]=1,t[e[2]="RIGHT_EYE"]=2,t[e[3]="LEFT_OF_LEFT_EYEBROW"]=3,t[e[4]="RIGHT_OF_LEFT_EYEBROW"]=4,t[e[5]="LEFT_OF_RIGHT_EYEBROW"]=5,t[e[6]="RIGHT_OF_RIGHT_EYEBROW"]=6,t[e[7]="MIDPOINT_BETWEEN_EYES"]=7,t[e[8]="NOSE_TIP"]=8,t[e[9]="UPPER_LIP"]=9,t[e[10]="LOWER_LIP"]=10,t[e[11]="MOUTH_LEFT"]=11,t[e[12]="MOUTH_RIGHT"]=12,t[e[13]="MOUTH_CENTER"]=13,t[e[14]="NOSE_BOTTOM_RIGHT"]=14,t[e[15]="NOSE_BOTTOM_LEFT"]=15,t[e[16]="NOSE_BOTTOM_CENTER"]=16,t[e[17]="LEFT_EYE_TOP_BOUNDARY"]=17,t[e[18]="LEFT_EYE_RIGHT_CORNER"]=18,t[e[19]="LEFT_EYE_BOTTOM_BOUNDARY"]=19,t[e[20]="LEFT_EYE_LEFT_CORNER"]=20,t[e[21]="RIGHT_EYE_TOP_BOUNDARY"]=21,t[e[22]="RIGHT_EYE_RIGHT_CORNER"]=22,t[e[23]="RIGHT_EYE_BOTTOM_BOUNDARY"]=23,t[e[24]="RIGHT_EYE_LEFT_CORNER"]=24,t[e[25]="LEFT_EYEBROW_UPPER_MIDPOINT"]=25,t[e[26]="RIGHT_EYEBROW_UPPER_MIDPOINT"]=26,t[e[27]="LEFT_EAR_TRAGION"]=27,t[e[28]="RIGHT_EAR_TRAGION"]=28,t[e[29]="LEFT_EYE_PUPIL"]=29,t[e[30]="RIGHT_EYE_PUPIL"]=30,t[e[31]="FOREHEAD_GLABELLA"]=31,t[e[32]="CHIN_GNATHION"]=32,t[e[33]="CHIN_LEFT_GONION"]=33,t[e[34]="CHIN_RIGHT_GONION"]=34,t[e[35]="LEFT_CHEEK_CENTER"]=35,t[e[36]="RIGHT_CHEEK_CENTER"]=36,t}(),t}(),t}(),o.LocationInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.latLng=b.google.type.LatLng.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.latLng&&e.hasOwnProperty("latLng")){var t=b.google.type.LatLng.verify(e.latLng);if(t)return"latLng."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.LocationInfo)return e;var t=new b.google.cloud.vision.v1.LocationInfo;if(null!=e.latLng){if("object"!=typeof e.latLng)throw TypeError(".google.cloud.vision.v1.LocationInfo.latLng: object expected");t.latLng=b.google.type.LatLng.fromObject(e.latLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.latLng=null),null!=e.latLng&&e.hasOwnProperty("latLng")&&(n.latLng=b.google.type.LatLng.toObject(e.latLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.LocationInfo"},t}(),o.Property=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value=e.string();break;case 3:o.uint64Value=e.uint64();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&!(v.isInteger(e.uint64Value)||e.uint64Value&&v.isInteger(e.uint64Value.low)&&v.isInteger(e.uint64Value.high))?"uint64Value: integer|Long expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.Property)return e;var t=new b.google.cloud.vision.v1.Property;return null!=e.name&&(t.name=String(e.name)),null!=e.value&&(t.value=String(e.value)),null!=e.uint64Value&&(v.Long?(t.uint64Value=v.Long.fromValue(e.uint64Value)).unsigned=!0:"string"==typeof e.uint64Value?t.uint64Value=parseInt(e.uint64Value,10):"number"==typeof e.uint64Value?t.uint64Value=e.uint64Value:"object"==typeof e.uint64Value&&(t.uint64Value=new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0))),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(n.name="",n.value="",v.Long){var o=new v.Long(0,0,!0);n.uint64Value=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.uint64Value=t.longs===String?"0":0;return null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&("number"==typeof e.uint64Value?n.uint64Value=t.longs===String?String(e.uint64Value):e.uint64Value:n.uint64Value=t.longs===String?v.Long.prototype.toString.call(e.uint64Value):t.longs===Number?new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0):e.uint64Value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.Property"},t}(),o.EntityAnnotation=function(){function t(e){if(this.locations=[],this.properties=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.mid=e.string();break;case 2:o.locale=e.string();break;case 3:o.description=e.string();break;case 4:o.score=e.float();break;case 5:o.confidence=e.float();break;case 6:o.topicality=e.float();break;case 7:o.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 8:o.locations&&o.locations.length||(o.locations=[]),o.locations.push(b.google.cloud.vision.v1.LocationInfo.decode(e,e.uint32()));break;case 9:o.properties&&o.properties.length||(o.properties=[]),o.properties.push(b.google.cloud.vision.v1.Property.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid))return"mid: string expected";if(null!=e.locale&&e.hasOwnProperty("locale")&&!v.isString(e.locale))return"locale: string expected";if(null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description))return"description: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence)return"confidence: number expected";if(null!=e.topicality&&e.hasOwnProperty("topicality")&&"number"!=typeof e.topicality)return"topicality: number expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.locations&&e.hasOwnProperty("locations")){if(!Array.isArray(e.locations))return"locations: array expected";for(var t=0;t>>3){case 1:o.mid=e.string();break;case 2:o.languageCode=e.string();break;case 3:o.name=e.string();break;case 4:o.score=e.float();break;case 5:o.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid))return"mid: string expected";if(null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode))return"languageCode: string expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.LocalizedObjectAnnotation)return e;var t=new b.google.cloud.vision.v1.LocalizedObjectAnnotation;if(null!=e.mid&&(t.mid=String(e.mid)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.name&&(t.name=String(e.name)),null!=e.score&&(t.score=Number(e.score)),null!=e.boundingPoly){if("object"!=typeof e.boundingPoly)throw TypeError(".google.cloud.vision.v1.LocalizedObjectAnnotation.boundingPoly: object expected");t.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.fromObject(e.boundingPoly)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.mid="",n.languageCode="",n.name="",n.score=0,n.boundingPoly=null),null!=e.mid&&e.hasOwnProperty("mid")&&(n.mid=e.mid),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.toObject(e.boundingPoly,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.LocalizedObjectAnnotation"},t}(),o.SafeSearchAnnotation=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.adult=e.int32();break;case 2:o.spoof=e.int32();break;case 3:o.medical=e.int32();break;case 4:o.violence=e.int32();break;case 9:o.racy=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.adult&&e.hasOwnProperty("adult"))switch(e.adult){default:return"adult: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.spoof&&e.hasOwnProperty("spoof"))switch(e.spoof){default:return"spoof: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.medical&&e.hasOwnProperty("medical"))switch(e.medical){default:return"medical: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.violence&&e.hasOwnProperty("violence"))switch(e.violence){default:return"violence: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.racy&&e.hasOwnProperty("racy"))switch(e.racy){default:return"racy: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.SafeSearchAnnotation)return e;var t=new b.google.cloud.vision.v1.SafeSearchAnnotation;switch(e.adult){case"UNKNOWN":case 0:t.adult=0;break;case"VERY_UNLIKELY":case 1:t.adult=1;break;case"UNLIKELY":case 2:t.adult=2;break;case"POSSIBLE":case 3:t.adult=3;break;case"LIKELY":case 4:t.adult=4;break;case"VERY_LIKELY":case 5:t.adult=5}switch(e.spoof){case"UNKNOWN":case 0:t.spoof=0;break;case"VERY_UNLIKELY":case 1:t.spoof=1;break;case"UNLIKELY":case 2:t.spoof=2;break;case"POSSIBLE":case 3:t.spoof=3;break;case"LIKELY":case 4:t.spoof=4;break;case"VERY_LIKELY":case 5:t.spoof=5}switch(e.medical){case"UNKNOWN":case 0:t.medical=0;break;case"VERY_UNLIKELY":case 1:t.medical=1;break;case"UNLIKELY":case 2:t.medical=2;break;case"POSSIBLE":case 3:t.medical=3;break;case"LIKELY":case 4:t.medical=4;break;case"VERY_LIKELY":case 5:t.medical=5}switch(e.violence){case"UNKNOWN":case 0:t.violence=0;break;case"VERY_UNLIKELY":case 1:t.violence=1;break;case"UNLIKELY":case 2:t.violence=2;break;case"POSSIBLE":case 3:t.violence=3;break;case"LIKELY":case 4:t.violence=4;break;case"VERY_LIKELY":case 5:t.violence=5}switch(e.racy){case"UNKNOWN":case 0:t.racy=0;break;case"VERY_UNLIKELY":case 1:t.racy=1;break;case"UNLIKELY":case 2:t.racy=2;break;case"POSSIBLE":case 3:t.racy=3;break;case"LIKELY":case 4:t.racy=4;break;case"VERY_LIKELY":case 5:t.racy=5}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.adult=t.enums===String?"UNKNOWN":0,n.spoof=t.enums===String?"UNKNOWN":0,n.medical=t.enums===String?"UNKNOWN":0,n.violence=t.enums===String?"UNKNOWN":0,n.racy=t.enums===String?"UNKNOWN":0),null!=e.adult&&e.hasOwnProperty("adult")&&(n.adult=t.enums===String?b.google.cloud.vision.v1.Likelihood[e.adult]:e.adult),null!=e.spoof&&e.hasOwnProperty("spoof")&&(n.spoof=t.enums===String?b.google.cloud.vision.v1.Likelihood[e.spoof]:e.spoof),null!=e.medical&&e.hasOwnProperty("medical")&&(n.medical=t.enums===String?b.google.cloud.vision.v1.Likelihood[e.medical]:e.medical),null!=e.violence&&e.hasOwnProperty("violence")&&(n.violence=t.enums===String?b.google.cloud.vision.v1.Likelihood[e.violence]:e.violence),null!=e.racy&&e.hasOwnProperty("racy")&&(n.racy=t.enums===String?b.google.cloud.vision.v1.Likelihood[e.racy]:e.racy),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.SafeSearchAnnotation"},t}(),o.LatLongRect=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.minLatLng=b.google.type.LatLng.decode(e,e.uint32());break;case 2:o.maxLatLng=b.google.type.LatLng.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(t=b.google.type.LatLng.verify(e.minLatLng))?"minLatLng."+t:null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(t=b.google.type.LatLng.verify(e.maxLatLng))?"maxLatLng."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.LatLongRect)return e;var t=new b.google.cloud.vision.v1.LatLongRect;if(null!=e.minLatLng){if("object"!=typeof e.minLatLng)throw TypeError(".google.cloud.vision.v1.LatLongRect.minLatLng: object expected");t.minLatLng=b.google.type.LatLng.fromObject(e.minLatLng)}if(null!=e.maxLatLng){if("object"!=typeof e.maxLatLng)throw TypeError(".google.cloud.vision.v1.LatLongRect.maxLatLng: object expected");t.maxLatLng=b.google.type.LatLng.fromObject(e.maxLatLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.minLatLng=null,n.maxLatLng=null),null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(n.minLatLng=b.google.type.LatLng.toObject(e.minLatLng,t)),null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(n.maxLatLng=b.google.type.LatLng.toObject(e.maxLatLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.LatLongRect"},t}(),o.ColorInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.color=b.google.type.Color.decode(e,e.uint32());break;case 2:o.score=e.float();break;case 3:o.pixelFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.color&&e.hasOwnProperty("color")){var t=b.google.type.Color.verify(e.color);if(t)return"color."+t}return null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&"number"!=typeof e.pixelFraction?"pixelFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ColorInfo)return e;var t=new b.google.cloud.vision.v1.ColorInfo;if(null!=e.color){if("object"!=typeof e.color)throw TypeError(".google.cloud.vision.v1.ColorInfo.color: object expected");t.color=b.google.type.Color.fromObject(e.color)}return null!=e.score&&(t.score=Number(e.score)),null!=e.pixelFraction&&(t.pixelFraction=Number(e.pixelFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.color=null,n.score=0,n.pixelFraction=0),null!=e.color&&e.hasOwnProperty("color")&&(n.color=b.google.type.Color.toObject(e.color,t)),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&(n.pixelFraction=t.json&&!isFinite(e.pixelFraction)?String(e.pixelFraction):e.pixelFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ColorInfo"},t}(),o.DominantColorsAnnotation=function(){function t(e){if(this.colors=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.colors&&o.colors.length||(o.colors=[]),o.colors.push(b.google.cloud.vision.v1.ColorInfo.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.colors&&e.hasOwnProperty("colors")){if(!Array.isArray(e.colors))return"colors: array expected";for(var t=0;t>>3==1?o.dominantColors=b.google.cloud.vision.v1.DominantColorsAnnotation.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.dominantColors&&e.hasOwnProperty("dominantColors")){var t=b.google.cloud.vision.v1.DominantColorsAnnotation.verify(e.dominantColors);if(t)return"dominantColors."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ImageProperties)return e;var t=new b.google.cloud.vision.v1.ImageProperties;if(null!=e.dominantColors){if("object"!=typeof e.dominantColors)throw TypeError(".google.cloud.vision.v1.ImageProperties.dominantColors: object expected");t.dominantColors=b.google.cloud.vision.v1.DominantColorsAnnotation.fromObject(e.dominantColors)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.dominantColors=null),null!=e.dominantColors&&e.hasOwnProperty("dominantColors")&&(n.dominantColors=b.google.cloud.vision.v1.DominantColorsAnnotation.toObject(e.dominantColors,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ImageProperties"},t}(),o.CropHint=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 2:o.confidence=e.float();break;case 3:o.importanceFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}return null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&"number"!=typeof e.importanceFraction?"importanceFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.CropHint)return e;var t=new b.google.cloud.vision.v1.CropHint;if(null!=e.boundingPoly){if("object"!=typeof e.boundingPoly)throw TypeError(".google.cloud.vision.v1.CropHint.boundingPoly: object expected");t.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.fromObject(e.boundingPoly)}return null!=e.confidence&&(t.confidence=Number(e.confidence)),null!=e.importanceFraction&&(t.importanceFraction=Number(e.importanceFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.boundingPoly=null,n.confidence=0,n.importanceFraction=0),null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.toObject(e.boundingPoly,t)),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&(n.importanceFraction=t.json&&!isFinite(e.importanceFraction)?String(e.importanceFraction):e.importanceFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.CropHint"},t}(),o.CropHintsAnnotation=function(){function t(e){if(this.cropHints=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.cropHints&&o.cropHints.length||(o.cropHints=[]),o.cropHints.push(b.google.cloud.vision.v1.CropHint.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.cropHints&&e.hasOwnProperty("cropHints")){if(!Array.isArray(e.cropHints))return"cropHints: array expected";for(var t=0;t>>3==1)if(o.aspectRatios&&o.aspectRatios.length||(o.aspectRatios=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==2?o.includeGeoResults=e.bool():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&"boolean"!=typeof e.includeGeoResults?"includeGeoResults: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.WebDetectionParams)return e;var t=new b.google.cloud.vision.v1.WebDetectionParams;return null!=e.includeGeoResults&&(t.includeGeoResults=Boolean(e.includeGeoResults)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.includeGeoResults=!1),null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&(n.includeGeoResults=e.includeGeoResults),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.WebDetectionParams"},t}(),o.TextDetectionParams=function(){function t(e){if(this.advancedOcrOptions=[],e)for(var t=Object.keys(e),n=0;n>>3){case 9:o.enableTextDetectionConfidenceScore=e.bool();break;case 11:o.advancedOcrOptions&&o.advancedOcrOptions.length||(o.advancedOcrOptions=[]),o.advancedOcrOptions.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.enableTextDetectionConfidenceScore&&e.hasOwnProperty("enableTextDetectionConfidenceScore")&&"boolean"!=typeof e.enableTextDetectionConfidenceScore)return"enableTextDetectionConfidenceScore: boolean expected";if(null!=e.advancedOcrOptions&&e.hasOwnProperty("advancedOcrOptions")){if(!Array.isArray(e.advancedOcrOptions))return"advancedOcrOptions: array expected";for(var t=0;t>>3){case 1:o.latLongRect=b.google.cloud.vision.v1.LatLongRect.decode(e,e.uint32());break;case 2:o.languageHints&&o.languageHints.length||(o.languageHints=[]),o.languageHints.push(e.string());break;case 4:o.cropHintsParams=b.google.cloud.vision.v1.CropHintsParams.decode(e,e.uint32());break;case 5:o.productSearchParams=b.google.cloud.vision.v1.ProductSearchParams.decode(e,e.uint32());break;case 6:o.webDetectionParams=b.google.cloud.vision.v1.WebDetectionParams.decode(e,e.uint32());break;case 12:o.textDetectionParams=b.google.cloud.vision.v1.TextDetectionParams.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t;if(null!=e.latLongRect&&e.hasOwnProperty("latLongRect")&&(t=b.google.cloud.vision.v1.LatLongRect.verify(e.latLongRect)))return"latLongRect."+t;if(null!=e.languageHints&&e.hasOwnProperty("languageHints")){if(!Array.isArray(e.languageHints))return"languageHints: array expected";for(var n=0;n>>3){case 1:o.image=b.google.cloud.vision.v1.Image.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1.ImageContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.image&&e.hasOwnProperty("image")&&(n=b.google.cloud.vision.v1.Image.verify(e.image)))return"image."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3){case 1:o.uri=e.string();break;case 2:o.pageNumber=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null!=e.pageNumber&&e.hasOwnProperty("pageNumber")&&!v.isInteger(e.pageNumber)?"pageNumber: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ImageAnnotationContext)return e;var t=new b.google.cloud.vision.v1.ImageAnnotationContext;return null!=e.uri&&(t.uri=String(e.uri)),null!=e.pageNumber&&(t.pageNumber=0|e.pageNumber),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri="",n.pageNumber=0),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),null!=e.pageNumber&&e.hasOwnProperty("pageNumber")&&(n.pageNumber=e.pageNumber),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ImageAnnotationContext"},t}(),o.AnnotateImageResponse=function(){function t(e){if(this.faceAnnotations=[],this.landmarkAnnotations=[],this.logoAnnotations=[],this.labelAnnotations=[],this.localizedObjectAnnotations=[],this.textAnnotations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.faceAnnotations&&o.faceAnnotations.length||(o.faceAnnotations=[]),o.faceAnnotations.push(b.google.cloud.vision.v1.FaceAnnotation.decode(e,e.uint32()));break;case 2:o.landmarkAnnotations&&o.landmarkAnnotations.length||(o.landmarkAnnotations=[]),o.landmarkAnnotations.push(b.google.cloud.vision.v1.EntityAnnotation.decode(e,e.uint32()));break;case 3:o.logoAnnotations&&o.logoAnnotations.length||(o.logoAnnotations=[]),o.logoAnnotations.push(b.google.cloud.vision.v1.EntityAnnotation.decode(e,e.uint32()));break;case 4:o.labelAnnotations&&o.labelAnnotations.length||(o.labelAnnotations=[]),o.labelAnnotations.push(b.google.cloud.vision.v1.EntityAnnotation.decode(e,e.uint32()));break;case 22:o.localizedObjectAnnotations&&o.localizedObjectAnnotations.length||(o.localizedObjectAnnotations=[]),o.localizedObjectAnnotations.push(b.google.cloud.vision.v1.LocalizedObjectAnnotation.decode(e,e.uint32()));break;case 5:o.textAnnotations&&o.textAnnotations.length||(o.textAnnotations=[]),o.textAnnotations.push(b.google.cloud.vision.v1.EntityAnnotation.decode(e,e.uint32()));break;case 12:o.fullTextAnnotation=b.google.cloud.vision.v1.TextAnnotation.decode(e,e.uint32());break;case 6:o.safeSearchAnnotation=b.google.cloud.vision.v1.SafeSearchAnnotation.decode(e,e.uint32());break;case 8:o.imagePropertiesAnnotation=b.google.cloud.vision.v1.ImageProperties.decode(e,e.uint32());break;case 11:o.cropHintsAnnotation=b.google.cloud.vision.v1.CropHintsAnnotation.decode(e,e.uint32());break;case 13:o.webDetection=b.google.cloud.vision.v1.WebDetection.decode(e,e.uint32());break;case 14:o.productSearchResults=b.google.cloud.vision.v1.ProductSearchResults.decode(e,e.uint32());break;case 9:o.error=b.google.rpc.Status.decode(e,e.uint32());break;case 21:o.context=b.google.cloud.vision.v1.ImageAnnotationContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.faceAnnotations&&e.hasOwnProperty("faceAnnotations")){if(!Array.isArray(e.faceAnnotations))return"faceAnnotations: array expected";for(var t=0;t>>3){case 1:o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1.AnnotateImageRequest.decode(e,e.uint32()));break;case 4:o.parent=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1.AnnotateImageResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.inputConfig=b.google.cloud.vision.v1.InputConfig.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1.ImageContext.decode(e,e.uint32());break;case 4:if(o.pages&&o.pages.length||(o.pages=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.inputConfig=b.google.cloud.vision.v1.InputConfig.decode(e,e.uint32());break;case 2:o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1.AnnotateImageResponse.decode(e,e.uint32()));break;case 3:o.totalPages=e.int32();break;case 4:o.error=b.google.rpc.Status.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n=b.google.cloud.vision.v1.InputConfig.verify(e.inputConfig)))return"inputConfig."+n;if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1.AnnotateFileRequest.decode(e,e.uint32()));break;case 3:o.parent=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1.AnnotateFileResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.inputConfig=b.google.cloud.vision.v1.InputConfig.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1.ImageContext.decode(e,e.uint32());break;case 4:o.outputConfig=b.google.cloud.vision.v1.OutputConfig.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n=b.google.cloud.vision.v1.InputConfig.verify(e.inputConfig)))return"inputConfig."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3==1?o.outputConfig=b.google.cloud.vision.v1.OutputConfig.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.outputConfig&&e.hasOwnProperty("outputConfig")){var t=b.google.cloud.vision.v1.OutputConfig.verify(e.outputConfig);if(t)return"outputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.AsyncAnnotateFileResponse)return e;var t=new b.google.cloud.vision.v1.AsyncAnnotateFileResponse;if(null!=e.outputConfig){if("object"!=typeof e.outputConfig)throw TypeError(".google.cloud.vision.v1.AsyncAnnotateFileResponse.outputConfig: object expected");t.outputConfig=b.google.cloud.vision.v1.OutputConfig.fromObject(e.outputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.outputConfig=null),null!=e.outputConfig&&e.hasOwnProperty("outputConfig")&&(n.outputConfig=b.google.cloud.vision.v1.OutputConfig.toObject(e.outputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.AsyncAnnotateFileResponse"},t}(),o.AsyncBatchAnnotateImagesRequest=function(){function t(e){if(this.requests=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1.AnnotateImageRequest.decode(e,e.uint32()));break;case 2:o.outputConfig=b.google.cloud.vision.v1.OutputConfig.decode(e,e.uint32());break;case 4:o.parent=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?o.outputConfig=b.google.cloud.vision.v1.OutputConfig.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.outputConfig&&e.hasOwnProperty("outputConfig")){var t=b.google.cloud.vision.v1.OutputConfig.verify(e.outputConfig);if(t)return"outputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.AsyncBatchAnnotateImagesResponse)return e;var t=new b.google.cloud.vision.v1.AsyncBatchAnnotateImagesResponse;if(null!=e.outputConfig){if("object"!=typeof e.outputConfig)throw TypeError(".google.cloud.vision.v1.AsyncBatchAnnotateImagesResponse.outputConfig: object expected");t.outputConfig=b.google.cloud.vision.v1.OutputConfig.fromObject(e.outputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.outputConfig=null),null!=e.outputConfig&&e.hasOwnProperty("outputConfig")&&(n.outputConfig=b.google.cloud.vision.v1.OutputConfig.toObject(e.outputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.AsyncBatchAnnotateImagesResponse"},t}(),o.AsyncBatchAnnotateFilesRequest=function(){function t(e){if(this.requests=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1.AsyncAnnotateFileRequest.decode(e,e.uint32()));break;case 4:o.parent=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1.AsyncAnnotateFileResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.gcsSource=b.google.cloud.vision.v1.GcsSource.decode(e,e.uint32());break;case 3:o.content=e.bytes();break;case 2:o.mimeType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsSource&&e.hasOwnProperty("gcsSource")){var t=b.google.cloud.vision.v1.GcsSource.verify(e.gcsSource);if(t)return"gcsSource."+t}return null!=e.content&&e.hasOwnProperty("content")&&!(e.content&&"number"==typeof e.content.length||v.isString(e.content))?"content: buffer expected":null!=e.mimeType&&e.hasOwnProperty("mimeType")&&!v.isString(e.mimeType)?"mimeType: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.InputConfig)return e;var t=new b.google.cloud.vision.v1.InputConfig;if(null!=e.gcsSource){if("object"!=typeof e.gcsSource)throw TypeError(".google.cloud.vision.v1.InputConfig.gcsSource: object expected");t.gcsSource=b.google.cloud.vision.v1.GcsSource.fromObject(e.gcsSource)}return null!=e.content&&("string"==typeof e.content?v.base64.decode(e.content,t.content=v.newBuffer(v.base64.length(e.content)),0):e.content.length>=0&&(t.content=e.content)),null!=e.mimeType&&(t.mimeType=String(e.mimeType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsSource=null,n.mimeType="",t.bytes===String?n.content="":(n.content=[],t.bytes!==Array&&(n.content=v.newBuffer(n.content)))),null!=e.gcsSource&&e.hasOwnProperty("gcsSource")&&(n.gcsSource=b.google.cloud.vision.v1.GcsSource.toObject(e.gcsSource,t)),null!=e.mimeType&&e.hasOwnProperty("mimeType")&&(n.mimeType=e.mimeType),null!=e.content&&e.hasOwnProperty("content")&&(n.content=t.bytes===String?v.base64.encode(e.content,0,e.content.length):t.bytes===Array?Array.prototype.slice.call(e.content):e.content),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.InputConfig"},t}(),o.OutputConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsDestination=b.google.cloud.vision.v1.GcsDestination.decode(e,e.uint32());break;case 2:o.batchSize=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsDestination&&e.hasOwnProperty("gcsDestination")){var t=b.google.cloud.vision.v1.GcsDestination.verify(e.gcsDestination);if(t)return"gcsDestination."+t}return null!=e.batchSize&&e.hasOwnProperty("batchSize")&&!v.isInteger(e.batchSize)?"batchSize: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.OutputConfig)return e;var t=new b.google.cloud.vision.v1.OutputConfig;if(null!=e.gcsDestination){if("object"!=typeof e.gcsDestination)throw TypeError(".google.cloud.vision.v1.OutputConfig.gcsDestination: object expected");t.gcsDestination=b.google.cloud.vision.v1.GcsDestination.fromObject(e.gcsDestination)}return null!=e.batchSize&&(t.batchSize=0|e.batchSize),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsDestination=null,n.batchSize=0),null!=e.gcsDestination&&e.hasOwnProperty("gcsDestination")&&(n.gcsDestination=b.google.cloud.vision.v1.GcsDestination.toObject(e.gcsDestination,t)),null!=e.batchSize&&e.hasOwnProperty("batchSize")&&(n.batchSize=e.batchSize),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.OutputConfig"},t}(),o.GcsSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.uri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.GcsSource)return e;var t=new b.google.cloud.vision.v1.GcsSource;return null!=e.uri&&(t.uri=String(e.uri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri=""),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.GcsSource"},t}(),o.GcsDestination=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.uri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.GcsDestination)return e;var t=new b.google.cloud.vision.v1.GcsDestination;return null!=e.uri&&(t.uri=String(e.uri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri=""),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.GcsDestination"},t}(),o.OperationMetadata=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.state=e.int32();break;case 5:o.createTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 6:o.updateTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:case 3:case 4:}var t;return null!=e.createTime&&e.hasOwnProperty("createTime")&&(t=b.google.protobuf.Timestamp.verify(e.createTime))?"createTime."+t:null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(t=b.google.protobuf.Timestamp.verify(e.updateTime))?"updateTime."+t:null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.OperationMetadata)return e;var t=new b.google.cloud.vision.v1.OperationMetadata;switch(e.state){case"STATE_UNSPECIFIED":case 0:t.state=0;break;case"CREATED":case 1:t.state=1;break;case"RUNNING":case 2:t.state=2;break;case"DONE":case 3:t.state=3;break;case"CANCELLED":case 4:t.state=4}if(null!=e.createTime){if("object"!=typeof e.createTime)throw TypeError(".google.cloud.vision.v1.OperationMetadata.createTime: object expected");t.createTime=b.google.protobuf.Timestamp.fromObject(e.createTime)}if(null!=e.updateTime){if("object"!=typeof e.updateTime)throw TypeError(".google.cloud.vision.v1.OperationMetadata.updateTime: object expected");t.updateTime=b.google.protobuf.Timestamp.fromObject(e.updateTime)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.state=t.enums===String?"STATE_UNSPECIFIED":0,n.createTime=null,n.updateTime=null),null!=e.state&&e.hasOwnProperty("state")&&(n.state=t.enums===String?b.google.cloud.vision.v1.OperationMetadata.State[e.state]:e.state),null!=e.createTime&&e.hasOwnProperty("createTime")&&(n.createTime=b.google.protobuf.Timestamp.toObject(e.createTime,t)),null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(n.updateTime=b.google.protobuf.Timestamp.toObject(e.updateTime,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.OperationMetadata"},t.State=function(){var e={},t=Object.create(e);return t[e[0]="STATE_UNSPECIFIED"]=0,t[e[1]="CREATED"]=1,t[e[2]="RUNNING"]=2,t[e[3]="DONE"]=3,t[e[4]="CANCELLED"]=4,t}(),t}(),o.ProductSearchParams=function(){function t(e){if(this.productCategories=[],e)for(var t=Object.keys(e),n=0;n>>3){case 9:o.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 6:o.productSet=e.string();break;case 7:o.productCategories&&o.productCategories.length||(o.productCategories=[]),o.productCategories.push(e.string());break;case 8:o.filter=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}if(null!=e.productSet&&e.hasOwnProperty("productSet")&&!v.isString(e.productSet))return"productSet: string expected";if(null!=e.productCategories&&e.hasOwnProperty("productCategories")){if(!Array.isArray(e.productCategories))return"productCategories: array expected";for(var n=0;n>>3){case 2:o.indexTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 5:o.results&&o.results.length||(o.results=[]),o.results.push(b.google.cloud.vision.v1.ProductSearchResults.Result.decode(e,e.uint32()));break;case 6:o.productGroupedResults&&o.productGroupedResults.length||(o.productGroupedResults=[]),o.productGroupedResults.push(b.google.cloud.vision.v1.ProductSearchResults.GroupedResult.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(n=b.google.protobuf.Timestamp.verify(e.indexTime)))return"indexTime."+n;if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:o.product=b.google.cloud.vision.v1.Product.decode(e,e.uint32());break;case 2:o.score=e.float();break;case 3:o.image=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.product&&e.hasOwnProperty("product")){var t=b.google.cloud.vision.v1.Product.verify(e.product);if(t)return"product."+t}return null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.image&&e.hasOwnProperty("image")&&!v.isString(e.image)?"image: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ProductSearchResults.Result)return e;var t=new b.google.cloud.vision.v1.ProductSearchResults.Result;if(null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1.ProductSearchResults.Result.product: object expected");t.product=b.google.cloud.vision.v1.Product.fromObject(e.product)}return null!=e.score&&(t.score=Number(e.score)),null!=e.image&&(t.image=String(e.image)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.product=null,n.score=0,n.image=""),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1.Product.toObject(e.product,t)),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.image&&e.hasOwnProperty("image")&&(n.image=e.image),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ProductSearchResults.Result"},t}(),t.ObjectAnnotation=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.mid=e.string();break;case 2:o.languageCode=e.string();break;case 3:o.name=e.string();break;case 4:o.score=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid)?"mid: string expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation)return e;var t=new b.google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation;return null!=e.mid&&(t.mid=String(e.mid)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.name&&(t.name=String(e.name)),null!=e.score&&(t.score=Number(e.score)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.mid="",n.languageCode="",n.name="",n.score=0),null!=e.mid&&e.hasOwnProperty("mid")&&(n.mid=e.mid),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation"},t}(),t.GroupedResult=function(){function t(e){if(this.results=[],this.objectAnnotations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 2:o.results&&o.results.length||(o.results=[]),o.results.push(b.google.cloud.vision.v1.ProductSearchResults.Result.decode(e,e.uint32()));break;case 3:o.objectAnnotations&&o.objectAnnotations.length||(o.objectAnnotations=[]),o.objectAnnotations.push(b.google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.displayName=e.string();break;case 3:o.description=e.string();break;case 4:o.productCategory=e.string();break;case 5:o.productLabels&&o.productLabels.length||(o.productLabels=[]),o.productLabels.push(b.google.cloud.vision.v1.Product.KeyValue.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.displayName&&e.hasOwnProperty("displayName")&&!v.isString(e.displayName))return"displayName: string expected";if(null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description))return"description: string expected";if(null!=e.productCategory&&e.hasOwnProperty("productCategory")&&!v.isString(e.productCategory))return"productCategory: string expected";if(null!=e.productLabels&&e.hasOwnProperty("productLabels")){if(!Array.isArray(e.productLabels))return"productLabels: array expected";for(var t=0;t>>3){case 1:o.key=e.string();break;case 2:o.value=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.key&&e.hasOwnProperty("key")&&!v.isString(e.key)?"key: string expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.Product.KeyValue)return e;var t=new b.google.cloud.vision.v1.Product.KeyValue;return null!=e.key&&(t.key=String(e.key)),null!=e.value&&(t.value=String(e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.key="",n.value=""),null!=e.key&&e.hasOwnProperty("key")&&(n.key=e.key),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.Product.KeyValue"},t}(),t}(),o.ProductSet=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.displayName=e.string();break;case 3:o.indexTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 4:o.indexError=b.google.rpc.Status.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.displayName&&e.hasOwnProperty("displayName")&&!v.isString(e.displayName)?"displayName: string expected":null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(t=b.google.protobuf.Timestamp.verify(e.indexTime))?"indexTime."+t:null!=e.indexError&&e.hasOwnProperty("indexError")&&(t=b.google.rpc.Status.verify(e.indexError))?"indexError."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ProductSet)return e;var t=new b.google.cloud.vision.v1.ProductSet;if(null!=e.name&&(t.name=String(e.name)),null!=e.displayName&&(t.displayName=String(e.displayName)),null!=e.indexTime){if("object"!=typeof e.indexTime)throw TypeError(".google.cloud.vision.v1.ProductSet.indexTime: object expected");t.indexTime=b.google.protobuf.Timestamp.fromObject(e.indexTime)}if(null!=e.indexError){if("object"!=typeof e.indexError)throw TypeError(".google.cloud.vision.v1.ProductSet.indexError: object expected");t.indexError=b.google.rpc.Status.fromObject(e.indexError)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.displayName="",n.indexTime=null,n.indexError=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.displayName&&e.hasOwnProperty("displayName")&&(n.displayName=e.displayName),null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(n.indexTime=b.google.protobuf.Timestamp.toObject(e.indexTime,t)),null!=e.indexError&&e.hasOwnProperty("indexError")&&(n.indexError=b.google.rpc.Status.toObject(e.indexError,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ProductSet"},t}(),o.ReferenceImage=function(){function t(e){if(this.boundingPolys=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.uri=e.string();break;case 3:o.boundingPolys&&o.boundingPolys.length||(o.boundingPolys=[]),o.boundingPolys.push(b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri))return"uri: string expected";if(null!=e.boundingPolys&&e.hasOwnProperty("boundingPolys")){if(!Array.isArray(e.boundingPolys))return"boundingPolys: array expected";for(var t=0;t>>3){case 1:o.parent=e.string();break;case 2:o.product=b.google.cloud.vision.v1.Product.decode(e,e.uint32());break;case 3:o.productId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.product&&e.hasOwnProperty("product")){var t=b.google.cloud.vision.v1.Product.verify(e.product);if(t)return"product."+t}return null!=e.productId&&e.hasOwnProperty("productId")&&!v.isString(e.productId)?"productId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.CreateProductRequest)return e;var t=new b.google.cloud.vision.v1.CreateProductRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1.CreateProductRequest.product: object expected");t.product=b.google.cloud.vision.v1.Product.fromObject(e.product)}return null!=e.productId&&(t.productId=String(e.productId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.product=null,n.productId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1.Product.toObject(e.product,t)),null!=e.productId&&e.hasOwnProperty("productId")&&(n.productId=e.productId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.CreateProductRequest"},t}(),o.ListProductsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ListProductsRequest)return e;var t=new b.google.cloud.vision.v1.ListProductsRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ListProductsRequest"},t}(),o.ListProductsResponse=function(){function t(e){if(this.products=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.products&&o.products.length||(o.products=[]),o.products.push(b.google.cloud.vision.v1.Product.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.products&&e.hasOwnProperty("products")){if(!Array.isArray(e.products))return"products: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.GetProductRequest)return e;var t=new b.google.cloud.vision.v1.GetProductRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.GetProductRequest"},t}(),o.UpdateProductRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.product=b.google.cloud.vision.v1.Product.decode(e,e.uint32());break;case 2:o.updateMask=b.google.protobuf.FieldMask.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.product&&e.hasOwnProperty("product")&&(t=b.google.cloud.vision.v1.Product.verify(e.product))?"product."+t:null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(t=b.google.protobuf.FieldMask.verify(e.updateMask))?"updateMask."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.UpdateProductRequest)return e;var t=new b.google.cloud.vision.v1.UpdateProductRequest;if(null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1.UpdateProductRequest.product: object expected");t.product=b.google.cloud.vision.v1.Product.fromObject(e.product)}if(null!=e.updateMask){if("object"!=typeof e.updateMask)throw TypeError(".google.cloud.vision.v1.UpdateProductRequest.updateMask: object expected");t.updateMask=b.google.protobuf.FieldMask.fromObject(e.updateMask)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.product=null,n.updateMask=null),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1.Product.toObject(e.product,t)),null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(n.updateMask=b.google.protobuf.FieldMask.toObject(e.updateMask,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.UpdateProductRequest"},t}(),o.DeleteProductRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.DeleteProductRequest)return e;var t=new b.google.cloud.vision.v1.DeleteProductRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.DeleteProductRequest"},t}(),o.CreateProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.productSet=b.google.cloud.vision.v1.ProductSet.decode(e,e.uint32());break;case 3:o.productSetId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.productSet&&e.hasOwnProperty("productSet")){var t=b.google.cloud.vision.v1.ProductSet.verify(e.productSet);if(t)return"productSet."+t}return null!=e.productSetId&&e.hasOwnProperty("productSetId")&&!v.isString(e.productSetId)?"productSetId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.CreateProductSetRequest)return e;var t=new b.google.cloud.vision.v1.CreateProductSetRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.productSet){if("object"!=typeof e.productSet)throw TypeError(".google.cloud.vision.v1.CreateProductSetRequest.productSet: object expected");t.productSet=b.google.cloud.vision.v1.ProductSet.fromObject(e.productSet)}return null!=e.productSetId&&(t.productSetId=String(e.productSetId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.productSet=null,n.productSetId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.productSet&&e.hasOwnProperty("productSet")&&(n.productSet=b.google.cloud.vision.v1.ProductSet.toObject(e.productSet,t)),null!=e.productSetId&&e.hasOwnProperty("productSetId")&&(n.productSetId=e.productSetId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.CreateProductSetRequest"},t}(),o.ListProductSetsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ListProductSetsRequest)return e;var t=new b.google.cloud.vision.v1.ListProductSetsRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ListProductSetsRequest"},t}(),o.ListProductSetsResponse=function(){function t(e){if(this.productSets=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.productSets&&o.productSets.length||(o.productSets=[]),o.productSets.push(b.google.cloud.vision.v1.ProductSet.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.productSets&&e.hasOwnProperty("productSets")){if(!Array.isArray(e.productSets))return"productSets: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.GetProductSetRequest)return e;var t=new b.google.cloud.vision.v1.GetProductSetRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.GetProductSetRequest"},t}(),o.UpdateProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.productSet=b.google.cloud.vision.v1.ProductSet.decode(e,e.uint32());break;case 2:o.updateMask=b.google.protobuf.FieldMask.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.productSet&&e.hasOwnProperty("productSet")&&(t=b.google.cloud.vision.v1.ProductSet.verify(e.productSet))?"productSet."+t:null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(t=b.google.protobuf.FieldMask.verify(e.updateMask))?"updateMask."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.UpdateProductSetRequest)return e;var t=new b.google.cloud.vision.v1.UpdateProductSetRequest;if(null!=e.productSet){if("object"!=typeof e.productSet)throw TypeError(".google.cloud.vision.v1.UpdateProductSetRequest.productSet: object expected");t.productSet=b.google.cloud.vision.v1.ProductSet.fromObject(e.productSet)}if(null!=e.updateMask){if("object"!=typeof e.updateMask)throw TypeError(".google.cloud.vision.v1.UpdateProductSetRequest.updateMask: object expected");t.updateMask=b.google.protobuf.FieldMask.fromObject(e.updateMask)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.productSet=null,n.updateMask=null),null!=e.productSet&&e.hasOwnProperty("productSet")&&(n.productSet=b.google.cloud.vision.v1.ProductSet.toObject(e.productSet,t)),null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(n.updateMask=b.google.protobuf.FieldMask.toObject(e.updateMask,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.UpdateProductSetRequest"},t}(),o.DeleteProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.DeleteProductSetRequest)return e;var t=new b.google.cloud.vision.v1.DeleteProductSetRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.DeleteProductSetRequest"},t}(),o.CreateReferenceImageRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.referenceImage=b.google.cloud.vision.v1.ReferenceImage.decode(e,e.uint32());break;case 3:o.referenceImageId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.referenceImage&&e.hasOwnProperty("referenceImage")){var t=b.google.cloud.vision.v1.ReferenceImage.verify(e.referenceImage);if(t)return"referenceImage."+t}return null!=e.referenceImageId&&e.hasOwnProperty("referenceImageId")&&!v.isString(e.referenceImageId)?"referenceImageId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.CreateReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1.CreateReferenceImageRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.referenceImage){if("object"!=typeof e.referenceImage)throw TypeError(".google.cloud.vision.v1.CreateReferenceImageRequest.referenceImage: object expected");t.referenceImage=b.google.cloud.vision.v1.ReferenceImage.fromObject(e.referenceImage)}return null!=e.referenceImageId&&(t.referenceImageId=String(e.referenceImageId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.referenceImage=null,n.referenceImageId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.referenceImage&&e.hasOwnProperty("referenceImage")&&(n.referenceImage=b.google.cloud.vision.v1.ReferenceImage.toObject(e.referenceImage,t)),null!=e.referenceImageId&&e.hasOwnProperty("referenceImageId")&&(n.referenceImageId=e.referenceImageId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.CreateReferenceImageRequest"},t}(),o.ListReferenceImagesRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ListReferenceImagesRequest)return e;var t=new b.google.cloud.vision.v1.ListReferenceImagesRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ListReferenceImagesRequest"},t}(),o.ListReferenceImagesResponse=function(){function t(e){if(this.referenceImages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.referenceImages&&o.referenceImages.length||(o.referenceImages=[]),o.referenceImages.push(b.google.cloud.vision.v1.ReferenceImage.decode(e,e.uint32()));break;case 2:o.pageSize=e.int32();break;case 3:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.referenceImages&&e.hasOwnProperty("referenceImages")){if(!Array.isArray(e.referenceImages))return"referenceImages: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.GetReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1.GetReferenceImageRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.GetReferenceImageRequest"},t}(),o.DeleteReferenceImageRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.DeleteReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1.DeleteReferenceImageRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.DeleteReferenceImageRequest"},t}(),o.AddProductToProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.product=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.product&&e.hasOwnProperty("product")&&!v.isString(e.product)?"product: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.AddProductToProductSetRequest)return e;var t=new b.google.cloud.vision.v1.AddProductToProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.product&&(t.product=String(e.product)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.product=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.product&&e.hasOwnProperty("product")&&(n.product=e.product),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.AddProductToProductSetRequest"},t}(),o.RemoveProductFromProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.product=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.product&&e.hasOwnProperty("product")&&!v.isString(e.product)?"product: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.RemoveProductFromProductSetRequest)return e;var t=new b.google.cloud.vision.v1.RemoveProductFromProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.product&&(t.product=String(e.product)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.product=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.product&&e.hasOwnProperty("product")&&(n.product=e.product),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.RemoveProductFromProductSetRequest"},t}(),o.ListProductsInProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ListProductsInProductSetRequest)return e;var t=new b.google.cloud.vision.v1.ListProductsInProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.pageSize=0,n.pageToken=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ListProductsInProductSetRequest"},t}(),o.ListProductsInProductSetResponse=function(){function t(e){if(this.products=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.products&&o.products.length||(o.products=[]),o.products.push(b.google.cloud.vision.v1.Product.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.products&&e.hasOwnProperty("products")){if(!Array.isArray(e.products))return"products: array expected";for(var t=0;t>>3==1?o.csvFileUri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.csvFileUri&&e.hasOwnProperty("csvFileUri")&&!v.isString(e.csvFileUri)?"csvFileUri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ImportProductSetsGcsSource)return e;var t=new b.google.cloud.vision.v1.ImportProductSetsGcsSource;return null!=e.csvFileUri&&(t.csvFileUri=String(e.csvFileUri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.csvFileUri=""),null!=e.csvFileUri&&e.hasOwnProperty("csvFileUri")&&(n.csvFileUri=e.csvFileUri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ImportProductSetsGcsSource"},t}(),o.ImportProductSetsInputConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.gcsSource=b.google.cloud.vision.v1.ImportProductSetsGcsSource.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsSource&&e.hasOwnProperty("gcsSource")){var t=b.google.cloud.vision.v1.ImportProductSetsGcsSource.verify(e.gcsSource);if(t)return"gcsSource."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ImportProductSetsInputConfig)return e;var t=new b.google.cloud.vision.v1.ImportProductSetsInputConfig;if(null!=e.gcsSource){if("object"!=typeof e.gcsSource)throw TypeError(".google.cloud.vision.v1.ImportProductSetsInputConfig.gcsSource: object expected");t.gcsSource=b.google.cloud.vision.v1.ImportProductSetsGcsSource.fromObject(e.gcsSource)}return t},t.toObject=function(e,t){t||(t={});var n={};return null!=e.gcsSource&&e.hasOwnProperty("gcsSource")&&(n.gcsSource=b.google.cloud.vision.v1.ImportProductSetsGcsSource.toObject(e.gcsSource,t),t.oneofs&&(n.source="gcsSource")),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ImportProductSetsInputConfig"},t}(),o.ImportProductSetsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.inputConfig=b.google.cloud.vision.v1.ImportProductSetsInputConfig.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")){var t=b.google.cloud.vision.v1.ImportProductSetsInputConfig.verify(e.inputConfig);if(t)return"inputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ImportProductSetsRequest)return e;var t=new b.google.cloud.vision.v1.ImportProductSetsRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.inputConfig){if("object"!=typeof e.inputConfig)throw TypeError(".google.cloud.vision.v1.ImportProductSetsRequest.inputConfig: object expected");t.inputConfig=b.google.cloud.vision.v1.ImportProductSetsInputConfig.fromObject(e.inputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.inputConfig=null),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n.inputConfig=b.google.cloud.vision.v1.ImportProductSetsInputConfig.toObject(e.inputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ImportProductSetsRequest"},t}(),o.ImportProductSetsResponse=function(){function t(e){if(this.referenceImages=[],this.statuses=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.referenceImages&&o.referenceImages.length||(o.referenceImages=[]),o.referenceImages.push(b.google.cloud.vision.v1.ReferenceImage.decode(e,e.uint32()));break;case 2:o.statuses&&o.statuses.length||(o.statuses=[]),o.statuses.push(b.google.rpc.Status.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.referenceImages&&e.hasOwnProperty("referenceImages")){if(!Array.isArray(e.referenceImages))return"referenceImages: array expected";for(var t=0;t>>3){case 1:o.state=e.int32();break;case 2:o.submitTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 3:o.endTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:case 3:case 4:}var t;return null!=e.submitTime&&e.hasOwnProperty("submitTime")&&(t=b.google.protobuf.Timestamp.verify(e.submitTime))?"submitTime."+t:null!=e.endTime&&e.hasOwnProperty("endTime")&&(t=b.google.protobuf.Timestamp.verify(e.endTime))?"endTime."+t:null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.BatchOperationMetadata)return e;var t=new b.google.cloud.vision.v1.BatchOperationMetadata;switch(e.state){case"STATE_UNSPECIFIED":case 0:t.state=0;break;case"PROCESSING":case 1:t.state=1;break;case"SUCCESSFUL":case 2:t.state=2;break;case"FAILED":case 3:t.state=3;break;case"CANCELLED":case 4:t.state=4}if(null!=e.submitTime){if("object"!=typeof e.submitTime)throw TypeError(".google.cloud.vision.v1.BatchOperationMetadata.submitTime: object expected");t.submitTime=b.google.protobuf.Timestamp.fromObject(e.submitTime)}if(null!=e.endTime){if("object"!=typeof e.endTime)throw TypeError(".google.cloud.vision.v1.BatchOperationMetadata.endTime: object expected");t.endTime=b.google.protobuf.Timestamp.fromObject(e.endTime)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.state=t.enums===String?"STATE_UNSPECIFIED":0,n.submitTime=null,n.endTime=null),null!=e.state&&e.hasOwnProperty("state")&&(n.state=t.enums===String?b.google.cloud.vision.v1.BatchOperationMetadata.State[e.state]:e.state),null!=e.submitTime&&e.hasOwnProperty("submitTime")&&(n.submitTime=b.google.protobuf.Timestamp.toObject(e.submitTime,t)),null!=e.endTime&&e.hasOwnProperty("endTime")&&(n.endTime=b.google.protobuf.Timestamp.toObject(e.endTime,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.BatchOperationMetadata"},t.State=function(){var e={},t=Object.create(e);return t[e[0]="STATE_UNSPECIFIED"]=0,t[e[1]="PROCESSING"]=1,t[e[2]="SUCCESSFUL"]=2,t[e[3]="FAILED"]=3,t[e[4]="CANCELLED"]=4,t}(),t}(),o.ProductSetPurgeConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.productSetId=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.productSetId&&e.hasOwnProperty("productSetId")&&!v.isString(e.productSetId)?"productSetId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ProductSetPurgeConfig)return e;var t=new b.google.cloud.vision.v1.ProductSetPurgeConfig;return null!=e.productSetId&&(t.productSetId=String(e.productSetId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.productSetId=""),null!=e.productSetId&&e.hasOwnProperty("productSetId")&&(n.productSetId=e.productSetId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ProductSetPurgeConfig"},t}(),o.PurgeProductsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 2:o.productSetPurgeConfig=b.google.cloud.vision.v1.ProductSetPurgeConfig.decode(e,e.uint32());break;case 3:o.deleteOrphanProducts=e.bool();break;case 1:o.parent=e.string();break;case 4:o.force=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t={};if(null!=e.productSetPurgeConfig&&e.hasOwnProperty("productSetPurgeConfig")){t.target=1;var n=b.google.cloud.vision.v1.ProductSetPurgeConfig.verify(e.productSetPurgeConfig);if(n)return"productSetPurgeConfig."+n}if(null!=e.deleteOrphanProducts&&e.hasOwnProperty("deleteOrphanProducts")){if(1===t.target)return"target: multiple values";if(t.target=1,"boolean"!=typeof e.deleteOrphanProducts)return"deleteOrphanProducts: boolean expected"}return null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.force&&e.hasOwnProperty("force")&&"boolean"!=typeof e.force?"force: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.PurgeProductsRequest)return e;var t=new b.google.cloud.vision.v1.PurgeProductsRequest;if(null!=e.productSetPurgeConfig){if("object"!=typeof e.productSetPurgeConfig)throw TypeError(".google.cloud.vision.v1.PurgeProductsRequest.productSetPurgeConfig: object expected");t.productSetPurgeConfig=b.google.cloud.vision.v1.ProductSetPurgeConfig.fromObject(e.productSetPurgeConfig)}return null!=e.deleteOrphanProducts&&(t.deleteOrphanProducts=Boolean(e.deleteOrphanProducts)),null!=e.parent&&(t.parent=String(e.parent)),null!=e.force&&(t.force=Boolean(e.force)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.force=!1),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.productSetPurgeConfig&&e.hasOwnProperty("productSetPurgeConfig")&&(n.productSetPurgeConfig=b.google.cloud.vision.v1.ProductSetPurgeConfig.toObject(e.productSetPurgeConfig,t),t.oneofs&&(n.target="productSetPurgeConfig")),null!=e.deleteOrphanProducts&&e.hasOwnProperty("deleteOrphanProducts")&&(n.deleteOrphanProducts=e.deleteOrphanProducts,t.oneofs&&(n.target="deleteOrphanProducts")),null!=e.force&&e.hasOwnProperty("force")&&(n.force=e.force),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.PurgeProductsRequest"},t}(),o.TextAnnotation=function(){function t(e){if(this.pages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.pages&&o.pages.length||(o.pages=[]),o.pages.push(b.google.cloud.vision.v1.Page.decode(e,e.uint32()));break;case 2:o.text=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.pages&&e.hasOwnProperty("pages")){if(!Array.isArray(e.pages))return"pages: array expected";for(var t=0;t>>3){case 1:o.languageCode=e.string();break;case 2:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.TextAnnotation.DetectedLanguage)return e;var t=new b.google.cloud.vision.v1.TextAnnotation.DetectedLanguage;return null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.languageCode="",n.confidence=0),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.TextAnnotation.DetectedLanguage"},t}(),t.DetectedBreak=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.isPrefix=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&"boolean"!=typeof e.isPrefix?"isPrefix: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.TextAnnotation.DetectedBreak)return e;var t=new b.google.cloud.vision.v1.TextAnnotation.DetectedBreak;switch(e.type){case"UNKNOWN":case 0:t.type=0;break;case"SPACE":case 1:t.type=1;break;case"SURE_SPACE":case 2:t.type=2;break;case"EOL_SURE_SPACE":case 3:t.type=3;break;case"HYPHEN":case 4:t.type=4;break;case"LINE_BREAK":case 5:t.type=5}return null!=e.isPrefix&&(t.isPrefix=Boolean(e.isPrefix)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN":0,n.isPrefix=!1),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1.TextAnnotation.DetectedBreak.BreakType[e.type]:e.type),null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&(n.isPrefix=e.isPrefix),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.TextAnnotation.DetectedBreak"},t.BreakType=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="SPACE"]=1,t[e[2]="SURE_SPACE"]=2,t[e[3]="EOL_SURE_SPACE"]=3,t[e[4]="HYPHEN"]=4,t[e[5]="LINE_BREAK"]=5,t}(),t}(),t.TextProperty=function(){function t(e){if(this.detectedLanguages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.detectedLanguages&&o.detectedLanguages.length||(o.detectedLanguages=[]),o.detectedLanguages.push(b.google.cloud.vision.v1.TextAnnotation.DetectedLanguage.decode(e,e.uint32()));break;case 2:o.detectedBreak=b.google.cloud.vision.v1.TextAnnotation.DetectedBreak.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.detectedLanguages&&e.hasOwnProperty("detectedLanguages")){if(!Array.isArray(e.detectedLanguages))return"detectedLanguages: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.width=e.int32();break;case 3:o.height=e.int32();break;case 4:o.blocks&&o.blocks.length||(o.blocks=[]),o.blocks.push(b.google.cloud.vision.v1.Block.decode(e,e.uint32()));break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.width&&e.hasOwnProperty("width")&&!v.isInteger(e.width))return"width: integer expected";if(null!=e.height&&e.hasOwnProperty("height")&&!v.isInteger(e.height))return"height: integer expected";if(null!=e.blocks&&e.hasOwnProperty("blocks")){if(!Array.isArray(e.blocks))return"blocks: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 3:o.paragraphs&&o.paragraphs.length||(o.paragraphs=[]),o.paragraphs.push(b.google.cloud.vision.v1.Paragraph.decode(e,e.uint32()));break;case 4:o.blockType=e.int32();break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.paragraphs&&e.hasOwnProperty("paragraphs")){if(!Array.isArray(e.paragraphs))return"paragraphs: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 3:o.words&&o.words.length||(o.words=[]),o.words.push(b.google.cloud.vision.v1.Word.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.words&&e.hasOwnProperty("words")){if(!Array.isArray(e.words))return"words: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 3:o.symbols&&o.symbols.length||(o.symbols=[]),o.symbols.push(b.google.cloud.vision.v1.Symbol.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.symbols&&e.hasOwnProperty("symbols")){if(!Array.isArray(e.symbols))return"symbols: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 3:o.text=e.string();break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.property&&e.hasOwnProperty("property")&&(t=b.google.cloud.vision.v1.TextAnnotation.TextProperty.verify(e.property))?"property."+t:null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(t=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingBox))?"boundingBox."+t:null!=e.text&&e.hasOwnProperty("text")&&!v.isString(e.text)?"text: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.Symbol)return e;var t=new b.google.cloud.vision.v1.Symbol;if(null!=e.property){if("object"!=typeof e.property)throw TypeError(".google.cloud.vision.v1.Symbol.property: object expected");t.property=b.google.cloud.vision.v1.TextAnnotation.TextProperty.fromObject(e.property)}if(null!=e.boundingBox){if("object"!=typeof e.boundingBox)throw TypeError(".google.cloud.vision.v1.Symbol.boundingBox: object expected");t.boundingBox=b.google.cloud.vision.v1.BoundingPoly.fromObject(e.boundingBox)}return null!=e.text&&(t.text=String(e.text)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.property=null,n.boundingBox=null,n.text="",n.confidence=0),null!=e.property&&e.hasOwnProperty("property")&&(n.property=b.google.cloud.vision.v1.TextAnnotation.TextProperty.toObject(e.property,t)),null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n.boundingBox=b.google.cloud.vision.v1.BoundingPoly.toObject(e.boundingBox,t)),null!=e.text&&e.hasOwnProperty("text")&&(n.text=e.text),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.Symbol"},t}(),o.WebDetection=function(){function t(e){if(this.webEntities=[],this.fullMatchingImages=[],this.partialMatchingImages=[],this.pagesWithMatchingImages=[],this.visuallySimilarImages=[],this.bestGuessLabels=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.webEntities&&o.webEntities.length||(o.webEntities=[]),o.webEntities.push(b.google.cloud.vision.v1.WebDetection.WebEntity.decode(e,e.uint32()));break;case 2:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1.WebDetection.WebImage.decode(e,e.uint32()));break;case 3:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1.WebDetection.WebImage.decode(e,e.uint32()));break;case 4:o.pagesWithMatchingImages&&o.pagesWithMatchingImages.length||(o.pagesWithMatchingImages=[]),o.pagesWithMatchingImages.push(b.google.cloud.vision.v1.WebDetection.WebPage.decode(e,e.uint32()));break;case 6:o.visuallySimilarImages&&o.visuallySimilarImages.length||(o.visuallySimilarImages=[]),o.visuallySimilarImages.push(b.google.cloud.vision.v1.WebDetection.WebImage.decode(e,e.uint32()));break;case 8:o.bestGuessLabels&&o.bestGuessLabels.length||(o.bestGuessLabels=[]),o.bestGuessLabels.push(b.google.cloud.vision.v1.WebDetection.WebLabel.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.webEntities&&e.hasOwnProperty("webEntities")){if(!Array.isArray(e.webEntities))return"webEntities: array expected";for(var t=0;t>>3){case 1:o.entityId=e.string();break;case 2:o.score=e.float();break;case 3:o.description=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.entityId&&e.hasOwnProperty("entityId")&&!v.isString(e.entityId)?"entityId: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description)?"description: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.WebDetection.WebEntity)return e;var t=new b.google.cloud.vision.v1.WebDetection.WebEntity;return null!=e.entityId&&(t.entityId=String(e.entityId)),null!=e.score&&(t.score=Number(e.score)),null!=e.description&&(t.description=String(e.description)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.entityId="",n.score=0,n.description=""),null!=e.entityId&&e.hasOwnProperty("entityId")&&(n.entityId=e.entityId),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.description&&e.hasOwnProperty("description")&&(n.description=e.description),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.WebDetection.WebEntity"},t}(),t.WebImage=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url)?"url: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.WebDetection.WebImage)return e;var t=new b.google.cloud.vision.v1.WebDetection.WebImage;return null!=e.url&&(t.url=String(e.url)),null!=e.score&&(t.score=Number(e.score)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.url="",n.score=0),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.WebDetection.WebImage"},t}(),t.WebPage=function(){function t(e){if(this.fullMatchingImages=[],this.partialMatchingImages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;case 3:o.pageTitle=e.string();break;case 4:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1.WebDetection.WebImage.decode(e,e.uint32()));break;case 5:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1.WebDetection.WebImage.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url))return"url: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.pageTitle&&e.hasOwnProperty("pageTitle")&&!v.isString(e.pageTitle))return"pageTitle: string expected";if(null!=e.fullMatchingImages&&e.hasOwnProperty("fullMatchingImages")){if(!Array.isArray(e.fullMatchingImages))return"fullMatchingImages: array expected";for(var t=0;t>>3){case 1:o.label=e.string();break;case 2:o.languageCode=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.label&&e.hasOwnProperty("label")&&!v.isString(e.label)?"label: string expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.WebDetection.WebLabel)return e;var t=new b.google.cloud.vision.v1.WebDetection.WebLabel;return null!=e.label&&(t.label=String(e.label)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.label="",n.languageCode=""),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.WebDetection.WebLabel"},t}(),t}(),o),l.v1p1beta1=((r={}).Vertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.int32();break;case 2:o.y=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&!v.isInteger(e.x)?"x: integer expected":null!=e.y&&e.hasOwnProperty("y")&&!v.isInteger(e.y)?"y: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.Vertex)return e;var t=new b.google.cloud.vision.v1p1beta1.Vertex;return null!=e.x&&(t.x=0|e.x),null!=e.y&&(t.y=0|e.y),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.Vertex"},t}(),r.BoundingPoly=function(){function t(e){if(this.vertices=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.vertices&&o.vertices.length||(o.vertices=[]),o.vertices.push(b.google.cloud.vision.v1p1beta1.Vertex.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.vertices&&e.hasOwnProperty("vertices")){if(!Array.isArray(e.vertices))return"vertices: array expected";for(var t=0;t>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;case 3:o.z=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null!=e.z&&e.hasOwnProperty("z")&&"number"!=typeof e.z?"z: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.Position)return e;var t=new b.google.cloud.vision.v1p1beta1.Position;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),null!=e.z&&(t.z=Number(e.z)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0,n.z=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),null!=e.z&&e.hasOwnProperty("z")&&(n.z=t.json&&!isFinite(e.z)?String(e.z):e.z),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.Position"},t}(),r.ImageAnnotator=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.batchAnnotateImages=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p1beta1.BatchAnnotateImagesRequest,b.google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponse,t,n)},"name",{value:"BatchAnnotateImages"}),t}(),r.Feature=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.maxResults=e.int32();break;case 3:o.model=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 11:case 6:case 7:case 9:case 10:}return null!=e.maxResults&&e.hasOwnProperty("maxResults")&&!v.isInteger(e.maxResults)?"maxResults: integer expected":null!=e.model&&e.hasOwnProperty("model")&&!v.isString(e.model)?"model: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.Feature)return e;var t=new b.google.cloud.vision.v1p1beta1.Feature;switch(e.type){case"TYPE_UNSPECIFIED":case 0:t.type=0;break;case"FACE_DETECTION":case 1:t.type=1;break;case"LANDMARK_DETECTION":case 2:t.type=2;break;case"LOGO_DETECTION":case 3:t.type=3;break;case"LABEL_DETECTION":case 4:t.type=4;break;case"TEXT_DETECTION":case 5:t.type=5;break;case"DOCUMENT_TEXT_DETECTION":case 11:t.type=11;break;case"SAFE_SEARCH_DETECTION":case 6:t.type=6;break;case"IMAGE_PROPERTIES":case 7:t.type=7;break;case"CROP_HINTS":case 9:t.type=9;break;case"WEB_DETECTION":case 10:t.type=10}return null!=e.maxResults&&(t.maxResults=0|e.maxResults),null!=e.model&&(t.model=String(e.model)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"TYPE_UNSPECIFIED":0,n.maxResults=0,n.model=""),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p1beta1.Feature.Type[e.type]:e.type),null!=e.maxResults&&e.hasOwnProperty("maxResults")&&(n.maxResults=e.maxResults),null!=e.model&&e.hasOwnProperty("model")&&(n.model=e.model),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.Feature"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="TYPE_UNSPECIFIED"]=0,t[e[1]="FACE_DETECTION"]=1,t[e[2]="LANDMARK_DETECTION"]=2,t[e[3]="LOGO_DETECTION"]=3,t[e[4]="LABEL_DETECTION"]=4,t[e[5]="TEXT_DETECTION"]=5,t[e[11]="DOCUMENT_TEXT_DETECTION"]=11,t[e[6]="SAFE_SEARCH_DETECTION"]=6,t[e[7]="IMAGE_PROPERTIES"]=7,t[e[9]="CROP_HINTS"]=9,t[e[10]="WEB_DETECTION"]=10,t}(),t}(),r.ImageSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsImageUri=e.string();break;case 2:o.imageUri=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&!v.isString(e.gcsImageUri)?"gcsImageUri: string expected":null!=e.imageUri&&e.hasOwnProperty("imageUri")&&!v.isString(e.imageUri)?"imageUri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.ImageSource)return e;var t=new b.google.cloud.vision.v1p1beta1.ImageSource;return null!=e.gcsImageUri&&(t.gcsImageUri=String(e.gcsImageUri)),null!=e.imageUri&&(t.imageUri=String(e.imageUri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsImageUri="",n.imageUri=""),null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&(n.gcsImageUri=e.gcsImageUri),null!=e.imageUri&&e.hasOwnProperty("imageUri")&&(n.imageUri=e.imageUri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.ImageSource"},t}(),r.Image=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.content=e.bytes();break;case 2:o.source=b.google.cloud.vision.v1p1beta1.ImageSource.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.content&&e.hasOwnProperty("content")&&!(e.content&&"number"==typeof e.content.length||v.isString(e.content)))return"content: buffer expected";if(null!=e.source&&e.hasOwnProperty("source")){var t=b.google.cloud.vision.v1p1beta1.ImageSource.verify(e.source);if(t)return"source."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.Image)return e;var t=new b.google.cloud.vision.v1p1beta1.Image;if(null!=e.content&&("string"==typeof e.content?v.base64.decode(e.content,t.content=v.newBuffer(v.base64.length(e.content)),0):e.content.length>=0&&(t.content=e.content)),null!=e.source){if("object"!=typeof e.source)throw TypeError(".google.cloud.vision.v1p1beta1.Image.source: object expected");t.source=b.google.cloud.vision.v1p1beta1.ImageSource.fromObject(e.source)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.content="":(n.content=[],t.bytes!==Array&&(n.content=v.newBuffer(n.content))),n.source=null),null!=e.content&&e.hasOwnProperty("content")&&(n.content=t.bytes===String?v.base64.encode(e.content,0,e.content.length):t.bytes===Array?Array.prototype.slice.call(e.content):e.content),null!=e.source&&e.hasOwnProperty("source")&&(n.source=b.google.cloud.vision.v1p1beta1.ImageSource.toObject(e.source,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.Image"},t}(),r.FaceAnnotation=function(){function t(e){if(this.landmarks=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p1beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.fdBoundingPoly=b.google.cloud.vision.v1p1beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.landmarks&&o.landmarks.length||(o.landmarks=[]),o.landmarks.push(b.google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark.decode(e,e.uint32()));break;case 4:o.rollAngle=e.float();break;case 5:o.panAngle=e.float();break;case 6:o.tiltAngle=e.float();break;case 7:o.detectionConfidence=e.float();break;case 8:o.landmarkingConfidence=e.float();break;case 9:o.joyLikelihood=e.int32();break;case 10:o.sorrowLikelihood=e.int32();break;case 11:o.angerLikelihood=e.int32();break;case 12:o.surpriseLikelihood=e.int32();break;case 13:o.underExposedLikelihood=e.int32();break;case 14:o.blurredLikelihood=e.int32();break;case 15:o.headwearLikelihood=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p1beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.fdBoundingPoly&&e.hasOwnProperty("fdBoundingPoly")&&(n=b.google.cloud.vision.v1p1beta1.BoundingPoly.verify(e.fdBoundingPoly)))return"fdBoundingPoly."+n;if(null!=e.landmarks&&e.hasOwnProperty("landmarks")){if(!Array.isArray(e.landmarks))return"landmarks: array expected";for(var t=0;t>>3){case 3:o.type=e.int32();break;case 4:o.position=b.google.cloud.vision.v1p1beta1.Position.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:}if(null!=e.position&&e.hasOwnProperty("position")){var t=b.google.cloud.vision.v1p1beta1.Position.verify(e.position);if(t)return"position."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark)return e;var t=new b.google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark;switch(e.type){case"UNKNOWN_LANDMARK":case 0:t.type=0;break;case"LEFT_EYE":case 1:t.type=1;break;case"RIGHT_EYE":case 2:t.type=2;break;case"LEFT_OF_LEFT_EYEBROW":case 3:t.type=3;break;case"RIGHT_OF_LEFT_EYEBROW":case 4:t.type=4;break;case"LEFT_OF_RIGHT_EYEBROW":case 5:t.type=5;break;case"RIGHT_OF_RIGHT_EYEBROW":case 6:t.type=6;break;case"MIDPOINT_BETWEEN_EYES":case 7:t.type=7;break;case"NOSE_TIP":case 8:t.type=8;break;case"UPPER_LIP":case 9:t.type=9;break;case"LOWER_LIP":case 10:t.type=10;break;case"MOUTH_LEFT":case 11:t.type=11;break;case"MOUTH_RIGHT":case 12:t.type=12;break;case"MOUTH_CENTER":case 13:t.type=13;break;case"NOSE_BOTTOM_RIGHT":case 14:t.type=14;break;case"NOSE_BOTTOM_LEFT":case 15:t.type=15;break;case"NOSE_BOTTOM_CENTER":case 16:t.type=16;break;case"LEFT_EYE_TOP_BOUNDARY":case 17:t.type=17;break;case"LEFT_EYE_RIGHT_CORNER":case 18:t.type=18;break;case"LEFT_EYE_BOTTOM_BOUNDARY":case 19:t.type=19;break;case"LEFT_EYE_LEFT_CORNER":case 20:t.type=20;break;case"RIGHT_EYE_TOP_BOUNDARY":case 21:t.type=21;break;case"RIGHT_EYE_RIGHT_CORNER":case 22:t.type=22;break;case"RIGHT_EYE_BOTTOM_BOUNDARY":case 23:t.type=23;break;case"RIGHT_EYE_LEFT_CORNER":case 24:t.type=24;break;case"LEFT_EYEBROW_UPPER_MIDPOINT":case 25:t.type=25;break;case"RIGHT_EYEBROW_UPPER_MIDPOINT":case 26:t.type=26;break;case"LEFT_EAR_TRAGION":case 27:t.type=27;break;case"RIGHT_EAR_TRAGION":case 28:t.type=28;break;case"LEFT_EYE_PUPIL":case 29:t.type=29;break;case"RIGHT_EYE_PUPIL":case 30:t.type=30;break;case"FOREHEAD_GLABELLA":case 31:t.type=31;break;case"CHIN_GNATHION":case 32:t.type=32;break;case"CHIN_LEFT_GONION":case 33:t.type=33;break;case"CHIN_RIGHT_GONION":case 34:t.type=34}if(null!=e.position){if("object"!=typeof e.position)throw TypeError(".google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark.position: object expected");t.position=b.google.cloud.vision.v1p1beta1.Position.fromObject(e.position)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN_LANDMARK":0,n.position=null),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark.Type[e.type]:e.type),null!=e.position&&e.hasOwnProperty("position")&&(n.position=b.google.cloud.vision.v1p1beta1.Position.toObject(e.position,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN_LANDMARK"]=0,t[e[1]="LEFT_EYE"]=1,t[e[2]="RIGHT_EYE"]=2,t[e[3]="LEFT_OF_LEFT_EYEBROW"]=3,t[e[4]="RIGHT_OF_LEFT_EYEBROW"]=4,t[e[5]="LEFT_OF_RIGHT_EYEBROW"]=5,t[e[6]="RIGHT_OF_RIGHT_EYEBROW"]=6,t[e[7]="MIDPOINT_BETWEEN_EYES"]=7,t[e[8]="NOSE_TIP"]=8,t[e[9]="UPPER_LIP"]=9,t[e[10]="LOWER_LIP"]=10,t[e[11]="MOUTH_LEFT"]=11,t[e[12]="MOUTH_RIGHT"]=12,t[e[13]="MOUTH_CENTER"]=13,t[e[14]="NOSE_BOTTOM_RIGHT"]=14,t[e[15]="NOSE_BOTTOM_LEFT"]=15,t[e[16]="NOSE_BOTTOM_CENTER"]=16,t[e[17]="LEFT_EYE_TOP_BOUNDARY"]=17,t[e[18]="LEFT_EYE_RIGHT_CORNER"]=18,t[e[19]="LEFT_EYE_BOTTOM_BOUNDARY"]=19,t[e[20]="LEFT_EYE_LEFT_CORNER"]=20,t[e[21]="RIGHT_EYE_TOP_BOUNDARY"]=21,t[e[22]="RIGHT_EYE_RIGHT_CORNER"]=22,t[e[23]="RIGHT_EYE_BOTTOM_BOUNDARY"]=23,t[e[24]="RIGHT_EYE_LEFT_CORNER"]=24,t[e[25]="LEFT_EYEBROW_UPPER_MIDPOINT"]=25,t[e[26]="RIGHT_EYEBROW_UPPER_MIDPOINT"]=26,t[e[27]="LEFT_EAR_TRAGION"]=27,t[e[28]="RIGHT_EAR_TRAGION"]=28,t[e[29]="LEFT_EYE_PUPIL"]=29,t[e[30]="RIGHT_EYE_PUPIL"]=30,t[e[31]="FOREHEAD_GLABELLA"]=31,t[e[32]="CHIN_GNATHION"]=32,t[e[33]="CHIN_LEFT_GONION"]=33,t[e[34]="CHIN_RIGHT_GONION"]=34,t}(),t}(),t}(),r.LocationInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.latLng=b.google.type.LatLng.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.latLng&&e.hasOwnProperty("latLng")){var t=b.google.type.LatLng.verify(e.latLng);if(t)return"latLng."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.LocationInfo)return e;var t=new b.google.cloud.vision.v1p1beta1.LocationInfo;if(null!=e.latLng){if("object"!=typeof e.latLng)throw TypeError(".google.cloud.vision.v1p1beta1.LocationInfo.latLng: object expected");t.latLng=b.google.type.LatLng.fromObject(e.latLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.latLng=null),null!=e.latLng&&e.hasOwnProperty("latLng")&&(n.latLng=b.google.type.LatLng.toObject(e.latLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.LocationInfo"},t}(),r.Property=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value=e.string();break;case 3:o.uint64Value=e.uint64();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&!(v.isInteger(e.uint64Value)||e.uint64Value&&v.isInteger(e.uint64Value.low)&&v.isInteger(e.uint64Value.high))?"uint64Value: integer|Long expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.Property)return e;var t=new b.google.cloud.vision.v1p1beta1.Property;return null!=e.name&&(t.name=String(e.name)),null!=e.value&&(t.value=String(e.value)),null!=e.uint64Value&&(v.Long?(t.uint64Value=v.Long.fromValue(e.uint64Value)).unsigned=!0:"string"==typeof e.uint64Value?t.uint64Value=parseInt(e.uint64Value,10):"number"==typeof e.uint64Value?t.uint64Value=e.uint64Value:"object"==typeof e.uint64Value&&(t.uint64Value=new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0))),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(n.name="",n.value="",v.Long){var o=new v.Long(0,0,!0);n.uint64Value=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.uint64Value=t.longs===String?"0":0;return null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&("number"==typeof e.uint64Value?n.uint64Value=t.longs===String?String(e.uint64Value):e.uint64Value:n.uint64Value=t.longs===String?v.Long.prototype.toString.call(e.uint64Value):t.longs===Number?new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0):e.uint64Value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.Property"},t}(),r.EntityAnnotation=function(){function t(e){if(this.locations=[],this.properties=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.mid=e.string();break;case 2:o.locale=e.string();break;case 3:o.description=e.string();break;case 4:o.score=e.float();break;case 5:o.confidence=e.float();break;case 6:o.topicality=e.float();break;case 7:o.boundingPoly=b.google.cloud.vision.v1p1beta1.BoundingPoly.decode(e,e.uint32());break;case 8:o.locations&&o.locations.length||(o.locations=[]),o.locations.push(b.google.cloud.vision.v1p1beta1.LocationInfo.decode(e,e.uint32()));break;case 9:o.properties&&o.properties.length||(o.properties=[]),o.properties.push(b.google.cloud.vision.v1p1beta1.Property.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid))return"mid: string expected";if(null!=e.locale&&e.hasOwnProperty("locale")&&!v.isString(e.locale))return"locale: string expected";if(null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description))return"description: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence)return"confidence: number expected";if(null!=e.topicality&&e.hasOwnProperty("topicality")&&"number"!=typeof e.topicality)return"topicality: number expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p1beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.locations&&e.hasOwnProperty("locations")){if(!Array.isArray(e.locations))return"locations: array expected";for(var t=0;t>>3){case 1:o.adult=e.int32();break;case 2:o.spoof=e.int32();break;case 3:o.medical=e.int32();break;case 4:o.violence=e.int32();break;case 9:o.racy=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.adult&&e.hasOwnProperty("adult"))switch(e.adult){default:return"adult: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.spoof&&e.hasOwnProperty("spoof"))switch(e.spoof){default:return"spoof: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.medical&&e.hasOwnProperty("medical"))switch(e.medical){default:return"medical: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.violence&&e.hasOwnProperty("violence"))switch(e.violence){default:return"violence: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.racy&&e.hasOwnProperty("racy"))switch(e.racy){default:return"racy: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.SafeSearchAnnotation)return e;var t=new b.google.cloud.vision.v1p1beta1.SafeSearchAnnotation;switch(e.adult){case"UNKNOWN":case 0:t.adult=0;break;case"VERY_UNLIKELY":case 1:t.adult=1;break;case"UNLIKELY":case 2:t.adult=2;break;case"POSSIBLE":case 3:t.adult=3;break;case"LIKELY":case 4:t.adult=4;break;case"VERY_LIKELY":case 5:t.adult=5}switch(e.spoof){case"UNKNOWN":case 0:t.spoof=0;break;case"VERY_UNLIKELY":case 1:t.spoof=1;break;case"UNLIKELY":case 2:t.spoof=2;break;case"POSSIBLE":case 3:t.spoof=3;break;case"LIKELY":case 4:t.spoof=4;break;case"VERY_LIKELY":case 5:t.spoof=5}switch(e.medical){case"UNKNOWN":case 0:t.medical=0;break;case"VERY_UNLIKELY":case 1:t.medical=1;break;case"UNLIKELY":case 2:t.medical=2;break;case"POSSIBLE":case 3:t.medical=3;break;case"LIKELY":case 4:t.medical=4;break;case"VERY_LIKELY":case 5:t.medical=5}switch(e.violence){case"UNKNOWN":case 0:t.violence=0;break;case"VERY_UNLIKELY":case 1:t.violence=1;break;case"UNLIKELY":case 2:t.violence=2;break;case"POSSIBLE":case 3:t.violence=3;break;case"LIKELY":case 4:t.violence=4;break;case"VERY_LIKELY":case 5:t.violence=5}switch(e.racy){case"UNKNOWN":case 0:t.racy=0;break;case"VERY_UNLIKELY":case 1:t.racy=1;break;case"UNLIKELY":case 2:t.racy=2;break;case"POSSIBLE":case 3:t.racy=3;break;case"LIKELY":case 4:t.racy=4;break;case"VERY_LIKELY":case 5:t.racy=5}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.adult=t.enums===String?"UNKNOWN":0,n.spoof=t.enums===String?"UNKNOWN":0,n.medical=t.enums===String?"UNKNOWN":0,n.violence=t.enums===String?"UNKNOWN":0,n.racy=t.enums===String?"UNKNOWN":0),null!=e.adult&&e.hasOwnProperty("adult")&&(n.adult=t.enums===String?b.google.cloud.vision.v1p1beta1.Likelihood[e.adult]:e.adult),null!=e.spoof&&e.hasOwnProperty("spoof")&&(n.spoof=t.enums===String?b.google.cloud.vision.v1p1beta1.Likelihood[e.spoof]:e.spoof),null!=e.medical&&e.hasOwnProperty("medical")&&(n.medical=t.enums===String?b.google.cloud.vision.v1p1beta1.Likelihood[e.medical]:e.medical),null!=e.violence&&e.hasOwnProperty("violence")&&(n.violence=t.enums===String?b.google.cloud.vision.v1p1beta1.Likelihood[e.violence]:e.violence),null!=e.racy&&e.hasOwnProperty("racy")&&(n.racy=t.enums===String?b.google.cloud.vision.v1p1beta1.Likelihood[e.racy]:e.racy),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.SafeSearchAnnotation"},t}(),r.LatLongRect=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.minLatLng=b.google.type.LatLng.decode(e,e.uint32());break;case 2:o.maxLatLng=b.google.type.LatLng.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(t=b.google.type.LatLng.verify(e.minLatLng))?"minLatLng."+t:null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(t=b.google.type.LatLng.verify(e.maxLatLng))?"maxLatLng."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.LatLongRect)return e;var t=new b.google.cloud.vision.v1p1beta1.LatLongRect;if(null!=e.minLatLng){if("object"!=typeof e.minLatLng)throw TypeError(".google.cloud.vision.v1p1beta1.LatLongRect.minLatLng: object expected");t.minLatLng=b.google.type.LatLng.fromObject(e.minLatLng)}if(null!=e.maxLatLng){if("object"!=typeof e.maxLatLng)throw TypeError(".google.cloud.vision.v1p1beta1.LatLongRect.maxLatLng: object expected");t.maxLatLng=b.google.type.LatLng.fromObject(e.maxLatLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.minLatLng=null,n.maxLatLng=null),null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(n.minLatLng=b.google.type.LatLng.toObject(e.minLatLng,t)),null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(n.maxLatLng=b.google.type.LatLng.toObject(e.maxLatLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.LatLongRect"},t}(),r.ColorInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.color=b.google.type.Color.decode(e,e.uint32());break;case 2:o.score=e.float();break;case 3:o.pixelFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.color&&e.hasOwnProperty("color")){var t=b.google.type.Color.verify(e.color);if(t)return"color."+t}return null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&"number"!=typeof e.pixelFraction?"pixelFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.ColorInfo)return e;var t=new b.google.cloud.vision.v1p1beta1.ColorInfo;if(null!=e.color){if("object"!=typeof e.color)throw TypeError(".google.cloud.vision.v1p1beta1.ColorInfo.color: object expected");t.color=b.google.type.Color.fromObject(e.color)}return null!=e.score&&(t.score=Number(e.score)),null!=e.pixelFraction&&(t.pixelFraction=Number(e.pixelFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.color=null,n.score=0,n.pixelFraction=0),null!=e.color&&e.hasOwnProperty("color")&&(n.color=b.google.type.Color.toObject(e.color,t)),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&(n.pixelFraction=t.json&&!isFinite(e.pixelFraction)?String(e.pixelFraction):e.pixelFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.ColorInfo"},t}(),r.DominantColorsAnnotation=function(){function t(e){if(this.colors=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.colors&&o.colors.length||(o.colors=[]),o.colors.push(b.google.cloud.vision.v1p1beta1.ColorInfo.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.colors&&e.hasOwnProperty("colors")){if(!Array.isArray(e.colors))return"colors: array expected";for(var t=0;t>>3==1?o.dominantColors=b.google.cloud.vision.v1p1beta1.DominantColorsAnnotation.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.dominantColors&&e.hasOwnProperty("dominantColors")){var t=b.google.cloud.vision.v1p1beta1.DominantColorsAnnotation.verify(e.dominantColors);if(t)return"dominantColors."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.ImageProperties)return e;var t=new b.google.cloud.vision.v1p1beta1.ImageProperties;if(null!=e.dominantColors){if("object"!=typeof e.dominantColors)throw TypeError(".google.cloud.vision.v1p1beta1.ImageProperties.dominantColors: object expected");t.dominantColors=b.google.cloud.vision.v1p1beta1.DominantColorsAnnotation.fromObject(e.dominantColors)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.dominantColors=null),null!=e.dominantColors&&e.hasOwnProperty("dominantColors")&&(n.dominantColors=b.google.cloud.vision.v1p1beta1.DominantColorsAnnotation.toObject(e.dominantColors,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.ImageProperties"},t}(),r.CropHint=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p1beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.confidence=e.float();break;case 3:o.importanceFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1p1beta1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}return null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&"number"!=typeof e.importanceFraction?"importanceFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.CropHint)return e;var t=new b.google.cloud.vision.v1p1beta1.CropHint;if(null!=e.boundingPoly){if("object"!=typeof e.boundingPoly)throw TypeError(".google.cloud.vision.v1p1beta1.CropHint.boundingPoly: object expected");t.boundingPoly=b.google.cloud.vision.v1p1beta1.BoundingPoly.fromObject(e.boundingPoly)}return null!=e.confidence&&(t.confidence=Number(e.confidence)),null!=e.importanceFraction&&(t.importanceFraction=Number(e.importanceFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.boundingPoly=null,n.confidence=0,n.importanceFraction=0),null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n.boundingPoly=b.google.cloud.vision.v1p1beta1.BoundingPoly.toObject(e.boundingPoly,t)),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&(n.importanceFraction=t.json&&!isFinite(e.importanceFraction)?String(e.importanceFraction):e.importanceFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.CropHint"},t}(),r.CropHintsAnnotation=function(){function t(e){if(this.cropHints=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.cropHints&&o.cropHints.length||(o.cropHints=[]),o.cropHints.push(b.google.cloud.vision.v1p1beta1.CropHint.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.cropHints&&e.hasOwnProperty("cropHints")){if(!Array.isArray(e.cropHints))return"cropHints: array expected";for(var t=0;t>>3==1)if(o.aspectRatios&&o.aspectRatios.length||(o.aspectRatios=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==2?o.includeGeoResults=e.bool():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&"boolean"!=typeof e.includeGeoResults?"includeGeoResults: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.WebDetectionParams)return e;var t=new b.google.cloud.vision.v1p1beta1.WebDetectionParams;return null!=e.includeGeoResults&&(t.includeGeoResults=Boolean(e.includeGeoResults)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.includeGeoResults=!1),null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&(n.includeGeoResults=e.includeGeoResults),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.WebDetectionParams"},t}(),r.TextDetectionParams=function(){function t(e){if(this.advancedOcrOptions=[],e)for(var t=Object.keys(e),n=0;n>>3){case 9:o.enableTextDetectionConfidenceScore=e.bool();break;case 11:o.advancedOcrOptions&&o.advancedOcrOptions.length||(o.advancedOcrOptions=[]),o.advancedOcrOptions.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.enableTextDetectionConfidenceScore&&e.hasOwnProperty("enableTextDetectionConfidenceScore")&&"boolean"!=typeof e.enableTextDetectionConfidenceScore)return"enableTextDetectionConfidenceScore: boolean expected";if(null!=e.advancedOcrOptions&&e.hasOwnProperty("advancedOcrOptions")){if(!Array.isArray(e.advancedOcrOptions))return"advancedOcrOptions: array expected";for(var t=0;t>>3){case 1:o.latLongRect=b.google.cloud.vision.v1p1beta1.LatLongRect.decode(e,e.uint32());break;case 2:o.languageHints&&o.languageHints.length||(o.languageHints=[]),o.languageHints.push(e.string());break;case 4:o.cropHintsParams=b.google.cloud.vision.v1p1beta1.CropHintsParams.decode(e,e.uint32());break;case 6:o.webDetectionParams=b.google.cloud.vision.v1p1beta1.WebDetectionParams.decode(e,e.uint32());break;case 12:o.textDetectionParams=b.google.cloud.vision.v1p1beta1.TextDetectionParams.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t;if(null!=e.latLongRect&&e.hasOwnProperty("latLongRect")&&(t=b.google.cloud.vision.v1p1beta1.LatLongRect.verify(e.latLongRect)))return"latLongRect."+t;if(null!=e.languageHints&&e.hasOwnProperty("languageHints")){if(!Array.isArray(e.languageHints))return"languageHints: array expected";for(var n=0;n>>3){case 1:o.image=b.google.cloud.vision.v1p1beta1.Image.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1p1beta1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1p1beta1.ImageContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.image&&e.hasOwnProperty("image")&&(n=b.google.cloud.vision.v1p1beta1.Image.verify(e.image)))return"image."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3){case 1:o.faceAnnotations&&o.faceAnnotations.length||(o.faceAnnotations=[]),o.faceAnnotations.push(b.google.cloud.vision.v1p1beta1.FaceAnnotation.decode(e,e.uint32()));break;case 2:o.landmarkAnnotations&&o.landmarkAnnotations.length||(o.landmarkAnnotations=[]),o.landmarkAnnotations.push(b.google.cloud.vision.v1p1beta1.EntityAnnotation.decode(e,e.uint32()));break;case 3:o.logoAnnotations&&o.logoAnnotations.length||(o.logoAnnotations=[]),o.logoAnnotations.push(b.google.cloud.vision.v1p1beta1.EntityAnnotation.decode(e,e.uint32()));break;case 4:o.labelAnnotations&&o.labelAnnotations.length||(o.labelAnnotations=[]),o.labelAnnotations.push(b.google.cloud.vision.v1p1beta1.EntityAnnotation.decode(e,e.uint32()));break;case 5:o.textAnnotations&&o.textAnnotations.length||(o.textAnnotations=[]),o.textAnnotations.push(b.google.cloud.vision.v1p1beta1.EntityAnnotation.decode(e,e.uint32()));break;case 12:o.fullTextAnnotation=b.google.cloud.vision.v1p1beta1.TextAnnotation.decode(e,e.uint32());break;case 6:o.safeSearchAnnotation=b.google.cloud.vision.v1p1beta1.SafeSearchAnnotation.decode(e,e.uint32());break;case 8:o.imagePropertiesAnnotation=b.google.cloud.vision.v1p1beta1.ImageProperties.decode(e,e.uint32());break;case 11:o.cropHintsAnnotation=b.google.cloud.vision.v1p1beta1.CropHintsAnnotation.decode(e,e.uint32());break;case 13:o.webDetection=b.google.cloud.vision.v1p1beta1.WebDetection.decode(e,e.uint32());break;case 9:o.error=b.google.rpc.Status.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.faceAnnotations&&e.hasOwnProperty("faceAnnotations")){if(!Array.isArray(e.faceAnnotations))return"faceAnnotations: array expected";for(var t=0;t>>3==1?(o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p1beta1.AnnotateImageRequest.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p1beta1.AnnotateImageResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.pages&&o.pages.length||(o.pages=[]),o.pages.push(b.google.cloud.vision.v1p1beta1.Page.decode(e,e.uint32()));break;case 2:o.text=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.pages&&e.hasOwnProperty("pages")){if(!Array.isArray(e.pages))return"pages: array expected";for(var t=0;t>>3){case 1:o.languageCode=e.string();break;case 2:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage)return e;var t=new b.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage;return null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.languageCode="",n.confidence=0),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage"},t}(),t.DetectedBreak=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.isPrefix=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&"boolean"!=typeof e.isPrefix?"isPrefix: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak)return e;var t=new b.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak;switch(e.type){case"UNKNOWN":case 0:t.type=0;break;case"SPACE":case 1:t.type=1;break;case"SURE_SPACE":case 2:t.type=2;break;case"EOL_SURE_SPACE":case 3:t.type=3;break;case"HYPHEN":case 4:t.type=4;break;case"LINE_BREAK":case 5:t.type=5}return null!=e.isPrefix&&(t.isPrefix=Boolean(e.isPrefix)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN":0,n.isPrefix=!1),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak.BreakType[e.type]:e.type),null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&(n.isPrefix=e.isPrefix),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak"},t.BreakType=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="SPACE"]=1,t[e[2]="SURE_SPACE"]=2,t[e[3]="EOL_SURE_SPACE"]=3,t[e[4]="HYPHEN"]=4,t[e[5]="LINE_BREAK"]=5,t}(),t}(),t.TextProperty=function(){function t(e){if(this.detectedLanguages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.detectedLanguages&&o.detectedLanguages.length||(o.detectedLanguages=[]),o.detectedLanguages.push(b.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage.decode(e,e.uint32()));break;case 2:o.detectedBreak=b.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.detectedLanguages&&e.hasOwnProperty("detectedLanguages")){if(!Array.isArray(e.detectedLanguages))return"detectedLanguages: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.width=e.int32();break;case 3:o.height=e.int32();break;case 4:o.blocks&&o.blocks.length||(o.blocks=[]),o.blocks.push(b.google.cloud.vision.v1p1beta1.Block.decode(e,e.uint32()));break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.width&&e.hasOwnProperty("width")&&!v.isInteger(e.width))return"width: integer expected";if(null!=e.height&&e.hasOwnProperty("height")&&!v.isInteger(e.height))return"height: integer expected";if(null!=e.blocks&&e.hasOwnProperty("blocks")){if(!Array.isArray(e.blocks))return"blocks: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p1beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.paragraphs&&o.paragraphs.length||(o.paragraphs=[]),o.paragraphs.push(b.google.cloud.vision.v1p1beta1.Paragraph.decode(e,e.uint32()));break;case 4:o.blockType=e.int32();break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p1beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.paragraphs&&e.hasOwnProperty("paragraphs")){if(!Array.isArray(e.paragraphs))return"paragraphs: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p1beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.words&&o.words.length||(o.words=[]),o.words.push(b.google.cloud.vision.v1p1beta1.Word.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p1beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.words&&e.hasOwnProperty("words")){if(!Array.isArray(e.words))return"words: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p1beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.symbols&&o.symbols.length||(o.symbols=[]),o.symbols.push(b.google.cloud.vision.v1p1beta1.Symbol.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p1beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.symbols&&e.hasOwnProperty("symbols")){if(!Array.isArray(e.symbols))return"symbols: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p1beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.text=e.string();break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.property&&e.hasOwnProperty("property")&&(t=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.verify(e.property))?"property."+t:null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(t=b.google.cloud.vision.v1p1beta1.BoundingPoly.verify(e.boundingBox))?"boundingBox."+t:null!=e.text&&e.hasOwnProperty("text")&&!v.isString(e.text)?"text: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.Symbol)return e;var t=new b.google.cloud.vision.v1p1beta1.Symbol;if(null!=e.property){if("object"!=typeof e.property)throw TypeError(".google.cloud.vision.v1p1beta1.Symbol.property: object expected");t.property=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.fromObject(e.property)}if(null!=e.boundingBox){if("object"!=typeof e.boundingBox)throw TypeError(".google.cloud.vision.v1p1beta1.Symbol.boundingBox: object expected");t.boundingBox=b.google.cloud.vision.v1p1beta1.BoundingPoly.fromObject(e.boundingBox)}return null!=e.text&&(t.text=String(e.text)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.property=null,n.boundingBox=null,n.text="",n.confidence=0),null!=e.property&&e.hasOwnProperty("property")&&(n.property=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.toObject(e.property,t)),null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n.boundingBox=b.google.cloud.vision.v1p1beta1.BoundingPoly.toObject(e.boundingBox,t)),null!=e.text&&e.hasOwnProperty("text")&&(n.text=e.text),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.Symbol"},t}(),r.WebDetection=function(){function t(e){if(this.webEntities=[],this.fullMatchingImages=[],this.partialMatchingImages=[],this.pagesWithMatchingImages=[],this.visuallySimilarImages=[],this.bestGuessLabels=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.webEntities&&o.webEntities.length||(o.webEntities=[]),o.webEntities.push(b.google.cloud.vision.v1p1beta1.WebDetection.WebEntity.decode(e,e.uint32()));break;case 2:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1p1beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 3:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1p1beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 4:o.pagesWithMatchingImages&&o.pagesWithMatchingImages.length||(o.pagesWithMatchingImages=[]),o.pagesWithMatchingImages.push(b.google.cloud.vision.v1p1beta1.WebDetection.WebPage.decode(e,e.uint32()));break;case 6:o.visuallySimilarImages&&o.visuallySimilarImages.length||(o.visuallySimilarImages=[]),o.visuallySimilarImages.push(b.google.cloud.vision.v1p1beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 8:o.bestGuessLabels&&o.bestGuessLabels.length||(o.bestGuessLabels=[]),o.bestGuessLabels.push(b.google.cloud.vision.v1p1beta1.WebDetection.WebLabel.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.webEntities&&e.hasOwnProperty("webEntities")){if(!Array.isArray(e.webEntities))return"webEntities: array expected";for(var t=0;t>>3){case 1:o.entityId=e.string();break;case 2:o.score=e.float();break;case 3:o.description=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.entityId&&e.hasOwnProperty("entityId")&&!v.isString(e.entityId)?"entityId: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description)?"description: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.WebDetection.WebEntity)return e;var t=new b.google.cloud.vision.v1p1beta1.WebDetection.WebEntity;return null!=e.entityId&&(t.entityId=String(e.entityId)),null!=e.score&&(t.score=Number(e.score)),null!=e.description&&(t.description=String(e.description)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.entityId="",n.score=0,n.description=""),null!=e.entityId&&e.hasOwnProperty("entityId")&&(n.entityId=e.entityId),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.description&&e.hasOwnProperty("description")&&(n.description=e.description),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.WebDetection.WebEntity"},t}(),t.WebImage=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url)?"url: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.WebDetection.WebImage)return e;var t=new b.google.cloud.vision.v1p1beta1.WebDetection.WebImage;return null!=e.url&&(t.url=String(e.url)),null!=e.score&&(t.score=Number(e.score)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.url="",n.score=0),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.WebDetection.WebImage"},t}(),t.WebPage=function(){function t(e){if(this.fullMatchingImages=[],this.partialMatchingImages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;case 3:o.pageTitle=e.string();break;case 4:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1p1beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 5:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1p1beta1.WebDetection.WebImage.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url))return"url: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.pageTitle&&e.hasOwnProperty("pageTitle")&&!v.isString(e.pageTitle))return"pageTitle: string expected";if(null!=e.fullMatchingImages&&e.hasOwnProperty("fullMatchingImages")){if(!Array.isArray(e.fullMatchingImages))return"fullMatchingImages: array expected";for(var t=0;t>>3){case 1:o.label=e.string();break;case 2:o.languageCode=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.label&&e.hasOwnProperty("label")&&!v.isString(e.label)?"label: string expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.WebDetection.WebLabel)return e;var t=new b.google.cloud.vision.v1p1beta1.WebDetection.WebLabel;return null!=e.label&&(t.label=String(e.label)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.label="",n.languageCode=""),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.WebDetection.WebLabel"},t}(),t}(),r),l.v1p2beta1=((i={}).Vertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.int32();break;case 2:o.y=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&!v.isInteger(e.x)?"x: integer expected":null!=e.y&&e.hasOwnProperty("y")&&!v.isInteger(e.y)?"y: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.Vertex)return e;var t=new b.google.cloud.vision.v1p2beta1.Vertex;return null!=e.x&&(t.x=0|e.x),null!=e.y&&(t.y=0|e.y),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.Vertex"},t}(),i.NormalizedVertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.NormalizedVertex)return e;var t=new b.google.cloud.vision.v1p2beta1.NormalizedVertex;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.NormalizedVertex"},t}(),i.BoundingPoly=function(){function t(e){if(this.vertices=[],this.normalizedVertices=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.vertices&&o.vertices.length||(o.vertices=[]),o.vertices.push(b.google.cloud.vision.v1p2beta1.Vertex.decode(e,e.uint32()));break;case 2:o.normalizedVertices&&o.normalizedVertices.length||(o.normalizedVertices=[]),o.normalizedVertices.push(b.google.cloud.vision.v1p2beta1.NormalizedVertex.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.vertices&&e.hasOwnProperty("vertices")){if(!Array.isArray(e.vertices))return"vertices: array expected";for(var t=0;t>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;case 3:o.z=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null!=e.z&&e.hasOwnProperty("z")&&"number"!=typeof e.z?"z: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.Position)return e;var t=new b.google.cloud.vision.v1p2beta1.Position;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),null!=e.z&&(t.z=Number(e.z)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0,n.z=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),null!=e.z&&e.hasOwnProperty("z")&&(n.z=t.json&&!isFinite(e.z)?String(e.z):e.z),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.Position"},t}(),i.ImageAnnotator=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.batchAnnotateImages=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p2beta1.BatchAnnotateImagesRequest,b.google.cloud.vision.v1p2beta1.BatchAnnotateImagesResponse,t,n)},"name",{value:"BatchAnnotateImages"}),Object.defineProperty(t.prototype.asyncBatchAnnotateFiles=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p2beta1.AsyncBatchAnnotateFilesRequest,b.google.longrunning.Operation,t,n)},"name",{value:"AsyncBatchAnnotateFiles"}),t}(),i.Feature=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.maxResults=e.int32();break;case 3:o.model=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 11:case 6:case 7:case 9:case 10:}return null!=e.maxResults&&e.hasOwnProperty("maxResults")&&!v.isInteger(e.maxResults)?"maxResults: integer expected":null!=e.model&&e.hasOwnProperty("model")&&!v.isString(e.model)?"model: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.Feature)return e;var t=new b.google.cloud.vision.v1p2beta1.Feature;switch(e.type){case"TYPE_UNSPECIFIED":case 0:t.type=0;break;case"FACE_DETECTION":case 1:t.type=1;break;case"LANDMARK_DETECTION":case 2:t.type=2;break;case"LOGO_DETECTION":case 3:t.type=3;break;case"LABEL_DETECTION":case 4:t.type=4;break;case"TEXT_DETECTION":case 5:t.type=5;break;case"DOCUMENT_TEXT_DETECTION":case 11:t.type=11;break;case"SAFE_SEARCH_DETECTION":case 6:t.type=6;break;case"IMAGE_PROPERTIES":case 7:t.type=7;break;case"CROP_HINTS":case 9:t.type=9;break;case"WEB_DETECTION":case 10:t.type=10}return null!=e.maxResults&&(t.maxResults=0|e.maxResults),null!=e.model&&(t.model=String(e.model)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"TYPE_UNSPECIFIED":0,n.maxResults=0,n.model=""),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p2beta1.Feature.Type[e.type]:e.type),null!=e.maxResults&&e.hasOwnProperty("maxResults")&&(n.maxResults=e.maxResults),null!=e.model&&e.hasOwnProperty("model")&&(n.model=e.model),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.Feature"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="TYPE_UNSPECIFIED"]=0,t[e[1]="FACE_DETECTION"]=1,t[e[2]="LANDMARK_DETECTION"]=2,t[e[3]="LOGO_DETECTION"]=3,t[e[4]="LABEL_DETECTION"]=4,t[e[5]="TEXT_DETECTION"]=5,t[e[11]="DOCUMENT_TEXT_DETECTION"]=11,t[e[6]="SAFE_SEARCH_DETECTION"]=6,t[e[7]="IMAGE_PROPERTIES"]=7,t[e[9]="CROP_HINTS"]=9,t[e[10]="WEB_DETECTION"]=10,t}(),t}(),i.ImageSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsImageUri=e.string();break;case 2:o.imageUri=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&!v.isString(e.gcsImageUri)?"gcsImageUri: string expected":null!=e.imageUri&&e.hasOwnProperty("imageUri")&&!v.isString(e.imageUri)?"imageUri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.ImageSource)return e;var t=new b.google.cloud.vision.v1p2beta1.ImageSource;return null!=e.gcsImageUri&&(t.gcsImageUri=String(e.gcsImageUri)),null!=e.imageUri&&(t.imageUri=String(e.imageUri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsImageUri="",n.imageUri=""),null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&(n.gcsImageUri=e.gcsImageUri),null!=e.imageUri&&e.hasOwnProperty("imageUri")&&(n.imageUri=e.imageUri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.ImageSource"},t}(),i.Image=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.content=e.bytes();break;case 2:o.source=b.google.cloud.vision.v1p2beta1.ImageSource.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.content&&e.hasOwnProperty("content")&&!(e.content&&"number"==typeof e.content.length||v.isString(e.content)))return"content: buffer expected";if(null!=e.source&&e.hasOwnProperty("source")){var t=b.google.cloud.vision.v1p2beta1.ImageSource.verify(e.source);if(t)return"source."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.Image)return e;var t=new b.google.cloud.vision.v1p2beta1.Image;if(null!=e.content&&("string"==typeof e.content?v.base64.decode(e.content,t.content=v.newBuffer(v.base64.length(e.content)),0):e.content.length>=0&&(t.content=e.content)),null!=e.source){if("object"!=typeof e.source)throw TypeError(".google.cloud.vision.v1p2beta1.Image.source: object expected");t.source=b.google.cloud.vision.v1p2beta1.ImageSource.fromObject(e.source)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.content="":(n.content=[],t.bytes!==Array&&(n.content=v.newBuffer(n.content))),n.source=null),null!=e.content&&e.hasOwnProperty("content")&&(n.content=t.bytes===String?v.base64.encode(e.content,0,e.content.length):t.bytes===Array?Array.prototype.slice.call(e.content):e.content),null!=e.source&&e.hasOwnProperty("source")&&(n.source=b.google.cloud.vision.v1p2beta1.ImageSource.toObject(e.source,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.Image"},t}(),i.FaceAnnotation=function(){function t(e){if(this.landmarks=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p2beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.fdBoundingPoly=b.google.cloud.vision.v1p2beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.landmarks&&o.landmarks.length||(o.landmarks=[]),o.landmarks.push(b.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark.decode(e,e.uint32()));break;case 4:o.rollAngle=e.float();break;case 5:o.panAngle=e.float();break;case 6:o.tiltAngle=e.float();break;case 7:o.detectionConfidence=e.float();break;case 8:o.landmarkingConfidence=e.float();break;case 9:o.joyLikelihood=e.int32();break;case 10:o.sorrowLikelihood=e.int32();break;case 11:o.angerLikelihood=e.int32();break;case 12:o.surpriseLikelihood=e.int32();break;case 13:o.underExposedLikelihood=e.int32();break;case 14:o.blurredLikelihood=e.int32();break;case 15:o.headwearLikelihood=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p2beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.fdBoundingPoly&&e.hasOwnProperty("fdBoundingPoly")&&(n=b.google.cloud.vision.v1p2beta1.BoundingPoly.verify(e.fdBoundingPoly)))return"fdBoundingPoly."+n;if(null!=e.landmarks&&e.hasOwnProperty("landmarks")){if(!Array.isArray(e.landmarks))return"landmarks: array expected";for(var t=0;t>>3){case 3:o.type=e.int32();break;case 4:o.position=b.google.cloud.vision.v1p2beta1.Position.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:}if(null!=e.position&&e.hasOwnProperty("position")){var t=b.google.cloud.vision.v1p2beta1.Position.verify(e.position);if(t)return"position."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark)return e;var t=new b.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark;switch(e.type){case"UNKNOWN_LANDMARK":case 0:t.type=0;break;case"LEFT_EYE":case 1:t.type=1;break;case"RIGHT_EYE":case 2:t.type=2;break;case"LEFT_OF_LEFT_EYEBROW":case 3:t.type=3;break;case"RIGHT_OF_LEFT_EYEBROW":case 4:t.type=4;break;case"LEFT_OF_RIGHT_EYEBROW":case 5:t.type=5;break;case"RIGHT_OF_RIGHT_EYEBROW":case 6:t.type=6;break;case"MIDPOINT_BETWEEN_EYES":case 7:t.type=7;break;case"NOSE_TIP":case 8:t.type=8;break;case"UPPER_LIP":case 9:t.type=9;break;case"LOWER_LIP":case 10:t.type=10;break;case"MOUTH_LEFT":case 11:t.type=11;break;case"MOUTH_RIGHT":case 12:t.type=12;break;case"MOUTH_CENTER":case 13:t.type=13;break;case"NOSE_BOTTOM_RIGHT":case 14:t.type=14;break;case"NOSE_BOTTOM_LEFT":case 15:t.type=15;break;case"NOSE_BOTTOM_CENTER":case 16:t.type=16;break;case"LEFT_EYE_TOP_BOUNDARY":case 17:t.type=17;break;case"LEFT_EYE_RIGHT_CORNER":case 18:t.type=18;break;case"LEFT_EYE_BOTTOM_BOUNDARY":case 19:t.type=19;break;case"LEFT_EYE_LEFT_CORNER":case 20:t.type=20;break;case"RIGHT_EYE_TOP_BOUNDARY":case 21:t.type=21;break;case"RIGHT_EYE_RIGHT_CORNER":case 22:t.type=22;break;case"RIGHT_EYE_BOTTOM_BOUNDARY":case 23:t.type=23;break;case"RIGHT_EYE_LEFT_CORNER":case 24:t.type=24;break;case"LEFT_EYEBROW_UPPER_MIDPOINT":case 25:t.type=25;break;case"RIGHT_EYEBROW_UPPER_MIDPOINT":case 26:t.type=26;break;case"LEFT_EAR_TRAGION":case 27:t.type=27;break;case"RIGHT_EAR_TRAGION":case 28:t.type=28;break;case"LEFT_EYE_PUPIL":case 29:t.type=29;break;case"RIGHT_EYE_PUPIL":case 30:t.type=30;break;case"FOREHEAD_GLABELLA":case 31:t.type=31;break;case"CHIN_GNATHION":case 32:t.type=32;break;case"CHIN_LEFT_GONION":case 33:t.type=33;break;case"CHIN_RIGHT_GONION":case 34:t.type=34}if(null!=e.position){if("object"!=typeof e.position)throw TypeError(".google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark.position: object expected");t.position=b.google.cloud.vision.v1p2beta1.Position.fromObject(e.position)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN_LANDMARK":0,n.position=null),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark.Type[e.type]:e.type),null!=e.position&&e.hasOwnProperty("position")&&(n.position=b.google.cloud.vision.v1p2beta1.Position.toObject(e.position,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN_LANDMARK"]=0,t[e[1]="LEFT_EYE"]=1,t[e[2]="RIGHT_EYE"]=2,t[e[3]="LEFT_OF_LEFT_EYEBROW"]=3,t[e[4]="RIGHT_OF_LEFT_EYEBROW"]=4,t[e[5]="LEFT_OF_RIGHT_EYEBROW"]=5,t[e[6]="RIGHT_OF_RIGHT_EYEBROW"]=6,t[e[7]="MIDPOINT_BETWEEN_EYES"]=7,t[e[8]="NOSE_TIP"]=8,t[e[9]="UPPER_LIP"]=9,t[e[10]="LOWER_LIP"]=10,t[e[11]="MOUTH_LEFT"]=11,t[e[12]="MOUTH_RIGHT"]=12,t[e[13]="MOUTH_CENTER"]=13,t[e[14]="NOSE_BOTTOM_RIGHT"]=14,t[e[15]="NOSE_BOTTOM_LEFT"]=15,t[e[16]="NOSE_BOTTOM_CENTER"]=16,t[e[17]="LEFT_EYE_TOP_BOUNDARY"]=17,t[e[18]="LEFT_EYE_RIGHT_CORNER"]=18,t[e[19]="LEFT_EYE_BOTTOM_BOUNDARY"]=19,t[e[20]="LEFT_EYE_LEFT_CORNER"]=20,t[e[21]="RIGHT_EYE_TOP_BOUNDARY"]=21,t[e[22]="RIGHT_EYE_RIGHT_CORNER"]=22,t[e[23]="RIGHT_EYE_BOTTOM_BOUNDARY"]=23,t[e[24]="RIGHT_EYE_LEFT_CORNER"]=24,t[e[25]="LEFT_EYEBROW_UPPER_MIDPOINT"]=25,t[e[26]="RIGHT_EYEBROW_UPPER_MIDPOINT"]=26,t[e[27]="LEFT_EAR_TRAGION"]=27,t[e[28]="RIGHT_EAR_TRAGION"]=28,t[e[29]="LEFT_EYE_PUPIL"]=29,t[e[30]="RIGHT_EYE_PUPIL"]=30,t[e[31]="FOREHEAD_GLABELLA"]=31,t[e[32]="CHIN_GNATHION"]=32,t[e[33]="CHIN_LEFT_GONION"]=33,t[e[34]="CHIN_RIGHT_GONION"]=34,t}(),t}(),t}(),i.LocationInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.latLng=b.google.type.LatLng.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.latLng&&e.hasOwnProperty("latLng")){var t=b.google.type.LatLng.verify(e.latLng);if(t)return"latLng."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.LocationInfo)return e;var t=new b.google.cloud.vision.v1p2beta1.LocationInfo;if(null!=e.latLng){if("object"!=typeof e.latLng)throw TypeError(".google.cloud.vision.v1p2beta1.LocationInfo.latLng: object expected");t.latLng=b.google.type.LatLng.fromObject(e.latLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.latLng=null),null!=e.latLng&&e.hasOwnProperty("latLng")&&(n.latLng=b.google.type.LatLng.toObject(e.latLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.LocationInfo"},t}(),i.Property=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value=e.string();break;case 3:o.uint64Value=e.uint64();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&!(v.isInteger(e.uint64Value)||e.uint64Value&&v.isInteger(e.uint64Value.low)&&v.isInteger(e.uint64Value.high))?"uint64Value: integer|Long expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.Property)return e;var t=new b.google.cloud.vision.v1p2beta1.Property;return null!=e.name&&(t.name=String(e.name)),null!=e.value&&(t.value=String(e.value)),null!=e.uint64Value&&(v.Long?(t.uint64Value=v.Long.fromValue(e.uint64Value)).unsigned=!0:"string"==typeof e.uint64Value?t.uint64Value=parseInt(e.uint64Value,10):"number"==typeof e.uint64Value?t.uint64Value=e.uint64Value:"object"==typeof e.uint64Value&&(t.uint64Value=new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0))),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(n.name="",n.value="",v.Long){var o=new v.Long(0,0,!0);n.uint64Value=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.uint64Value=t.longs===String?"0":0;return null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&("number"==typeof e.uint64Value?n.uint64Value=t.longs===String?String(e.uint64Value):e.uint64Value:n.uint64Value=t.longs===String?v.Long.prototype.toString.call(e.uint64Value):t.longs===Number?new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0):e.uint64Value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.Property"},t}(),i.EntityAnnotation=function(){function t(e){if(this.locations=[],this.properties=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.mid=e.string();break;case 2:o.locale=e.string();break;case 3:o.description=e.string();break;case 4:o.score=e.float();break;case 5:o.confidence=e.float();break;case 6:o.topicality=e.float();break;case 7:o.boundingPoly=b.google.cloud.vision.v1p2beta1.BoundingPoly.decode(e,e.uint32());break;case 8:o.locations&&o.locations.length||(o.locations=[]),o.locations.push(b.google.cloud.vision.v1p2beta1.LocationInfo.decode(e,e.uint32()));break;case 9:o.properties&&o.properties.length||(o.properties=[]),o.properties.push(b.google.cloud.vision.v1p2beta1.Property.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid))return"mid: string expected";if(null!=e.locale&&e.hasOwnProperty("locale")&&!v.isString(e.locale))return"locale: string expected";if(null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description))return"description: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence)return"confidence: number expected";if(null!=e.topicality&&e.hasOwnProperty("topicality")&&"number"!=typeof e.topicality)return"topicality: number expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p2beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.locations&&e.hasOwnProperty("locations")){if(!Array.isArray(e.locations))return"locations: array expected";for(var t=0;t>>3){case 1:o.adult=e.int32();break;case 2:o.spoof=e.int32();break;case 3:o.medical=e.int32();break;case 4:o.violence=e.int32();break;case 9:o.racy=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.adult&&e.hasOwnProperty("adult"))switch(e.adult){default:return"adult: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.spoof&&e.hasOwnProperty("spoof"))switch(e.spoof){default:return"spoof: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.medical&&e.hasOwnProperty("medical"))switch(e.medical){default:return"medical: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.violence&&e.hasOwnProperty("violence"))switch(e.violence){default:return"violence: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.racy&&e.hasOwnProperty("racy"))switch(e.racy){default:return"racy: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.SafeSearchAnnotation)return e;var t=new b.google.cloud.vision.v1p2beta1.SafeSearchAnnotation;switch(e.adult){case"UNKNOWN":case 0:t.adult=0;break;case"VERY_UNLIKELY":case 1:t.adult=1;break;case"UNLIKELY":case 2:t.adult=2;break;case"POSSIBLE":case 3:t.adult=3;break;case"LIKELY":case 4:t.adult=4;break;case"VERY_LIKELY":case 5:t.adult=5}switch(e.spoof){case"UNKNOWN":case 0:t.spoof=0;break;case"VERY_UNLIKELY":case 1:t.spoof=1;break;case"UNLIKELY":case 2:t.spoof=2;break;case"POSSIBLE":case 3:t.spoof=3;break;case"LIKELY":case 4:t.spoof=4;break;case"VERY_LIKELY":case 5:t.spoof=5}switch(e.medical){case"UNKNOWN":case 0:t.medical=0;break;case"VERY_UNLIKELY":case 1:t.medical=1;break;case"UNLIKELY":case 2:t.medical=2;break;case"POSSIBLE":case 3:t.medical=3;break;case"LIKELY":case 4:t.medical=4;break;case"VERY_LIKELY":case 5:t.medical=5}switch(e.violence){case"UNKNOWN":case 0:t.violence=0;break;case"VERY_UNLIKELY":case 1:t.violence=1;break;case"UNLIKELY":case 2:t.violence=2;break;case"POSSIBLE":case 3:t.violence=3;break;case"LIKELY":case 4:t.violence=4;break;case"VERY_LIKELY":case 5:t.violence=5}switch(e.racy){case"UNKNOWN":case 0:t.racy=0;break;case"VERY_UNLIKELY":case 1:t.racy=1;break;case"UNLIKELY":case 2:t.racy=2;break;case"POSSIBLE":case 3:t.racy=3;break;case"LIKELY":case 4:t.racy=4;break;case"VERY_LIKELY":case 5:t.racy=5}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.adult=t.enums===String?"UNKNOWN":0,n.spoof=t.enums===String?"UNKNOWN":0,n.medical=t.enums===String?"UNKNOWN":0,n.violence=t.enums===String?"UNKNOWN":0,n.racy=t.enums===String?"UNKNOWN":0),null!=e.adult&&e.hasOwnProperty("adult")&&(n.adult=t.enums===String?b.google.cloud.vision.v1p2beta1.Likelihood[e.adult]:e.adult),null!=e.spoof&&e.hasOwnProperty("spoof")&&(n.spoof=t.enums===String?b.google.cloud.vision.v1p2beta1.Likelihood[e.spoof]:e.spoof),null!=e.medical&&e.hasOwnProperty("medical")&&(n.medical=t.enums===String?b.google.cloud.vision.v1p2beta1.Likelihood[e.medical]:e.medical),null!=e.violence&&e.hasOwnProperty("violence")&&(n.violence=t.enums===String?b.google.cloud.vision.v1p2beta1.Likelihood[e.violence]:e.violence),null!=e.racy&&e.hasOwnProperty("racy")&&(n.racy=t.enums===String?b.google.cloud.vision.v1p2beta1.Likelihood[e.racy]:e.racy),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.SafeSearchAnnotation"},t}(),i.LatLongRect=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.minLatLng=b.google.type.LatLng.decode(e,e.uint32());break;case 2:o.maxLatLng=b.google.type.LatLng.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(t=b.google.type.LatLng.verify(e.minLatLng))?"minLatLng."+t:null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(t=b.google.type.LatLng.verify(e.maxLatLng))?"maxLatLng."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.LatLongRect)return e;var t=new b.google.cloud.vision.v1p2beta1.LatLongRect;if(null!=e.minLatLng){if("object"!=typeof e.minLatLng)throw TypeError(".google.cloud.vision.v1p2beta1.LatLongRect.minLatLng: object expected");t.minLatLng=b.google.type.LatLng.fromObject(e.minLatLng)}if(null!=e.maxLatLng){if("object"!=typeof e.maxLatLng)throw TypeError(".google.cloud.vision.v1p2beta1.LatLongRect.maxLatLng: object expected");t.maxLatLng=b.google.type.LatLng.fromObject(e.maxLatLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.minLatLng=null,n.maxLatLng=null),null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(n.minLatLng=b.google.type.LatLng.toObject(e.minLatLng,t)),null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(n.maxLatLng=b.google.type.LatLng.toObject(e.maxLatLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.LatLongRect"},t}(),i.ColorInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.color=b.google.type.Color.decode(e,e.uint32());break;case 2:o.score=e.float();break;case 3:o.pixelFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.color&&e.hasOwnProperty("color")){var t=b.google.type.Color.verify(e.color);if(t)return"color."+t}return null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&"number"!=typeof e.pixelFraction?"pixelFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.ColorInfo)return e;var t=new b.google.cloud.vision.v1p2beta1.ColorInfo;if(null!=e.color){if("object"!=typeof e.color)throw TypeError(".google.cloud.vision.v1p2beta1.ColorInfo.color: object expected");t.color=b.google.type.Color.fromObject(e.color)}return null!=e.score&&(t.score=Number(e.score)),null!=e.pixelFraction&&(t.pixelFraction=Number(e.pixelFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.color=null,n.score=0,n.pixelFraction=0),null!=e.color&&e.hasOwnProperty("color")&&(n.color=b.google.type.Color.toObject(e.color,t)),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&(n.pixelFraction=t.json&&!isFinite(e.pixelFraction)?String(e.pixelFraction):e.pixelFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.ColorInfo"},t}(),i.DominantColorsAnnotation=function(){function t(e){if(this.colors=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.colors&&o.colors.length||(o.colors=[]),o.colors.push(b.google.cloud.vision.v1p2beta1.ColorInfo.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.colors&&e.hasOwnProperty("colors")){if(!Array.isArray(e.colors))return"colors: array expected";for(var t=0;t>>3==1?o.dominantColors=b.google.cloud.vision.v1p2beta1.DominantColorsAnnotation.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.dominantColors&&e.hasOwnProperty("dominantColors")){var t=b.google.cloud.vision.v1p2beta1.DominantColorsAnnotation.verify(e.dominantColors);if(t)return"dominantColors."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.ImageProperties)return e;var t=new b.google.cloud.vision.v1p2beta1.ImageProperties;if(null!=e.dominantColors){if("object"!=typeof e.dominantColors)throw TypeError(".google.cloud.vision.v1p2beta1.ImageProperties.dominantColors: object expected");t.dominantColors=b.google.cloud.vision.v1p2beta1.DominantColorsAnnotation.fromObject(e.dominantColors)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.dominantColors=null),null!=e.dominantColors&&e.hasOwnProperty("dominantColors")&&(n.dominantColors=b.google.cloud.vision.v1p2beta1.DominantColorsAnnotation.toObject(e.dominantColors,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.ImageProperties"},t}(),i.CropHint=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p2beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.confidence=e.float();break;case 3:o.importanceFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1p2beta1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}return null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&"number"!=typeof e.importanceFraction?"importanceFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.CropHint)return e;var t=new b.google.cloud.vision.v1p2beta1.CropHint;if(null!=e.boundingPoly){if("object"!=typeof e.boundingPoly)throw TypeError(".google.cloud.vision.v1p2beta1.CropHint.boundingPoly: object expected");t.boundingPoly=b.google.cloud.vision.v1p2beta1.BoundingPoly.fromObject(e.boundingPoly)}return null!=e.confidence&&(t.confidence=Number(e.confidence)),null!=e.importanceFraction&&(t.importanceFraction=Number(e.importanceFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.boundingPoly=null,n.confidence=0,n.importanceFraction=0),null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n.boundingPoly=b.google.cloud.vision.v1p2beta1.BoundingPoly.toObject(e.boundingPoly,t)),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&(n.importanceFraction=t.json&&!isFinite(e.importanceFraction)?String(e.importanceFraction):e.importanceFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.CropHint"},t}(),i.CropHintsAnnotation=function(){function t(e){if(this.cropHints=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.cropHints&&o.cropHints.length||(o.cropHints=[]),o.cropHints.push(b.google.cloud.vision.v1p2beta1.CropHint.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.cropHints&&e.hasOwnProperty("cropHints")){if(!Array.isArray(e.cropHints))return"cropHints: array expected";for(var t=0;t>>3==1)if(o.aspectRatios&&o.aspectRatios.length||(o.aspectRatios=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==2?o.includeGeoResults=e.bool():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&"boolean"!=typeof e.includeGeoResults?"includeGeoResults: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.WebDetectionParams)return e;var t=new b.google.cloud.vision.v1p2beta1.WebDetectionParams;return null!=e.includeGeoResults&&(t.includeGeoResults=Boolean(e.includeGeoResults)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.includeGeoResults=!1),null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&(n.includeGeoResults=e.includeGeoResults),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.WebDetectionParams"},t}(),i.TextDetectionParams=function(){function t(e){if(this.advancedOcrOptions=[],e)for(var t=Object.keys(e),n=0;n>>3){case 9:o.enableTextDetectionConfidenceScore=e.bool();break;case 11:o.advancedOcrOptions&&o.advancedOcrOptions.length||(o.advancedOcrOptions=[]),o.advancedOcrOptions.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.enableTextDetectionConfidenceScore&&e.hasOwnProperty("enableTextDetectionConfidenceScore")&&"boolean"!=typeof e.enableTextDetectionConfidenceScore)return"enableTextDetectionConfidenceScore: boolean expected";if(null!=e.advancedOcrOptions&&e.hasOwnProperty("advancedOcrOptions")){if(!Array.isArray(e.advancedOcrOptions))return"advancedOcrOptions: array expected";for(var t=0;t>>3){case 1:o.latLongRect=b.google.cloud.vision.v1p2beta1.LatLongRect.decode(e,e.uint32());break;case 2:o.languageHints&&o.languageHints.length||(o.languageHints=[]),o.languageHints.push(e.string());break;case 4:o.cropHintsParams=b.google.cloud.vision.v1p2beta1.CropHintsParams.decode(e,e.uint32());break;case 6:o.webDetectionParams=b.google.cloud.vision.v1p2beta1.WebDetectionParams.decode(e,e.uint32());break;case 12:o.textDetectionParams=b.google.cloud.vision.v1p2beta1.TextDetectionParams.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t;if(null!=e.latLongRect&&e.hasOwnProperty("latLongRect")&&(t=b.google.cloud.vision.v1p2beta1.LatLongRect.verify(e.latLongRect)))return"latLongRect."+t;if(null!=e.languageHints&&e.hasOwnProperty("languageHints")){if(!Array.isArray(e.languageHints))return"languageHints: array expected";for(var n=0;n>>3){case 1:o.image=b.google.cloud.vision.v1p2beta1.Image.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1p2beta1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1p2beta1.ImageContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.image&&e.hasOwnProperty("image")&&(n=b.google.cloud.vision.v1p2beta1.Image.verify(e.image)))return"image."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3){case 1:o.uri=e.string();break;case 2:o.pageNumber=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null!=e.pageNumber&&e.hasOwnProperty("pageNumber")&&!v.isInteger(e.pageNumber)?"pageNumber: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.ImageAnnotationContext)return e;var t=new b.google.cloud.vision.v1p2beta1.ImageAnnotationContext;return null!=e.uri&&(t.uri=String(e.uri)),null!=e.pageNumber&&(t.pageNumber=0|e.pageNumber),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri="",n.pageNumber=0),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),null!=e.pageNumber&&e.hasOwnProperty("pageNumber")&&(n.pageNumber=e.pageNumber),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.ImageAnnotationContext"},t}(),i.AnnotateImageResponse=function(){function t(e){if(this.faceAnnotations=[],this.landmarkAnnotations=[],this.logoAnnotations=[],this.labelAnnotations=[],this.textAnnotations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.faceAnnotations&&o.faceAnnotations.length||(o.faceAnnotations=[]),o.faceAnnotations.push(b.google.cloud.vision.v1p2beta1.FaceAnnotation.decode(e,e.uint32()));break;case 2:o.landmarkAnnotations&&o.landmarkAnnotations.length||(o.landmarkAnnotations=[]),o.landmarkAnnotations.push(b.google.cloud.vision.v1p2beta1.EntityAnnotation.decode(e,e.uint32()));break;case 3:o.logoAnnotations&&o.logoAnnotations.length||(o.logoAnnotations=[]),o.logoAnnotations.push(b.google.cloud.vision.v1p2beta1.EntityAnnotation.decode(e,e.uint32()));break;case 4:o.labelAnnotations&&o.labelAnnotations.length||(o.labelAnnotations=[]),o.labelAnnotations.push(b.google.cloud.vision.v1p2beta1.EntityAnnotation.decode(e,e.uint32()));break;case 5:o.textAnnotations&&o.textAnnotations.length||(o.textAnnotations=[]),o.textAnnotations.push(b.google.cloud.vision.v1p2beta1.EntityAnnotation.decode(e,e.uint32()));break;case 12:o.fullTextAnnotation=b.google.cloud.vision.v1p2beta1.TextAnnotation.decode(e,e.uint32());break;case 6:o.safeSearchAnnotation=b.google.cloud.vision.v1p2beta1.SafeSearchAnnotation.decode(e,e.uint32());break;case 8:o.imagePropertiesAnnotation=b.google.cloud.vision.v1p2beta1.ImageProperties.decode(e,e.uint32());break;case 11:o.cropHintsAnnotation=b.google.cloud.vision.v1p2beta1.CropHintsAnnotation.decode(e,e.uint32());break;case 13:o.webDetection=b.google.cloud.vision.v1p2beta1.WebDetection.decode(e,e.uint32());break;case 9:o.error=b.google.rpc.Status.decode(e,e.uint32());break;case 21:o.context=b.google.cloud.vision.v1p2beta1.ImageAnnotationContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.faceAnnotations&&e.hasOwnProperty("faceAnnotations")){if(!Array.isArray(e.faceAnnotations))return"faceAnnotations: array expected";for(var t=0;t>>3){case 1:o.inputConfig=b.google.cloud.vision.v1p2beta1.InputConfig.decode(e,e.uint32());break;case 2:o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p2beta1.AnnotateImageResponse.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n=b.google.cloud.vision.v1p2beta1.InputConfig.verify(e.inputConfig)))return"inputConfig."+n;if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3==1?(o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p2beta1.AnnotateImageRequest.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p2beta1.AnnotateImageResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.inputConfig=b.google.cloud.vision.v1p2beta1.InputConfig.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1p2beta1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1p2beta1.ImageContext.decode(e,e.uint32());break;case 4:o.outputConfig=b.google.cloud.vision.v1p2beta1.OutputConfig.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n=b.google.cloud.vision.v1p2beta1.InputConfig.verify(e.inputConfig)))return"inputConfig."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3==1?o.outputConfig=b.google.cloud.vision.v1p2beta1.OutputConfig.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.outputConfig&&e.hasOwnProperty("outputConfig")){var t=b.google.cloud.vision.v1p2beta1.OutputConfig.verify(e.outputConfig);if(t)return"outputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse)return e;var t=new b.google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse;if(null!=e.outputConfig){if("object"!=typeof e.outputConfig)throw TypeError(".google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse.outputConfig: object expected");t.outputConfig=b.google.cloud.vision.v1p2beta1.OutputConfig.fromObject(e.outputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.outputConfig=null),null!=e.outputConfig&&e.hasOwnProperty("outputConfig")&&(n.outputConfig=b.google.cloud.vision.v1p2beta1.OutputConfig.toObject(e.outputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse"},t}(),i.AsyncBatchAnnotateFilesRequest=function(){function t(e){if(this.requests=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p2beta1.AsyncAnnotateFileRequest.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.gcsSource=b.google.cloud.vision.v1p2beta1.GcsSource.decode(e,e.uint32());break;case 2:o.mimeType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsSource&&e.hasOwnProperty("gcsSource")){var t=b.google.cloud.vision.v1p2beta1.GcsSource.verify(e.gcsSource);if(t)return"gcsSource."+t}return null!=e.mimeType&&e.hasOwnProperty("mimeType")&&!v.isString(e.mimeType)?"mimeType: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.InputConfig)return e;var t=new b.google.cloud.vision.v1p2beta1.InputConfig;if(null!=e.gcsSource){if("object"!=typeof e.gcsSource)throw TypeError(".google.cloud.vision.v1p2beta1.InputConfig.gcsSource: object expected");t.gcsSource=b.google.cloud.vision.v1p2beta1.GcsSource.fromObject(e.gcsSource)}return null!=e.mimeType&&(t.mimeType=String(e.mimeType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsSource=null,n.mimeType=""),null!=e.gcsSource&&e.hasOwnProperty("gcsSource")&&(n.gcsSource=b.google.cloud.vision.v1p2beta1.GcsSource.toObject(e.gcsSource,t)),null!=e.mimeType&&e.hasOwnProperty("mimeType")&&(n.mimeType=e.mimeType),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.InputConfig"},t}(),i.OutputConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsDestination=b.google.cloud.vision.v1p2beta1.GcsDestination.decode(e,e.uint32());break;case 2:o.batchSize=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsDestination&&e.hasOwnProperty("gcsDestination")){var t=b.google.cloud.vision.v1p2beta1.GcsDestination.verify(e.gcsDestination);if(t)return"gcsDestination."+t}return null!=e.batchSize&&e.hasOwnProperty("batchSize")&&!v.isInteger(e.batchSize)?"batchSize: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.OutputConfig)return e;var t=new b.google.cloud.vision.v1p2beta1.OutputConfig;if(null!=e.gcsDestination){if("object"!=typeof e.gcsDestination)throw TypeError(".google.cloud.vision.v1p2beta1.OutputConfig.gcsDestination: object expected");t.gcsDestination=b.google.cloud.vision.v1p2beta1.GcsDestination.fromObject(e.gcsDestination)}return null!=e.batchSize&&(t.batchSize=0|e.batchSize),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsDestination=null,n.batchSize=0),null!=e.gcsDestination&&e.hasOwnProperty("gcsDestination")&&(n.gcsDestination=b.google.cloud.vision.v1p2beta1.GcsDestination.toObject(e.gcsDestination,t)),null!=e.batchSize&&e.hasOwnProperty("batchSize")&&(n.batchSize=e.batchSize),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.OutputConfig"},t}(),i.GcsSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.uri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.GcsSource)return e;var t=new b.google.cloud.vision.v1p2beta1.GcsSource;return null!=e.uri&&(t.uri=String(e.uri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri=""),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.GcsSource"},t}(),i.GcsDestination=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.uri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.GcsDestination)return e;var t=new b.google.cloud.vision.v1p2beta1.GcsDestination;return null!=e.uri&&(t.uri=String(e.uri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri=""),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.GcsDestination"},t}(),i.OperationMetadata=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.state=e.int32();break;case 5:o.createTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 6:o.updateTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:case 3:case 4:}var t;return null!=e.createTime&&e.hasOwnProperty("createTime")&&(t=b.google.protobuf.Timestamp.verify(e.createTime))?"createTime."+t:null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(t=b.google.protobuf.Timestamp.verify(e.updateTime))?"updateTime."+t:null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.OperationMetadata)return e;var t=new b.google.cloud.vision.v1p2beta1.OperationMetadata;switch(e.state){case"STATE_UNSPECIFIED":case 0:t.state=0;break;case"CREATED":case 1:t.state=1;break;case"RUNNING":case 2:t.state=2;break;case"DONE":case 3:t.state=3;break;case"CANCELLED":case 4:t.state=4}if(null!=e.createTime){if("object"!=typeof e.createTime)throw TypeError(".google.cloud.vision.v1p2beta1.OperationMetadata.createTime: object expected");t.createTime=b.google.protobuf.Timestamp.fromObject(e.createTime)}if(null!=e.updateTime){if("object"!=typeof e.updateTime)throw TypeError(".google.cloud.vision.v1p2beta1.OperationMetadata.updateTime: object expected");t.updateTime=b.google.protobuf.Timestamp.fromObject(e.updateTime)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.state=t.enums===String?"STATE_UNSPECIFIED":0,n.createTime=null,n.updateTime=null),null!=e.state&&e.hasOwnProperty("state")&&(n.state=t.enums===String?b.google.cloud.vision.v1p2beta1.OperationMetadata.State[e.state]:e.state),null!=e.createTime&&e.hasOwnProperty("createTime")&&(n.createTime=b.google.protobuf.Timestamp.toObject(e.createTime,t)),null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(n.updateTime=b.google.protobuf.Timestamp.toObject(e.updateTime,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.OperationMetadata"},t.State=function(){var e={},t=Object.create(e);return t[e[0]="STATE_UNSPECIFIED"]=0,t[e[1]="CREATED"]=1,t[e[2]="RUNNING"]=2,t[e[3]="DONE"]=3,t[e[4]="CANCELLED"]=4,t}(),t}(),i.Likelihood=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="VERY_UNLIKELY"]=1,t[e[2]="UNLIKELY"]=2,t[e[3]="POSSIBLE"]=3,t[e[4]="LIKELY"]=4,t[e[5]="VERY_LIKELY"]=5,t}(),i.TextAnnotation=function(){function t(e){if(this.pages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.pages&&o.pages.length||(o.pages=[]),o.pages.push(b.google.cloud.vision.v1p2beta1.Page.decode(e,e.uint32()));break;case 2:o.text=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.pages&&e.hasOwnProperty("pages")){if(!Array.isArray(e.pages))return"pages: array expected";for(var t=0;t>>3){case 1:o.languageCode=e.string();break;case 2:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedLanguage)return e;var t=new b.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedLanguage;return null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.languageCode="",n.confidence=0),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.TextAnnotation.DetectedLanguage"},t}(),t.DetectedBreak=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.isPrefix=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&"boolean"!=typeof e.isPrefix?"isPrefix: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak)return e;var t=new b.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak;switch(e.type){case"UNKNOWN":case 0:t.type=0;break;case"SPACE":case 1:t.type=1;break;case"SURE_SPACE":case 2:t.type=2;break;case"EOL_SURE_SPACE":case 3:t.type=3;break;case"HYPHEN":case 4:t.type=4;break;case"LINE_BREAK":case 5:t.type=5}return null!=e.isPrefix&&(t.isPrefix=Boolean(e.isPrefix)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN":0,n.isPrefix=!1),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak.BreakType[e.type]:e.type),null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&(n.isPrefix=e.isPrefix),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak"},t.BreakType=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="SPACE"]=1,t[e[2]="SURE_SPACE"]=2,t[e[3]="EOL_SURE_SPACE"]=3,t[e[4]="HYPHEN"]=4,t[e[5]="LINE_BREAK"]=5,t}(),t}(),t.TextProperty=function(){function t(e){if(this.detectedLanguages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.detectedLanguages&&o.detectedLanguages.length||(o.detectedLanguages=[]),o.detectedLanguages.push(b.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedLanguage.decode(e,e.uint32()));break;case 2:o.detectedBreak=b.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.detectedLanguages&&e.hasOwnProperty("detectedLanguages")){if(!Array.isArray(e.detectedLanguages))return"detectedLanguages: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.width=e.int32();break;case 3:o.height=e.int32();break;case 4:o.blocks&&o.blocks.length||(o.blocks=[]),o.blocks.push(b.google.cloud.vision.v1p2beta1.Block.decode(e,e.uint32()));break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.width&&e.hasOwnProperty("width")&&!v.isInteger(e.width))return"width: integer expected";if(null!=e.height&&e.hasOwnProperty("height")&&!v.isInteger(e.height))return"height: integer expected";if(null!=e.blocks&&e.hasOwnProperty("blocks")){if(!Array.isArray(e.blocks))return"blocks: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p2beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.paragraphs&&o.paragraphs.length||(o.paragraphs=[]),o.paragraphs.push(b.google.cloud.vision.v1p2beta1.Paragraph.decode(e,e.uint32()));break;case 4:o.blockType=e.int32();break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p2beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.paragraphs&&e.hasOwnProperty("paragraphs")){if(!Array.isArray(e.paragraphs))return"paragraphs: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p2beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.words&&o.words.length||(o.words=[]),o.words.push(b.google.cloud.vision.v1p2beta1.Word.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p2beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.words&&e.hasOwnProperty("words")){if(!Array.isArray(e.words))return"words: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p2beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.symbols&&o.symbols.length||(o.symbols=[]),o.symbols.push(b.google.cloud.vision.v1p2beta1.Symbol.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p2beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.symbols&&e.hasOwnProperty("symbols")){if(!Array.isArray(e.symbols))return"symbols: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p2beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.text=e.string();break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.property&&e.hasOwnProperty("property")&&(t=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.verify(e.property))?"property."+t:null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(t=b.google.cloud.vision.v1p2beta1.BoundingPoly.verify(e.boundingBox))?"boundingBox."+t:null!=e.text&&e.hasOwnProperty("text")&&!v.isString(e.text)?"text: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.Symbol)return e;var t=new b.google.cloud.vision.v1p2beta1.Symbol;if(null!=e.property){if("object"!=typeof e.property)throw TypeError(".google.cloud.vision.v1p2beta1.Symbol.property: object expected");t.property=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.fromObject(e.property)}if(null!=e.boundingBox){if("object"!=typeof e.boundingBox)throw TypeError(".google.cloud.vision.v1p2beta1.Symbol.boundingBox: object expected");t.boundingBox=b.google.cloud.vision.v1p2beta1.BoundingPoly.fromObject(e.boundingBox)}return null!=e.text&&(t.text=String(e.text)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.property=null,n.boundingBox=null,n.text="",n.confidence=0),null!=e.property&&e.hasOwnProperty("property")&&(n.property=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.toObject(e.property,t)),null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n.boundingBox=b.google.cloud.vision.v1p2beta1.BoundingPoly.toObject(e.boundingBox,t)),null!=e.text&&e.hasOwnProperty("text")&&(n.text=e.text),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.Symbol"},t}(),i.WebDetection=function(){function t(e){if(this.webEntities=[],this.fullMatchingImages=[],this.partialMatchingImages=[],this.pagesWithMatchingImages=[],this.visuallySimilarImages=[],this.bestGuessLabels=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.webEntities&&o.webEntities.length||(o.webEntities=[]),o.webEntities.push(b.google.cloud.vision.v1p2beta1.WebDetection.WebEntity.decode(e,e.uint32()));break;case 2:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1p2beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 3:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1p2beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 4:o.pagesWithMatchingImages&&o.pagesWithMatchingImages.length||(o.pagesWithMatchingImages=[]),o.pagesWithMatchingImages.push(b.google.cloud.vision.v1p2beta1.WebDetection.WebPage.decode(e,e.uint32()));break;case 6:o.visuallySimilarImages&&o.visuallySimilarImages.length||(o.visuallySimilarImages=[]),o.visuallySimilarImages.push(b.google.cloud.vision.v1p2beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 8:o.bestGuessLabels&&o.bestGuessLabels.length||(o.bestGuessLabels=[]),o.bestGuessLabels.push(b.google.cloud.vision.v1p2beta1.WebDetection.WebLabel.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.webEntities&&e.hasOwnProperty("webEntities")){if(!Array.isArray(e.webEntities))return"webEntities: array expected";for(var t=0;t>>3){case 1:o.entityId=e.string();break;case 2:o.score=e.float();break;case 3:o.description=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.entityId&&e.hasOwnProperty("entityId")&&!v.isString(e.entityId)?"entityId: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description)?"description: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.WebDetection.WebEntity)return e;var t=new b.google.cloud.vision.v1p2beta1.WebDetection.WebEntity;return null!=e.entityId&&(t.entityId=String(e.entityId)),null!=e.score&&(t.score=Number(e.score)),null!=e.description&&(t.description=String(e.description)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.entityId="",n.score=0,n.description=""),null!=e.entityId&&e.hasOwnProperty("entityId")&&(n.entityId=e.entityId),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.description&&e.hasOwnProperty("description")&&(n.description=e.description),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.WebDetection.WebEntity"},t}(),t.WebImage=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url)?"url: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.WebDetection.WebImage)return e;var t=new b.google.cloud.vision.v1p2beta1.WebDetection.WebImage;return null!=e.url&&(t.url=String(e.url)),null!=e.score&&(t.score=Number(e.score)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.url="",n.score=0),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.WebDetection.WebImage"},t}(),t.WebPage=function(){function t(e){if(this.fullMatchingImages=[],this.partialMatchingImages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;case 3:o.pageTitle=e.string();break;case 4:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1p2beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 5:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1p2beta1.WebDetection.WebImage.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url))return"url: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.pageTitle&&e.hasOwnProperty("pageTitle")&&!v.isString(e.pageTitle))return"pageTitle: string expected";if(null!=e.fullMatchingImages&&e.hasOwnProperty("fullMatchingImages")){if(!Array.isArray(e.fullMatchingImages))return"fullMatchingImages: array expected";for(var t=0;t>>3){case 1:o.label=e.string();break;case 2:o.languageCode=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.label&&e.hasOwnProperty("label")&&!v.isString(e.label)?"label: string expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.WebDetection.WebLabel)return e;var t=new b.google.cloud.vision.v1p2beta1.WebDetection.WebLabel;return null!=e.label&&(t.label=String(e.label)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.label="",n.languageCode=""),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.WebDetection.WebLabel"},t}(),t}(),i),l.v1p3beta1=((a={}).Vertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.int32();break;case 2:o.y=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&!v.isInteger(e.x)?"x: integer expected":null!=e.y&&e.hasOwnProperty("y")&&!v.isInteger(e.y)?"y: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.Vertex)return e;var t=new b.google.cloud.vision.v1p3beta1.Vertex;return null!=e.x&&(t.x=0|e.x),null!=e.y&&(t.y=0|e.y),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.Vertex"},t}(),a.NormalizedVertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.NormalizedVertex)return e;var t=new b.google.cloud.vision.v1p3beta1.NormalizedVertex;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.NormalizedVertex"},t}(),a.BoundingPoly=function(){function t(e){if(this.vertices=[],this.normalizedVertices=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.vertices&&o.vertices.length||(o.vertices=[]),o.vertices.push(b.google.cloud.vision.v1p3beta1.Vertex.decode(e,e.uint32()));break;case 2:o.normalizedVertices&&o.normalizedVertices.length||(o.normalizedVertices=[]),o.normalizedVertices.push(b.google.cloud.vision.v1p3beta1.NormalizedVertex.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.vertices&&e.hasOwnProperty("vertices")){if(!Array.isArray(e.vertices))return"vertices: array expected";for(var t=0;t>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;case 3:o.z=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null!=e.z&&e.hasOwnProperty("z")&&"number"!=typeof e.z?"z: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.Position)return e;var t=new b.google.cloud.vision.v1p3beta1.Position;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),null!=e.z&&(t.z=Number(e.z)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0,n.z=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),null!=e.z&&e.hasOwnProperty("z")&&(n.z=t.json&&!isFinite(e.z)?String(e.z):e.z),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.Position"},t}(),a.ImageAnnotator=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.batchAnnotateImages=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p3beta1.BatchAnnotateImagesRequest,b.google.cloud.vision.v1p3beta1.BatchAnnotateImagesResponse,t,n)},"name",{value:"BatchAnnotateImages"}),Object.defineProperty(t.prototype.asyncBatchAnnotateFiles=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesRequest,b.google.longrunning.Operation,t,n)},"name",{value:"AsyncBatchAnnotateFiles"}),t}(),a.Feature=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.maxResults=e.int32();break;case 3:o.model=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 11:case 6:case 7:case 9:case 10:case 12:case 19:}return null!=e.maxResults&&e.hasOwnProperty("maxResults")&&!v.isInteger(e.maxResults)?"maxResults: integer expected":null!=e.model&&e.hasOwnProperty("model")&&!v.isString(e.model)?"model: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.Feature)return e;var t=new b.google.cloud.vision.v1p3beta1.Feature;switch(e.type){case"TYPE_UNSPECIFIED":case 0:t.type=0;break;case"FACE_DETECTION":case 1:t.type=1;break;case"LANDMARK_DETECTION":case 2:t.type=2;break;case"LOGO_DETECTION":case 3:t.type=3;break;case"LABEL_DETECTION":case 4:t.type=4;break;case"TEXT_DETECTION":case 5:t.type=5;break;case"DOCUMENT_TEXT_DETECTION":case 11:t.type=11;break;case"SAFE_SEARCH_DETECTION":case 6:t.type=6;break;case"IMAGE_PROPERTIES":case 7:t.type=7;break;case"CROP_HINTS":case 9:t.type=9;break;case"WEB_DETECTION":case 10:t.type=10;break;case"PRODUCT_SEARCH":case 12:t.type=12;break;case"OBJECT_LOCALIZATION":case 19:t.type=19}return null!=e.maxResults&&(t.maxResults=0|e.maxResults),null!=e.model&&(t.model=String(e.model)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"TYPE_UNSPECIFIED":0,n.maxResults=0,n.model=""),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p3beta1.Feature.Type[e.type]:e.type),null!=e.maxResults&&e.hasOwnProperty("maxResults")&&(n.maxResults=e.maxResults),null!=e.model&&e.hasOwnProperty("model")&&(n.model=e.model),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.Feature"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="TYPE_UNSPECIFIED"]=0,t[e[1]="FACE_DETECTION"]=1,t[e[2]="LANDMARK_DETECTION"]=2,t[e[3]="LOGO_DETECTION"]=3,t[e[4]="LABEL_DETECTION"]=4,t[e[5]="TEXT_DETECTION"]=5,t[e[11]="DOCUMENT_TEXT_DETECTION"]=11,t[e[6]="SAFE_SEARCH_DETECTION"]=6,t[e[7]="IMAGE_PROPERTIES"]=7,t[e[9]="CROP_HINTS"]=9,t[e[10]="WEB_DETECTION"]=10,t[e[12]="PRODUCT_SEARCH"]=12,t[e[19]="OBJECT_LOCALIZATION"]=19,t}(),t}(),a.ImageSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsImageUri=e.string();break;case 2:o.imageUri=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&!v.isString(e.gcsImageUri)?"gcsImageUri: string expected":null!=e.imageUri&&e.hasOwnProperty("imageUri")&&!v.isString(e.imageUri)?"imageUri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ImageSource)return e;var t=new b.google.cloud.vision.v1p3beta1.ImageSource;return null!=e.gcsImageUri&&(t.gcsImageUri=String(e.gcsImageUri)),null!=e.imageUri&&(t.imageUri=String(e.imageUri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsImageUri="",n.imageUri=""),null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&(n.gcsImageUri=e.gcsImageUri),null!=e.imageUri&&e.hasOwnProperty("imageUri")&&(n.imageUri=e.imageUri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ImageSource"},t}(),a.Image=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.content=e.bytes();break;case 2:o.source=b.google.cloud.vision.v1p3beta1.ImageSource.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.content&&e.hasOwnProperty("content")&&!(e.content&&"number"==typeof e.content.length||v.isString(e.content)))return"content: buffer expected";if(null!=e.source&&e.hasOwnProperty("source")){var t=b.google.cloud.vision.v1p3beta1.ImageSource.verify(e.source);if(t)return"source."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.Image)return e;var t=new b.google.cloud.vision.v1p3beta1.Image;if(null!=e.content&&("string"==typeof e.content?v.base64.decode(e.content,t.content=v.newBuffer(v.base64.length(e.content)),0):e.content.length>=0&&(t.content=e.content)),null!=e.source){if("object"!=typeof e.source)throw TypeError(".google.cloud.vision.v1p3beta1.Image.source: object expected");t.source=b.google.cloud.vision.v1p3beta1.ImageSource.fromObject(e.source)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.content="":(n.content=[],t.bytes!==Array&&(n.content=v.newBuffer(n.content))),n.source=null),null!=e.content&&e.hasOwnProperty("content")&&(n.content=t.bytes===String?v.base64.encode(e.content,0,e.content.length):t.bytes===Array?Array.prototype.slice.call(e.content):e.content),null!=e.source&&e.hasOwnProperty("source")&&(n.source=b.google.cloud.vision.v1p3beta1.ImageSource.toObject(e.source,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.Image"},t}(),a.FaceAnnotation=function(){function t(e){if(this.landmarks=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.fdBoundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.landmarks&&o.landmarks.length||(o.landmarks=[]),o.landmarks.push(b.google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark.decode(e,e.uint32()));break;case 4:o.rollAngle=e.float();break;case 5:o.panAngle=e.float();break;case 6:o.tiltAngle=e.float();break;case 7:o.detectionConfidence=e.float();break;case 8:o.landmarkingConfidence=e.float();break;case 9:o.joyLikelihood=e.int32();break;case 10:o.sorrowLikelihood=e.int32();break;case 11:o.angerLikelihood=e.int32();break;case 12:o.surpriseLikelihood=e.int32();break;case 13:o.underExposedLikelihood=e.int32();break;case 14:o.blurredLikelihood=e.int32();break;case 15:o.headwearLikelihood=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.fdBoundingPoly&&e.hasOwnProperty("fdBoundingPoly")&&(n=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.fdBoundingPoly)))return"fdBoundingPoly."+n;if(null!=e.landmarks&&e.hasOwnProperty("landmarks")){if(!Array.isArray(e.landmarks))return"landmarks: array expected";for(var t=0;t>>3){case 3:o.type=e.int32();break;case 4:o.position=b.google.cloud.vision.v1p3beta1.Position.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:}if(null!=e.position&&e.hasOwnProperty("position")){var t=b.google.cloud.vision.v1p3beta1.Position.verify(e.position);if(t)return"position."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark)return e;var t=new b.google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark;switch(e.type){case"UNKNOWN_LANDMARK":case 0:t.type=0;break;case"LEFT_EYE":case 1:t.type=1;break;case"RIGHT_EYE":case 2:t.type=2;break;case"LEFT_OF_LEFT_EYEBROW":case 3:t.type=3;break;case"RIGHT_OF_LEFT_EYEBROW":case 4:t.type=4;break;case"LEFT_OF_RIGHT_EYEBROW":case 5:t.type=5;break;case"RIGHT_OF_RIGHT_EYEBROW":case 6:t.type=6;break;case"MIDPOINT_BETWEEN_EYES":case 7:t.type=7;break;case"NOSE_TIP":case 8:t.type=8;break;case"UPPER_LIP":case 9:t.type=9;break;case"LOWER_LIP":case 10:t.type=10;break;case"MOUTH_LEFT":case 11:t.type=11;break;case"MOUTH_RIGHT":case 12:t.type=12;break;case"MOUTH_CENTER":case 13:t.type=13;break;case"NOSE_BOTTOM_RIGHT":case 14:t.type=14;break;case"NOSE_BOTTOM_LEFT":case 15:t.type=15;break;case"NOSE_BOTTOM_CENTER":case 16:t.type=16;break;case"LEFT_EYE_TOP_BOUNDARY":case 17:t.type=17;break;case"LEFT_EYE_RIGHT_CORNER":case 18:t.type=18;break;case"LEFT_EYE_BOTTOM_BOUNDARY":case 19:t.type=19;break;case"LEFT_EYE_LEFT_CORNER":case 20:t.type=20;break;case"RIGHT_EYE_TOP_BOUNDARY":case 21:t.type=21;break;case"RIGHT_EYE_RIGHT_CORNER":case 22:t.type=22;break;case"RIGHT_EYE_BOTTOM_BOUNDARY":case 23:t.type=23;break;case"RIGHT_EYE_LEFT_CORNER":case 24:t.type=24;break;case"LEFT_EYEBROW_UPPER_MIDPOINT":case 25:t.type=25;break;case"RIGHT_EYEBROW_UPPER_MIDPOINT":case 26:t.type=26;break;case"LEFT_EAR_TRAGION":case 27:t.type=27;break;case"RIGHT_EAR_TRAGION":case 28:t.type=28;break;case"LEFT_EYE_PUPIL":case 29:t.type=29;break;case"RIGHT_EYE_PUPIL":case 30:t.type=30;break;case"FOREHEAD_GLABELLA":case 31:t.type=31;break;case"CHIN_GNATHION":case 32:t.type=32;break;case"CHIN_LEFT_GONION":case 33:t.type=33;break;case"CHIN_RIGHT_GONION":case 34:t.type=34}if(null!=e.position){if("object"!=typeof e.position)throw TypeError(".google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark.position: object expected");t.position=b.google.cloud.vision.v1p3beta1.Position.fromObject(e.position)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN_LANDMARK":0,n.position=null),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark.Type[e.type]:e.type),null!=e.position&&e.hasOwnProperty("position")&&(n.position=b.google.cloud.vision.v1p3beta1.Position.toObject(e.position,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN_LANDMARK"]=0,t[e[1]="LEFT_EYE"]=1,t[e[2]="RIGHT_EYE"]=2,t[e[3]="LEFT_OF_LEFT_EYEBROW"]=3,t[e[4]="RIGHT_OF_LEFT_EYEBROW"]=4,t[e[5]="LEFT_OF_RIGHT_EYEBROW"]=5,t[e[6]="RIGHT_OF_RIGHT_EYEBROW"]=6,t[e[7]="MIDPOINT_BETWEEN_EYES"]=7,t[e[8]="NOSE_TIP"]=8,t[e[9]="UPPER_LIP"]=9,t[e[10]="LOWER_LIP"]=10,t[e[11]="MOUTH_LEFT"]=11,t[e[12]="MOUTH_RIGHT"]=12,t[e[13]="MOUTH_CENTER"]=13,t[e[14]="NOSE_BOTTOM_RIGHT"]=14,t[e[15]="NOSE_BOTTOM_LEFT"]=15,t[e[16]="NOSE_BOTTOM_CENTER"]=16,t[e[17]="LEFT_EYE_TOP_BOUNDARY"]=17,t[e[18]="LEFT_EYE_RIGHT_CORNER"]=18,t[e[19]="LEFT_EYE_BOTTOM_BOUNDARY"]=19,t[e[20]="LEFT_EYE_LEFT_CORNER"]=20,t[e[21]="RIGHT_EYE_TOP_BOUNDARY"]=21,t[e[22]="RIGHT_EYE_RIGHT_CORNER"]=22,t[e[23]="RIGHT_EYE_BOTTOM_BOUNDARY"]=23,t[e[24]="RIGHT_EYE_LEFT_CORNER"]=24,t[e[25]="LEFT_EYEBROW_UPPER_MIDPOINT"]=25,t[e[26]="RIGHT_EYEBROW_UPPER_MIDPOINT"]=26,t[e[27]="LEFT_EAR_TRAGION"]=27,t[e[28]="RIGHT_EAR_TRAGION"]=28,t[e[29]="LEFT_EYE_PUPIL"]=29,t[e[30]="RIGHT_EYE_PUPIL"]=30,t[e[31]="FOREHEAD_GLABELLA"]=31,t[e[32]="CHIN_GNATHION"]=32,t[e[33]="CHIN_LEFT_GONION"]=33,t[e[34]="CHIN_RIGHT_GONION"]=34,t}(),t}(),t}(),a.LocationInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.latLng=b.google.type.LatLng.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.latLng&&e.hasOwnProperty("latLng")){var t=b.google.type.LatLng.verify(e.latLng);if(t)return"latLng."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.LocationInfo)return e;var t=new b.google.cloud.vision.v1p3beta1.LocationInfo;if(null!=e.latLng){if("object"!=typeof e.latLng)throw TypeError(".google.cloud.vision.v1p3beta1.LocationInfo.latLng: object expected");t.latLng=b.google.type.LatLng.fromObject(e.latLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.latLng=null),null!=e.latLng&&e.hasOwnProperty("latLng")&&(n.latLng=b.google.type.LatLng.toObject(e.latLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.LocationInfo"},t}(),a.Property=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value=e.string();break;case 3:o.uint64Value=e.uint64();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&!(v.isInteger(e.uint64Value)||e.uint64Value&&v.isInteger(e.uint64Value.low)&&v.isInteger(e.uint64Value.high))?"uint64Value: integer|Long expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.Property)return e;var t=new b.google.cloud.vision.v1p3beta1.Property;return null!=e.name&&(t.name=String(e.name)),null!=e.value&&(t.value=String(e.value)),null!=e.uint64Value&&(v.Long?(t.uint64Value=v.Long.fromValue(e.uint64Value)).unsigned=!0:"string"==typeof e.uint64Value?t.uint64Value=parseInt(e.uint64Value,10):"number"==typeof e.uint64Value?t.uint64Value=e.uint64Value:"object"==typeof e.uint64Value&&(t.uint64Value=new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0))),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(n.name="",n.value="",v.Long){var o=new v.Long(0,0,!0);n.uint64Value=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.uint64Value=t.longs===String?"0":0;return null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&("number"==typeof e.uint64Value?n.uint64Value=t.longs===String?String(e.uint64Value):e.uint64Value:n.uint64Value=t.longs===String?v.Long.prototype.toString.call(e.uint64Value):t.longs===Number?new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0):e.uint64Value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.Property"},t}(),a.EntityAnnotation=function(){function t(e){if(this.locations=[],this.properties=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.mid=e.string();break;case 2:o.locale=e.string();break;case 3:o.description=e.string();break;case 4:o.score=e.float();break;case 5:o.confidence=e.float();break;case 6:o.topicality=e.float();break;case 7:o.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 8:o.locations&&o.locations.length||(o.locations=[]),o.locations.push(b.google.cloud.vision.v1p3beta1.LocationInfo.decode(e,e.uint32()));break;case 9:o.properties&&o.properties.length||(o.properties=[]),o.properties.push(b.google.cloud.vision.v1p3beta1.Property.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid))return"mid: string expected";if(null!=e.locale&&e.hasOwnProperty("locale")&&!v.isString(e.locale))return"locale: string expected";if(null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description))return"description: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence)return"confidence: number expected";if(null!=e.topicality&&e.hasOwnProperty("topicality")&&"number"!=typeof e.topicality)return"topicality: number expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.locations&&e.hasOwnProperty("locations")){if(!Array.isArray(e.locations))return"locations: array expected";for(var t=0;t>>3){case 1:o.mid=e.string();break;case 2:o.languageCode=e.string();break;case 3:o.name=e.string();break;case 4:o.score=e.float();break;case 5:o.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid))return"mid: string expected";if(null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode))return"languageCode: string expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation)return e;var t=new b.google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation;if(null!=e.mid&&(t.mid=String(e.mid)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.name&&(t.name=String(e.name)),null!=e.score&&(t.score=Number(e.score)),null!=e.boundingPoly){if("object"!=typeof e.boundingPoly)throw TypeError(".google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation.boundingPoly: object expected");t.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.fromObject(e.boundingPoly)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.mid="",n.languageCode="",n.name="",n.score=0,n.boundingPoly=null),null!=e.mid&&e.hasOwnProperty("mid")&&(n.mid=e.mid),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.toObject(e.boundingPoly,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation"},t}(),a.SafeSearchAnnotation=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.adult=e.int32();break;case 2:o.spoof=e.int32();break;case 3:o.medical=e.int32();break;case 4:o.violence=e.int32();break;case 9:o.racy=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.adult&&e.hasOwnProperty("adult"))switch(e.adult){default:return"adult: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.spoof&&e.hasOwnProperty("spoof"))switch(e.spoof){default:return"spoof: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.medical&&e.hasOwnProperty("medical"))switch(e.medical){default:return"medical: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.violence&&e.hasOwnProperty("violence"))switch(e.violence){default:return"violence: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.racy&&e.hasOwnProperty("racy"))switch(e.racy){default:return"racy: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.SafeSearchAnnotation)return e;var t=new b.google.cloud.vision.v1p3beta1.SafeSearchAnnotation;switch(e.adult){case"UNKNOWN":case 0:t.adult=0;break;case"VERY_UNLIKELY":case 1:t.adult=1;break;case"UNLIKELY":case 2:t.adult=2;break;case"POSSIBLE":case 3:t.adult=3;break;case"LIKELY":case 4:t.adult=4;break;case"VERY_LIKELY":case 5:t.adult=5}switch(e.spoof){case"UNKNOWN":case 0:t.spoof=0;break;case"VERY_UNLIKELY":case 1:t.spoof=1;break;case"UNLIKELY":case 2:t.spoof=2;break;case"POSSIBLE":case 3:t.spoof=3;break;case"LIKELY":case 4:t.spoof=4;break;case"VERY_LIKELY":case 5:t.spoof=5}switch(e.medical){case"UNKNOWN":case 0:t.medical=0;break;case"VERY_UNLIKELY":case 1:t.medical=1;break;case"UNLIKELY":case 2:t.medical=2;break;case"POSSIBLE":case 3:t.medical=3;break;case"LIKELY":case 4:t.medical=4;break;case"VERY_LIKELY":case 5:t.medical=5}switch(e.violence){case"UNKNOWN":case 0:t.violence=0;break;case"VERY_UNLIKELY":case 1:t.violence=1;break;case"UNLIKELY":case 2:t.violence=2;break;case"POSSIBLE":case 3:t.violence=3;break;case"LIKELY":case 4:t.violence=4;break;case"VERY_LIKELY":case 5:t.violence=5}switch(e.racy){case"UNKNOWN":case 0:t.racy=0;break;case"VERY_UNLIKELY":case 1:t.racy=1;break;case"UNLIKELY":case 2:t.racy=2;break;case"POSSIBLE":case 3:t.racy=3;break;case"LIKELY":case 4:t.racy=4;break;case"VERY_LIKELY":case 5:t.racy=5}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.adult=t.enums===String?"UNKNOWN":0,n.spoof=t.enums===String?"UNKNOWN":0,n.medical=t.enums===String?"UNKNOWN":0,n.violence=t.enums===String?"UNKNOWN":0,n.racy=t.enums===String?"UNKNOWN":0),null!=e.adult&&e.hasOwnProperty("adult")&&(n.adult=t.enums===String?b.google.cloud.vision.v1p3beta1.Likelihood[e.adult]:e.adult),null!=e.spoof&&e.hasOwnProperty("spoof")&&(n.spoof=t.enums===String?b.google.cloud.vision.v1p3beta1.Likelihood[e.spoof]:e.spoof),null!=e.medical&&e.hasOwnProperty("medical")&&(n.medical=t.enums===String?b.google.cloud.vision.v1p3beta1.Likelihood[e.medical]:e.medical),null!=e.violence&&e.hasOwnProperty("violence")&&(n.violence=t.enums===String?b.google.cloud.vision.v1p3beta1.Likelihood[e.violence]:e.violence),null!=e.racy&&e.hasOwnProperty("racy")&&(n.racy=t.enums===String?b.google.cloud.vision.v1p3beta1.Likelihood[e.racy]:e.racy),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.SafeSearchAnnotation"},t}(),a.LatLongRect=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.minLatLng=b.google.type.LatLng.decode(e,e.uint32());break;case 2:o.maxLatLng=b.google.type.LatLng.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(t=b.google.type.LatLng.verify(e.minLatLng))?"minLatLng."+t:null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(t=b.google.type.LatLng.verify(e.maxLatLng))?"maxLatLng."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.LatLongRect)return e;var t=new b.google.cloud.vision.v1p3beta1.LatLongRect;if(null!=e.minLatLng){if("object"!=typeof e.minLatLng)throw TypeError(".google.cloud.vision.v1p3beta1.LatLongRect.minLatLng: object expected");t.minLatLng=b.google.type.LatLng.fromObject(e.minLatLng)}if(null!=e.maxLatLng){if("object"!=typeof e.maxLatLng)throw TypeError(".google.cloud.vision.v1p3beta1.LatLongRect.maxLatLng: object expected");t.maxLatLng=b.google.type.LatLng.fromObject(e.maxLatLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.minLatLng=null,n.maxLatLng=null),null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(n.minLatLng=b.google.type.LatLng.toObject(e.minLatLng,t)),null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(n.maxLatLng=b.google.type.LatLng.toObject(e.maxLatLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.LatLongRect"},t}(),a.ColorInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.color=b.google.type.Color.decode(e,e.uint32());break;case 2:o.score=e.float();break;case 3:o.pixelFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.color&&e.hasOwnProperty("color")){var t=b.google.type.Color.verify(e.color);if(t)return"color."+t}return null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&"number"!=typeof e.pixelFraction?"pixelFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ColorInfo)return e;var t=new b.google.cloud.vision.v1p3beta1.ColorInfo;if(null!=e.color){if("object"!=typeof e.color)throw TypeError(".google.cloud.vision.v1p3beta1.ColorInfo.color: object expected");t.color=b.google.type.Color.fromObject(e.color)}return null!=e.score&&(t.score=Number(e.score)),null!=e.pixelFraction&&(t.pixelFraction=Number(e.pixelFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.color=null,n.score=0,n.pixelFraction=0),null!=e.color&&e.hasOwnProperty("color")&&(n.color=b.google.type.Color.toObject(e.color,t)),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&(n.pixelFraction=t.json&&!isFinite(e.pixelFraction)?String(e.pixelFraction):e.pixelFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ColorInfo"},t}(),a.DominantColorsAnnotation=function(){function t(e){if(this.colors=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.colors&&o.colors.length||(o.colors=[]),o.colors.push(b.google.cloud.vision.v1p3beta1.ColorInfo.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.colors&&e.hasOwnProperty("colors")){if(!Array.isArray(e.colors))return"colors: array expected";for(var t=0;t>>3==1?o.dominantColors=b.google.cloud.vision.v1p3beta1.DominantColorsAnnotation.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.dominantColors&&e.hasOwnProperty("dominantColors")){var t=b.google.cloud.vision.v1p3beta1.DominantColorsAnnotation.verify(e.dominantColors);if(t)return"dominantColors."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ImageProperties)return e;var t=new b.google.cloud.vision.v1p3beta1.ImageProperties;if(null!=e.dominantColors){if("object"!=typeof e.dominantColors)throw TypeError(".google.cloud.vision.v1p3beta1.ImageProperties.dominantColors: object expected");t.dominantColors=b.google.cloud.vision.v1p3beta1.DominantColorsAnnotation.fromObject(e.dominantColors)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.dominantColors=null),null!=e.dominantColors&&e.hasOwnProperty("dominantColors")&&(n.dominantColors=b.google.cloud.vision.v1p3beta1.DominantColorsAnnotation.toObject(e.dominantColors,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ImageProperties"},t}(),a.CropHint=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.confidence=e.float();break;case 3:o.importanceFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}return null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&"number"!=typeof e.importanceFraction?"importanceFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.CropHint)return e;var t=new b.google.cloud.vision.v1p3beta1.CropHint;if(null!=e.boundingPoly){if("object"!=typeof e.boundingPoly)throw TypeError(".google.cloud.vision.v1p3beta1.CropHint.boundingPoly: object expected");t.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.fromObject(e.boundingPoly)}return null!=e.confidence&&(t.confidence=Number(e.confidence)),null!=e.importanceFraction&&(t.importanceFraction=Number(e.importanceFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.boundingPoly=null,n.confidence=0,n.importanceFraction=0),null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.toObject(e.boundingPoly,t)),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&(n.importanceFraction=t.json&&!isFinite(e.importanceFraction)?String(e.importanceFraction):e.importanceFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.CropHint"},t}(),a.CropHintsAnnotation=function(){function t(e){if(this.cropHints=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.cropHints&&o.cropHints.length||(o.cropHints=[]),o.cropHints.push(b.google.cloud.vision.v1p3beta1.CropHint.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.cropHints&&e.hasOwnProperty("cropHints")){if(!Array.isArray(e.cropHints))return"cropHints: array expected";for(var t=0;t>>3==1)if(o.aspectRatios&&o.aspectRatios.length||(o.aspectRatios=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==2?o.includeGeoResults=e.bool():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&"boolean"!=typeof e.includeGeoResults?"includeGeoResults: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.WebDetectionParams)return e;var t=new b.google.cloud.vision.v1p3beta1.WebDetectionParams;return null!=e.includeGeoResults&&(t.includeGeoResults=Boolean(e.includeGeoResults)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.includeGeoResults=!1),null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&(n.includeGeoResults=e.includeGeoResults),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.WebDetectionParams"},t}(),a.TextDetectionParams=function(){function t(e){if(this.advancedOcrOptions=[],e)for(var t=Object.keys(e),n=0;n>>3){case 9:o.enableTextDetectionConfidenceScore=e.bool();break;case 11:o.advancedOcrOptions&&o.advancedOcrOptions.length||(o.advancedOcrOptions=[]),o.advancedOcrOptions.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.enableTextDetectionConfidenceScore&&e.hasOwnProperty("enableTextDetectionConfidenceScore")&&"boolean"!=typeof e.enableTextDetectionConfidenceScore)return"enableTextDetectionConfidenceScore: boolean expected";if(null!=e.advancedOcrOptions&&e.hasOwnProperty("advancedOcrOptions")){if(!Array.isArray(e.advancedOcrOptions))return"advancedOcrOptions: array expected";for(var t=0;t>>3){case 1:o.latLongRect=b.google.cloud.vision.v1p3beta1.LatLongRect.decode(e,e.uint32());break;case 2:o.languageHints&&o.languageHints.length||(o.languageHints=[]),o.languageHints.push(e.string());break;case 4:o.cropHintsParams=b.google.cloud.vision.v1p3beta1.CropHintsParams.decode(e,e.uint32());break;case 5:o.productSearchParams=b.google.cloud.vision.v1p3beta1.ProductSearchParams.decode(e,e.uint32());break;case 6:o.webDetectionParams=b.google.cloud.vision.v1p3beta1.WebDetectionParams.decode(e,e.uint32());break;case 12:o.textDetectionParams=b.google.cloud.vision.v1p3beta1.TextDetectionParams.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t;if(null!=e.latLongRect&&e.hasOwnProperty("latLongRect")&&(t=b.google.cloud.vision.v1p3beta1.LatLongRect.verify(e.latLongRect)))return"latLongRect."+t;if(null!=e.languageHints&&e.hasOwnProperty("languageHints")){if(!Array.isArray(e.languageHints))return"languageHints: array expected";for(var n=0;n>>3){case 1:o.image=b.google.cloud.vision.v1p3beta1.Image.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1p3beta1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1p3beta1.ImageContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.image&&e.hasOwnProperty("image")&&(n=b.google.cloud.vision.v1p3beta1.Image.verify(e.image)))return"image."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3){case 1:o.uri=e.string();break;case 2:o.pageNumber=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null!=e.pageNumber&&e.hasOwnProperty("pageNumber")&&!v.isInteger(e.pageNumber)?"pageNumber: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ImageAnnotationContext)return e;var t=new b.google.cloud.vision.v1p3beta1.ImageAnnotationContext;return null!=e.uri&&(t.uri=String(e.uri)),null!=e.pageNumber&&(t.pageNumber=0|e.pageNumber),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri="",n.pageNumber=0),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),null!=e.pageNumber&&e.hasOwnProperty("pageNumber")&&(n.pageNumber=e.pageNumber),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ImageAnnotationContext"},t}(),a.AnnotateImageResponse=function(){function t(e){if(this.faceAnnotations=[],this.landmarkAnnotations=[],this.logoAnnotations=[],this.labelAnnotations=[],this.localizedObjectAnnotations=[],this.textAnnotations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.faceAnnotations&&o.faceAnnotations.length||(o.faceAnnotations=[]),o.faceAnnotations.push(b.google.cloud.vision.v1p3beta1.FaceAnnotation.decode(e,e.uint32()));break;case 2:o.landmarkAnnotations&&o.landmarkAnnotations.length||(o.landmarkAnnotations=[]),o.landmarkAnnotations.push(b.google.cloud.vision.v1p3beta1.EntityAnnotation.decode(e,e.uint32()));break;case 3:o.logoAnnotations&&o.logoAnnotations.length||(o.logoAnnotations=[]),o.logoAnnotations.push(b.google.cloud.vision.v1p3beta1.EntityAnnotation.decode(e,e.uint32()));break;case 4:o.labelAnnotations&&o.labelAnnotations.length||(o.labelAnnotations=[]),o.labelAnnotations.push(b.google.cloud.vision.v1p3beta1.EntityAnnotation.decode(e,e.uint32()));break;case 22:o.localizedObjectAnnotations&&o.localizedObjectAnnotations.length||(o.localizedObjectAnnotations=[]),o.localizedObjectAnnotations.push(b.google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation.decode(e,e.uint32()));break;case 5:o.textAnnotations&&o.textAnnotations.length||(o.textAnnotations=[]),o.textAnnotations.push(b.google.cloud.vision.v1p3beta1.EntityAnnotation.decode(e,e.uint32()));break;case 12:o.fullTextAnnotation=b.google.cloud.vision.v1p3beta1.TextAnnotation.decode(e,e.uint32());break;case 6:o.safeSearchAnnotation=b.google.cloud.vision.v1p3beta1.SafeSearchAnnotation.decode(e,e.uint32());break;case 8:o.imagePropertiesAnnotation=b.google.cloud.vision.v1p3beta1.ImageProperties.decode(e,e.uint32());break;case 11:o.cropHintsAnnotation=b.google.cloud.vision.v1p3beta1.CropHintsAnnotation.decode(e,e.uint32());break;case 13:o.webDetection=b.google.cloud.vision.v1p3beta1.WebDetection.decode(e,e.uint32());break;case 14:o.productSearchResults=b.google.cloud.vision.v1p3beta1.ProductSearchResults.decode(e,e.uint32());break;case 9:o.error=b.google.rpc.Status.decode(e,e.uint32());break;case 21:o.context=b.google.cloud.vision.v1p3beta1.ImageAnnotationContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.faceAnnotations&&e.hasOwnProperty("faceAnnotations")){if(!Array.isArray(e.faceAnnotations))return"faceAnnotations: array expected";for(var t=0;t>>3){case 1:o.inputConfig=b.google.cloud.vision.v1p3beta1.InputConfig.decode(e,e.uint32());break;case 2:o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p3beta1.AnnotateImageResponse.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n=b.google.cloud.vision.v1p3beta1.InputConfig.verify(e.inputConfig)))return"inputConfig."+n;if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3==1?(o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p3beta1.AnnotateImageRequest.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p3beta1.AnnotateImageResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.inputConfig=b.google.cloud.vision.v1p3beta1.InputConfig.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1p3beta1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1p3beta1.ImageContext.decode(e,e.uint32());break;case 4:o.outputConfig=b.google.cloud.vision.v1p3beta1.OutputConfig.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n=b.google.cloud.vision.v1p3beta1.InputConfig.verify(e.inputConfig)))return"inputConfig."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3==1?o.outputConfig=b.google.cloud.vision.v1p3beta1.OutputConfig.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.outputConfig&&e.hasOwnProperty("outputConfig")){var t=b.google.cloud.vision.v1p3beta1.OutputConfig.verify(e.outputConfig);if(t)return"outputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse)return e;var t=new b.google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse;if(null!=e.outputConfig){if("object"!=typeof e.outputConfig)throw TypeError(".google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse.outputConfig: object expected");t.outputConfig=b.google.cloud.vision.v1p3beta1.OutputConfig.fromObject(e.outputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.outputConfig=null),null!=e.outputConfig&&e.hasOwnProperty("outputConfig")&&(n.outputConfig=b.google.cloud.vision.v1p3beta1.OutputConfig.toObject(e.outputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse"},t}(),a.AsyncBatchAnnotateFilesRequest=function(){function t(e){if(this.requests=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.gcsSource=b.google.cloud.vision.v1p3beta1.GcsSource.decode(e,e.uint32());break;case 2:o.mimeType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsSource&&e.hasOwnProperty("gcsSource")){var t=b.google.cloud.vision.v1p3beta1.GcsSource.verify(e.gcsSource);if(t)return"gcsSource."+t}return null!=e.mimeType&&e.hasOwnProperty("mimeType")&&!v.isString(e.mimeType)?"mimeType: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.InputConfig)return e;var t=new b.google.cloud.vision.v1p3beta1.InputConfig;if(null!=e.gcsSource){if("object"!=typeof e.gcsSource)throw TypeError(".google.cloud.vision.v1p3beta1.InputConfig.gcsSource: object expected");t.gcsSource=b.google.cloud.vision.v1p3beta1.GcsSource.fromObject(e.gcsSource)}return null!=e.mimeType&&(t.mimeType=String(e.mimeType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsSource=null,n.mimeType=""),null!=e.gcsSource&&e.hasOwnProperty("gcsSource")&&(n.gcsSource=b.google.cloud.vision.v1p3beta1.GcsSource.toObject(e.gcsSource,t)),null!=e.mimeType&&e.hasOwnProperty("mimeType")&&(n.mimeType=e.mimeType),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.InputConfig"},t}(),a.OutputConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsDestination=b.google.cloud.vision.v1p3beta1.GcsDestination.decode(e,e.uint32());break;case 2:o.batchSize=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsDestination&&e.hasOwnProperty("gcsDestination")){var t=b.google.cloud.vision.v1p3beta1.GcsDestination.verify(e.gcsDestination);if(t)return"gcsDestination."+t}return null!=e.batchSize&&e.hasOwnProperty("batchSize")&&!v.isInteger(e.batchSize)?"batchSize: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.OutputConfig)return e;var t=new b.google.cloud.vision.v1p3beta1.OutputConfig;if(null!=e.gcsDestination){if("object"!=typeof e.gcsDestination)throw TypeError(".google.cloud.vision.v1p3beta1.OutputConfig.gcsDestination: object expected");t.gcsDestination=b.google.cloud.vision.v1p3beta1.GcsDestination.fromObject(e.gcsDestination)}return null!=e.batchSize&&(t.batchSize=0|e.batchSize),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsDestination=null,n.batchSize=0),null!=e.gcsDestination&&e.hasOwnProperty("gcsDestination")&&(n.gcsDestination=b.google.cloud.vision.v1p3beta1.GcsDestination.toObject(e.gcsDestination,t)),null!=e.batchSize&&e.hasOwnProperty("batchSize")&&(n.batchSize=e.batchSize),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.OutputConfig"},t}(),a.GcsSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.uri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.GcsSource)return e;var t=new b.google.cloud.vision.v1p3beta1.GcsSource;return null!=e.uri&&(t.uri=String(e.uri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri=""),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.GcsSource"},t}(),a.GcsDestination=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.uri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.GcsDestination)return e;var t=new b.google.cloud.vision.v1p3beta1.GcsDestination;return null!=e.uri&&(t.uri=String(e.uri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri=""),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.GcsDestination"},t}(),a.Likelihood=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="VERY_UNLIKELY"]=1,t[e[2]="UNLIKELY"]=2,t[e[3]="POSSIBLE"]=3,t[e[4]="LIKELY"]=4,t[e[5]="VERY_LIKELY"]=5,t}(),a.OperationMetadata=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.state=e.int32();break;case 5:o.createTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 6:o.updateTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:case 3:case 4:}var t;return null!=e.createTime&&e.hasOwnProperty("createTime")&&(t=b.google.protobuf.Timestamp.verify(e.createTime))?"createTime."+t:null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(t=b.google.protobuf.Timestamp.verify(e.updateTime))?"updateTime."+t:null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.OperationMetadata)return e;var t=new b.google.cloud.vision.v1p3beta1.OperationMetadata;switch(e.state){case"STATE_UNSPECIFIED":case 0:t.state=0;break;case"CREATED":case 1:t.state=1;break;case"RUNNING":case 2:t.state=2;break;case"DONE":case 3:t.state=3;break;case"CANCELLED":case 4:t.state=4}if(null!=e.createTime){if("object"!=typeof e.createTime)throw TypeError(".google.cloud.vision.v1p3beta1.OperationMetadata.createTime: object expected");t.createTime=b.google.protobuf.Timestamp.fromObject(e.createTime)}if(null!=e.updateTime){if("object"!=typeof e.updateTime)throw TypeError(".google.cloud.vision.v1p3beta1.OperationMetadata.updateTime: object expected");t.updateTime=b.google.protobuf.Timestamp.fromObject(e.updateTime)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.state=t.enums===String?"STATE_UNSPECIFIED":0,n.createTime=null,n.updateTime=null),null!=e.state&&e.hasOwnProperty("state")&&(n.state=t.enums===String?b.google.cloud.vision.v1p3beta1.OperationMetadata.State[e.state]:e.state),null!=e.createTime&&e.hasOwnProperty("createTime")&&(n.createTime=b.google.protobuf.Timestamp.toObject(e.createTime,t)),null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(n.updateTime=b.google.protobuf.Timestamp.toObject(e.updateTime,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.OperationMetadata"},t.State=function(){var e={},t=Object.create(e);return t[e[0]="STATE_UNSPECIFIED"]=0,t[e[1]="CREATED"]=1,t[e[2]="RUNNING"]=2,t[e[3]="DONE"]=3,t[e[4]="CANCELLED"]=4,t}(),t}(),a.ProductSearchParams=function(){function t(e){if(this.productCategories=[],e)for(var t=Object.keys(e),n=0;n>>3){case 9:o.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 6:o.productSet=e.string();break;case 7:o.productCategories&&o.productCategories.length||(o.productCategories=[]),o.productCategories.push(e.string());break;case 8:o.filter=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}if(null!=e.productSet&&e.hasOwnProperty("productSet")&&!v.isString(e.productSet))return"productSet: string expected";if(null!=e.productCategories&&e.hasOwnProperty("productCategories")){if(!Array.isArray(e.productCategories))return"productCategories: array expected";for(var n=0;n>>3){case 2:o.indexTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 5:o.results&&o.results.length||(o.results=[]),o.results.push(b.google.cloud.vision.v1p3beta1.ProductSearchResults.Result.decode(e,e.uint32()));break;case 6:o.productGroupedResults&&o.productGroupedResults.length||(o.productGroupedResults=[]),o.productGroupedResults.push(b.google.cloud.vision.v1p3beta1.ProductSearchResults.GroupedResult.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(n=b.google.protobuf.Timestamp.verify(e.indexTime)))return"indexTime."+n;if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:o.product=b.google.cloud.vision.v1p3beta1.Product.decode(e,e.uint32());break;case 2:o.score=e.float();break;case 3:o.image=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.product&&e.hasOwnProperty("product")){var t=b.google.cloud.vision.v1p3beta1.Product.verify(e.product);if(t)return"product."+t}return null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.image&&e.hasOwnProperty("image")&&!v.isString(e.image)?"image: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ProductSearchResults.Result)return e;var t=new b.google.cloud.vision.v1p3beta1.ProductSearchResults.Result;if(null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1p3beta1.ProductSearchResults.Result.product: object expected");t.product=b.google.cloud.vision.v1p3beta1.Product.fromObject(e.product)}return null!=e.score&&(t.score=Number(e.score)),null!=e.image&&(t.image=String(e.image)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.product=null,n.score=0,n.image=""),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1p3beta1.Product.toObject(e.product,t)),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.image&&e.hasOwnProperty("image")&&(n.image=e.image),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ProductSearchResults.Result"},t}(),t.ObjectAnnotation=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.mid=e.string();break;case 2:o.languageCode=e.string();break;case 3:o.name=e.string();break;case 4:o.score=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid)?"mid: string expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation)return e;var t=new b.google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation;return null!=e.mid&&(t.mid=String(e.mid)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.name&&(t.name=String(e.name)),null!=e.score&&(t.score=Number(e.score)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.mid="",n.languageCode="",n.name="",n.score=0),null!=e.mid&&e.hasOwnProperty("mid")&&(n.mid=e.mid),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation"},t}(),t.GroupedResult=function(){function t(e){if(this.results=[],this.objectAnnotations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.results&&o.results.length||(o.results=[]),o.results.push(b.google.cloud.vision.v1p3beta1.ProductSearchResults.Result.decode(e,e.uint32()));break;case 3:o.objectAnnotations&&o.objectAnnotations.length||(o.objectAnnotations=[]),o.objectAnnotations.push(b.google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.displayName=e.string();break;case 3:o.description=e.string();break;case 4:o.productCategory=e.string();break;case 5:o.productLabels&&o.productLabels.length||(o.productLabels=[]),o.productLabels.push(b.google.cloud.vision.v1p3beta1.Product.KeyValue.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.displayName&&e.hasOwnProperty("displayName")&&!v.isString(e.displayName))return"displayName: string expected";if(null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description))return"description: string expected";if(null!=e.productCategory&&e.hasOwnProperty("productCategory")&&!v.isString(e.productCategory))return"productCategory: string expected";if(null!=e.productLabels&&e.hasOwnProperty("productLabels")){if(!Array.isArray(e.productLabels))return"productLabels: array expected";for(var t=0;t>>3){case 1:o.key=e.string();break;case 2:o.value=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.key&&e.hasOwnProperty("key")&&!v.isString(e.key)?"key: string expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.Product.KeyValue)return e;var t=new b.google.cloud.vision.v1p3beta1.Product.KeyValue;return null!=e.key&&(t.key=String(e.key)),null!=e.value&&(t.value=String(e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.key="",n.value=""),null!=e.key&&e.hasOwnProperty("key")&&(n.key=e.key),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.Product.KeyValue"},t}(),t}(),a.ProductSet=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.displayName=e.string();break;case 3:o.indexTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 4:o.indexError=b.google.rpc.Status.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.displayName&&e.hasOwnProperty("displayName")&&!v.isString(e.displayName)?"displayName: string expected":null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(t=b.google.protobuf.Timestamp.verify(e.indexTime))?"indexTime."+t:null!=e.indexError&&e.hasOwnProperty("indexError")&&(t=b.google.rpc.Status.verify(e.indexError))?"indexError."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ProductSet)return e;var t=new b.google.cloud.vision.v1p3beta1.ProductSet;if(null!=e.name&&(t.name=String(e.name)),null!=e.displayName&&(t.displayName=String(e.displayName)),null!=e.indexTime){if("object"!=typeof e.indexTime)throw TypeError(".google.cloud.vision.v1p3beta1.ProductSet.indexTime: object expected");t.indexTime=b.google.protobuf.Timestamp.fromObject(e.indexTime)}if(null!=e.indexError){if("object"!=typeof e.indexError)throw TypeError(".google.cloud.vision.v1p3beta1.ProductSet.indexError: object expected");t.indexError=b.google.rpc.Status.fromObject(e.indexError)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.displayName="",n.indexTime=null,n.indexError=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.displayName&&e.hasOwnProperty("displayName")&&(n.displayName=e.displayName),null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(n.indexTime=b.google.protobuf.Timestamp.toObject(e.indexTime,t)),null!=e.indexError&&e.hasOwnProperty("indexError")&&(n.indexError=b.google.rpc.Status.toObject(e.indexError,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ProductSet"},t}(),a.ReferenceImage=function(){function t(e){if(this.boundingPolys=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.uri=e.string();break;case 3:o.boundingPolys&&o.boundingPolys.length||(o.boundingPolys=[]),o.boundingPolys.push(b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri))return"uri: string expected";if(null!=e.boundingPolys&&e.hasOwnProperty("boundingPolys")){if(!Array.isArray(e.boundingPolys))return"boundingPolys: array expected";for(var t=0;t>>3){case 1:o.parent=e.string();break;case 2:o.product=b.google.cloud.vision.v1p3beta1.Product.decode(e,e.uint32());break;case 3:o.productId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.product&&e.hasOwnProperty("product")){var t=b.google.cloud.vision.v1p3beta1.Product.verify(e.product);if(t)return"product."+t}return null!=e.productId&&e.hasOwnProperty("productId")&&!v.isString(e.productId)?"productId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.CreateProductRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.CreateProductRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1p3beta1.CreateProductRequest.product: object expected");t.product=b.google.cloud.vision.v1p3beta1.Product.fromObject(e.product)}return null!=e.productId&&(t.productId=String(e.productId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.product=null,n.productId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1p3beta1.Product.toObject(e.product,t)),null!=e.productId&&e.hasOwnProperty("productId")&&(n.productId=e.productId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.CreateProductRequest"},t}(),a.ListProductsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ListProductsRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.ListProductsRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ListProductsRequest"},t}(),a.ListProductsResponse=function(){function t(e){if(this.products=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.products&&o.products.length||(o.products=[]),o.products.push(b.google.cloud.vision.v1p3beta1.Product.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.products&&e.hasOwnProperty("products")){if(!Array.isArray(e.products))return"products: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.GetProductRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.GetProductRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.GetProductRequest"},t}(),a.UpdateProductRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.product=b.google.cloud.vision.v1p3beta1.Product.decode(e,e.uint32());break;case 2:o.updateMask=b.google.protobuf.FieldMask.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.product&&e.hasOwnProperty("product")&&(t=b.google.cloud.vision.v1p3beta1.Product.verify(e.product))?"product."+t:null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(t=b.google.protobuf.FieldMask.verify(e.updateMask))?"updateMask."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.UpdateProductRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.UpdateProductRequest;if(null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1p3beta1.UpdateProductRequest.product: object expected");t.product=b.google.cloud.vision.v1p3beta1.Product.fromObject(e.product)}if(null!=e.updateMask){if("object"!=typeof e.updateMask)throw TypeError(".google.cloud.vision.v1p3beta1.UpdateProductRequest.updateMask: object expected");t.updateMask=b.google.protobuf.FieldMask.fromObject(e.updateMask)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.product=null,n.updateMask=null),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1p3beta1.Product.toObject(e.product,t)),null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(n.updateMask=b.google.protobuf.FieldMask.toObject(e.updateMask,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.UpdateProductRequest"},t}(),a.DeleteProductRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.DeleteProductRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.DeleteProductRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.DeleteProductRequest"},t}(),a.CreateProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.productSet=b.google.cloud.vision.v1p3beta1.ProductSet.decode(e,e.uint32());break;case 3:o.productSetId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.productSet&&e.hasOwnProperty("productSet")){var t=b.google.cloud.vision.v1p3beta1.ProductSet.verify(e.productSet);if(t)return"productSet."+t}return null!=e.productSetId&&e.hasOwnProperty("productSetId")&&!v.isString(e.productSetId)?"productSetId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.CreateProductSetRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.CreateProductSetRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.productSet){if("object"!=typeof e.productSet)throw TypeError(".google.cloud.vision.v1p3beta1.CreateProductSetRequest.productSet: object expected");t.productSet=b.google.cloud.vision.v1p3beta1.ProductSet.fromObject(e.productSet)}return null!=e.productSetId&&(t.productSetId=String(e.productSetId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.productSet=null,n.productSetId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.productSet&&e.hasOwnProperty("productSet")&&(n.productSet=b.google.cloud.vision.v1p3beta1.ProductSet.toObject(e.productSet,t)),null!=e.productSetId&&e.hasOwnProperty("productSetId")&&(n.productSetId=e.productSetId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.CreateProductSetRequest"},t}(),a.ListProductSetsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ListProductSetsRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.ListProductSetsRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ListProductSetsRequest"},t}(),a.ListProductSetsResponse=function(){function t(e){if(this.productSets=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.productSets&&o.productSets.length||(o.productSets=[]),o.productSets.push(b.google.cloud.vision.v1p3beta1.ProductSet.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.productSets&&e.hasOwnProperty("productSets")){if(!Array.isArray(e.productSets))return"productSets: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.GetProductSetRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.GetProductSetRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.GetProductSetRequest"},t}(),a.UpdateProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.productSet=b.google.cloud.vision.v1p3beta1.ProductSet.decode(e,e.uint32());break;case 2:o.updateMask=b.google.protobuf.FieldMask.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.productSet&&e.hasOwnProperty("productSet")&&(t=b.google.cloud.vision.v1p3beta1.ProductSet.verify(e.productSet))?"productSet."+t:null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(t=b.google.protobuf.FieldMask.verify(e.updateMask))?"updateMask."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.UpdateProductSetRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.UpdateProductSetRequest;if(null!=e.productSet){if("object"!=typeof e.productSet)throw TypeError(".google.cloud.vision.v1p3beta1.UpdateProductSetRequest.productSet: object expected");t.productSet=b.google.cloud.vision.v1p3beta1.ProductSet.fromObject(e.productSet)}if(null!=e.updateMask){if("object"!=typeof e.updateMask)throw TypeError(".google.cloud.vision.v1p3beta1.UpdateProductSetRequest.updateMask: object expected");t.updateMask=b.google.protobuf.FieldMask.fromObject(e.updateMask)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.productSet=null,n.updateMask=null),null!=e.productSet&&e.hasOwnProperty("productSet")&&(n.productSet=b.google.cloud.vision.v1p3beta1.ProductSet.toObject(e.productSet,t)),null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(n.updateMask=b.google.protobuf.FieldMask.toObject(e.updateMask,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.UpdateProductSetRequest"},t}(),a.DeleteProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.DeleteProductSetRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.DeleteProductSetRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.DeleteProductSetRequest"},t}(),a.CreateReferenceImageRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.referenceImage=b.google.cloud.vision.v1p3beta1.ReferenceImage.decode(e,e.uint32());break;case 3:o.referenceImageId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.referenceImage&&e.hasOwnProperty("referenceImage")){var t=b.google.cloud.vision.v1p3beta1.ReferenceImage.verify(e.referenceImage);if(t)return"referenceImage."+t}return null!=e.referenceImageId&&e.hasOwnProperty("referenceImageId")&&!v.isString(e.referenceImageId)?"referenceImageId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.CreateReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.CreateReferenceImageRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.referenceImage){if("object"!=typeof e.referenceImage)throw TypeError(".google.cloud.vision.v1p3beta1.CreateReferenceImageRequest.referenceImage: object expected");t.referenceImage=b.google.cloud.vision.v1p3beta1.ReferenceImage.fromObject(e.referenceImage)}return null!=e.referenceImageId&&(t.referenceImageId=String(e.referenceImageId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.referenceImage=null,n.referenceImageId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.referenceImage&&e.hasOwnProperty("referenceImage")&&(n.referenceImage=b.google.cloud.vision.v1p3beta1.ReferenceImage.toObject(e.referenceImage,t)),null!=e.referenceImageId&&e.hasOwnProperty("referenceImageId")&&(n.referenceImageId=e.referenceImageId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.CreateReferenceImageRequest"},t}(),a.ListReferenceImagesRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ListReferenceImagesRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.ListReferenceImagesRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ListReferenceImagesRequest"},t}(),a.ListReferenceImagesResponse=function(){function t(e){if(this.referenceImages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.referenceImages&&o.referenceImages.length||(o.referenceImages=[]),o.referenceImages.push(b.google.cloud.vision.v1p3beta1.ReferenceImage.decode(e,e.uint32()));break;case 2:o.pageSize=e.int32();break;case 3:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.referenceImages&&e.hasOwnProperty("referenceImages")){if(!Array.isArray(e.referenceImages))return"referenceImages: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.GetReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.GetReferenceImageRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.GetReferenceImageRequest"},t}(),a.DeleteReferenceImageRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.DeleteReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.DeleteReferenceImageRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.DeleteReferenceImageRequest"},t}(),a.AddProductToProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.product=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.product&&e.hasOwnProperty("product")&&!v.isString(e.product)?"product: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.AddProductToProductSetRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.AddProductToProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.product&&(t.product=String(e.product)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.product=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.product&&e.hasOwnProperty("product")&&(n.product=e.product),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.AddProductToProductSetRequest"},t}(),a.RemoveProductFromProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.product=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.product&&e.hasOwnProperty("product")&&!v.isString(e.product)?"product: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.RemoveProductFromProductSetRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.RemoveProductFromProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.product&&(t.product=String(e.product)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.product=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.product&&e.hasOwnProperty("product")&&(n.product=e.product),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.RemoveProductFromProductSetRequest"},t}(),a.ListProductsInProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ListProductsInProductSetRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.ListProductsInProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.pageSize=0,n.pageToken=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ListProductsInProductSetRequest"},t}(),a.ListProductsInProductSetResponse=function(){function t(e){if(this.products=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.products&&o.products.length||(o.products=[]),o.products.push(b.google.cloud.vision.v1p3beta1.Product.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.products&&e.hasOwnProperty("products")){if(!Array.isArray(e.products))return"products: array expected";for(var t=0;t>>3==1?o.csvFileUri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.csvFileUri&&e.hasOwnProperty("csvFileUri")&&!v.isString(e.csvFileUri)?"csvFileUri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource)return e;var t=new b.google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource;return null!=e.csvFileUri&&(t.csvFileUri=String(e.csvFileUri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.csvFileUri=""),null!=e.csvFileUri&&e.hasOwnProperty("csvFileUri")&&(n.csvFileUri=e.csvFileUri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource"},t}(),a.ImportProductSetsInputConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.gcsSource=b.google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsSource&&e.hasOwnProperty("gcsSource")){var t=b.google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource.verify(e.gcsSource);if(t)return"gcsSource."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig)return e;var t=new b.google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig;if(null!=e.gcsSource){if("object"!=typeof e.gcsSource)throw TypeError(".google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig.gcsSource: object expected");t.gcsSource=b.google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource.fromObject(e.gcsSource)}return t},t.toObject=function(e,t){t||(t={});var n={};return null!=e.gcsSource&&e.hasOwnProperty("gcsSource")&&(n.gcsSource=b.google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource.toObject(e.gcsSource,t),t.oneofs&&(n.source="gcsSource")),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig"},t}(),a.ImportProductSetsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.inputConfig=b.google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")){var t=b.google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig.verify(e.inputConfig);if(t)return"inputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ImportProductSetsRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.ImportProductSetsRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.inputConfig){if("object"!=typeof e.inputConfig)throw TypeError(".google.cloud.vision.v1p3beta1.ImportProductSetsRequest.inputConfig: object expected");t.inputConfig=b.google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig.fromObject(e.inputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.inputConfig=null),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n.inputConfig=b.google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig.toObject(e.inputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ImportProductSetsRequest"},t}(),a.ImportProductSetsResponse=function(){function t(e){if(this.referenceImages=[],this.statuses=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.referenceImages&&o.referenceImages.length||(o.referenceImages=[]),o.referenceImages.push(b.google.cloud.vision.v1p3beta1.ReferenceImage.decode(e,e.uint32()));break;case 2:o.statuses&&o.statuses.length||(o.statuses=[]),o.statuses.push(b.google.rpc.Status.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.referenceImages&&e.hasOwnProperty("referenceImages")){if(!Array.isArray(e.referenceImages))return"referenceImages: array expected";for(var t=0;t>>3){case 1:o.state=e.int32();break;case 2:o.submitTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 3:o.endTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:case 3:case 4:}var t;return null!=e.submitTime&&e.hasOwnProperty("submitTime")&&(t=b.google.protobuf.Timestamp.verify(e.submitTime))?"submitTime."+t:null!=e.endTime&&e.hasOwnProperty("endTime")&&(t=b.google.protobuf.Timestamp.verify(e.endTime))?"endTime."+t:null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.BatchOperationMetadata)return e;var t=new b.google.cloud.vision.v1p3beta1.BatchOperationMetadata;switch(e.state){case"STATE_UNSPECIFIED":case 0:t.state=0;break;case"PROCESSING":case 1:t.state=1;break;case"SUCCESSFUL":case 2:t.state=2;break;case"FAILED":case 3:t.state=3;break;case"CANCELLED":case 4:t.state=4}if(null!=e.submitTime){if("object"!=typeof e.submitTime)throw TypeError(".google.cloud.vision.v1p3beta1.BatchOperationMetadata.submitTime: object expected");t.submitTime=b.google.protobuf.Timestamp.fromObject(e.submitTime)}if(null!=e.endTime){if("object"!=typeof e.endTime)throw TypeError(".google.cloud.vision.v1p3beta1.BatchOperationMetadata.endTime: object expected");t.endTime=b.google.protobuf.Timestamp.fromObject(e.endTime)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.state=t.enums===String?"STATE_UNSPECIFIED":0,n.submitTime=null,n.endTime=null),null!=e.state&&e.hasOwnProperty("state")&&(n.state=t.enums===String?b.google.cloud.vision.v1p3beta1.BatchOperationMetadata.State[e.state]:e.state),null!=e.submitTime&&e.hasOwnProperty("submitTime")&&(n.submitTime=b.google.protobuf.Timestamp.toObject(e.submitTime,t)),null!=e.endTime&&e.hasOwnProperty("endTime")&&(n.endTime=b.google.protobuf.Timestamp.toObject(e.endTime,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.BatchOperationMetadata"},t.State=function(){var e={},t=Object.create(e);return t[e[0]="STATE_UNSPECIFIED"]=0,t[e[1]="PROCESSING"]=1,t[e[2]="SUCCESSFUL"]=2,t[e[3]="FAILED"]=3,t[e[4]="CANCELLED"]=4,t}(),t}(),a.TextAnnotation=function(){function t(e){if(this.pages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.pages&&o.pages.length||(o.pages=[]),o.pages.push(b.google.cloud.vision.v1p3beta1.Page.decode(e,e.uint32()));break;case 2:o.text=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.pages&&e.hasOwnProperty("pages")){if(!Array.isArray(e.pages))return"pages: array expected";for(var t=0;t>>3){case 1:o.languageCode=e.string();break;case 2:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.TextAnnotation.DetectedLanguage)return e;var t=new b.google.cloud.vision.v1p3beta1.TextAnnotation.DetectedLanguage;return null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.languageCode="",n.confidence=0),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.TextAnnotation.DetectedLanguage"},t}(),t.DetectedBreak=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.isPrefix=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&"boolean"!=typeof e.isPrefix?"isPrefix: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.TextAnnotation.DetectedBreak)return e;var t=new b.google.cloud.vision.v1p3beta1.TextAnnotation.DetectedBreak;switch(e.type){case"UNKNOWN":case 0:t.type=0;break;case"SPACE":case 1:t.type=1;break;case"SURE_SPACE":case 2:t.type=2;break;case"EOL_SURE_SPACE":case 3:t.type=3;break;case"HYPHEN":case 4:t.type=4;break;case"LINE_BREAK":case 5:t.type=5}return null!=e.isPrefix&&(t.isPrefix=Boolean(e.isPrefix)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN":0,n.isPrefix=!1),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p3beta1.TextAnnotation.DetectedBreak.BreakType[e.type]:e.type),null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&(n.isPrefix=e.isPrefix),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.TextAnnotation.DetectedBreak"},t.BreakType=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="SPACE"]=1,t[e[2]="SURE_SPACE"]=2,t[e[3]="EOL_SURE_SPACE"]=3,t[e[4]="HYPHEN"]=4,t[e[5]="LINE_BREAK"]=5,t}(),t}(),t.TextProperty=function(){function t(e){if(this.detectedLanguages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.detectedLanguages&&o.detectedLanguages.length||(o.detectedLanguages=[]),o.detectedLanguages.push(b.google.cloud.vision.v1p3beta1.TextAnnotation.DetectedLanguage.decode(e,e.uint32()));break;case 2:o.detectedBreak=b.google.cloud.vision.v1p3beta1.TextAnnotation.DetectedBreak.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.detectedLanguages&&e.hasOwnProperty("detectedLanguages")){if(!Array.isArray(e.detectedLanguages))return"detectedLanguages: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.width=e.int32();break;case 3:o.height=e.int32();break;case 4:o.blocks&&o.blocks.length||(o.blocks=[]),o.blocks.push(b.google.cloud.vision.v1p3beta1.Block.decode(e,e.uint32()));break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.width&&e.hasOwnProperty("width")&&!v.isInteger(e.width))return"width: integer expected";if(null!=e.height&&e.hasOwnProperty("height")&&!v.isInteger(e.height))return"height: integer expected";if(null!=e.blocks&&e.hasOwnProperty("blocks")){if(!Array.isArray(e.blocks))return"blocks: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.paragraphs&&o.paragraphs.length||(o.paragraphs=[]),o.paragraphs.push(b.google.cloud.vision.v1p3beta1.Paragraph.decode(e,e.uint32()));break;case 4:o.blockType=e.int32();break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.paragraphs&&e.hasOwnProperty("paragraphs")){if(!Array.isArray(e.paragraphs))return"paragraphs: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.words&&o.words.length||(o.words=[]),o.words.push(b.google.cloud.vision.v1p3beta1.Word.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.words&&e.hasOwnProperty("words")){if(!Array.isArray(e.words))return"words: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.symbols&&o.symbols.length||(o.symbols=[]),o.symbols.push(b.google.cloud.vision.v1p3beta1.Symbol.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.symbols&&e.hasOwnProperty("symbols")){if(!Array.isArray(e.symbols))return"symbols: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.text=e.string();break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.property&&e.hasOwnProperty("property")&&(t=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.verify(e.property))?"property."+t:null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(t=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingBox))?"boundingBox."+t:null!=e.text&&e.hasOwnProperty("text")&&!v.isString(e.text)?"text: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.Symbol)return e;var t=new b.google.cloud.vision.v1p3beta1.Symbol;if(null!=e.property){if("object"!=typeof e.property)throw TypeError(".google.cloud.vision.v1p3beta1.Symbol.property: object expected");t.property=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.fromObject(e.property)}if(null!=e.boundingBox){if("object"!=typeof e.boundingBox)throw TypeError(".google.cloud.vision.v1p3beta1.Symbol.boundingBox: object expected");t.boundingBox=b.google.cloud.vision.v1p3beta1.BoundingPoly.fromObject(e.boundingBox)}return null!=e.text&&(t.text=String(e.text)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.property=null,n.boundingBox=null,n.text="",n.confidence=0),null!=e.property&&e.hasOwnProperty("property")&&(n.property=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.toObject(e.property,t)),null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n.boundingBox=b.google.cloud.vision.v1p3beta1.BoundingPoly.toObject(e.boundingBox,t)),null!=e.text&&e.hasOwnProperty("text")&&(n.text=e.text),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.Symbol"},t}(),a.WebDetection=function(){function t(e){if(this.webEntities=[],this.fullMatchingImages=[],this.partialMatchingImages=[],this.pagesWithMatchingImages=[],this.visuallySimilarImages=[],this.bestGuessLabels=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.webEntities&&o.webEntities.length||(o.webEntities=[]),o.webEntities.push(b.google.cloud.vision.v1p3beta1.WebDetection.WebEntity.decode(e,e.uint32()));break;case 2:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1p3beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 3:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1p3beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 4:o.pagesWithMatchingImages&&o.pagesWithMatchingImages.length||(o.pagesWithMatchingImages=[]),o.pagesWithMatchingImages.push(b.google.cloud.vision.v1p3beta1.WebDetection.WebPage.decode(e,e.uint32()));break;case 6:o.visuallySimilarImages&&o.visuallySimilarImages.length||(o.visuallySimilarImages=[]),o.visuallySimilarImages.push(b.google.cloud.vision.v1p3beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 8:o.bestGuessLabels&&o.bestGuessLabels.length||(o.bestGuessLabels=[]),o.bestGuessLabels.push(b.google.cloud.vision.v1p3beta1.WebDetection.WebLabel.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.webEntities&&e.hasOwnProperty("webEntities")){if(!Array.isArray(e.webEntities))return"webEntities: array expected";for(var t=0;t>>3){case 1:o.entityId=e.string();break;case 2:o.score=e.float();break;case 3:o.description=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.entityId&&e.hasOwnProperty("entityId")&&!v.isString(e.entityId)?"entityId: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description)?"description: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.WebDetection.WebEntity)return e;var t=new b.google.cloud.vision.v1p3beta1.WebDetection.WebEntity;return null!=e.entityId&&(t.entityId=String(e.entityId)),null!=e.score&&(t.score=Number(e.score)),null!=e.description&&(t.description=String(e.description)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.entityId="",n.score=0,n.description=""),null!=e.entityId&&e.hasOwnProperty("entityId")&&(n.entityId=e.entityId),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.description&&e.hasOwnProperty("description")&&(n.description=e.description),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.WebDetection.WebEntity"},t}(),t.WebImage=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url)?"url: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.WebDetection.WebImage)return e;var t=new b.google.cloud.vision.v1p3beta1.WebDetection.WebImage;return null!=e.url&&(t.url=String(e.url)),null!=e.score&&(t.score=Number(e.score)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.url="",n.score=0),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.WebDetection.WebImage"},t}(),t.WebPage=function(){function t(e){if(this.fullMatchingImages=[],this.partialMatchingImages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;case 3:o.pageTitle=e.string();break;case 4:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1p3beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 5:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1p3beta1.WebDetection.WebImage.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url))return"url: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.pageTitle&&e.hasOwnProperty("pageTitle")&&!v.isString(e.pageTitle))return"pageTitle: string expected";if(null!=e.fullMatchingImages&&e.hasOwnProperty("fullMatchingImages")){if(!Array.isArray(e.fullMatchingImages))return"fullMatchingImages: array expected";for(var t=0;t>>3){case 1:o.label=e.string();break;case 2:o.languageCode=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.label&&e.hasOwnProperty("label")&&!v.isString(e.label)?"label: string expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.WebDetection.WebLabel)return e;var t=new b.google.cloud.vision.v1p3beta1.WebDetection.WebLabel;return null!=e.label&&(t.label=String(e.label)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.label="",n.languageCode=""),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.WebDetection.WebLabel"},t}(),t}(),a),l.v1p4beta1=((s={}).FaceRecognitionParams=function(){function t(e){if(this.celebritySet=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.celebritySet&&o.celebritySet.length||(o.celebritySet=[]),o.celebritySet.push(e.string())):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.celebritySet&&e.hasOwnProperty("celebritySet")){if(!Array.isArray(e.celebritySet))return"celebritySet: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.displayName=e.string();break;case 3:o.description=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.displayName&&e.hasOwnProperty("displayName")&&!v.isString(e.displayName)?"displayName: string expected":null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description)?"description: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.Celebrity)return e;var t=new b.google.cloud.vision.v1p4beta1.Celebrity;return null!=e.name&&(t.name=String(e.name)),null!=e.displayName&&(t.displayName=String(e.displayName)),null!=e.description&&(t.description=String(e.description)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.displayName="",n.description=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.displayName&&e.hasOwnProperty("displayName")&&(n.displayName=e.displayName),null!=e.description&&e.hasOwnProperty("description")&&(n.description=e.description),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.Celebrity"},t}(),s.FaceRecognitionResult=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.celebrity=b.google.cloud.vision.v1p4beta1.Celebrity.decode(e,e.uint32());break;case 2:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.celebrity&&e.hasOwnProperty("celebrity")){var t=b.google.cloud.vision.v1p4beta1.Celebrity.verify(e.celebrity);if(t)return"celebrity."+t}return null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.FaceRecognitionResult)return e;var t=new b.google.cloud.vision.v1p4beta1.FaceRecognitionResult;if(null!=e.celebrity){if("object"!=typeof e.celebrity)throw TypeError(".google.cloud.vision.v1p4beta1.FaceRecognitionResult.celebrity: object expected");t.celebrity=b.google.cloud.vision.v1p4beta1.Celebrity.fromObject(e.celebrity)}return null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.celebrity=null,n.confidence=0),null!=e.celebrity&&e.hasOwnProperty("celebrity")&&(n.celebrity=b.google.cloud.vision.v1p4beta1.Celebrity.toObject(e.celebrity,t)),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.FaceRecognitionResult"},t}(),s.Vertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.int32();break;case 2:o.y=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&!v.isInteger(e.x)?"x: integer expected":null!=e.y&&e.hasOwnProperty("y")&&!v.isInteger(e.y)?"y: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.Vertex)return e;var t=new b.google.cloud.vision.v1p4beta1.Vertex;return null!=e.x&&(t.x=0|e.x),null!=e.y&&(t.y=0|e.y),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.Vertex"},t}(),s.NormalizedVertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.NormalizedVertex)return e;var t=new b.google.cloud.vision.v1p4beta1.NormalizedVertex;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.NormalizedVertex"},t}(),s.BoundingPoly=function(){function t(e){if(this.vertices=[],this.normalizedVertices=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.vertices&&o.vertices.length||(o.vertices=[]),o.vertices.push(b.google.cloud.vision.v1p4beta1.Vertex.decode(e,e.uint32()));break;case 2:o.normalizedVertices&&o.normalizedVertices.length||(o.normalizedVertices=[]),o.normalizedVertices.push(b.google.cloud.vision.v1p4beta1.NormalizedVertex.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.vertices&&e.hasOwnProperty("vertices")){if(!Array.isArray(e.vertices))return"vertices: array expected";for(var t=0;t>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;case 3:o.z=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null!=e.z&&e.hasOwnProperty("z")&&"number"!=typeof e.z?"z: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.Position)return e;var t=new b.google.cloud.vision.v1p4beta1.Position;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),null!=e.z&&(t.z=Number(e.z)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0,n.z=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),null!=e.z&&e.hasOwnProperty("z")&&(n.z=t.json&&!isFinite(e.z)?String(e.z):e.z),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.Position"},t}(),s.ImageAnnotator=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.batchAnnotateImages=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest,b.google.cloud.vision.v1p4beta1.BatchAnnotateImagesResponse,t,n)},"name",{value:"BatchAnnotateImages"}),Object.defineProperty(t.prototype.batchAnnotateFiles=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p4beta1.BatchAnnotateFilesRequest,b.google.cloud.vision.v1p4beta1.BatchAnnotateFilesResponse,t,n)},"name",{value:"BatchAnnotateFiles"}),Object.defineProperty(t.prototype.asyncBatchAnnotateImages=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesRequest,b.google.longrunning.Operation,t,n)},"name",{value:"AsyncBatchAnnotateImages"}),Object.defineProperty(t.prototype.asyncBatchAnnotateFiles=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesRequest,b.google.longrunning.Operation,t,n)},"name",{value:"AsyncBatchAnnotateFiles"}),t}(),s.Feature=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.maxResults=e.int32();break;case 3:o.model=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 11:case 6:case 7:case 9:case 10:case 12:case 19:}return null!=e.maxResults&&e.hasOwnProperty("maxResults")&&!v.isInteger(e.maxResults)?"maxResults: integer expected":null!=e.model&&e.hasOwnProperty("model")&&!v.isString(e.model)?"model: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.Feature)return e;var t=new b.google.cloud.vision.v1p4beta1.Feature;switch(e.type){case"TYPE_UNSPECIFIED":case 0:t.type=0;break;case"FACE_DETECTION":case 1:t.type=1;break;case"LANDMARK_DETECTION":case 2:t.type=2;break;case"LOGO_DETECTION":case 3:t.type=3;break;case"LABEL_DETECTION":case 4:t.type=4;break;case"TEXT_DETECTION":case 5:t.type=5;break;case"DOCUMENT_TEXT_DETECTION":case 11:t.type=11;break;case"SAFE_SEARCH_DETECTION":case 6:t.type=6;break;case"IMAGE_PROPERTIES":case 7:t.type=7;break;case"CROP_HINTS":case 9:t.type=9;break;case"WEB_DETECTION":case 10:t.type=10;break;case"PRODUCT_SEARCH":case 12:t.type=12;break;case"OBJECT_LOCALIZATION":case 19:t.type=19}return null!=e.maxResults&&(t.maxResults=0|e.maxResults),null!=e.model&&(t.model=String(e.model)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"TYPE_UNSPECIFIED":0,n.maxResults=0,n.model=""),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p4beta1.Feature.Type[e.type]:e.type),null!=e.maxResults&&e.hasOwnProperty("maxResults")&&(n.maxResults=e.maxResults),null!=e.model&&e.hasOwnProperty("model")&&(n.model=e.model),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.Feature"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="TYPE_UNSPECIFIED"]=0,t[e[1]="FACE_DETECTION"]=1,t[e[2]="LANDMARK_DETECTION"]=2,t[e[3]="LOGO_DETECTION"]=3,t[e[4]="LABEL_DETECTION"]=4,t[e[5]="TEXT_DETECTION"]=5,t[e[11]="DOCUMENT_TEXT_DETECTION"]=11,t[e[6]="SAFE_SEARCH_DETECTION"]=6,t[e[7]="IMAGE_PROPERTIES"]=7,t[e[9]="CROP_HINTS"]=9,t[e[10]="WEB_DETECTION"]=10,t[e[12]="PRODUCT_SEARCH"]=12,t[e[19]="OBJECT_LOCALIZATION"]=19,t}(),t}(),s.ImageSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsImageUri=e.string();break;case 2:o.imageUri=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&!v.isString(e.gcsImageUri)?"gcsImageUri: string expected":null!=e.imageUri&&e.hasOwnProperty("imageUri")&&!v.isString(e.imageUri)?"imageUri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ImageSource)return e;var t=new b.google.cloud.vision.v1p4beta1.ImageSource;return null!=e.gcsImageUri&&(t.gcsImageUri=String(e.gcsImageUri)),null!=e.imageUri&&(t.imageUri=String(e.imageUri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsImageUri="",n.imageUri=""),null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&(n.gcsImageUri=e.gcsImageUri),null!=e.imageUri&&e.hasOwnProperty("imageUri")&&(n.imageUri=e.imageUri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ImageSource"},t}(),s.Image=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.content=e.bytes();break;case 2:o.source=b.google.cloud.vision.v1p4beta1.ImageSource.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.content&&e.hasOwnProperty("content")&&!(e.content&&"number"==typeof e.content.length||v.isString(e.content)))return"content: buffer expected";if(null!=e.source&&e.hasOwnProperty("source")){var t=b.google.cloud.vision.v1p4beta1.ImageSource.verify(e.source);if(t)return"source."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.Image)return e;var t=new b.google.cloud.vision.v1p4beta1.Image;if(null!=e.content&&("string"==typeof e.content?v.base64.decode(e.content,t.content=v.newBuffer(v.base64.length(e.content)),0):e.content.length>=0&&(t.content=e.content)),null!=e.source){if("object"!=typeof e.source)throw TypeError(".google.cloud.vision.v1p4beta1.Image.source: object expected");t.source=b.google.cloud.vision.v1p4beta1.ImageSource.fromObject(e.source)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.content="":(n.content=[],t.bytes!==Array&&(n.content=v.newBuffer(n.content))),n.source=null),null!=e.content&&e.hasOwnProperty("content")&&(n.content=t.bytes===String?v.base64.encode(e.content,0,e.content.length):t.bytes===Array?Array.prototype.slice.call(e.content):e.content),null!=e.source&&e.hasOwnProperty("source")&&(n.source=b.google.cloud.vision.v1p4beta1.ImageSource.toObject(e.source,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.Image"},t}(),s.Likelihood=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="VERY_UNLIKELY"]=1,t[e[2]="UNLIKELY"]=2,t[e[3]="POSSIBLE"]=3,t[e[4]="LIKELY"]=4,t[e[5]="VERY_LIKELY"]=5,t}(),s.FaceAnnotation=function(){function t(e){if(this.landmarks=[],this.recognitionResult=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.fdBoundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.landmarks&&o.landmarks.length||(o.landmarks=[]),o.landmarks.push(b.google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark.decode(e,e.uint32()));break;case 4:o.rollAngle=e.float();break;case 5:o.panAngle=e.float();break;case 6:o.tiltAngle=e.float();break;case 7:o.detectionConfidence=e.float();break;case 8:o.landmarkingConfidence=e.float();break;case 9:o.joyLikelihood=e.int32();break;case 10:o.sorrowLikelihood=e.int32();break;case 11:o.angerLikelihood=e.int32();break;case 12:o.surpriseLikelihood=e.int32();break;case 13:o.underExposedLikelihood=e.int32();break;case 14:o.blurredLikelihood=e.int32();break;case 15:o.headwearLikelihood=e.int32();break;case 16:o.recognitionResult&&o.recognitionResult.length||(o.recognitionResult=[]),o.recognitionResult.push(b.google.cloud.vision.v1p4beta1.FaceRecognitionResult.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.fdBoundingPoly&&e.hasOwnProperty("fdBoundingPoly")&&(n=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.fdBoundingPoly)))return"fdBoundingPoly."+n;if(null!=e.landmarks&&e.hasOwnProperty("landmarks")){if(!Array.isArray(e.landmarks))return"landmarks: array expected";for(var t=0;t>>3){case 3:o.type=e.int32();break;case 4:o.position=b.google.cloud.vision.v1p4beta1.Position.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:}if(null!=e.position&&e.hasOwnProperty("position")){var t=b.google.cloud.vision.v1p4beta1.Position.verify(e.position);if(t)return"position."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark)return e;var t=new b.google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark;switch(e.type){case"UNKNOWN_LANDMARK":case 0:t.type=0;break;case"LEFT_EYE":case 1:t.type=1;break;case"RIGHT_EYE":case 2:t.type=2;break;case"LEFT_OF_LEFT_EYEBROW":case 3:t.type=3;break;case"RIGHT_OF_LEFT_EYEBROW":case 4:t.type=4;break;case"LEFT_OF_RIGHT_EYEBROW":case 5:t.type=5;break;case"RIGHT_OF_RIGHT_EYEBROW":case 6:t.type=6;break;case"MIDPOINT_BETWEEN_EYES":case 7:t.type=7;break;case"NOSE_TIP":case 8:t.type=8;break;case"UPPER_LIP":case 9:t.type=9;break;case"LOWER_LIP":case 10:t.type=10;break;case"MOUTH_LEFT":case 11:t.type=11;break;case"MOUTH_RIGHT":case 12:t.type=12;break;case"MOUTH_CENTER":case 13:t.type=13;break;case"NOSE_BOTTOM_RIGHT":case 14:t.type=14;break;case"NOSE_BOTTOM_LEFT":case 15:t.type=15;break;case"NOSE_BOTTOM_CENTER":case 16:t.type=16;break;case"LEFT_EYE_TOP_BOUNDARY":case 17:t.type=17;break;case"LEFT_EYE_RIGHT_CORNER":case 18:t.type=18;break;case"LEFT_EYE_BOTTOM_BOUNDARY":case 19:t.type=19;break;case"LEFT_EYE_LEFT_CORNER":case 20:t.type=20;break;case"RIGHT_EYE_TOP_BOUNDARY":case 21:t.type=21;break;case"RIGHT_EYE_RIGHT_CORNER":case 22:t.type=22;break;case"RIGHT_EYE_BOTTOM_BOUNDARY":case 23:t.type=23;break;case"RIGHT_EYE_LEFT_CORNER":case 24:t.type=24;break;case"LEFT_EYEBROW_UPPER_MIDPOINT":case 25:t.type=25;break;case"RIGHT_EYEBROW_UPPER_MIDPOINT":case 26:t.type=26;break;case"LEFT_EAR_TRAGION":case 27:t.type=27;break;case"RIGHT_EAR_TRAGION":case 28:t.type=28;break;case"LEFT_EYE_PUPIL":case 29:t.type=29;break;case"RIGHT_EYE_PUPIL":case 30:t.type=30;break;case"FOREHEAD_GLABELLA":case 31:t.type=31;break;case"CHIN_GNATHION":case 32:t.type=32;break;case"CHIN_LEFT_GONION":case 33:t.type=33;break;case"CHIN_RIGHT_GONION":case 34:t.type=34}if(null!=e.position){if("object"!=typeof e.position)throw TypeError(".google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark.position: object expected");t.position=b.google.cloud.vision.v1p4beta1.Position.fromObject(e.position)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN_LANDMARK":0,n.position=null),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark.Type[e.type]:e.type),null!=e.position&&e.hasOwnProperty("position")&&(n.position=b.google.cloud.vision.v1p4beta1.Position.toObject(e.position,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN_LANDMARK"]=0,t[e[1]="LEFT_EYE"]=1,t[e[2]="RIGHT_EYE"]=2,t[e[3]="LEFT_OF_LEFT_EYEBROW"]=3,t[e[4]="RIGHT_OF_LEFT_EYEBROW"]=4,t[e[5]="LEFT_OF_RIGHT_EYEBROW"]=5,t[e[6]="RIGHT_OF_RIGHT_EYEBROW"]=6,t[e[7]="MIDPOINT_BETWEEN_EYES"]=7,t[e[8]="NOSE_TIP"]=8,t[e[9]="UPPER_LIP"]=9,t[e[10]="LOWER_LIP"]=10,t[e[11]="MOUTH_LEFT"]=11,t[e[12]="MOUTH_RIGHT"]=12,t[e[13]="MOUTH_CENTER"]=13,t[e[14]="NOSE_BOTTOM_RIGHT"]=14,t[e[15]="NOSE_BOTTOM_LEFT"]=15,t[e[16]="NOSE_BOTTOM_CENTER"]=16,t[e[17]="LEFT_EYE_TOP_BOUNDARY"]=17,t[e[18]="LEFT_EYE_RIGHT_CORNER"]=18,t[e[19]="LEFT_EYE_BOTTOM_BOUNDARY"]=19,t[e[20]="LEFT_EYE_LEFT_CORNER"]=20,t[e[21]="RIGHT_EYE_TOP_BOUNDARY"]=21,t[e[22]="RIGHT_EYE_RIGHT_CORNER"]=22,t[e[23]="RIGHT_EYE_BOTTOM_BOUNDARY"]=23,t[e[24]="RIGHT_EYE_LEFT_CORNER"]=24,t[e[25]="LEFT_EYEBROW_UPPER_MIDPOINT"]=25,t[e[26]="RIGHT_EYEBROW_UPPER_MIDPOINT"]=26,t[e[27]="LEFT_EAR_TRAGION"]=27,t[e[28]="RIGHT_EAR_TRAGION"]=28,t[e[29]="LEFT_EYE_PUPIL"]=29,t[e[30]="RIGHT_EYE_PUPIL"]=30,t[e[31]="FOREHEAD_GLABELLA"]=31,t[e[32]="CHIN_GNATHION"]=32,t[e[33]="CHIN_LEFT_GONION"]=33,t[e[34]="CHIN_RIGHT_GONION"]=34,t}(),t}(),t}(),s.LocationInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.latLng=b.google.type.LatLng.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.latLng&&e.hasOwnProperty("latLng")){var t=b.google.type.LatLng.verify(e.latLng);if(t)return"latLng."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.LocationInfo)return e;var t=new b.google.cloud.vision.v1p4beta1.LocationInfo;if(null!=e.latLng){if("object"!=typeof e.latLng)throw TypeError(".google.cloud.vision.v1p4beta1.LocationInfo.latLng: object expected");t.latLng=b.google.type.LatLng.fromObject(e.latLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.latLng=null),null!=e.latLng&&e.hasOwnProperty("latLng")&&(n.latLng=b.google.type.LatLng.toObject(e.latLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.LocationInfo"},t}(),s.Property=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value=e.string();break;case 3:o.uint64Value=e.uint64();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&!(v.isInteger(e.uint64Value)||e.uint64Value&&v.isInteger(e.uint64Value.low)&&v.isInteger(e.uint64Value.high))?"uint64Value: integer|Long expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.Property)return e;var t=new b.google.cloud.vision.v1p4beta1.Property;return null!=e.name&&(t.name=String(e.name)),null!=e.value&&(t.value=String(e.value)),null!=e.uint64Value&&(v.Long?(t.uint64Value=v.Long.fromValue(e.uint64Value)).unsigned=!0:"string"==typeof e.uint64Value?t.uint64Value=parseInt(e.uint64Value,10):"number"==typeof e.uint64Value?t.uint64Value=e.uint64Value:"object"==typeof e.uint64Value&&(t.uint64Value=new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0))),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(n.name="",n.value="",v.Long){var o=new v.Long(0,0,!0);n.uint64Value=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.uint64Value=t.longs===String?"0":0;return null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&("number"==typeof e.uint64Value?n.uint64Value=t.longs===String?String(e.uint64Value):e.uint64Value:n.uint64Value=t.longs===String?v.Long.prototype.toString.call(e.uint64Value):t.longs===Number?new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0):e.uint64Value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.Property"},t}(),s.EntityAnnotation=function(){function t(e){if(this.locations=[],this.properties=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.mid=e.string();break;case 2:o.locale=e.string();break;case 3:o.description=e.string();break;case 4:o.score=e.float();break;case 5:o.confidence=e.float();break;case 6:o.topicality=e.float();break;case 7:o.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 8:o.locations&&o.locations.length||(o.locations=[]),o.locations.push(b.google.cloud.vision.v1p4beta1.LocationInfo.decode(e,e.uint32()));break;case 9:o.properties&&o.properties.length||(o.properties=[]),o.properties.push(b.google.cloud.vision.v1p4beta1.Property.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid))return"mid: string expected";if(null!=e.locale&&e.hasOwnProperty("locale")&&!v.isString(e.locale))return"locale: string expected";if(null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description))return"description: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence)return"confidence: number expected";if(null!=e.topicality&&e.hasOwnProperty("topicality")&&"number"!=typeof e.topicality)return"topicality: number expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.locations&&e.hasOwnProperty("locations")){if(!Array.isArray(e.locations))return"locations: array expected";for(var t=0;t>>3){case 1:o.mid=e.string();break;case 2:o.languageCode=e.string();break;case 3:o.name=e.string();break;case 4:o.score=e.float();break;case 5:o.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid))return"mid: string expected";if(null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode))return"languageCode: string expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation)return e;var t=new b.google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation;if(null!=e.mid&&(t.mid=String(e.mid)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.name&&(t.name=String(e.name)),null!=e.score&&(t.score=Number(e.score)),null!=e.boundingPoly){if("object"!=typeof e.boundingPoly)throw TypeError(".google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation.boundingPoly: object expected");t.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.fromObject(e.boundingPoly)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.mid="",n.languageCode="",n.name="",n.score=0,n.boundingPoly=null),null!=e.mid&&e.hasOwnProperty("mid")&&(n.mid=e.mid),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.toObject(e.boundingPoly,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation"},t}(),s.SafeSearchAnnotation=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.adult=e.int32();break;case 2:o.spoof=e.int32();break;case 3:o.medical=e.int32();break;case 4:o.violence=e.int32();break;case 9:o.racy=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.adult&&e.hasOwnProperty("adult"))switch(e.adult){default:return"adult: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.spoof&&e.hasOwnProperty("spoof"))switch(e.spoof){default:return"spoof: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.medical&&e.hasOwnProperty("medical"))switch(e.medical){default:return"medical: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.violence&&e.hasOwnProperty("violence"))switch(e.violence){default:return"violence: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.racy&&e.hasOwnProperty("racy"))switch(e.racy){default:return"racy: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.SafeSearchAnnotation)return e;var t=new b.google.cloud.vision.v1p4beta1.SafeSearchAnnotation;switch(e.adult){case"UNKNOWN":case 0:t.adult=0;break;case"VERY_UNLIKELY":case 1:t.adult=1;break;case"UNLIKELY":case 2:t.adult=2;break;case"POSSIBLE":case 3:t.adult=3;break;case"LIKELY":case 4:t.adult=4;break;case"VERY_LIKELY":case 5:t.adult=5}switch(e.spoof){case"UNKNOWN":case 0:t.spoof=0;break;case"VERY_UNLIKELY":case 1:t.spoof=1;break;case"UNLIKELY":case 2:t.spoof=2;break;case"POSSIBLE":case 3:t.spoof=3;break;case"LIKELY":case 4:t.spoof=4;break;case"VERY_LIKELY":case 5:t.spoof=5}switch(e.medical){case"UNKNOWN":case 0:t.medical=0;break;case"VERY_UNLIKELY":case 1:t.medical=1;break;case"UNLIKELY":case 2:t.medical=2;break;case"POSSIBLE":case 3:t.medical=3;break;case"LIKELY":case 4:t.medical=4;break;case"VERY_LIKELY":case 5:t.medical=5}switch(e.violence){case"UNKNOWN":case 0:t.violence=0;break;case"VERY_UNLIKELY":case 1:t.violence=1;break;case"UNLIKELY":case 2:t.violence=2;break;case"POSSIBLE":case 3:t.violence=3;break;case"LIKELY":case 4:t.violence=4;break;case"VERY_LIKELY":case 5:t.violence=5}switch(e.racy){case"UNKNOWN":case 0:t.racy=0;break;case"VERY_UNLIKELY":case 1:t.racy=1;break;case"UNLIKELY":case 2:t.racy=2;break;case"POSSIBLE":case 3:t.racy=3;break;case"LIKELY":case 4:t.racy=4;break;case"VERY_LIKELY":case 5:t.racy=5}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.adult=t.enums===String?"UNKNOWN":0,n.spoof=t.enums===String?"UNKNOWN":0,n.medical=t.enums===String?"UNKNOWN":0,n.violence=t.enums===String?"UNKNOWN":0,n.racy=t.enums===String?"UNKNOWN":0),null!=e.adult&&e.hasOwnProperty("adult")&&(n.adult=t.enums===String?b.google.cloud.vision.v1p4beta1.Likelihood[e.adult]:e.adult),null!=e.spoof&&e.hasOwnProperty("spoof")&&(n.spoof=t.enums===String?b.google.cloud.vision.v1p4beta1.Likelihood[e.spoof]:e.spoof),null!=e.medical&&e.hasOwnProperty("medical")&&(n.medical=t.enums===String?b.google.cloud.vision.v1p4beta1.Likelihood[e.medical]:e.medical),null!=e.violence&&e.hasOwnProperty("violence")&&(n.violence=t.enums===String?b.google.cloud.vision.v1p4beta1.Likelihood[e.violence]:e.violence),null!=e.racy&&e.hasOwnProperty("racy")&&(n.racy=t.enums===String?b.google.cloud.vision.v1p4beta1.Likelihood[e.racy]:e.racy),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.SafeSearchAnnotation"},t}(),s.LatLongRect=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.minLatLng=b.google.type.LatLng.decode(e,e.uint32());break;case 2:o.maxLatLng=b.google.type.LatLng.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(t=b.google.type.LatLng.verify(e.minLatLng))?"minLatLng."+t:null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(t=b.google.type.LatLng.verify(e.maxLatLng))?"maxLatLng."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.LatLongRect)return e;var t=new b.google.cloud.vision.v1p4beta1.LatLongRect;if(null!=e.minLatLng){if("object"!=typeof e.minLatLng)throw TypeError(".google.cloud.vision.v1p4beta1.LatLongRect.minLatLng: object expected");t.minLatLng=b.google.type.LatLng.fromObject(e.minLatLng)}if(null!=e.maxLatLng){if("object"!=typeof e.maxLatLng)throw TypeError(".google.cloud.vision.v1p4beta1.LatLongRect.maxLatLng: object expected");t.maxLatLng=b.google.type.LatLng.fromObject(e.maxLatLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.minLatLng=null,n.maxLatLng=null),null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(n.minLatLng=b.google.type.LatLng.toObject(e.minLatLng,t)),null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(n.maxLatLng=b.google.type.LatLng.toObject(e.maxLatLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.LatLongRect"},t}(),s.ColorInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.color=b.google.type.Color.decode(e,e.uint32());break;case 2:o.score=e.float();break;case 3:o.pixelFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.color&&e.hasOwnProperty("color")){var t=b.google.type.Color.verify(e.color);if(t)return"color."+t}return null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&"number"!=typeof e.pixelFraction?"pixelFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ColorInfo)return e;var t=new b.google.cloud.vision.v1p4beta1.ColorInfo;if(null!=e.color){if("object"!=typeof e.color)throw TypeError(".google.cloud.vision.v1p4beta1.ColorInfo.color: object expected");t.color=b.google.type.Color.fromObject(e.color)}return null!=e.score&&(t.score=Number(e.score)),null!=e.pixelFraction&&(t.pixelFraction=Number(e.pixelFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.color=null,n.score=0,n.pixelFraction=0),null!=e.color&&e.hasOwnProperty("color")&&(n.color=b.google.type.Color.toObject(e.color,t)),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&(n.pixelFraction=t.json&&!isFinite(e.pixelFraction)?String(e.pixelFraction):e.pixelFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ColorInfo"},t}(),s.DominantColorsAnnotation=function(){function t(e){if(this.colors=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.colors&&o.colors.length||(o.colors=[]),o.colors.push(b.google.cloud.vision.v1p4beta1.ColorInfo.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.colors&&e.hasOwnProperty("colors")){if(!Array.isArray(e.colors))return"colors: array expected";for(var t=0;t>>3==1?o.dominantColors=b.google.cloud.vision.v1p4beta1.DominantColorsAnnotation.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.dominantColors&&e.hasOwnProperty("dominantColors")){var t=b.google.cloud.vision.v1p4beta1.DominantColorsAnnotation.verify(e.dominantColors);if(t)return"dominantColors."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ImageProperties)return e;var t=new b.google.cloud.vision.v1p4beta1.ImageProperties;if(null!=e.dominantColors){if("object"!=typeof e.dominantColors)throw TypeError(".google.cloud.vision.v1p4beta1.ImageProperties.dominantColors: object expected");t.dominantColors=b.google.cloud.vision.v1p4beta1.DominantColorsAnnotation.fromObject(e.dominantColors)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.dominantColors=null),null!=e.dominantColors&&e.hasOwnProperty("dominantColors")&&(n.dominantColors=b.google.cloud.vision.v1p4beta1.DominantColorsAnnotation.toObject(e.dominantColors,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ImageProperties"},t}(),s.CropHint=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.confidence=e.float();break;case 3:o.importanceFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}return null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&"number"!=typeof e.importanceFraction?"importanceFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.CropHint)return e;var t=new b.google.cloud.vision.v1p4beta1.CropHint;if(null!=e.boundingPoly){if("object"!=typeof e.boundingPoly)throw TypeError(".google.cloud.vision.v1p4beta1.CropHint.boundingPoly: object expected");t.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.fromObject(e.boundingPoly)}return null!=e.confidence&&(t.confidence=Number(e.confidence)),null!=e.importanceFraction&&(t.importanceFraction=Number(e.importanceFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.boundingPoly=null,n.confidence=0,n.importanceFraction=0),null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.toObject(e.boundingPoly,t)),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&(n.importanceFraction=t.json&&!isFinite(e.importanceFraction)?String(e.importanceFraction):e.importanceFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.CropHint"},t}(),s.CropHintsAnnotation=function(){function t(e){if(this.cropHints=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.cropHints&&o.cropHints.length||(o.cropHints=[]),o.cropHints.push(b.google.cloud.vision.v1p4beta1.CropHint.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.cropHints&&e.hasOwnProperty("cropHints")){if(!Array.isArray(e.cropHints))return"cropHints: array expected";for(var t=0;t>>3==1)if(o.aspectRatios&&o.aspectRatios.length||(o.aspectRatios=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==2?o.includeGeoResults=e.bool():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&"boolean"!=typeof e.includeGeoResults?"includeGeoResults: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.WebDetectionParams)return e;var t=new b.google.cloud.vision.v1p4beta1.WebDetectionParams;return null!=e.includeGeoResults&&(t.includeGeoResults=Boolean(e.includeGeoResults)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.includeGeoResults=!1),null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&(n.includeGeoResults=e.includeGeoResults),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.WebDetectionParams"},t}(),s.TextDetectionParams=function(){function t(e){if(this.advancedOcrOptions=[],e)for(var t=Object.keys(e),n=0;n>>3){case 9:o.enableTextDetectionConfidenceScore=e.bool();break;case 11:o.advancedOcrOptions&&o.advancedOcrOptions.length||(o.advancedOcrOptions=[]),o.advancedOcrOptions.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.enableTextDetectionConfidenceScore&&e.hasOwnProperty("enableTextDetectionConfidenceScore")&&"boolean"!=typeof e.enableTextDetectionConfidenceScore)return"enableTextDetectionConfidenceScore: boolean expected";if(null!=e.advancedOcrOptions&&e.hasOwnProperty("advancedOcrOptions")){if(!Array.isArray(e.advancedOcrOptions))return"advancedOcrOptions: array expected";for(var t=0;t>>3){case 1:o.latLongRect=b.google.cloud.vision.v1p4beta1.LatLongRect.decode(e,e.uint32());break;case 2:o.languageHints&&o.languageHints.length||(o.languageHints=[]),o.languageHints.push(e.string());break;case 4:o.cropHintsParams=b.google.cloud.vision.v1p4beta1.CropHintsParams.decode(e,e.uint32());break;case 10:o.faceRecognitionParams=b.google.cloud.vision.v1p4beta1.FaceRecognitionParams.decode(e,e.uint32());break;case 5:o.productSearchParams=b.google.cloud.vision.v1p4beta1.ProductSearchParams.decode(e,e.uint32());break;case 6:o.webDetectionParams=b.google.cloud.vision.v1p4beta1.WebDetectionParams.decode(e,e.uint32());break;case 12:o.textDetectionParams=b.google.cloud.vision.v1p4beta1.TextDetectionParams.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t;if(null!=e.latLongRect&&e.hasOwnProperty("latLongRect")&&(t=b.google.cloud.vision.v1p4beta1.LatLongRect.verify(e.latLongRect)))return"latLongRect."+t;if(null!=e.languageHints&&e.hasOwnProperty("languageHints")){if(!Array.isArray(e.languageHints))return"languageHints: array expected";for(var n=0;n>>3){case 1:o.image=b.google.cloud.vision.v1p4beta1.Image.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1p4beta1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1p4beta1.ImageContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.image&&e.hasOwnProperty("image")&&(n=b.google.cloud.vision.v1p4beta1.Image.verify(e.image)))return"image."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3){case 1:o.uri=e.string();break;case 2:o.pageNumber=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null!=e.pageNumber&&e.hasOwnProperty("pageNumber")&&!v.isInteger(e.pageNumber)?"pageNumber: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ImageAnnotationContext)return e;var t=new b.google.cloud.vision.v1p4beta1.ImageAnnotationContext;return null!=e.uri&&(t.uri=String(e.uri)),null!=e.pageNumber&&(t.pageNumber=0|e.pageNumber),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri="",n.pageNumber=0),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),null!=e.pageNumber&&e.hasOwnProperty("pageNumber")&&(n.pageNumber=e.pageNumber),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ImageAnnotationContext"},t}(),s.AnnotateImageResponse=function(){function t(e){if(this.faceAnnotations=[],this.landmarkAnnotations=[],this.logoAnnotations=[],this.labelAnnotations=[],this.localizedObjectAnnotations=[],this.textAnnotations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.faceAnnotations&&o.faceAnnotations.length||(o.faceAnnotations=[]),o.faceAnnotations.push(b.google.cloud.vision.v1p4beta1.FaceAnnotation.decode(e,e.uint32()));break;case 2:o.landmarkAnnotations&&o.landmarkAnnotations.length||(o.landmarkAnnotations=[]),o.landmarkAnnotations.push(b.google.cloud.vision.v1p4beta1.EntityAnnotation.decode(e,e.uint32()));break;case 3:o.logoAnnotations&&o.logoAnnotations.length||(o.logoAnnotations=[]),o.logoAnnotations.push(b.google.cloud.vision.v1p4beta1.EntityAnnotation.decode(e,e.uint32()));break;case 4:o.labelAnnotations&&o.labelAnnotations.length||(o.labelAnnotations=[]),o.labelAnnotations.push(b.google.cloud.vision.v1p4beta1.EntityAnnotation.decode(e,e.uint32()));break;case 22:o.localizedObjectAnnotations&&o.localizedObjectAnnotations.length||(o.localizedObjectAnnotations=[]),o.localizedObjectAnnotations.push(b.google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation.decode(e,e.uint32()));break;case 5:o.textAnnotations&&o.textAnnotations.length||(o.textAnnotations=[]),o.textAnnotations.push(b.google.cloud.vision.v1p4beta1.EntityAnnotation.decode(e,e.uint32()));break;case 12:o.fullTextAnnotation=b.google.cloud.vision.v1p4beta1.TextAnnotation.decode(e,e.uint32());break;case 6:o.safeSearchAnnotation=b.google.cloud.vision.v1p4beta1.SafeSearchAnnotation.decode(e,e.uint32());break;case 8:o.imagePropertiesAnnotation=b.google.cloud.vision.v1p4beta1.ImageProperties.decode(e,e.uint32());break;case 11:o.cropHintsAnnotation=b.google.cloud.vision.v1p4beta1.CropHintsAnnotation.decode(e,e.uint32());break;case 13:o.webDetection=b.google.cloud.vision.v1p4beta1.WebDetection.decode(e,e.uint32());break;case 14:o.productSearchResults=b.google.cloud.vision.v1p4beta1.ProductSearchResults.decode(e,e.uint32());break;case 9:o.error=b.google.rpc.Status.decode(e,e.uint32());break;case 21:o.context=b.google.cloud.vision.v1p4beta1.ImageAnnotationContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.faceAnnotations&&e.hasOwnProperty("faceAnnotations")){if(!Array.isArray(e.faceAnnotations))return"faceAnnotations: array expected";for(var t=0;t>>3==1?(o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p4beta1.AnnotateImageRequest.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p4beta1.AnnotateImageResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.inputConfig=b.google.cloud.vision.v1p4beta1.InputConfig.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1p4beta1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1p4beta1.ImageContext.decode(e,e.uint32());break;case 4:if(o.pages&&o.pages.length||(o.pages=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.inputConfig=b.google.cloud.vision.v1p4beta1.InputConfig.decode(e,e.uint32());break;case 2:o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p4beta1.AnnotateImageResponse.decode(e,e.uint32()));break;case 3:o.totalPages=e.int32();break;case 4:o.error=b.google.rpc.Status.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n=b.google.cloud.vision.v1p4beta1.InputConfig.verify(e.inputConfig)))return"inputConfig."+n;if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3==1?(o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p4beta1.AnnotateFileRequest.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p4beta1.AnnotateFileResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.inputConfig=b.google.cloud.vision.v1p4beta1.InputConfig.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1p4beta1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1p4beta1.ImageContext.decode(e,e.uint32());break;case 4:o.outputConfig=b.google.cloud.vision.v1p4beta1.OutputConfig.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n=b.google.cloud.vision.v1p4beta1.InputConfig.verify(e.inputConfig)))return"inputConfig."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3==1?o.outputConfig=b.google.cloud.vision.v1p4beta1.OutputConfig.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.outputConfig&&e.hasOwnProperty("outputConfig")){var t=b.google.cloud.vision.v1p4beta1.OutputConfig.verify(e.outputConfig);if(t)return"outputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse)return e;var t=new b.google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse;if(null!=e.outputConfig){if("object"!=typeof e.outputConfig)throw TypeError(".google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse.outputConfig: object expected");t.outputConfig=b.google.cloud.vision.v1p4beta1.OutputConfig.fromObject(e.outputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.outputConfig=null),null!=e.outputConfig&&e.hasOwnProperty("outputConfig")&&(n.outputConfig=b.google.cloud.vision.v1p4beta1.OutputConfig.toObject(e.outputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse"},t}(),s.AsyncBatchAnnotateImagesRequest=function(){function t(e){if(this.requests=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p4beta1.AnnotateImageRequest.decode(e,e.uint32()));break;case 2:o.outputConfig=b.google.cloud.vision.v1p4beta1.OutputConfig.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?o.outputConfig=b.google.cloud.vision.v1p4beta1.OutputConfig.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.outputConfig&&e.hasOwnProperty("outputConfig")){var t=b.google.cloud.vision.v1p4beta1.OutputConfig.verify(e.outputConfig);if(t)return"outputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse)return e;var t=new b.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse;if(null!=e.outputConfig){if("object"!=typeof e.outputConfig)throw TypeError(".google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse.outputConfig: object expected");t.outputConfig=b.google.cloud.vision.v1p4beta1.OutputConfig.fromObject(e.outputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.outputConfig=null),null!=e.outputConfig&&e.hasOwnProperty("outputConfig")&&(n.outputConfig=b.google.cloud.vision.v1p4beta1.OutputConfig.toObject(e.outputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse"},t}(),s.AsyncBatchAnnotateFilesRequest=function(){function t(e){if(this.requests=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.gcsSource=b.google.cloud.vision.v1p4beta1.GcsSource.decode(e,e.uint32());break;case 3:o.content=e.bytes();break;case 2:o.mimeType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsSource&&e.hasOwnProperty("gcsSource")){var t=b.google.cloud.vision.v1p4beta1.GcsSource.verify(e.gcsSource);if(t)return"gcsSource."+t}return null!=e.content&&e.hasOwnProperty("content")&&!(e.content&&"number"==typeof e.content.length||v.isString(e.content))?"content: buffer expected":null!=e.mimeType&&e.hasOwnProperty("mimeType")&&!v.isString(e.mimeType)?"mimeType: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.InputConfig)return e;var t=new b.google.cloud.vision.v1p4beta1.InputConfig;if(null!=e.gcsSource){if("object"!=typeof e.gcsSource)throw TypeError(".google.cloud.vision.v1p4beta1.InputConfig.gcsSource: object expected");t.gcsSource=b.google.cloud.vision.v1p4beta1.GcsSource.fromObject(e.gcsSource)}return null!=e.content&&("string"==typeof e.content?v.base64.decode(e.content,t.content=v.newBuffer(v.base64.length(e.content)),0):e.content.length>=0&&(t.content=e.content)),null!=e.mimeType&&(t.mimeType=String(e.mimeType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsSource=null,n.mimeType="",t.bytes===String?n.content="":(n.content=[],t.bytes!==Array&&(n.content=v.newBuffer(n.content)))),null!=e.gcsSource&&e.hasOwnProperty("gcsSource")&&(n.gcsSource=b.google.cloud.vision.v1p4beta1.GcsSource.toObject(e.gcsSource,t)),null!=e.mimeType&&e.hasOwnProperty("mimeType")&&(n.mimeType=e.mimeType),null!=e.content&&e.hasOwnProperty("content")&&(n.content=t.bytes===String?v.base64.encode(e.content,0,e.content.length):t.bytes===Array?Array.prototype.slice.call(e.content):e.content),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.InputConfig"},t}(),s.OutputConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsDestination=b.google.cloud.vision.v1p4beta1.GcsDestination.decode(e,e.uint32());break;case 2:o.batchSize=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsDestination&&e.hasOwnProperty("gcsDestination")){var t=b.google.cloud.vision.v1p4beta1.GcsDestination.verify(e.gcsDestination);if(t)return"gcsDestination."+t}return null!=e.batchSize&&e.hasOwnProperty("batchSize")&&!v.isInteger(e.batchSize)?"batchSize: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.OutputConfig)return e;var t=new b.google.cloud.vision.v1p4beta1.OutputConfig;if(null!=e.gcsDestination){if("object"!=typeof e.gcsDestination)throw TypeError(".google.cloud.vision.v1p4beta1.OutputConfig.gcsDestination: object expected");t.gcsDestination=b.google.cloud.vision.v1p4beta1.GcsDestination.fromObject(e.gcsDestination)}return null!=e.batchSize&&(t.batchSize=0|e.batchSize),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsDestination=null,n.batchSize=0),null!=e.gcsDestination&&e.hasOwnProperty("gcsDestination")&&(n.gcsDestination=b.google.cloud.vision.v1p4beta1.GcsDestination.toObject(e.gcsDestination,t)),null!=e.batchSize&&e.hasOwnProperty("batchSize")&&(n.batchSize=e.batchSize),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.OutputConfig"},t}(),s.GcsSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.uri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.GcsSource)return e;var t=new b.google.cloud.vision.v1p4beta1.GcsSource;return null!=e.uri&&(t.uri=String(e.uri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri=""),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.GcsSource"},t}(),s.GcsDestination=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.uri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.GcsDestination)return e;var t=new b.google.cloud.vision.v1p4beta1.GcsDestination;return null!=e.uri&&(t.uri=String(e.uri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri=""),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.GcsDestination"},t}(),s.OperationMetadata=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.state=e.int32();break;case 5:o.createTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 6:o.updateTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:case 3:case 4:}var t;return null!=e.createTime&&e.hasOwnProperty("createTime")&&(t=b.google.protobuf.Timestamp.verify(e.createTime))?"createTime."+t:null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(t=b.google.protobuf.Timestamp.verify(e.updateTime))?"updateTime."+t:null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.OperationMetadata)return e;var t=new b.google.cloud.vision.v1p4beta1.OperationMetadata;switch(e.state){case"STATE_UNSPECIFIED":case 0:t.state=0;break;case"CREATED":case 1:t.state=1;break;case"RUNNING":case 2:t.state=2;break;case"DONE":case 3:t.state=3;break;case"CANCELLED":case 4:t.state=4}if(null!=e.createTime){if("object"!=typeof e.createTime)throw TypeError(".google.cloud.vision.v1p4beta1.OperationMetadata.createTime: object expected");t.createTime=b.google.protobuf.Timestamp.fromObject(e.createTime)}if(null!=e.updateTime){if("object"!=typeof e.updateTime)throw TypeError(".google.cloud.vision.v1p4beta1.OperationMetadata.updateTime: object expected");t.updateTime=b.google.protobuf.Timestamp.fromObject(e.updateTime)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.state=t.enums===String?"STATE_UNSPECIFIED":0,n.createTime=null,n.updateTime=null),null!=e.state&&e.hasOwnProperty("state")&&(n.state=t.enums===String?b.google.cloud.vision.v1p4beta1.OperationMetadata.State[e.state]:e.state),null!=e.createTime&&e.hasOwnProperty("createTime")&&(n.createTime=b.google.protobuf.Timestamp.toObject(e.createTime,t)),null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(n.updateTime=b.google.protobuf.Timestamp.toObject(e.updateTime,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.OperationMetadata"},t.State=function(){var e={},t=Object.create(e);return t[e[0]="STATE_UNSPECIFIED"]=0,t[e[1]="CREATED"]=1,t[e[2]="RUNNING"]=2,t[e[3]="DONE"]=3,t[e[4]="CANCELLED"]=4,t}(),t}(),s.ProductSearchParams=function(){function t(e){if(this.productCategories=[],e)for(var t=Object.keys(e),n=0;n>>3){case 9:o.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 6:o.productSet=e.string();break;case 7:o.productCategories&&o.productCategories.length||(o.productCategories=[]),o.productCategories.push(e.string());break;case 8:o.filter=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}if(null!=e.productSet&&e.hasOwnProperty("productSet")&&!v.isString(e.productSet))return"productSet: string expected";if(null!=e.productCategories&&e.hasOwnProperty("productCategories")){if(!Array.isArray(e.productCategories))return"productCategories: array expected";for(var n=0;n>>3){case 2:o.indexTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 5:o.results&&o.results.length||(o.results=[]),o.results.push(b.google.cloud.vision.v1p4beta1.ProductSearchResults.Result.decode(e,e.uint32()));break;case 6:o.productGroupedResults&&o.productGroupedResults.length||(o.productGroupedResults=[]),o.productGroupedResults.push(b.google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(n=b.google.protobuf.Timestamp.verify(e.indexTime)))return"indexTime."+n;if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:o.product=b.google.cloud.vision.v1p4beta1.Product.decode(e,e.uint32());break;case 2:o.score=e.float();break;case 3:o.image=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.product&&e.hasOwnProperty("product")){var t=b.google.cloud.vision.v1p4beta1.Product.verify(e.product);if(t)return"product."+t}return null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.image&&e.hasOwnProperty("image")&&!v.isString(e.image)?"image: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ProductSearchResults.Result)return e;var t=new b.google.cloud.vision.v1p4beta1.ProductSearchResults.Result;if(null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1p4beta1.ProductSearchResults.Result.product: object expected");t.product=b.google.cloud.vision.v1p4beta1.Product.fromObject(e.product)}return null!=e.score&&(t.score=Number(e.score)),null!=e.image&&(t.image=String(e.image)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.product=null,n.score=0,n.image=""),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1p4beta1.Product.toObject(e.product,t)),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.image&&e.hasOwnProperty("image")&&(n.image=e.image),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ProductSearchResults.Result"},t}(),t.ObjectAnnotation=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.mid=e.string();break;case 2:o.languageCode=e.string();break;case 3:o.name=e.string();break;case 4:o.score=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid)?"mid: string expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation)return e;var t=new b.google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation;return null!=e.mid&&(t.mid=String(e.mid)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.name&&(t.name=String(e.name)),null!=e.score&&(t.score=Number(e.score)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.mid="",n.languageCode="",n.name="",n.score=0),null!=e.mid&&e.hasOwnProperty("mid")&&(n.mid=e.mid),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation"},t}(),t.GroupedResult=function(){function t(e){if(this.results=[],this.objectAnnotations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.results&&o.results.length||(o.results=[]),o.results.push(b.google.cloud.vision.v1p4beta1.ProductSearchResults.Result.decode(e,e.uint32()));break;case 3:o.objectAnnotations&&o.objectAnnotations.length||(o.objectAnnotations=[]),o.objectAnnotations.push(b.google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.displayName=e.string();break;case 3:o.description=e.string();break;case 4:o.productCategory=e.string();break;case 5:o.productLabels&&o.productLabels.length||(o.productLabels=[]),o.productLabels.push(b.google.cloud.vision.v1p4beta1.Product.KeyValue.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.displayName&&e.hasOwnProperty("displayName")&&!v.isString(e.displayName))return"displayName: string expected";if(null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description))return"description: string expected";if(null!=e.productCategory&&e.hasOwnProperty("productCategory")&&!v.isString(e.productCategory))return"productCategory: string expected";if(null!=e.productLabels&&e.hasOwnProperty("productLabels")){if(!Array.isArray(e.productLabels))return"productLabels: array expected";for(var t=0;t>>3){case 1:o.key=e.string();break;case 2:o.value=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.key&&e.hasOwnProperty("key")&&!v.isString(e.key)?"key: string expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.Product.KeyValue)return e;var t=new b.google.cloud.vision.v1p4beta1.Product.KeyValue;return null!=e.key&&(t.key=String(e.key)),null!=e.value&&(t.value=String(e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.key="",n.value=""),null!=e.key&&e.hasOwnProperty("key")&&(n.key=e.key),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.Product.KeyValue"},t}(),t}(),s.ProductSet=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.displayName=e.string();break;case 3:o.indexTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 4:o.indexError=b.google.rpc.Status.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.displayName&&e.hasOwnProperty("displayName")&&!v.isString(e.displayName)?"displayName: string expected":null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(t=b.google.protobuf.Timestamp.verify(e.indexTime))?"indexTime."+t:null!=e.indexError&&e.hasOwnProperty("indexError")&&(t=b.google.rpc.Status.verify(e.indexError))?"indexError."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ProductSet)return e;var t=new b.google.cloud.vision.v1p4beta1.ProductSet;if(null!=e.name&&(t.name=String(e.name)),null!=e.displayName&&(t.displayName=String(e.displayName)),null!=e.indexTime){if("object"!=typeof e.indexTime)throw TypeError(".google.cloud.vision.v1p4beta1.ProductSet.indexTime: object expected");t.indexTime=b.google.protobuf.Timestamp.fromObject(e.indexTime)}if(null!=e.indexError){if("object"!=typeof e.indexError)throw TypeError(".google.cloud.vision.v1p4beta1.ProductSet.indexError: object expected");t.indexError=b.google.rpc.Status.fromObject(e.indexError)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.displayName="",n.indexTime=null,n.indexError=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.displayName&&e.hasOwnProperty("displayName")&&(n.displayName=e.displayName),null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(n.indexTime=b.google.protobuf.Timestamp.toObject(e.indexTime,t)),null!=e.indexError&&e.hasOwnProperty("indexError")&&(n.indexError=b.google.rpc.Status.toObject(e.indexError,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ProductSet"},t}(),s.ReferenceImage=function(){function t(e){if(this.boundingPolys=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.uri=e.string();break;case 3:o.boundingPolys&&o.boundingPolys.length||(o.boundingPolys=[]),o.boundingPolys.push(b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri))return"uri: string expected";if(null!=e.boundingPolys&&e.hasOwnProperty("boundingPolys")){if(!Array.isArray(e.boundingPolys))return"boundingPolys: array expected";for(var t=0;t>>3){case 1:o.parent=e.string();break;case 2:o.product=b.google.cloud.vision.v1p4beta1.Product.decode(e,e.uint32());break;case 3:o.productId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.product&&e.hasOwnProperty("product")){var t=b.google.cloud.vision.v1p4beta1.Product.verify(e.product);if(t)return"product."+t}return null!=e.productId&&e.hasOwnProperty("productId")&&!v.isString(e.productId)?"productId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.CreateProductRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.CreateProductRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1p4beta1.CreateProductRequest.product: object expected");t.product=b.google.cloud.vision.v1p4beta1.Product.fromObject(e.product)}return null!=e.productId&&(t.productId=String(e.productId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.product=null,n.productId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1p4beta1.Product.toObject(e.product,t)),null!=e.productId&&e.hasOwnProperty("productId")&&(n.productId=e.productId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.CreateProductRequest"},t}(),s.ListProductsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ListProductsRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.ListProductsRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ListProductsRequest"},t}(),s.ListProductsResponse=function(){function t(e){if(this.products=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.products&&o.products.length||(o.products=[]),o.products.push(b.google.cloud.vision.v1p4beta1.Product.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.products&&e.hasOwnProperty("products")){if(!Array.isArray(e.products))return"products: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.GetProductRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.GetProductRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.GetProductRequest"},t}(),s.UpdateProductRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.product=b.google.cloud.vision.v1p4beta1.Product.decode(e,e.uint32());break;case 2:o.updateMask=b.google.protobuf.FieldMask.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.product&&e.hasOwnProperty("product")&&(t=b.google.cloud.vision.v1p4beta1.Product.verify(e.product))?"product."+t:null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(t=b.google.protobuf.FieldMask.verify(e.updateMask))?"updateMask."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.UpdateProductRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.UpdateProductRequest;if(null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1p4beta1.UpdateProductRequest.product: object expected");t.product=b.google.cloud.vision.v1p4beta1.Product.fromObject(e.product)}if(null!=e.updateMask){if("object"!=typeof e.updateMask)throw TypeError(".google.cloud.vision.v1p4beta1.UpdateProductRequest.updateMask: object expected");t.updateMask=b.google.protobuf.FieldMask.fromObject(e.updateMask)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.product=null,n.updateMask=null),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1p4beta1.Product.toObject(e.product,t)),null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(n.updateMask=b.google.protobuf.FieldMask.toObject(e.updateMask,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.UpdateProductRequest"},t}(),s.DeleteProductRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.DeleteProductRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.DeleteProductRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.DeleteProductRequest"},t}(),s.CreateProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.productSet=b.google.cloud.vision.v1p4beta1.ProductSet.decode(e,e.uint32());break;case 3:o.productSetId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.productSet&&e.hasOwnProperty("productSet")){var t=b.google.cloud.vision.v1p4beta1.ProductSet.verify(e.productSet);if(t)return"productSet."+t}return null!=e.productSetId&&e.hasOwnProperty("productSetId")&&!v.isString(e.productSetId)?"productSetId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.CreateProductSetRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.CreateProductSetRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.productSet){if("object"!=typeof e.productSet)throw TypeError(".google.cloud.vision.v1p4beta1.CreateProductSetRequest.productSet: object expected");t.productSet=b.google.cloud.vision.v1p4beta1.ProductSet.fromObject(e.productSet)}return null!=e.productSetId&&(t.productSetId=String(e.productSetId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.productSet=null,n.productSetId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.productSet&&e.hasOwnProperty("productSet")&&(n.productSet=b.google.cloud.vision.v1p4beta1.ProductSet.toObject(e.productSet,t)),null!=e.productSetId&&e.hasOwnProperty("productSetId")&&(n.productSetId=e.productSetId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.CreateProductSetRequest"},t}(),s.ListProductSetsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ListProductSetsRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.ListProductSetsRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ListProductSetsRequest"},t}(),s.ListProductSetsResponse=function(){function t(e){if(this.productSets=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.productSets&&o.productSets.length||(o.productSets=[]),o.productSets.push(b.google.cloud.vision.v1p4beta1.ProductSet.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.productSets&&e.hasOwnProperty("productSets")){if(!Array.isArray(e.productSets))return"productSets: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.GetProductSetRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.GetProductSetRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.GetProductSetRequest"},t}(),s.UpdateProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.productSet=b.google.cloud.vision.v1p4beta1.ProductSet.decode(e,e.uint32());break;case 2:o.updateMask=b.google.protobuf.FieldMask.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.productSet&&e.hasOwnProperty("productSet")&&(t=b.google.cloud.vision.v1p4beta1.ProductSet.verify(e.productSet))?"productSet."+t:null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(t=b.google.protobuf.FieldMask.verify(e.updateMask))?"updateMask."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.UpdateProductSetRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.UpdateProductSetRequest;if(null!=e.productSet){if("object"!=typeof e.productSet)throw TypeError(".google.cloud.vision.v1p4beta1.UpdateProductSetRequest.productSet: object expected");t.productSet=b.google.cloud.vision.v1p4beta1.ProductSet.fromObject(e.productSet)}if(null!=e.updateMask){if("object"!=typeof e.updateMask)throw TypeError(".google.cloud.vision.v1p4beta1.UpdateProductSetRequest.updateMask: object expected");t.updateMask=b.google.protobuf.FieldMask.fromObject(e.updateMask)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.productSet=null,n.updateMask=null),null!=e.productSet&&e.hasOwnProperty("productSet")&&(n.productSet=b.google.cloud.vision.v1p4beta1.ProductSet.toObject(e.productSet,t)),null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(n.updateMask=b.google.protobuf.FieldMask.toObject(e.updateMask,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.UpdateProductSetRequest"},t}(),s.DeleteProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.DeleteProductSetRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.DeleteProductSetRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.DeleteProductSetRequest"},t}(),s.CreateReferenceImageRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.referenceImage=b.google.cloud.vision.v1p4beta1.ReferenceImage.decode(e,e.uint32());break;case 3:o.referenceImageId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.referenceImage&&e.hasOwnProperty("referenceImage")){var t=b.google.cloud.vision.v1p4beta1.ReferenceImage.verify(e.referenceImage);if(t)return"referenceImage."+t}return null!=e.referenceImageId&&e.hasOwnProperty("referenceImageId")&&!v.isString(e.referenceImageId)?"referenceImageId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.CreateReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.CreateReferenceImageRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.referenceImage){if("object"!=typeof e.referenceImage)throw TypeError(".google.cloud.vision.v1p4beta1.CreateReferenceImageRequest.referenceImage: object expected");t.referenceImage=b.google.cloud.vision.v1p4beta1.ReferenceImage.fromObject(e.referenceImage)}return null!=e.referenceImageId&&(t.referenceImageId=String(e.referenceImageId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.referenceImage=null,n.referenceImageId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.referenceImage&&e.hasOwnProperty("referenceImage")&&(n.referenceImage=b.google.cloud.vision.v1p4beta1.ReferenceImage.toObject(e.referenceImage,t)),null!=e.referenceImageId&&e.hasOwnProperty("referenceImageId")&&(n.referenceImageId=e.referenceImageId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.CreateReferenceImageRequest"},t}(),s.ListReferenceImagesRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ListReferenceImagesRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.ListReferenceImagesRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ListReferenceImagesRequest"},t}(),s.ListReferenceImagesResponse=function(){function t(e){if(this.referenceImages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.referenceImages&&o.referenceImages.length||(o.referenceImages=[]),o.referenceImages.push(b.google.cloud.vision.v1p4beta1.ReferenceImage.decode(e,e.uint32()));break;case 2:o.pageSize=e.int32();break;case 3:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.referenceImages&&e.hasOwnProperty("referenceImages")){if(!Array.isArray(e.referenceImages))return"referenceImages: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.GetReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.GetReferenceImageRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.GetReferenceImageRequest"},t}(),s.DeleteReferenceImageRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.DeleteReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.DeleteReferenceImageRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.DeleteReferenceImageRequest"},t}(),s.AddProductToProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.product=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.product&&e.hasOwnProperty("product")&&!v.isString(e.product)?"product: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.AddProductToProductSetRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.AddProductToProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.product&&(t.product=String(e.product)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.product=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.product&&e.hasOwnProperty("product")&&(n.product=e.product),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.AddProductToProductSetRequest"},t}(),s.RemoveProductFromProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.product=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.product&&e.hasOwnProperty("product")&&!v.isString(e.product)?"product: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.RemoveProductFromProductSetRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.RemoveProductFromProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.product&&(t.product=String(e.product)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.product=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.product&&e.hasOwnProperty("product")&&(n.product=e.product),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.RemoveProductFromProductSetRequest"},t}(),s.ListProductsInProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ListProductsInProductSetRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.ListProductsInProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.pageSize=0,n.pageToken=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ListProductsInProductSetRequest"},t}(),s.ListProductsInProductSetResponse=function(){function t(e){if(this.products=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.products&&o.products.length||(o.products=[]),o.products.push(b.google.cloud.vision.v1p4beta1.Product.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.products&&e.hasOwnProperty("products")){if(!Array.isArray(e.products))return"products: array expected";for(var t=0;t>>3==1?o.csvFileUri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.csvFileUri&&e.hasOwnProperty("csvFileUri")&&!v.isString(e.csvFileUri)?"csvFileUri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource)return e;var t=new b.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource;return null!=e.csvFileUri&&(t.csvFileUri=String(e.csvFileUri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.csvFileUri=""),null!=e.csvFileUri&&e.hasOwnProperty("csvFileUri")&&(n.csvFileUri=e.csvFileUri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource"},t}(),s.ImportProductSetsInputConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.gcsSource=b.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsSource&&e.hasOwnProperty("gcsSource")){var t=b.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource.verify(e.gcsSource);if(t)return"gcsSource."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig)return e;var t=new b.google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig;if(null!=e.gcsSource){if("object"!=typeof e.gcsSource)throw TypeError(".google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig.gcsSource: object expected");t.gcsSource=b.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource.fromObject(e.gcsSource)}return t},t.toObject=function(e,t){t||(t={});var n={};return null!=e.gcsSource&&e.hasOwnProperty("gcsSource")&&(n.gcsSource=b.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource.toObject(e.gcsSource,t),t.oneofs&&(n.source="gcsSource")),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig"},t}(),s.ImportProductSetsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.inputConfig=b.google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")){var t=b.google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig.verify(e.inputConfig);if(t)return"inputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ImportProductSetsRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.ImportProductSetsRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.inputConfig){if("object"!=typeof e.inputConfig)throw TypeError(".google.cloud.vision.v1p4beta1.ImportProductSetsRequest.inputConfig: object expected");t.inputConfig=b.google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig.fromObject(e.inputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.inputConfig=null),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n.inputConfig=b.google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig.toObject(e.inputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ImportProductSetsRequest"},t}(),s.ImportProductSetsResponse=function(){function t(e){if(this.referenceImages=[],this.statuses=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.referenceImages&&o.referenceImages.length||(o.referenceImages=[]),o.referenceImages.push(b.google.cloud.vision.v1p4beta1.ReferenceImage.decode(e,e.uint32()));break;case 2:o.statuses&&o.statuses.length||(o.statuses=[]),o.statuses.push(b.google.rpc.Status.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.referenceImages&&e.hasOwnProperty("referenceImages")){if(!Array.isArray(e.referenceImages))return"referenceImages: array expected";for(var t=0;t>>3){case 1:o.state=e.int32();break;case 2:o.submitTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 3:o.endTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:case 3:case 4:}var t;return null!=e.submitTime&&e.hasOwnProperty("submitTime")&&(t=b.google.protobuf.Timestamp.verify(e.submitTime))?"submitTime."+t:null!=e.endTime&&e.hasOwnProperty("endTime")&&(t=b.google.protobuf.Timestamp.verify(e.endTime))?"endTime."+t:null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.BatchOperationMetadata)return e;var t=new b.google.cloud.vision.v1p4beta1.BatchOperationMetadata;switch(e.state){case"STATE_UNSPECIFIED":case 0:t.state=0;break;case"PROCESSING":case 1:t.state=1;break;case"SUCCESSFUL":case 2:t.state=2;break;case"FAILED":case 3:t.state=3;break;case"CANCELLED":case 4:t.state=4}if(null!=e.submitTime){if("object"!=typeof e.submitTime)throw TypeError(".google.cloud.vision.v1p4beta1.BatchOperationMetadata.submitTime: object expected");t.submitTime=b.google.protobuf.Timestamp.fromObject(e.submitTime)}if(null!=e.endTime){if("object"!=typeof e.endTime)throw TypeError(".google.cloud.vision.v1p4beta1.BatchOperationMetadata.endTime: object expected");t.endTime=b.google.protobuf.Timestamp.fromObject(e.endTime)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.state=t.enums===String?"STATE_UNSPECIFIED":0,n.submitTime=null,n.endTime=null),null!=e.state&&e.hasOwnProperty("state")&&(n.state=t.enums===String?b.google.cloud.vision.v1p4beta1.BatchOperationMetadata.State[e.state]:e.state),null!=e.submitTime&&e.hasOwnProperty("submitTime")&&(n.submitTime=b.google.protobuf.Timestamp.toObject(e.submitTime,t)),null!=e.endTime&&e.hasOwnProperty("endTime")&&(n.endTime=b.google.protobuf.Timestamp.toObject(e.endTime,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.BatchOperationMetadata"},t.State=function(){var e={},t=Object.create(e);return t[e[0]="STATE_UNSPECIFIED"]=0,t[e[1]="PROCESSING"]=1,t[e[2]="SUCCESSFUL"]=2,t[e[3]="FAILED"]=3,t[e[4]="CANCELLED"]=4,t}(),t}(),s.ProductSetPurgeConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.productSetId=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.productSetId&&e.hasOwnProperty("productSetId")&&!v.isString(e.productSetId)?"productSetId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ProductSetPurgeConfig)return e;var t=new b.google.cloud.vision.v1p4beta1.ProductSetPurgeConfig;return null!=e.productSetId&&(t.productSetId=String(e.productSetId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.productSetId=""),null!=e.productSetId&&e.hasOwnProperty("productSetId")&&(n.productSetId=e.productSetId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ProductSetPurgeConfig"},t}(),s.PurgeProductsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 2:o.productSetPurgeConfig=b.google.cloud.vision.v1p4beta1.ProductSetPurgeConfig.decode(e,e.uint32());break;case 3:o.deleteOrphanProducts=e.bool();break;case 1:o.parent=e.string();break;case 4:o.force=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t={};if(null!=e.productSetPurgeConfig&&e.hasOwnProperty("productSetPurgeConfig")){t.target=1;var n=b.google.cloud.vision.v1p4beta1.ProductSetPurgeConfig.verify(e.productSetPurgeConfig);if(n)return"productSetPurgeConfig."+n}if(null!=e.deleteOrphanProducts&&e.hasOwnProperty("deleteOrphanProducts")){if(1===t.target)return"target: multiple values";if(t.target=1,"boolean"!=typeof e.deleteOrphanProducts)return"deleteOrphanProducts: boolean expected"}return null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.force&&e.hasOwnProperty("force")&&"boolean"!=typeof e.force?"force: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.PurgeProductsRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.PurgeProductsRequest;if(null!=e.productSetPurgeConfig){if("object"!=typeof e.productSetPurgeConfig)throw TypeError(".google.cloud.vision.v1p4beta1.PurgeProductsRequest.productSetPurgeConfig: object expected");t.productSetPurgeConfig=b.google.cloud.vision.v1p4beta1.ProductSetPurgeConfig.fromObject(e.productSetPurgeConfig)}return null!=e.deleteOrphanProducts&&(t.deleteOrphanProducts=Boolean(e.deleteOrphanProducts)),null!=e.parent&&(t.parent=String(e.parent)),null!=e.force&&(t.force=Boolean(e.force)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.force=!1),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.productSetPurgeConfig&&e.hasOwnProperty("productSetPurgeConfig")&&(n.productSetPurgeConfig=b.google.cloud.vision.v1p4beta1.ProductSetPurgeConfig.toObject(e.productSetPurgeConfig,t),t.oneofs&&(n.target="productSetPurgeConfig")),null!=e.deleteOrphanProducts&&e.hasOwnProperty("deleteOrphanProducts")&&(n.deleteOrphanProducts=e.deleteOrphanProducts,t.oneofs&&(n.target="deleteOrphanProducts")),null!=e.force&&e.hasOwnProperty("force")&&(n.force=e.force),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.PurgeProductsRequest"},t}(),s.TextAnnotation=function(){function t(e){if(this.pages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.pages&&o.pages.length||(o.pages=[]),o.pages.push(b.google.cloud.vision.v1p4beta1.Page.decode(e,e.uint32()));break;case 2:o.text=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.pages&&e.hasOwnProperty("pages")){if(!Array.isArray(e.pages))return"pages: array expected";for(var t=0;t>>3){case 1:o.languageCode=e.string();break;case 2:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedLanguage)return e;var t=new b.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedLanguage;return null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.languageCode="",n.confidence=0),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.TextAnnotation.DetectedLanguage"},t}(),t.DetectedBreak=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.isPrefix=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&"boolean"!=typeof e.isPrefix?"isPrefix: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak)return e;var t=new b.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak;switch(e.type){case"UNKNOWN":case 0:t.type=0;break;case"SPACE":case 1:t.type=1;break;case"SURE_SPACE":case 2:t.type=2;break;case"EOL_SURE_SPACE":case 3:t.type=3;break;case"HYPHEN":case 4:t.type=4;break;case"LINE_BREAK":case 5:t.type=5}return null!=e.isPrefix&&(t.isPrefix=Boolean(e.isPrefix)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN":0,n.isPrefix=!1),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak.BreakType[e.type]:e.type),null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&(n.isPrefix=e.isPrefix),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak"},t.BreakType=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="SPACE"]=1,t[e[2]="SURE_SPACE"]=2,t[e[3]="EOL_SURE_SPACE"]=3,t[e[4]="HYPHEN"]=4,t[e[5]="LINE_BREAK"]=5,t}(),t}(),t.TextProperty=function(){function t(e){if(this.detectedLanguages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.detectedLanguages&&o.detectedLanguages.length||(o.detectedLanguages=[]),o.detectedLanguages.push(b.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedLanguage.decode(e,e.uint32()));break;case 2:o.detectedBreak=b.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.detectedLanguages&&e.hasOwnProperty("detectedLanguages")){if(!Array.isArray(e.detectedLanguages))return"detectedLanguages: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.width=e.int32();break;case 3:o.height=e.int32();break;case 4:o.blocks&&o.blocks.length||(o.blocks=[]),o.blocks.push(b.google.cloud.vision.v1p4beta1.Block.decode(e,e.uint32()));break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.width&&e.hasOwnProperty("width")&&!v.isInteger(e.width))return"width: integer expected";if(null!=e.height&&e.hasOwnProperty("height")&&!v.isInteger(e.height))return"height: integer expected";if(null!=e.blocks&&e.hasOwnProperty("blocks")){if(!Array.isArray(e.blocks))return"blocks: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.paragraphs&&o.paragraphs.length||(o.paragraphs=[]),o.paragraphs.push(b.google.cloud.vision.v1p4beta1.Paragraph.decode(e,e.uint32()));break;case 4:o.blockType=e.int32();break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.paragraphs&&e.hasOwnProperty("paragraphs")){if(!Array.isArray(e.paragraphs))return"paragraphs: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.words&&o.words.length||(o.words=[]),o.words.push(b.google.cloud.vision.v1p4beta1.Word.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.words&&e.hasOwnProperty("words")){if(!Array.isArray(e.words))return"words: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.symbols&&o.symbols.length||(o.symbols=[]),o.symbols.push(b.google.cloud.vision.v1p4beta1.Symbol.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.symbols&&e.hasOwnProperty("symbols")){if(!Array.isArray(e.symbols))return"symbols: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.text=e.string();break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.property&&e.hasOwnProperty("property")&&(t=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.verify(e.property))?"property."+t:null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(t=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingBox))?"boundingBox."+t:null!=e.text&&e.hasOwnProperty("text")&&!v.isString(e.text)?"text: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.Symbol)return e;var t=new b.google.cloud.vision.v1p4beta1.Symbol;if(null!=e.property){if("object"!=typeof e.property)throw TypeError(".google.cloud.vision.v1p4beta1.Symbol.property: object expected");t.property=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.fromObject(e.property)}if(null!=e.boundingBox){if("object"!=typeof e.boundingBox)throw TypeError(".google.cloud.vision.v1p4beta1.Symbol.boundingBox: object expected");t.boundingBox=b.google.cloud.vision.v1p4beta1.BoundingPoly.fromObject(e.boundingBox)}return null!=e.text&&(t.text=String(e.text)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.property=null,n.boundingBox=null,n.text="",n.confidence=0),null!=e.property&&e.hasOwnProperty("property")&&(n.property=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.toObject(e.property,t)),null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n.boundingBox=b.google.cloud.vision.v1p4beta1.BoundingPoly.toObject(e.boundingBox,t)),null!=e.text&&e.hasOwnProperty("text")&&(n.text=e.text),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.Symbol"},t}(),s.WebDetection=function(){function t(e){if(this.webEntities=[],this.fullMatchingImages=[],this.partialMatchingImages=[],this.pagesWithMatchingImages=[],this.visuallySimilarImages=[],this.bestGuessLabels=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.webEntities&&o.webEntities.length||(o.webEntities=[]),o.webEntities.push(b.google.cloud.vision.v1p4beta1.WebDetection.WebEntity.decode(e,e.uint32()));break;case 2:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1p4beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 3:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1p4beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 4:o.pagesWithMatchingImages&&o.pagesWithMatchingImages.length||(o.pagesWithMatchingImages=[]),o.pagesWithMatchingImages.push(b.google.cloud.vision.v1p4beta1.WebDetection.WebPage.decode(e,e.uint32()));break;case 6:o.visuallySimilarImages&&o.visuallySimilarImages.length||(o.visuallySimilarImages=[]),o.visuallySimilarImages.push(b.google.cloud.vision.v1p4beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 8:o.bestGuessLabels&&o.bestGuessLabels.length||(o.bestGuessLabels=[]),o.bestGuessLabels.push(b.google.cloud.vision.v1p4beta1.WebDetection.WebLabel.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.webEntities&&e.hasOwnProperty("webEntities")){if(!Array.isArray(e.webEntities))return"webEntities: array expected";for(var t=0;t>>3){case 1:o.entityId=e.string();break;case 2:o.score=e.float();break;case 3:o.description=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.entityId&&e.hasOwnProperty("entityId")&&!v.isString(e.entityId)?"entityId: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description)?"description: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.WebDetection.WebEntity)return e;var t=new b.google.cloud.vision.v1p4beta1.WebDetection.WebEntity;return null!=e.entityId&&(t.entityId=String(e.entityId)),null!=e.score&&(t.score=Number(e.score)),null!=e.description&&(t.description=String(e.description)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.entityId="",n.score=0,n.description=""),null!=e.entityId&&e.hasOwnProperty("entityId")&&(n.entityId=e.entityId),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.description&&e.hasOwnProperty("description")&&(n.description=e.description),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.WebDetection.WebEntity"},t}(),t.WebImage=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url)?"url: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.WebDetection.WebImage)return e;var t=new b.google.cloud.vision.v1p4beta1.WebDetection.WebImage;return null!=e.url&&(t.url=String(e.url)),null!=e.score&&(t.score=Number(e.score)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.url="",n.score=0),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.WebDetection.WebImage"},t}(),t.WebPage=function(){function t(e){if(this.fullMatchingImages=[],this.partialMatchingImages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;case 3:o.pageTitle=e.string();break;case 4:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1p4beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 5:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1p4beta1.WebDetection.WebImage.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url))return"url: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.pageTitle&&e.hasOwnProperty("pageTitle")&&!v.isString(e.pageTitle))return"pageTitle: string expected";if(null!=e.fullMatchingImages&&e.hasOwnProperty("fullMatchingImages")){if(!Array.isArray(e.fullMatchingImages))return"fullMatchingImages: array expected";for(var t=0;t>>3){case 1:o.label=e.string();break;case 2:o.languageCode=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.label&&e.hasOwnProperty("label")&&!v.isString(e.label)?"label: string expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.WebDetection.WebLabel)return e;var t=new b.google.cloud.vision.v1p4beta1.WebDetection.WebLabel;return null!=e.label&&(t.label=String(e.label)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.label="",n.languageCode=""),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.WebDetection.WebLabel"},t}(),t}(),s),l),c),h.api=((p={}).Http=function(){function t(e){if(this.rules=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.rules&&o.rules.length||(o.rules=[]),o.rules.push(b.google.api.HttpRule.decode(e,e.uint32()));break;case 2:o.fullyDecodeReservedExpansion=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.rules&&e.hasOwnProperty("rules")){if(!Array.isArray(e.rules))return"rules: array expected";for(var t=0;t>>3){case 1:o.selector=e.string();break;case 2:o.get=e.string();break;case 3:o.put=e.string();break;case 4:o.post=e.string();break;case 5:o.delete=e.string();break;case 6:o.patch=e.string();break;case 8:o.custom=b.google.api.CustomHttpPattern.decode(e,e.uint32());break;case 7:o.body=e.string();break;case 12:o.responseBody=e.string();break;case 11:o.additionalBindings&&o.additionalBindings.length||(o.additionalBindings=[]),o.additionalBindings.push(b.google.api.HttpRule.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t={};if(null!=e.selector&&e.hasOwnProperty("selector")&&!v.isString(e.selector))return"selector: string expected";if(null!=e.get&&e.hasOwnProperty("get")&&(t.pattern=1,!v.isString(e.get)))return"get: string expected";if(null!=e.put&&e.hasOwnProperty("put")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!v.isString(e.put))return"put: string expected"}if(null!=e.post&&e.hasOwnProperty("post")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!v.isString(e.post))return"post: string expected"}if(null!=e.delete&&e.hasOwnProperty("delete")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!v.isString(e.delete))return"delete: string expected"}if(null!=e.patch&&e.hasOwnProperty("patch")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!v.isString(e.patch))return"patch: string expected"}if(null!=e.custom&&e.hasOwnProperty("custom")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,o=b.google.api.CustomHttpPattern.verify(e.custom))return"custom."+o}if(null!=e.body&&e.hasOwnProperty("body")&&!v.isString(e.body))return"body: string expected";if(null!=e.responseBody&&e.hasOwnProperty("responseBody")&&!v.isString(e.responseBody))return"responseBody: string expected";if(null!=e.additionalBindings&&e.hasOwnProperty("additionalBindings")){if(!Array.isArray(e.additionalBindings))return"additionalBindings: array expected";for(var n=0;n>>3){case 1:o.kind=e.string();break;case 2:o.path=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.kind&&e.hasOwnProperty("kind")&&!v.isString(e.kind)?"kind: string expected":null!=e.path&&e.hasOwnProperty("path")&&!v.isString(e.path)?"path: string expected":null},t.fromObject=function(e){if(e instanceof b.google.api.CustomHttpPattern)return e;var t=new b.google.api.CustomHttpPattern;return null!=e.kind&&(t.kind=String(e.kind)),null!=e.path&&(t.path=String(e.path)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.kind="",n.path=""),null!=e.kind&&e.hasOwnProperty("kind")&&(n.kind=e.kind),null!=e.path&&e.hasOwnProperty("path")&&(n.path=e.path),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.api.CustomHttpPattern"},t}(),p.FieldBehavior=function(){var e={},t=Object.create(e);return t[e[0]="FIELD_BEHAVIOR_UNSPECIFIED"]=0,t[e[1]="OPTIONAL"]=1,t[e[2]="REQUIRED"]=2,t[e[3]="OUTPUT_ONLY"]=3,t[e[4]="INPUT_ONLY"]=4,t[e[5]="IMMUTABLE"]=5,t[e[6]="UNORDERED_LIST"]=6,t[e[7]="NON_EMPTY_DEFAULT"]=7,t}(),p.ResourceDescriptor=function(){function t(e){if(this.pattern=[],this.style=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.string();break;case 2:o.pattern&&o.pattern.length||(o.pattern=[]),o.pattern.push(e.string());break;case 3:o.nameField=e.string();break;case 4:o.history=e.int32();break;case 5:o.plural=e.string();break;case 6:o.singular=e.string();break;case 10:if(o.style&&o.style.length||(o.style=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.type=e.string();break;case 2:o.childType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.type&&e.hasOwnProperty("type")&&!v.isString(e.type)?"type: string expected":null!=e.childType&&e.hasOwnProperty("childType")&&!v.isString(e.childType)?"childType: string expected":null},t.fromObject=function(e){if(e instanceof b.google.api.ResourceReference)return e;var t=new b.google.api.ResourceReference;return null!=e.type&&(t.type=String(e.type)),null!=e.childType&&(t.childType=String(e.childType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type="",n.childType=""),null!=e.type&&e.hasOwnProperty("type")&&(n.type=e.type),null!=e.childType&&e.hasOwnProperty("childType")&&(n.childType=e.childType),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.api.ResourceReference"},t}(),p),h.protobuf=((u={}).FileDescriptorSet=function(){function t(e){if(this.file=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.file&&o.file.length||(o.file=[]),o.file.push(b.google.protobuf.FileDescriptorProto.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.file&&e.hasOwnProperty("file")){if(!Array.isArray(e.file))return"file: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.package=e.string();break;case 3:o.dependency&&o.dependency.length||(o.dependency=[]),o.dependency.push(e.string());break;case 10:if(o.publicDependency&&o.publicDependency.length||(o.publicDependency=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.name=e.string();break;case 2:o.field&&o.field.length||(o.field=[]),o.field.push(b.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 6:o.extension&&o.extension.length||(o.extension=[]),o.extension.push(b.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 3:o.nestedType&&o.nestedType.length||(o.nestedType=[]),o.nestedType.push(b.google.protobuf.DescriptorProto.decode(e,e.uint32()));break;case 4:o.enumType&&o.enumType.length||(o.enumType=[]),o.enumType.push(b.google.protobuf.EnumDescriptorProto.decode(e,e.uint32()));break;case 5:o.extensionRange&&o.extensionRange.length||(o.extensionRange=[]),o.extensionRange.push(b.google.protobuf.DescriptorProto.ExtensionRange.decode(e,e.uint32()));break;case 8:o.oneofDecl&&o.oneofDecl.length||(o.oneofDecl=[]),o.oneofDecl.push(b.google.protobuf.OneofDescriptorProto.decode(e,e.uint32()));break;case 7:o.options=b.google.protobuf.MessageOptions.decode(e,e.uint32());break;case 9:o.reservedRange&&o.reservedRange.length||(o.reservedRange=[]),o.reservedRange.push(b.google.protobuf.DescriptorProto.ReservedRange.decode(e,e.uint32()));break;case 10:o.reservedName&&o.reservedName.length||(o.reservedName=[]),o.reservedName.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.field&&e.hasOwnProperty("field")){if(!Array.isArray(e.field))return"field: array expected";for(var t=0;t>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;case 3:o.options=b.google.protobuf.ExtensionRangeOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.start&&e.hasOwnProperty("start")&&!v.isInteger(e.start))return"start: integer expected";if(null!=e.end&&e.hasOwnProperty("end")&&!v.isInteger(e.end))return"end: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=b.google.protobuf.ExtensionRangeOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof b.google.protobuf.DescriptorProto.ExtensionRange)return e;var t=new b.google.protobuf.DescriptorProto.ExtensionRange;if(null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.DescriptorProto.ExtensionRange.options: object expected");t.options=b.google.protobuf.ExtensionRangeOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0,n.options=null),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),null!=e.options&&e.hasOwnProperty("options")&&(n.options=b.google.protobuf.ExtensionRangeOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.DescriptorProto.ExtensionRange"},t}(),t.ReservedRange=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!v.isInteger(e.start)?"start: integer expected":null!=e.end&&e.hasOwnProperty("end")&&!v.isInteger(e.end)?"end: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.DescriptorProto.ReservedRange)return e;var t=new b.google.protobuf.DescriptorProto.ReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.DescriptorProto.ReservedRange"},t}(),t}(),u.ExtensionRangeOptions=function(){function t(e){if(this.uninterpretedOption=[],e)for(var t=Object.keys(e),n=0;n>>3==999?(o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 3:o.number=e.int32();break;case 4:o.label=e.int32();break;case 5:o.type=e.int32();break;case 6:o.typeName=e.string();break;case 2:o.extendee=e.string();break;case 7:o.defaultValue=e.string();break;case 9:o.oneofIndex=e.int32();break;case 10:o.jsonName=e.string();break;case 8:o.options=b.google.protobuf.FieldOptions.decode(e,e.uint32());break;case 17:o.proto3Optional=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.number&&e.hasOwnProperty("number")&&!v.isInteger(e.number))return"number: integer expected";if(null!=e.label&&e.hasOwnProperty("label"))switch(e.label){default:return"label: enum value expected";case 1:case 2:case 3:}if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:}if(null!=e.typeName&&e.hasOwnProperty("typeName")&&!v.isString(e.typeName))return"typeName: string expected";if(null!=e.extendee&&e.hasOwnProperty("extendee")&&!v.isString(e.extendee))return"extendee: string expected";if(null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&!v.isString(e.defaultValue))return"defaultValue: string expected";if(null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&!v.isInteger(e.oneofIndex))return"oneofIndex: integer expected";if(null!=e.jsonName&&e.hasOwnProperty("jsonName")&&!v.isString(e.jsonName))return"jsonName: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=b.google.protobuf.FieldOptions.verify(e.options);if(t)return"options."+t}return null!=e.proto3Optional&&e.hasOwnProperty("proto3Optional")&&"boolean"!=typeof e.proto3Optional?"proto3Optional: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.FieldDescriptorProto)return e;var t=new b.google.protobuf.FieldDescriptorProto;switch(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),e.label){case"LABEL_OPTIONAL":case 1:t.label=1;break;case"LABEL_REQUIRED":case 2:t.label=2;break;case"LABEL_REPEATED":case 3:t.label=3}switch(e.type){case"TYPE_DOUBLE":case 1:t.type=1;break;case"TYPE_FLOAT":case 2:t.type=2;break;case"TYPE_INT64":case 3:t.type=3;break;case"TYPE_UINT64":case 4:t.type=4;break;case"TYPE_INT32":case 5:t.type=5;break;case"TYPE_FIXED64":case 6:t.type=6;break;case"TYPE_FIXED32":case 7:t.type=7;break;case"TYPE_BOOL":case 8:t.type=8;break;case"TYPE_STRING":case 9:t.type=9;break;case"TYPE_GROUP":case 10:t.type=10;break;case"TYPE_MESSAGE":case 11:t.type=11;break;case"TYPE_BYTES":case 12:t.type=12;break;case"TYPE_UINT32":case 13:t.type=13;break;case"TYPE_ENUM":case 14:t.type=14;break;case"TYPE_SFIXED32":case 15:t.type=15;break;case"TYPE_SFIXED64":case 16:t.type=16;break;case"TYPE_SINT32":case 17:t.type=17;break;case"TYPE_SINT64":case 18:t.type=18}if(null!=e.typeName&&(t.typeName=String(e.typeName)),null!=e.extendee&&(t.extendee=String(e.extendee)),null!=e.defaultValue&&(t.defaultValue=String(e.defaultValue)),null!=e.oneofIndex&&(t.oneofIndex=0|e.oneofIndex),null!=e.jsonName&&(t.jsonName=String(e.jsonName)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");t.options=b.google.protobuf.FieldOptions.fromObject(e.options)}return null!=e.proto3Optional&&(t.proto3Optional=Boolean(e.proto3Optional)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.extendee="",n.number=0,n.label=t.enums===String?"LABEL_OPTIONAL":1,n.type=t.enums===String?"TYPE_DOUBLE":1,n.typeName="",n.defaultValue="",n.options=null,n.oneofIndex=0,n.jsonName="",n.proto3Optional=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.extendee&&e.hasOwnProperty("extendee")&&(n.extendee=e.extendee),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.label&&e.hasOwnProperty("label")&&(n.label=t.enums===String?b.google.protobuf.FieldDescriptorProto.Label[e.label]:e.label),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.protobuf.FieldDescriptorProto.Type[e.type]:e.type),null!=e.typeName&&e.hasOwnProperty("typeName")&&(n.typeName=e.typeName),null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&(n.defaultValue=e.defaultValue),null!=e.options&&e.hasOwnProperty("options")&&(n.options=b.google.protobuf.FieldOptions.toObject(e.options,t)),null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&(n.oneofIndex=e.oneofIndex),null!=e.jsonName&&e.hasOwnProperty("jsonName")&&(n.jsonName=e.jsonName),null!=e.proto3Optional&&e.hasOwnProperty("proto3Optional")&&(n.proto3Optional=e.proto3Optional),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.FieldDescriptorProto"},t.Type=function(){var e={},t=Object.create(e);return t[e[1]="TYPE_DOUBLE"]=1,t[e[2]="TYPE_FLOAT"]=2,t[e[3]="TYPE_INT64"]=3,t[e[4]="TYPE_UINT64"]=4,t[e[5]="TYPE_INT32"]=5,t[e[6]="TYPE_FIXED64"]=6,t[e[7]="TYPE_FIXED32"]=7,t[e[8]="TYPE_BOOL"]=8,t[e[9]="TYPE_STRING"]=9,t[e[10]="TYPE_GROUP"]=10,t[e[11]="TYPE_MESSAGE"]=11,t[e[12]="TYPE_BYTES"]=12,t[e[13]="TYPE_UINT32"]=13,t[e[14]="TYPE_ENUM"]=14,t[e[15]="TYPE_SFIXED32"]=15,t[e[16]="TYPE_SFIXED64"]=16,t[e[17]="TYPE_SINT32"]=17,t[e[18]="TYPE_SINT64"]=18,t}(),t.Label=function(){var e={},t=Object.create(e);return t[e[1]="LABEL_OPTIONAL"]=1,t[e[2]="LABEL_REQUIRED"]=2,t[e[3]="LABEL_REPEATED"]=3,t}(),t}(),u.OneofDescriptorProto=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.options=b.google.protobuf.OneofOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=b.google.protobuf.OneofOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof b.google.protobuf.OneofDescriptorProto)return e;var t=new b.google.protobuf.OneofDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.OneofDescriptorProto.options: object expected");t.options=b.google.protobuf.OneofOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.options&&e.hasOwnProperty("options")&&(n.options=b.google.protobuf.OneofOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.OneofDescriptorProto"},t}(),u.EnumDescriptorProto=function(){function t(e){if(this.value=[],this.reservedRange=[],this.reservedName=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value&&o.value.length||(o.value=[]),o.value.push(b.google.protobuf.EnumValueDescriptorProto.decode(e,e.uint32()));break;case 3:o.options=b.google.protobuf.EnumOptions.decode(e,e.uint32());break;case 4:o.reservedRange&&o.reservedRange.length||(o.reservedRange=[]),o.reservedRange.push(b.google.protobuf.EnumDescriptorProto.EnumReservedRange.decode(e,e.uint32()));break;case 5:o.reservedName&&o.reservedName.length||(o.reservedName=[]),o.reservedName.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.value&&e.hasOwnProperty("value")){if(!Array.isArray(e.value))return"value: array expected";for(var t=0;t>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!v.isInteger(e.start)?"start: integer expected":null!=e.end&&e.hasOwnProperty("end")&&!v.isInteger(e.end)?"end: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.EnumDescriptorProto.EnumReservedRange)return e;var t=new b.google.protobuf.EnumDescriptorProto.EnumReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.EnumDescriptorProto.EnumReservedRange"},t}(),t}(),u.EnumValueDescriptorProto=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.number=e.int32();break;case 3:o.options=b.google.protobuf.EnumValueOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.number&&e.hasOwnProperty("number")&&!v.isInteger(e.number))return"number: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=b.google.protobuf.EnumValueOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof b.google.protobuf.EnumValueDescriptorProto)return e;var t=new b.google.protobuf.EnumValueDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.EnumValueDescriptorProto.options: object expected");t.options=b.google.protobuf.EnumValueOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.number=0,n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.options&&e.hasOwnProperty("options")&&(n.options=b.google.protobuf.EnumValueOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.EnumValueDescriptorProto"},t}(),u.ServiceDescriptorProto=function(){function t(e){if(this.method=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.method&&o.method.length||(o.method=[]),o.method.push(b.google.protobuf.MethodDescriptorProto.decode(e,e.uint32()));break;case 3:o.options=b.google.protobuf.ServiceOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.method&&e.hasOwnProperty("method")){if(!Array.isArray(e.method))return"method: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.inputType=e.string();break;case 3:o.outputType=e.string();break;case 4:o.options=b.google.protobuf.MethodOptions.decode(e,e.uint32());break;case 5:o.clientStreaming=e.bool();break;case 6:o.serverStreaming=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.inputType&&e.hasOwnProperty("inputType")&&!v.isString(e.inputType))return"inputType: string expected";if(null!=e.outputType&&e.hasOwnProperty("outputType")&&!v.isString(e.outputType))return"outputType: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=b.google.protobuf.MethodOptions.verify(e.options);if(t)return"options."+t}return null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&"boolean"!=typeof e.clientStreaming?"clientStreaming: boolean expected":null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&"boolean"!=typeof e.serverStreaming?"serverStreaming: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.MethodDescriptorProto)return e;var t=new b.google.protobuf.MethodDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.inputType&&(t.inputType=String(e.inputType)),null!=e.outputType&&(t.outputType=String(e.outputType)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.MethodDescriptorProto.options: object expected");t.options=b.google.protobuf.MethodOptions.fromObject(e.options)}return null!=e.clientStreaming&&(t.clientStreaming=Boolean(e.clientStreaming)),null!=e.serverStreaming&&(t.serverStreaming=Boolean(e.serverStreaming)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.inputType="",n.outputType="",n.options=null,n.clientStreaming=!1,n.serverStreaming=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.inputType&&e.hasOwnProperty("inputType")&&(n.inputType=e.inputType),null!=e.outputType&&e.hasOwnProperty("outputType")&&(n.outputType=e.outputType),null!=e.options&&e.hasOwnProperty("options")&&(n.options=b.google.protobuf.MethodOptions.toObject(e.options,t)),null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&(n.clientStreaming=e.clientStreaming),null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&(n.serverStreaming=e.serverStreaming),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.MethodDescriptorProto"},t}(),u.FileOptions=function(){function t(e){if(this.uninterpretedOption=[],this[".google.api.resourceDefinition"]=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.javaPackage=e.string();break;case 8:o.javaOuterClassname=e.string();break;case 10:o.javaMultipleFiles=e.bool();break;case 20:o.javaGenerateEqualsAndHash=e.bool();break;case 27:o.javaStringCheckUtf8=e.bool();break;case 9:o.optimizeFor=e.int32();break;case 11:o.goPackage=e.string();break;case 16:o.ccGenericServices=e.bool();break;case 17:o.javaGenericServices=e.bool();break;case 18:o.pyGenericServices=e.bool();break;case 42:o.phpGenericServices=e.bool();break;case 23:o.deprecated=e.bool();break;case 31:o.ccEnableArenas=e.bool();break;case 36:o.objcClassPrefix=e.string();break;case 37:o.csharpNamespace=e.string();break;case 39:o.swiftPrefix=e.string();break;case 40:o.phpClassPrefix=e.string();break;case 41:o.phpNamespace=e.string();break;case 44:o.phpMetadataNamespace=e.string();break;case 45:o.rubyPackage=e.string();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1053:o[".google.api.resourceDefinition"]&&o[".google.api.resourceDefinition"].length||(o[".google.api.resourceDefinition"]=[]),o[".google.api.resourceDefinition"].push(b.google.api.ResourceDescriptor.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.javaPackage&&e.hasOwnProperty("javaPackage")&&!v.isString(e.javaPackage))return"javaPackage: string expected";if(null!=e.javaOuterClassname&&e.hasOwnProperty("javaOuterClassname")&&!v.isString(e.javaOuterClassname))return"javaOuterClassname: string expected";if(null!=e.javaMultipleFiles&&e.hasOwnProperty("javaMultipleFiles")&&"boolean"!=typeof e.javaMultipleFiles)return"javaMultipleFiles: boolean expected";if(null!=e.javaGenerateEqualsAndHash&&e.hasOwnProperty("javaGenerateEqualsAndHash")&&"boolean"!=typeof e.javaGenerateEqualsAndHash)return"javaGenerateEqualsAndHash: boolean expected";if(null!=e.javaStringCheckUtf8&&e.hasOwnProperty("javaStringCheckUtf8")&&"boolean"!=typeof e.javaStringCheckUtf8)return"javaStringCheckUtf8: boolean expected";if(null!=e.optimizeFor&&e.hasOwnProperty("optimizeFor"))switch(e.optimizeFor){default:return"optimizeFor: enum value expected";case 1:case 2:case 3:}if(null!=e.goPackage&&e.hasOwnProperty("goPackage")&&!v.isString(e.goPackage))return"goPackage: string expected";if(null!=e.ccGenericServices&&e.hasOwnProperty("ccGenericServices")&&"boolean"!=typeof e.ccGenericServices)return"ccGenericServices: boolean expected";if(null!=e.javaGenericServices&&e.hasOwnProperty("javaGenericServices")&&"boolean"!=typeof e.javaGenericServices)return"javaGenericServices: boolean expected";if(null!=e.pyGenericServices&&e.hasOwnProperty("pyGenericServices")&&"boolean"!=typeof e.pyGenericServices)return"pyGenericServices: boolean expected";if(null!=e.phpGenericServices&&e.hasOwnProperty("phpGenericServices")&&"boolean"!=typeof e.phpGenericServices)return"phpGenericServices: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.ccEnableArenas&&e.hasOwnProperty("ccEnableArenas")&&"boolean"!=typeof e.ccEnableArenas)return"ccEnableArenas: boolean expected";if(null!=e.objcClassPrefix&&e.hasOwnProperty("objcClassPrefix")&&!v.isString(e.objcClassPrefix))return"objcClassPrefix: string expected";if(null!=e.csharpNamespace&&e.hasOwnProperty("csharpNamespace")&&!v.isString(e.csharpNamespace))return"csharpNamespace: string expected";if(null!=e.swiftPrefix&&e.hasOwnProperty("swiftPrefix")&&!v.isString(e.swiftPrefix))return"swiftPrefix: string expected";if(null!=e.phpClassPrefix&&e.hasOwnProperty("phpClassPrefix")&&!v.isString(e.phpClassPrefix))return"phpClassPrefix: string expected";if(null!=e.phpNamespace&&e.hasOwnProperty("phpNamespace")&&!v.isString(e.phpNamespace))return"phpNamespace: string expected";if(null!=e.phpMetadataNamespace&&e.hasOwnProperty("phpMetadataNamespace")&&!v.isString(e.phpMetadataNamespace))return"phpMetadataNamespace: string expected";if(null!=e.rubyPackage&&e.hasOwnProperty("rubyPackage")&&!v.isString(e.rubyPackage))return"rubyPackage: string expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.messageSetWireFormat=e.bool();break;case 2:o.noStandardDescriptorAccessor=e.bool();break;case 3:o.deprecated=e.bool();break;case 7:o.mapEntry=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1053:o[".google.api.resource"]=b.google.api.ResourceDescriptor.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.messageSetWireFormat&&e.hasOwnProperty("messageSetWireFormat")&&"boolean"!=typeof e.messageSetWireFormat)return"messageSetWireFormat: boolean expected";if(null!=e.noStandardDescriptorAccessor&&e.hasOwnProperty("noStandardDescriptorAccessor")&&"boolean"!=typeof e.noStandardDescriptorAccessor)return"noStandardDescriptorAccessor: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.mapEntry&&e.hasOwnProperty("mapEntry")&&"boolean"!=typeof e.mapEntry)return"mapEntry: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.ctype=e.int32();break;case 2:o.packed=e.bool();break;case 6:o.jstype=e.int32();break;case 5:o.lazy=e.bool();break;case 15:o.unverifiedLazy=e.bool();break;case 3:o.deprecated=e.bool();break;case 10:o.weak=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1052:if(o[".google.api.fieldBehavior"]&&o[".google.api.fieldBehavior"].length||(o[".google.api.fieldBehavior"]=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==999?(o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 2:o.allowAlias=e.bool();break;case 3:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.allowAlias&&e.hasOwnProperty("allowAlias")&&"boolean"!=typeof e.allowAlias)return"allowAlias: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 33:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1049:o[".google.api.defaultHost"]=e.string();break;case 1050:o[".google.api.oauthScopes"]=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 33:o.deprecated=e.bool();break;case 34:o.idempotencyLevel=e.int32();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 72295728:o[".google.api.http"]=b.google.api.HttpRule.decode(e,e.uint32());break;case 1051:o[".google.api.methodSignature"]&&o[".google.api.methodSignature"].length||(o[".google.api.methodSignature"]=[]),o[".google.api.methodSignature"].push(e.string());break;case 1049:o[".google.longrunning.operationInfo"]=b.google.longrunning.OperationInfo.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.idempotencyLevel&&e.hasOwnProperty("idempotencyLevel"))switch(e.idempotencyLevel){default:return"idempotencyLevel: enum value expected";case 0:case 1:case 2:}if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 2:o.name&&o.name.length||(o.name=[]),o.name.push(b.google.protobuf.UninterpretedOption.NamePart.decode(e,e.uint32()));break;case 3:o.identifierValue=e.string();break;case 4:o.positiveIntValue=e.uint64();break;case 5:o.negativeIntValue=e.int64();break;case 6:o.doubleValue=e.double();break;case 7:o.stringValue=e.bytes();break;case 8:o.aggregateValue=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")){if(!Array.isArray(e.name))return"name: array expected";for(var t=0;t>>0,e.positiveIntValue.high>>>0).toNumber(!0))),null!=e.negativeIntValue&&(v.Long?(t.negativeIntValue=v.Long.fromValue(e.negativeIntValue)).unsigned=!1:"string"==typeof e.negativeIntValue?t.negativeIntValue=parseInt(e.negativeIntValue,10):"number"==typeof e.negativeIntValue?t.negativeIntValue=e.negativeIntValue:"object"==typeof e.negativeIntValue&&(t.negativeIntValue=new v.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber())),null!=e.doubleValue&&(t.doubleValue=Number(e.doubleValue)),null!=e.stringValue&&("string"==typeof e.stringValue?v.base64.decode(e.stringValue,t.stringValue=v.newBuffer(v.base64.length(e.stringValue)),0):e.stringValue.length>=0&&(t.stringValue=e.stringValue)),null!=e.aggregateValue&&(t.aggregateValue=String(e.aggregateValue)),t},t.toObject=function(e,t){t||(t={});var n={};if((t.arrays||t.defaults)&&(n.name=[]),t.defaults){if(n.identifierValue="",v.Long){var o=new v.Long(0,0,!0);n.positiveIntValue=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.positiveIntValue=t.longs===String?"0":0;v.Long?(o=new v.Long(0,0,!1),n.negativeIntValue=t.longs===String?o.toString():t.longs===Number?o.toNumber():o):n.negativeIntValue=t.longs===String?"0":0,n.doubleValue=0,t.bytes===String?n.stringValue="":(n.stringValue=[],t.bytes!==Array&&(n.stringValue=v.newBuffer(n.stringValue))),n.aggregateValue=""}if(e.name&&e.name.length){n.name=[];for(var r=0;r>>0,e.positiveIntValue.high>>>0).toNumber(!0):e.positiveIntValue),null!=e.negativeIntValue&&e.hasOwnProperty("negativeIntValue")&&("number"==typeof e.negativeIntValue?n.negativeIntValue=t.longs===String?String(e.negativeIntValue):e.negativeIntValue:n.negativeIntValue=t.longs===String?v.Long.prototype.toString.call(e.negativeIntValue):t.longs===Number?new v.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber():e.negativeIntValue),null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(n.doubleValue=t.json&&!isFinite(e.doubleValue)?String(e.doubleValue):e.doubleValue),null!=e.stringValue&&e.hasOwnProperty("stringValue")&&(n.stringValue=t.bytes===String?v.base64.encode(e.stringValue,0,e.stringValue.length):t.bytes===Array?Array.prototype.slice.call(e.stringValue):e.stringValue),null!=e.aggregateValue&&e.hasOwnProperty("aggregateValue")&&(n.aggregateValue=e.aggregateValue),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.UninterpretedOption"},t.NamePart=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.namePart=e.string();break;case 2:o.isExtension=e.bool();break;default:e.skipType(7&r)}}if(!o.hasOwnProperty("namePart"))throw v.ProtocolError("missing required 'namePart'",{instance:o});if(!o.hasOwnProperty("isExtension"))throw v.ProtocolError("missing required 'isExtension'",{instance:o});return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":v.isString(e.namePart)?"boolean"!=typeof e.isExtension?"isExtension: boolean expected":null:"namePart: string expected"},t.fromObject=function(e){if(e instanceof b.google.protobuf.UninterpretedOption.NamePart)return e;var t=new b.google.protobuf.UninterpretedOption.NamePart;return null!=e.namePart&&(t.namePart=String(e.namePart)),null!=e.isExtension&&(t.isExtension=Boolean(e.isExtension)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.namePart="",n.isExtension=!1),null!=e.namePart&&e.hasOwnProperty("namePart")&&(n.namePart=e.namePart),null!=e.isExtension&&e.hasOwnProperty("isExtension")&&(n.isExtension=e.isExtension),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.UninterpretedOption.NamePart"},t}(),t}(),u.SourceCodeInfo=function(){function t(e){if(this.location=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.location&&o.location.length||(o.location=[]),o.location.push(b.google.protobuf.SourceCodeInfo.Location.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.location&&e.hasOwnProperty("location")){if(!Array.isArray(e.location))return"location: array expected";for(var t=0;t>>3){case 1:if(o.path&&o.path.length||(o.path=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==1?(o.annotation&&o.annotation.length||(o.annotation=[]),o.annotation.push(b.google.protobuf.GeneratedCodeInfo.Annotation.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.annotation&&e.hasOwnProperty("annotation")){if(!Array.isArray(e.annotation))return"annotation: array expected";for(var t=0;t>>3){case 1:if(o.path&&o.path.length||(o.path=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.type_url=e.string();break;case 2:o.value=e.bytes();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.type_url&&e.hasOwnProperty("type_url")&&!v.isString(e.type_url)?"type_url: string expected":null!=e.value&&e.hasOwnProperty("value")&&!(e.value&&"number"==typeof e.value.length||v.isString(e.value))?"value: buffer expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.Any)return e;var t=new b.google.protobuf.Any;return null!=e.type_url&&(t.type_url=String(e.type_url)),null!=e.value&&("string"==typeof e.value?v.base64.decode(e.value,t.value=v.newBuffer(v.base64.length(e.value)),0):e.value.length>=0&&(t.value=e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type_url="",t.bytes===String?n.value="":(n.value=[],t.bytes!==Array&&(n.value=v.newBuffer(n.value)))),null!=e.type_url&&e.hasOwnProperty("type_url")&&(n.type_url=e.type_url),null!=e.value&&e.hasOwnProperty("value")&&(n.value=t.bytes===String?v.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.Any"},t}(),u.Duration=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.seconds=e.int64();break;case 2:o.nanos=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.seconds&&e.hasOwnProperty("seconds")&&!(v.isInteger(e.seconds)||e.seconds&&v.isInteger(e.seconds.low)&&v.isInteger(e.seconds.high))?"seconds: integer|Long expected":null!=e.nanos&&e.hasOwnProperty("nanos")&&!v.isInteger(e.nanos)?"nanos: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.Duration)return e;var t=new b.google.protobuf.Duration;return null!=e.seconds&&(v.Long?(t.seconds=v.Long.fromValue(e.seconds)).unsigned=!1:"string"==typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"==typeof e.seconds?t.seconds=e.seconds:"object"==typeof e.seconds&&(t.seconds=new v.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(v.Long){var o=new v.Long(0,0,!1);n.seconds=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.seconds=t.longs===String?"0":0;n.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"==typeof e.seconds?n.seconds=t.longs===String?String(e.seconds):e.seconds:n.seconds=t.longs===String?v.Long.prototype.toString.call(e.seconds):t.longs===Number?new v.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(n.nanos=e.nanos),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.Duration"},t}(),u.Empty=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?(o.paths&&o.paths.length||(o.paths=[]),o.paths.push(e.string())):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.paths&&e.hasOwnProperty("paths")){if(!Array.isArray(e.paths))return"paths: array expected";for(var t=0;t>>3){case 1:o.seconds=e.int64();break;case 2:o.nanos=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.seconds&&e.hasOwnProperty("seconds")&&!(v.isInteger(e.seconds)||e.seconds&&v.isInteger(e.seconds.low)&&v.isInteger(e.seconds.high))?"seconds: integer|Long expected":null!=e.nanos&&e.hasOwnProperty("nanos")&&!v.isInteger(e.nanos)?"nanos: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.Timestamp)return e;var t=new b.google.protobuf.Timestamp;return null!=e.seconds&&(v.Long?(t.seconds=v.Long.fromValue(e.seconds)).unsigned=!1:"string"==typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"==typeof e.seconds?t.seconds=e.seconds:"object"==typeof e.seconds&&(t.seconds=new v.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(v.Long){var o=new v.Long(0,0,!1);n.seconds=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.seconds=t.longs===String?"0":0;n.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"==typeof e.seconds?n.seconds=t.longs===String?String(e.seconds):e.seconds:n.seconds=t.longs===String?v.Long.prototype.toString.call(e.seconds):t.longs===Number?new v.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(n.nanos=e.nanos),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.Timestamp"},t}(),u.DoubleValue=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.double():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&"number"!=typeof e.value?"value: number expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.DoubleValue)return e;var t=new b.google.protobuf.DoubleValue;return null!=e.value&&(t.value=Number(e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.value=0),null!=e.value&&e.hasOwnProperty("value")&&(n.value=t.json&&!isFinite(e.value)?String(e.value):e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.DoubleValue"},t}(),u.FloatValue=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.float():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&"number"!=typeof e.value?"value: number expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.FloatValue)return e;var t=new b.google.protobuf.FloatValue;return null!=e.value&&(t.value=Number(e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.value=0),null!=e.value&&e.hasOwnProperty("value")&&(n.value=t.json&&!isFinite(e.value)?String(e.value):e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.FloatValue"},t}(),u.Int64Value=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.int64():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!(v.isInteger(e.value)||e.value&&v.isInteger(e.value.low)&&v.isInteger(e.value.high))?"value: integer|Long expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.Int64Value)return e;var t=new b.google.protobuf.Int64Value;return null!=e.value&&(v.Long?(t.value=v.Long.fromValue(e.value)).unsigned=!1:"string"==typeof e.value?t.value=parseInt(e.value,10):"number"==typeof e.value?t.value=e.value:"object"==typeof e.value&&(t.value=new v.LongBits(e.value.low>>>0,e.value.high>>>0).toNumber())),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(v.Long){var o=new v.Long(0,0,!1);n.value=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.value=t.longs===String?"0":0;return null!=e.value&&e.hasOwnProperty("value")&&("number"==typeof e.value?n.value=t.longs===String?String(e.value):e.value:n.value=t.longs===String?v.Long.prototype.toString.call(e.value):t.longs===Number?new v.LongBits(e.value.low>>>0,e.value.high>>>0).toNumber():e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.Int64Value"},t}(),u.UInt64Value=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.uint64():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!(v.isInteger(e.value)||e.value&&v.isInteger(e.value.low)&&v.isInteger(e.value.high))?"value: integer|Long expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.UInt64Value)return e;var t=new b.google.protobuf.UInt64Value;return null!=e.value&&(v.Long?(t.value=v.Long.fromValue(e.value)).unsigned=!0:"string"==typeof e.value?t.value=parseInt(e.value,10):"number"==typeof e.value?t.value=e.value:"object"==typeof e.value&&(t.value=new v.LongBits(e.value.low>>>0,e.value.high>>>0).toNumber(!0))),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(v.Long){var o=new v.Long(0,0,!0);n.value=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.value=t.longs===String?"0":0;return null!=e.value&&e.hasOwnProperty("value")&&("number"==typeof e.value?n.value=t.longs===String?String(e.value):e.value:n.value=t.longs===String?v.Long.prototype.toString.call(e.value):t.longs===Number?new v.LongBits(e.value.low>>>0,e.value.high>>>0).toNumber(!0):e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.UInt64Value"},t}(),u.Int32Value=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.int32():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isInteger(e.value)?"value: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.Int32Value)return e;var t=new b.google.protobuf.Int32Value;return null!=e.value&&(t.value=0|e.value),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.value=0),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.Int32Value"},t}(),u.UInt32Value=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.uint32():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isInteger(e.value)?"value: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.UInt32Value)return e;var t=new b.google.protobuf.UInt32Value;return null!=e.value&&(t.value=e.value>>>0),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.value=0),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.UInt32Value"},t}(),u.BoolValue=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.bool():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&"boolean"!=typeof e.value?"value: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.BoolValue)return e;var t=new b.google.protobuf.BoolValue;return null!=e.value&&(t.value=Boolean(e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.value=!1),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.BoolValue"},t}(),u.StringValue=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.StringValue)return e;var t=new b.google.protobuf.StringValue;return null!=e.value&&(t.value=String(e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.value=""),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.StringValue"},t}(),u.BytesValue=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.bytes():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!(e.value&&"number"==typeof e.value.length||v.isString(e.value))?"value: buffer expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.BytesValue)return e;var t=new b.google.protobuf.BytesValue;return null!=e.value&&("string"==typeof e.value?v.base64.decode(e.value,t.value=v.newBuffer(v.base64.length(e.value)),0):e.value.length>=0&&(t.value=e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.value="":(n.value=[],t.bytes!==Array&&(n.value=v.newBuffer(n.value)))),null!=e.value&&e.hasOwnProperty("value")&&(n.value=t.bytes===String?v.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.BytesValue"},t}(),u),h.longrunning=((d={}).Operations=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.listOperations=function e(t,n){return this.rpcCall(e,b.google.longrunning.ListOperationsRequest,b.google.longrunning.ListOperationsResponse,t,n)},"name",{value:"ListOperations"}),Object.defineProperty(t.prototype.getOperation=function e(t,n){return this.rpcCall(e,b.google.longrunning.GetOperationRequest,b.google.longrunning.Operation,t,n)},"name",{value:"GetOperation"}),Object.defineProperty(t.prototype.deleteOperation=function e(t,n){return this.rpcCall(e,b.google.longrunning.DeleteOperationRequest,b.google.protobuf.Empty,t,n)},"name",{value:"DeleteOperation"}),Object.defineProperty(t.prototype.cancelOperation=function e(t,n){return this.rpcCall(e,b.google.longrunning.CancelOperationRequest,b.google.protobuf.Empty,t,n)},"name",{value:"CancelOperation"}),Object.defineProperty(t.prototype.waitOperation=function e(t,n){return this.rpcCall(e,b.google.longrunning.WaitOperationRequest,b.google.longrunning.Operation,t,n)},"name",{value:"WaitOperation"}),t}(),d.Operation=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.metadata=b.google.protobuf.Any.decode(e,e.uint32());break;case 3:o.done=e.bool();break;case 4:o.error=b.google.rpc.Status.decode(e,e.uint32());break;case 5:o.response=b.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t={};if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.metadata&&e.hasOwnProperty("metadata")&&(n=b.google.protobuf.Any.verify(e.metadata)))return"metadata."+n;if(null!=e.done&&e.hasOwnProperty("done")&&"boolean"!=typeof e.done)return"done: boolean expected";if(null!=e.error&&e.hasOwnProperty("error")&&(t.result=1,n=b.google.rpc.Status.verify(e.error)))return"error."+n;if(null!=e.response&&e.hasOwnProperty("response")){if(1===t.result)return"result: multiple values";var n;if(t.result=1,n=b.google.protobuf.Any.verify(e.response))return"response."+n}return null},t.fromObject=function(e){if(e instanceof b.google.longrunning.Operation)return e;var t=new b.google.longrunning.Operation;if(null!=e.name&&(t.name=String(e.name)),null!=e.metadata){if("object"!=typeof e.metadata)throw TypeError(".google.longrunning.Operation.metadata: object expected");t.metadata=b.google.protobuf.Any.fromObject(e.metadata)}if(null!=e.done&&(t.done=Boolean(e.done)),null!=e.error){if("object"!=typeof e.error)throw TypeError(".google.longrunning.Operation.error: object expected");t.error=b.google.rpc.Status.fromObject(e.error)}if(null!=e.response){if("object"!=typeof e.response)throw TypeError(".google.longrunning.Operation.response: object expected");t.response=b.google.protobuf.Any.fromObject(e.response)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.metadata=null,n.done=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.metadata&&e.hasOwnProperty("metadata")&&(n.metadata=b.google.protobuf.Any.toObject(e.metadata,t)),null!=e.done&&e.hasOwnProperty("done")&&(n.done=e.done),null!=e.error&&e.hasOwnProperty("error")&&(n.error=b.google.rpc.Status.toObject(e.error,t),t.oneofs&&(n.result="error")),null!=e.response&&e.hasOwnProperty("response")&&(n.response=b.google.protobuf.Any.toObject(e.response,t),t.oneofs&&(n.result="response")),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.longrunning.Operation"},t}(),d.GetOperationRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.longrunning.GetOperationRequest)return e;var t=new b.google.longrunning.GetOperationRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.longrunning.GetOperationRequest"},t}(),d.ListOperationsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 4:o.name=e.string();break;case 1:o.filter=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.filter&&e.hasOwnProperty("filter")&&!v.isString(e.filter)?"filter: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.longrunning.ListOperationsRequest)return e;var t=new b.google.longrunning.ListOperationsRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.filter&&(t.filter=String(e.filter)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.filter="",n.pageSize=0,n.pageToken="",n.name=""),null!=e.filter&&e.hasOwnProperty("filter")&&(n.filter=e.filter),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.longrunning.ListOperationsRequest"},t}(),d.ListOperationsResponse=function(){function t(e){if(this.operations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.operations&&o.operations.length||(o.operations=[]),o.operations.push(b.google.longrunning.Operation.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.operations&&e.hasOwnProperty("operations")){if(!Array.isArray(e.operations))return"operations: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.longrunning.CancelOperationRequest)return e;var t=new b.google.longrunning.CancelOperationRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.longrunning.CancelOperationRequest"},t}(),d.DeleteOperationRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.longrunning.DeleteOperationRequest)return e;var t=new b.google.longrunning.DeleteOperationRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.longrunning.DeleteOperationRequest"},t}(),d.WaitOperationRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.timeout=b.google.protobuf.Duration.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.timeout&&e.hasOwnProperty("timeout")){var t=b.google.protobuf.Duration.verify(e.timeout);if(t)return"timeout."+t}return null},t.fromObject=function(e){if(e instanceof b.google.longrunning.WaitOperationRequest)return e;var t=new b.google.longrunning.WaitOperationRequest;if(null!=e.name&&(t.name=String(e.name)),null!=e.timeout){if("object"!=typeof e.timeout)throw TypeError(".google.longrunning.WaitOperationRequest.timeout: object expected");t.timeout=b.google.protobuf.Duration.fromObject(e.timeout)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.timeout=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.timeout&&e.hasOwnProperty("timeout")&&(n.timeout=b.google.protobuf.Duration.toObject(e.timeout,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.longrunning.WaitOperationRequest"},t}(),d.OperationInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.responseType=e.string();break;case 2:o.metadataType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.responseType&&e.hasOwnProperty("responseType")&&!v.isString(e.responseType)?"responseType: string expected":null!=e.metadataType&&e.hasOwnProperty("metadataType")&&!v.isString(e.metadataType)?"metadataType: string expected":null},t.fromObject=function(e){if(e instanceof b.google.longrunning.OperationInfo)return e;var t=new b.google.longrunning.OperationInfo;return null!=e.responseType&&(t.responseType=String(e.responseType)),null!=e.metadataType&&(t.metadataType=String(e.metadataType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.responseType="",n.metadataType=""),null!=e.responseType&&e.hasOwnProperty("responseType")&&(n.responseType=e.responseType),null!=e.metadataType&&e.hasOwnProperty("metadataType")&&(n.metadataType=e.metadataType),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.longrunning.OperationInfo"},t}(),d),h.rpc=((g={}).Status=function(){function t(e){if(this.details=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.code=e.int32();break;case 2:o.message=e.string();break;case 3:o.details&&o.details.length||(o.details=[]),o.details.push(b.google.protobuf.Any.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.code&&e.hasOwnProperty("code")&&!v.isInteger(e.code))return"code: integer expected";if(null!=e.message&&e.hasOwnProperty("message")&&!v.isString(e.message))return"message: string expected";if(null!=e.details&&e.hasOwnProperty("details")){if(!Array.isArray(e.details))return"details: array expected";for(var t=0;t>>3){case 1:o.red=e.float();break;case 2:o.green=e.float();break;case 3:o.blue=e.float();break;case 4:o.alpha=b.google.protobuf.FloatValue.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.red&&e.hasOwnProperty("red")&&"number"!=typeof e.red)return"red: number expected";if(null!=e.green&&e.hasOwnProperty("green")&&"number"!=typeof e.green)return"green: number expected";if(null!=e.blue&&e.hasOwnProperty("blue")&&"number"!=typeof e.blue)return"blue: number expected";if(null!=e.alpha&&e.hasOwnProperty("alpha")){var t=b.google.protobuf.FloatValue.verify(e.alpha);if(t)return"alpha."+t}return null},t.fromObject=function(e){if(e instanceof b.google.type.Color)return e;var t=new b.google.type.Color;if(null!=e.red&&(t.red=Number(e.red)),null!=e.green&&(t.green=Number(e.green)),null!=e.blue&&(t.blue=Number(e.blue)),null!=e.alpha){if("object"!=typeof e.alpha)throw TypeError(".google.type.Color.alpha: object expected");t.alpha=b.google.protobuf.FloatValue.fromObject(e.alpha)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.red=0,n.green=0,n.blue=0,n.alpha=null),null!=e.red&&e.hasOwnProperty("red")&&(n.red=t.json&&!isFinite(e.red)?String(e.red):e.red),null!=e.green&&e.hasOwnProperty("green")&&(n.green=t.json&&!isFinite(e.green)?String(e.green):e.green),null!=e.blue&&e.hasOwnProperty("blue")&&(n.blue=t.json&&!isFinite(e.blue)?String(e.blue):e.blue),null!=e.alpha&&e.hasOwnProperty("alpha")&&(n.alpha=b.google.protobuf.FloatValue.toObject(e.alpha,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.type.Color"},t}(),f.LatLng=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.latitude=e.double();break;case 2:o.longitude=e.double();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.latitude&&e.hasOwnProperty("latitude")&&"number"!=typeof e.latitude?"latitude: number expected":null!=e.longitude&&e.hasOwnProperty("longitude")&&"number"!=typeof e.longitude?"longitude: number expected":null},t.fromObject=function(e){if(e instanceof b.google.type.LatLng)return e;var t=new b.google.type.LatLng;return null!=e.latitude&&(t.latitude=Number(e.latitude)),null!=e.longitude&&(t.longitude=Number(e.longitude)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.latitude=0,n.longitude=0),null!=e.latitude&&e.hasOwnProperty("latitude")&&(n.latitude=t.json&&!isFinite(e.latitude)?String(e.latitude):e.latitude),null!=e.longitude&&e.hasOwnProperty("longitude")&&(n.longitude=t.json&&!isFinite(e.longitude)?String(e.longitude):e.longitude),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.type.LatLng"},t}(),f),h),b})?o.apply(t,r):o)||(e.exports=i)},76358:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.call=void 0;const o=n(57147),r=n(49608),i=n(30108),a=n(38845),s=e=>function(t,n,o){const i=(e=>(r.string(e)?e=-1===e.indexOf("://")||0===e.indexOf("file://")?{image:{source:{filename:e}}}:{image:{source:{imageUri:e}}}:Buffer.isBuffer(e)&&(e={image:e}),e))(t);let a;r.undefined(o)&&r.function(n)?(o=n,a=void 0):a=n,i.features=i.features||[{type:e}];for(const t of i.features)if(t.type!==e)throw new Error("Setting explicit features is not supported on this method. Use the #annotateImage method instead.");return this.annotateImage(i,a,o)};t.call=function(e){const t={};t.annotateImage=(0,i.promisify)((function(e,t,n){let i;return r.undefined(n)&&r.function(t)?(n=t,i=void 0):i=t,((e,t)=>!r.object(e)||r.undefined(e.image)?t(new Error("No image present.")):(Buffer.isBuffer(e.image)&&(e.image={content:e.image.toString("base64")}),e.image.source&&e.image.source.filename?void o.readFile(e.image.source.filename,((n,o)=>{if(!n)return e.image.content=o.toString("base64"),delete e.image.source,t(null,e);t(n)})):t(null,e)))(e,((e,t)=>{if(e)return n(e);const o={requests:[t]};return this.batchAnnotateImages(o,i,((e,t)=>{if(e)return n(e);const o=t.responses[0];return n(void 0,o)}))}))}));const l=a.protobuf.Root.fromJSON(n(41548)).lookup(`google.cloud.vision.${e}.Feature.Type`).values;return t.faceDetection=(0,i.promisify)(s(l.FACE_DETECTION)),t.landmarkDetection=(0,i.promisify)(s(l.LANDMARK_DETECTION)),t.logoDetection=(0,i.promisify)(s(l.LOGO_DETECTION)),t.labelDetection=(0,i.promisify)(s(l.LABEL_DETECTION)),t.textDetection=(0,i.promisify)(s(l.TEXT_DETECTION)),t.documentTextDetection=(0,i.promisify)(s(l.DOCUMENT_TEXT_DETECTION)),t.safeSearchDetection=(0,i.promisify)(s(l.SAFE_SEARCH_DETECTION)),t.imageProperties=(0,i.promisify)(s(l.IMAGE_PROPERTIES)),t.cropHints=(0,i.promisify)(s(l.CROP_HINTS)),t.webDetection=(0,i.promisify)(s(l.WEB_DETECTION)),void 0!==l.PRODUCT_SEARCH&&(t.productSearch=(0,i.promisify)(s(l.PRODUCT_SEARCH))),void 0!==l.OBJECT_LOCALIZATION&&(t.objectLocalization=(0,i.promisify)(s(l.OBJECT_LOCALIZATION))),t}},44944:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.protos=t.ProductSearchClient=t.ImageAnnotatorClient=t.v1p4beta1=t.v1p3beta1=t.v1p2beta1=t.v1p1beta1=t.v1=void 0;const o=n(57877);t.v1=o;const r=n(4288);t.v1p1beta1=r;const i=n(91524);t.v1p2beta1=i;const a=n(79163);t.v1p3beta1=a;const s=n(60320);t.v1p4beta1=s;const l=n(76358);Object.assign(o.ImageAnnotatorClient.prototype,l.call("v1")),Object.assign(r.ImageAnnotatorClient.prototype,l.call("v1p1beta1")),Object.assign(i.ImageAnnotatorClient.prototype,l.call("v1p2beta1")),Object.assign(a.ImageAnnotatorClient.prototype,l.call("v1p3beta1")),Object.assign(s.ImageAnnotatorClient.prototype,l.call("v1p4beta1"));const c=o.ImageAnnotatorClient;t.ImageAnnotatorClient=c;const p=o.ProductSearchClient;t.ProductSearchClient=p,t.default={v1:o,v1p1beta1:r,v1p2beta1:i,v1p3beta1:a,v1p4beta1:s,ImageAnnotatorClient:c,ProductSearchClient:p};const u=n(57451);t.protos=u},23296:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageAnnotatorClient=void 0;const o=n(41548),r=n(12827),i=n(49724).i8;t.ImageAnnotatorClient=class{constructor(e,t){var a,s;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}};const l=this.constructor,c=(null==e?void 0:e.servicePath)||(null==e?void 0:e.apiEndpoint)||l.servicePath;this._providedCustomServicePath=!(!(null==e?void 0:e.servicePath)&&!(null==e?void 0:e.apiEndpoint));const p=(null==e?void 0:e.port)||l.port,u=null!==(a=null==e?void 0:e.clientConfig)&&void 0!==a?a:{},d=null!==(s=null==e?void 0:e.fallback)&&void 0!==s?s:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);e=Object.assign({servicePath:c,port:p,clientConfig:u,fallback:d},e),c===l.servicePath||"scopes"in e||(e.scopes=l.scopes),t||(t=n(38845)),this._gaxModule=e.fallback?t.fallback:t,this._gaxGrpc=new this._gaxModule.GrpcClient(e),this._opts=e,this.auth=this._gaxGrpc.auth,this.auth.useJWTAccessWithScope=!0,this.auth.defaultServicePath=l.servicePath,c===l.servicePath&&(this.auth.defaultScopes=l.scopes);const g=[`gax/${this._gaxModule.version}`,`gapic/${i}`];"undefined"!=typeof process&&"versions"in process?g.push(`gl-node/${process.versions.node}`):g.push(`gl-web/${this._gaxModule.version}`),e.fallback?"rest"===e.fallback&&g.push(`rest/${this._gaxGrpc.grpcVersion}`):g.push(`grpc/${this._gaxGrpc.grpcVersion}`),e.libName&&e.libVersion&&g.push(`${e.libName}/${e.libVersion}`),this._protos=this._gaxGrpc.loadProtoJSON(o),this.pathTemplates={productPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}"),productSetPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/productSets/{product_set}"),referenceImagePathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}")};const f=this._gaxModule.protobuf.Root.fromJSON(o),h={auth:this.auth,grpc:"grpc"in this._gaxGrpc?this._gaxGrpc.grpc:void 0};"rest"===e.fallback&&(h.protoJson=f,h.httpRules=[{selector:"google.longrunning.Operations.GetOperation",get:"/v1/{name=projects/*/operations/*}",additional_bindings:[{get:"/v1/{name=projects/*/locations/*/operations/*}"},{get:"/v1/{name=operations/*}"},{get:"/v1/{name=locations/*/operations/*}"}]}]),this.operationsClient=this._gaxModule.lro(h).operationsClient(e);const m=f.lookup(".google.cloud.vision.v1.AsyncBatchAnnotateImagesResponse"),y=f.lookup(".google.cloud.vision.v1.OperationMetadata"),v=f.lookup(".google.cloud.vision.v1.AsyncBatchAnnotateFilesResponse"),b=f.lookup(".google.cloud.vision.v1.OperationMetadata");this.descriptors.longrunning={asyncBatchAnnotateImages:new this._gaxModule.LongrunningDescriptor(this.operationsClient,m.decode.bind(m),y.decode.bind(y)),asyncBatchAnnotateFiles:new this._gaxModule.LongrunningDescriptor(this.operationsClient,v.decode.bind(v),b.decode.bind(b))},this._defaults=this._gaxGrpc.constructSettings("google.cloud.vision.v1.ImageAnnotator",r,e.clientConfig||{},{"x-goog-api-client":g.join(" ")}),this.innerApiCalls={},this.warn=this._gaxModule.warn}initialize(){if(this.imageAnnotatorStub)return this.imageAnnotatorStub;this.imageAnnotatorStub=this._gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.vision.v1.ImageAnnotator"):this._protos.google.cloud.vision.v1.ImageAnnotator,this._opts,this._providedCustomServicePath);const e=["batchAnnotateImages","batchAnnotateFiles","asyncBatchAnnotateImages","asyncBatchAnnotateFiles"];for(const t of e){const e=this.imageAnnotatorStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=this.descriptors.longrunning[t]||void 0,o=this._gaxModule.createApiCall(e,this._defaults[t],n,this._opts.fallback);this.innerApiCalls[t]=o}return this.imageAnnotatorStub}static get servicePath(){return"vision.googleapis.com"}static get apiEndpoint(){return"vision.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloud-vision"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}batchAnnotateImages(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.batchAnnotateImages(e,r,n)}batchAnnotateFiles(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.batchAnnotateFiles(e,r,n)}asyncBatchAnnotateImages(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.asyncBatchAnnotateImages(e,r,n)}async checkAsyncBatchAnnotateImagesProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.asyncBatchAnnotateImages,this._gaxModule.createDefaultBackoffSettings())}asyncBatchAnnotateFiles(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.asyncBatchAnnotateFiles(e,r,n)}async checkAsyncBatchAnnotateFilesProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.asyncBatchAnnotateFiles,this._gaxModule.createDefaultBackoffSettings())}productPath(e,t,n){return this.pathTemplates.productPathTemplate.render({project:e,location:t,product:n})}matchProjectFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).project}matchLocationFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).location}matchProductFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).product}productSetPath(e,t,n){return this.pathTemplates.productSetPathTemplate.render({project:e,location:t,product_set:n})}matchProjectFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).project}matchLocationFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).location}matchProductSetFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).product_set}referenceImagePath(e,t,n,o){return this.pathTemplates.referenceImagePathTemplate.render({project:e,location:t,product:n,reference_image:o})}matchProjectFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).project}matchLocationFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).location}matchProductFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).product}matchReferenceImageFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).reference_image}close(){return this.imageAnnotatorStub&&!this._terminated?this.imageAnnotatorStub.then((e=>{this._terminated=!0,e.close(),this.operationsClient.close()})):Promise.resolve()}}},57877:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProductSearchClient=t.ImageAnnotatorClient=void 0;var o=n(23296);Object.defineProperty(t,"ImageAnnotatorClient",{enumerable:!0,get:function(){return o.ImageAnnotatorClient}});var r=n(50037);Object.defineProperty(t,"ProductSearchClient",{enumerable:!0,get:function(){return r.ProductSearchClient}})},50037:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProductSearchClient=void 0;const o=n(41548),r=n(19184),i=n(49724).i8;t.ProductSearchClient=class{constructor(e,t){var a,s;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}};const l=this.constructor,c=(null==e?void 0:e.servicePath)||(null==e?void 0:e.apiEndpoint)||l.servicePath;this._providedCustomServicePath=!(!(null==e?void 0:e.servicePath)&&!(null==e?void 0:e.apiEndpoint));const p=(null==e?void 0:e.port)||l.port,u=null!==(a=null==e?void 0:e.clientConfig)&&void 0!==a?a:{},d=null!==(s=null==e?void 0:e.fallback)&&void 0!==s?s:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);e=Object.assign({servicePath:c,port:p,clientConfig:u,fallback:d},e),c===l.servicePath||"scopes"in e||(e.scopes=l.scopes),t||(t=n(38845)),this._gaxModule=e.fallback?t.fallback:t,this._gaxGrpc=new this._gaxModule.GrpcClient(e),this._opts=e,this.auth=this._gaxGrpc.auth,this.auth.useJWTAccessWithScope=!0,this.auth.defaultServicePath=l.servicePath,c===l.servicePath&&(this.auth.defaultScopes=l.scopes);const g=[`gax/${this._gaxModule.version}`,`gapic/${i}`];"undefined"!=typeof process&&"versions"in process?g.push(`gl-node/${process.versions.node}`):g.push(`gl-web/${this._gaxModule.version}`),e.fallback?"rest"===e.fallback&&g.push(`rest/${this._gaxGrpc.grpcVersion}`):g.push(`grpc/${this._gaxGrpc.grpcVersion}`),e.libName&&e.libVersion&&g.push(`${e.libName}/${e.libVersion}`),this._protos=this._gaxGrpc.loadProtoJSON(o),this.pathTemplates={locationPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}"),productPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}"),productSetPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/productSets/{product_set}"),referenceImagePathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}")},this.descriptors.page={listProductSets:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","productSets"),listProducts:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","products"),listReferenceImages:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","referenceImages"),listProductsInProductSet:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","products")};const f=this._gaxModule.protobuf.Root.fromJSON(o),h={auth:this.auth,grpc:"grpc"in this._gaxGrpc?this._gaxGrpc.grpc:void 0};"rest"===e.fallback&&(h.protoJson=f,h.httpRules=[{selector:"google.longrunning.Operations.GetOperation",get:"/v1/{name=projects/*/operations/*}",additional_bindings:[{get:"/v1/{name=projects/*/locations/*/operations/*}"},{get:"/v1/{name=operations/*}"},{get:"/v1/{name=locations/*/operations/*}"}]}]),this.operationsClient=this._gaxModule.lro(h).operationsClient(e);const m=f.lookup(".google.cloud.vision.v1.ImportProductSetsResponse"),y=f.lookup(".google.cloud.vision.v1.BatchOperationMetadata"),v=f.lookup(".google.protobuf.Empty"),b=f.lookup(".google.cloud.vision.v1.BatchOperationMetadata");this.descriptors.longrunning={importProductSets:new this._gaxModule.LongrunningDescriptor(this.operationsClient,m.decode.bind(m),y.decode.bind(y)),purgeProducts:new this._gaxModule.LongrunningDescriptor(this.operationsClient,v.decode.bind(v),b.decode.bind(b))},this._defaults=this._gaxGrpc.constructSettings("google.cloud.vision.v1.ProductSearch",r,e.clientConfig||{},{"x-goog-api-client":g.join(" ")}),this.innerApiCalls={},this.warn=this._gaxModule.warn}initialize(){if(this.productSearchStub)return this.productSearchStub;this.productSearchStub=this._gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.vision.v1.ProductSearch"):this._protos.google.cloud.vision.v1.ProductSearch,this._opts,this._providedCustomServicePath);const e=["createProductSet","listProductSets","getProductSet","updateProductSet","deleteProductSet","createProduct","listProducts","getProduct","updateProduct","deleteProduct","createReferenceImage","deleteReferenceImage","listReferenceImages","getReferenceImage","addProductToProductSet","removeProductFromProductSet","listProductsInProductSet","importProductSets","purgeProducts"];for(const t of e){const e=this.productSearchStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=this.descriptors.page[t]||this.descriptors.longrunning[t]||void 0,o=this._gaxModule.createApiCall(e,this._defaults[t],n,this._opts.fallback);this.innerApiCalls[t]=o}return this.productSearchStub}static get servicePath(){return"vision.googleapis.com"}static get apiEndpoint(){return"vision.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloud-vision"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}createProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createProductSet(e,r,n)}getProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getProductSet(e,r,n)}updateProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({"product_set.name":null!==(o=e.productSet.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.updateProductSet(e,r,n)}deleteProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteProductSet(e,r,n)}createProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createProduct(e,r,n)}getProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getProduct(e,r,n)}updateProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({"product.name":null!==(o=e.product.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.updateProduct(e,r,n)}deleteProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteProduct(e,r,n)}createReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createReferenceImage(e,r,n)}deleteReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteReferenceImage(e,r,n)}getReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getReferenceImage(e,r,n)}addProductToProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.addProductToProductSet(e,r,n)}removeProductFromProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.removeProductFromProductSet(e,r,n)}importProductSets(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.importProductSets(e,r,n)}async checkImportProductSetsProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.importProductSets,this._gaxModule.createDefaultBackoffSettings())}purgeProducts(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.purgeProducts(e,r,n)}async checkPurgeProductsProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.purgeProducts,this._gaxModule.createDefaultBackoffSettings())}listProductSets(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProductSets(e,r,n)}listProductSetsStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProductSets.merge(t);return this.initialize(),this.descriptors.page.listProductSets.createStream(this.innerApiCalls.listProductSets,e,o)}listProductSetsAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProductSets.merge(t);return this.initialize(),this.descriptors.page.listProductSets.asyncIterate(this.innerApiCalls.listProductSets,e,o)}listProducts(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProducts(e,r,n)}listProductsStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProducts.merge(t);return this.initialize(),this.descriptors.page.listProducts.createStream(this.innerApiCalls.listProducts,e,o)}listProductsAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProducts.merge(t);return this.initialize(),this.descriptors.page.listProducts.asyncIterate(this.innerApiCalls.listProducts,e,o)}listReferenceImages(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listReferenceImages(e,r,n)}listReferenceImagesStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listReferenceImages.merge(t);return this.initialize(),this.descriptors.page.listReferenceImages.createStream(this.innerApiCalls.listReferenceImages,e,o)}listReferenceImagesAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listReferenceImages.merge(t);return this.initialize(),this.descriptors.page.listReferenceImages.asyncIterate(this.innerApiCalls.listReferenceImages,e,o)}listProductsInProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProductsInProductSet(e,r,n)}listProductsInProductSetStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(n=e.name)&&void 0!==n?n:""});const o=this._defaults.listProductsInProductSet.merge(t);return this.initialize(),this.descriptors.page.listProductsInProductSet.createStream(this.innerApiCalls.listProductsInProductSet,e,o)}listProductsInProductSetAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(n=e.name)&&void 0!==n?n:""});const o=this._defaults.listProductsInProductSet.merge(t);return this.initialize(),this.descriptors.page.listProductsInProductSet.asyncIterate(this.innerApiCalls.listProductsInProductSet,e,o)}locationPath(e,t){return this.pathTemplates.locationPathTemplate.render({project:e,location:t})}matchProjectFromLocationName(e){return this.pathTemplates.locationPathTemplate.match(e).project}matchLocationFromLocationName(e){return this.pathTemplates.locationPathTemplate.match(e).location}productPath(e,t,n){return this.pathTemplates.productPathTemplate.render({project:e,location:t,product:n})}matchProjectFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).project}matchLocationFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).location}matchProductFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).product}productSetPath(e,t,n){return this.pathTemplates.productSetPathTemplate.render({project:e,location:t,product_set:n})}matchProjectFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).project}matchLocationFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).location}matchProductSetFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).product_set}referenceImagePath(e,t,n,o){return this.pathTemplates.referenceImagePathTemplate.render({project:e,location:t,product:n,reference_image:o})}matchProjectFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).project}matchLocationFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).location}matchProductFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).product}matchReferenceImageFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).reference_image}close(){return this.productSearchStub&&!this._terminated?this.productSearchStub.then((e=>{this._terminated=!0,e.close(),this.operationsClient.close()})):Promise.resolve()}}},72771:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageAnnotatorClient=void 0;const o=n(41548),r=n(10254),i=n(49724).i8;t.ImageAnnotatorClient=class{constructor(e,t){var a,s;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}};const l=this.constructor,c=(null==e?void 0:e.servicePath)||(null==e?void 0:e.apiEndpoint)||l.servicePath;this._providedCustomServicePath=!(!(null==e?void 0:e.servicePath)&&!(null==e?void 0:e.apiEndpoint));const p=(null==e?void 0:e.port)||l.port,u=null!==(a=null==e?void 0:e.clientConfig)&&void 0!==a?a:{},d=null!==(s=null==e?void 0:e.fallback)&&void 0!==s?s:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);e=Object.assign({servicePath:c,port:p,clientConfig:u,fallback:d},e),c===l.servicePath||"scopes"in e||(e.scopes=l.scopes),t||(t=n(38845)),this._gaxModule=e.fallback?t.fallback:t,this._gaxGrpc=new this._gaxModule.GrpcClient(e),this._opts=e,this.auth=this._gaxGrpc.auth,this.auth.useJWTAccessWithScope=!0,this.auth.defaultServicePath=l.servicePath,c===l.servicePath&&(this.auth.defaultScopes=l.scopes);const g=[`gax/${this._gaxModule.version}`,`gapic/${i}`];"undefined"!=typeof process&&"versions"in process?g.push(`gl-node/${process.versions.node}`):g.push(`gl-web/${this._gaxModule.version}`),e.fallback?"rest"===e.fallback&&g.push(`rest/${this._gaxGrpc.grpcVersion}`):g.push(`grpc/${this._gaxGrpc.grpcVersion}`),e.libName&&e.libVersion&&g.push(`${e.libName}/${e.libVersion}`),this._protos=this._gaxGrpc.loadProtoJSON(o),this._defaults=this._gaxGrpc.constructSettings("google.cloud.vision.v1p1beta1.ImageAnnotator",r,e.clientConfig||{},{"x-goog-api-client":g.join(" ")}),this.innerApiCalls={},this.warn=this._gaxModule.warn}initialize(){if(this.imageAnnotatorStub)return this.imageAnnotatorStub;this.imageAnnotatorStub=this._gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.vision.v1p1beta1.ImageAnnotator"):this._protos.google.cloud.vision.v1p1beta1.ImageAnnotator,this._opts,this._providedCustomServicePath);const e=["batchAnnotateImages"];for(const t of e){const e=this.imageAnnotatorStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=void 0,o=this._gaxModule.createApiCall(e,this._defaults[t],n,this._opts.fallback);this.innerApiCalls[t]=o}return this.imageAnnotatorStub}static get servicePath(){return"vision.googleapis.com"}static get apiEndpoint(){return"vision.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloud-vision"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}batchAnnotateImages(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.batchAnnotateImages(e,o,n)}close(){return this.imageAnnotatorStub&&!this._terminated?this.imageAnnotatorStub.then((e=>{this._terminated=!0,e.close()})):Promise.resolve()}}},4288:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageAnnotatorClient=void 0;var o=n(72771);Object.defineProperty(t,"ImageAnnotatorClient",{enumerable:!0,get:function(){return o.ImageAnnotatorClient}})},2987:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageAnnotatorClient=void 0;const o=n(41548),r=n(95184),i=n(49724).i8;t.ImageAnnotatorClient=class{constructor(e,t){var a,s;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}};const l=this.constructor,c=(null==e?void 0:e.servicePath)||(null==e?void 0:e.apiEndpoint)||l.servicePath;this._providedCustomServicePath=!(!(null==e?void 0:e.servicePath)&&!(null==e?void 0:e.apiEndpoint));const p=(null==e?void 0:e.port)||l.port,u=null!==(a=null==e?void 0:e.clientConfig)&&void 0!==a?a:{},d=null!==(s=null==e?void 0:e.fallback)&&void 0!==s?s:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);e=Object.assign({servicePath:c,port:p,clientConfig:u,fallback:d},e),c===l.servicePath||"scopes"in e||(e.scopes=l.scopes),t||(t=n(38845)),this._gaxModule=e.fallback?t.fallback:t,this._gaxGrpc=new this._gaxModule.GrpcClient(e),this._opts=e,this.auth=this._gaxGrpc.auth,this.auth.useJWTAccessWithScope=!0,this.auth.defaultServicePath=l.servicePath,c===l.servicePath&&(this.auth.defaultScopes=l.scopes);const g=[`gax/${this._gaxModule.version}`,`gapic/${i}`];"undefined"!=typeof process&&"versions"in process?g.push(`gl-node/${process.versions.node}`):g.push(`gl-web/${this._gaxModule.version}`),e.fallback?"rest"===e.fallback&&g.push(`rest/${this._gaxGrpc.grpcVersion}`):g.push(`grpc/${this._gaxGrpc.grpcVersion}`),e.libName&&e.libVersion&&g.push(`${e.libName}/${e.libVersion}`),this._protos=this._gaxGrpc.loadProtoJSON(o);const f=this._gaxModule.protobuf.Root.fromJSON(o),h={auth:this.auth,grpc:"grpc"in this._gaxGrpc?this._gaxGrpc.grpc:void 0};"rest"===e.fallback&&(h.protoJson=f,h.httpRules=[]),this.operationsClient=this._gaxModule.lro(h).operationsClient(e);const m=f.lookup(".google.cloud.vision.v1p2beta1.AsyncBatchAnnotateFilesResponse"),y=f.lookup(".google.cloud.vision.v1p2beta1.OperationMetadata");this.descriptors.longrunning={asyncBatchAnnotateFiles:new this._gaxModule.LongrunningDescriptor(this.operationsClient,m.decode.bind(m),y.decode.bind(y))},this._defaults=this._gaxGrpc.constructSettings("google.cloud.vision.v1p2beta1.ImageAnnotator",r,e.clientConfig||{},{"x-goog-api-client":g.join(" ")}),this.innerApiCalls={},this.warn=this._gaxModule.warn}initialize(){if(this.imageAnnotatorStub)return this.imageAnnotatorStub;this.imageAnnotatorStub=this._gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.vision.v1p2beta1.ImageAnnotator"):this._protos.google.cloud.vision.v1p2beta1.ImageAnnotator,this._opts,this._providedCustomServicePath);const e=["batchAnnotateImages","asyncBatchAnnotateFiles"];for(const t of e){const e=this.imageAnnotatorStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=this.descriptors.longrunning[t]||void 0,o=this._gaxModule.createApiCall(e,this._defaults[t],n,this._opts.fallback);this.innerApiCalls[t]=o}return this.imageAnnotatorStub}static get servicePath(){return"vision.googleapis.com"}static get apiEndpoint(){return"vision.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloud-vision"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}batchAnnotateImages(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.batchAnnotateImages(e,o,n)}asyncBatchAnnotateFiles(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.asyncBatchAnnotateFiles(e,o,n)}async checkAsyncBatchAnnotateFilesProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.asyncBatchAnnotateFiles,this._gaxModule.createDefaultBackoffSettings())}close(){return this.imageAnnotatorStub&&!this._terminated?this.imageAnnotatorStub.then((e=>{this._terminated=!0,e.close(),this.operationsClient.close()})):Promise.resolve()}}},91524:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageAnnotatorClient=void 0;var o=n(2987);Object.defineProperty(t,"ImageAnnotatorClient",{enumerable:!0,get:function(){return o.ImageAnnotatorClient}})},73401:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageAnnotatorClient=void 0;const o=n(41548),r=n(9935),i=n(49724).i8;t.ImageAnnotatorClient=class{constructor(e,t){var a,s;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}};const l=this.constructor,c=(null==e?void 0:e.servicePath)||(null==e?void 0:e.apiEndpoint)||l.servicePath;this._providedCustomServicePath=!(!(null==e?void 0:e.servicePath)&&!(null==e?void 0:e.apiEndpoint));const p=(null==e?void 0:e.port)||l.port,u=null!==(a=null==e?void 0:e.clientConfig)&&void 0!==a?a:{},d=null!==(s=null==e?void 0:e.fallback)&&void 0!==s?s:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);e=Object.assign({servicePath:c,port:p,clientConfig:u,fallback:d},e),c===l.servicePath||"scopes"in e||(e.scopes=l.scopes),t||(t=n(38845)),this._gaxModule=e.fallback?t.fallback:t,this._gaxGrpc=new this._gaxModule.GrpcClient(e),this._opts=e,this.auth=this._gaxGrpc.auth,this.auth.useJWTAccessWithScope=!0,this.auth.defaultServicePath=l.servicePath,c===l.servicePath&&(this.auth.defaultScopes=l.scopes);const g=[`gax/${this._gaxModule.version}`,`gapic/${i}`];"undefined"!=typeof process&&"versions"in process?g.push(`gl-node/${process.versions.node}`):g.push(`gl-web/${this._gaxModule.version}`),e.fallback?"rest"===e.fallback&&g.push(`rest/${this._gaxGrpc.grpcVersion}`):g.push(`grpc/${this._gaxGrpc.grpcVersion}`),e.libName&&e.libVersion&&g.push(`${e.libName}/${e.libVersion}`),this._protos=this._gaxGrpc.loadProtoJSON(o),this.pathTemplates={productPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}"),productSetPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/productSets/{product_set}"),referenceImagePathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}")};const f=this._gaxModule.protobuf.Root.fromJSON(o),h={auth:this.auth,grpc:"grpc"in this._gaxGrpc?this._gaxGrpc.grpc:void 0};"rest"===e.fallback&&(h.protoJson=f,h.httpRules=[]),this.operationsClient=this._gaxModule.lro(h).operationsClient(e);const m=f.lookup(".google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesResponse"),y=f.lookup(".google.cloud.vision.v1p3beta1.OperationMetadata");this.descriptors.longrunning={asyncBatchAnnotateFiles:new this._gaxModule.LongrunningDescriptor(this.operationsClient,m.decode.bind(m),y.decode.bind(y))},this._defaults=this._gaxGrpc.constructSettings("google.cloud.vision.v1p3beta1.ImageAnnotator",r,e.clientConfig||{},{"x-goog-api-client":g.join(" ")}),this.innerApiCalls={},this.warn=this._gaxModule.warn}initialize(){if(this.imageAnnotatorStub)return this.imageAnnotatorStub;this.imageAnnotatorStub=this._gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.vision.v1p3beta1.ImageAnnotator"):this._protos.google.cloud.vision.v1p3beta1.ImageAnnotator,this._opts,this._providedCustomServicePath);const e=["batchAnnotateImages","asyncBatchAnnotateFiles"];for(const t of e){const e=this.imageAnnotatorStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=this.descriptors.longrunning[t]||void 0,o=this._gaxModule.createApiCall(e,this._defaults[t],n,this._opts.fallback);this.innerApiCalls[t]=o}return this.imageAnnotatorStub}static get servicePath(){return"vision.googleapis.com"}static get apiEndpoint(){return"vision.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloud-vision"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}batchAnnotateImages(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.batchAnnotateImages(e,o,n)}asyncBatchAnnotateFiles(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.asyncBatchAnnotateFiles(e,o,n)}async checkAsyncBatchAnnotateFilesProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.asyncBatchAnnotateFiles,this._gaxModule.createDefaultBackoffSettings())}productPath(e,t,n){return this.pathTemplates.productPathTemplate.render({project:e,location:t,product:n})}matchProjectFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).project}matchLocationFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).location}matchProductFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).product}productSetPath(e,t,n){return this.pathTemplates.productSetPathTemplate.render({project:e,location:t,product_set:n})}matchProjectFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).project}matchLocationFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).location}matchProductSetFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).product_set}referenceImagePath(e,t,n,o){return this.pathTemplates.referenceImagePathTemplate.render({project:e,location:t,product:n,reference_image:o})}matchProjectFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).project}matchLocationFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).location}matchProductFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).product}matchReferenceImageFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).reference_image}close(){return this.imageAnnotatorStub&&!this._terminated?this.imageAnnotatorStub.then((e=>{this._terminated=!0,e.close(),this.operationsClient.close()})):Promise.resolve()}}},79163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProductSearchClient=t.ImageAnnotatorClient=void 0;var o=n(73401);Object.defineProperty(t,"ImageAnnotatorClient",{enumerable:!0,get:function(){return o.ImageAnnotatorClient}});var r=n(95611);Object.defineProperty(t,"ProductSearchClient",{enumerable:!0,get:function(){return r.ProductSearchClient}})},95611:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProductSearchClient=void 0;const o=n(41548),r=n(64828),i=n(49724).i8;t.ProductSearchClient=class{constructor(e,t){var a,s;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}};const l=this.constructor,c=(null==e?void 0:e.servicePath)||(null==e?void 0:e.apiEndpoint)||l.servicePath;this._providedCustomServicePath=!(!(null==e?void 0:e.servicePath)&&!(null==e?void 0:e.apiEndpoint));const p=(null==e?void 0:e.port)||l.port,u=null!==(a=null==e?void 0:e.clientConfig)&&void 0!==a?a:{},d=null!==(s=null==e?void 0:e.fallback)&&void 0!==s?s:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);e=Object.assign({servicePath:c,port:p,clientConfig:u,fallback:d},e),c===l.servicePath||"scopes"in e||(e.scopes=l.scopes),t||(t=n(38845)),this._gaxModule=e.fallback?t.fallback:t,this._gaxGrpc=new this._gaxModule.GrpcClient(e),this._opts=e,this.auth=this._gaxGrpc.auth,this.auth.useJWTAccessWithScope=!0,this.auth.defaultServicePath=l.servicePath,c===l.servicePath&&(this.auth.defaultScopes=l.scopes);const g=[`gax/${this._gaxModule.version}`,`gapic/${i}`];"undefined"!=typeof process&&"versions"in process?g.push(`gl-node/${process.versions.node}`):g.push(`gl-web/${this._gaxModule.version}`),e.fallback?"rest"===e.fallback&&g.push(`rest/${this._gaxGrpc.grpcVersion}`):g.push(`grpc/${this._gaxGrpc.grpcVersion}`),e.libName&&e.libVersion&&g.push(`${e.libName}/${e.libVersion}`),this._protos=this._gaxGrpc.loadProtoJSON(o),this.pathTemplates={locationPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}"),productPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}"),productSetPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/productSets/{product_set}"),referenceImagePathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}")},this.descriptors.page={listProductSets:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","productSets"),listProducts:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","products"),listReferenceImages:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","referenceImages"),listProductsInProductSet:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","products")};const f=this._gaxModule.protobuf.Root.fromJSON(o),h={auth:this.auth,grpc:"grpc"in this._gaxGrpc?this._gaxGrpc.grpc:void 0};"rest"===e.fallback&&(h.protoJson=f,h.httpRules=[]),this.operationsClient=this._gaxModule.lro(h).operationsClient(e);const m=f.lookup(".google.cloud.vision.v1p3beta1.ImportProductSetsResponse"),y=f.lookup(".google.cloud.vision.v1p3beta1.BatchOperationMetadata");this.descriptors.longrunning={importProductSets:new this._gaxModule.LongrunningDescriptor(this.operationsClient,m.decode.bind(m),y.decode.bind(y))},this._defaults=this._gaxGrpc.constructSettings("google.cloud.vision.v1p3beta1.ProductSearch",r,e.clientConfig||{},{"x-goog-api-client":g.join(" ")}),this.innerApiCalls={},this.warn=this._gaxModule.warn}initialize(){if(this.productSearchStub)return this.productSearchStub;this.productSearchStub=this._gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.vision.v1p3beta1.ProductSearch"):this._protos.google.cloud.vision.v1p3beta1.ProductSearch,this._opts,this._providedCustomServicePath);const e=["createProductSet","listProductSets","getProductSet","updateProductSet","deleteProductSet","createProduct","listProducts","getProduct","updateProduct","deleteProduct","createReferenceImage","deleteReferenceImage","listReferenceImages","getReferenceImage","addProductToProductSet","removeProductFromProductSet","listProductsInProductSet","importProductSets"];for(const t of e){const e=this.productSearchStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=this.descriptors.page[t]||this.descriptors.longrunning[t]||void 0,o=this._gaxModule.createApiCall(e,this._defaults[t],n,this._opts.fallback);this.innerApiCalls[t]=o}return this.productSearchStub}static get servicePath(){return"vision.googleapis.com"}static get apiEndpoint(){return"vision.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloud-vision"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}createProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createProductSet(e,r,n)}getProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getProductSet(e,r,n)}updateProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({"product_set.name":null!==(o=e.productSet.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.updateProductSet(e,r,n)}deleteProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteProductSet(e,r,n)}createProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createProduct(e,r,n)}getProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getProduct(e,r,n)}updateProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({"product.name":null!==(o=e.product.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.updateProduct(e,r,n)}deleteProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteProduct(e,r,n)}createReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createReferenceImage(e,r,n)}deleteReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteReferenceImage(e,r,n)}getReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getReferenceImage(e,r,n)}addProductToProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.addProductToProductSet(e,r,n)}removeProductFromProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.removeProductFromProductSet(e,r,n)}importProductSets(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.importProductSets(e,r,n)}async checkImportProductSetsProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.importProductSets,this._gaxModule.createDefaultBackoffSettings())}listProductSets(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProductSets(e,r,n)}listProductSetsStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProductSets.merge(t);return this.initialize(),this.descriptors.page.listProductSets.createStream(this.innerApiCalls.listProductSets,e,o)}listProductSetsAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProductSets.merge(t);return this.initialize(),this.descriptors.page.listProductSets.asyncIterate(this.innerApiCalls.listProductSets,e,o)}listProducts(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProducts(e,r,n)}listProductsStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProducts.merge(t);return this.initialize(),this.descriptors.page.listProducts.createStream(this.innerApiCalls.listProducts,e,o)}listProductsAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProducts.merge(t);return this.initialize(),this.descriptors.page.listProducts.asyncIterate(this.innerApiCalls.listProducts,e,o)}listReferenceImages(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listReferenceImages(e,r,n)}listReferenceImagesStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listReferenceImages.merge(t);return this.initialize(),this.descriptors.page.listReferenceImages.createStream(this.innerApiCalls.listReferenceImages,e,o)}listReferenceImagesAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listReferenceImages.merge(t);return this.initialize(),this.descriptors.page.listReferenceImages.asyncIterate(this.innerApiCalls.listReferenceImages,e,o)}listProductsInProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProductsInProductSet(e,r,n)}listProductsInProductSetStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(n=e.name)&&void 0!==n?n:""});const o=this._defaults.listProductsInProductSet.merge(t);return this.initialize(),this.descriptors.page.listProductsInProductSet.createStream(this.innerApiCalls.listProductsInProductSet,e,o)}listProductsInProductSetAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(n=e.name)&&void 0!==n?n:""});const o=this._defaults.listProductsInProductSet.merge(t);return this.initialize(),this.descriptors.page.listProductsInProductSet.asyncIterate(this.innerApiCalls.listProductsInProductSet,e,o)}locationPath(e,t){return this.pathTemplates.locationPathTemplate.render({project:e,location:t})}matchProjectFromLocationName(e){return this.pathTemplates.locationPathTemplate.match(e).project}matchLocationFromLocationName(e){return this.pathTemplates.locationPathTemplate.match(e).location}productPath(e,t,n){return this.pathTemplates.productPathTemplate.render({project:e,location:t,product:n})}matchProjectFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).project}matchLocationFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).location}matchProductFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).product}productSetPath(e,t,n){return this.pathTemplates.productSetPathTemplate.render({project:e,location:t,product_set:n})}matchProjectFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).project}matchLocationFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).location}matchProductSetFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).product_set}referenceImagePath(e,t,n,o){return this.pathTemplates.referenceImagePathTemplate.render({project:e,location:t,product:n,reference_image:o})}matchProjectFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).project}matchLocationFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).location}matchProductFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).product}matchReferenceImageFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).reference_image}close(){return this.productSearchStub&&!this._terminated?this.productSearchStub.then((e=>{this._terminated=!0,e.close(),this.operationsClient.close()})):Promise.resolve()}}},2464:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageAnnotatorClient=void 0;const o=n(41548),r=n(55329),i=n(49724).i8;t.ImageAnnotatorClient=class{constructor(e,t){var a,s;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}};const l=this.constructor,c=(null==e?void 0:e.servicePath)||(null==e?void 0:e.apiEndpoint)||l.servicePath;this._providedCustomServicePath=!(!(null==e?void 0:e.servicePath)&&!(null==e?void 0:e.apiEndpoint));const p=(null==e?void 0:e.port)||l.port,u=null!==(a=null==e?void 0:e.clientConfig)&&void 0!==a?a:{},d=null!==(s=null==e?void 0:e.fallback)&&void 0!==s?s:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);e=Object.assign({servicePath:c,port:p,clientConfig:u,fallback:d},e),c===l.servicePath||"scopes"in e||(e.scopes=l.scopes),t||(t=n(38845)),this._gaxModule=e.fallback?t.fallback:t,this._gaxGrpc=new this._gaxModule.GrpcClient(e),this._opts=e,this.auth=this._gaxGrpc.auth,this.auth.useJWTAccessWithScope=!0,this.auth.defaultServicePath=l.servicePath,c===l.servicePath&&(this.auth.defaultScopes=l.scopes);const g=[`gax/${this._gaxModule.version}`,`gapic/${i}`];"undefined"!=typeof process&&"versions"in process?g.push(`gl-node/${process.versions.node}`):g.push(`gl-web/${this._gaxModule.version}`),e.fallback?"rest"===e.fallback&&g.push(`rest/${this._gaxGrpc.grpcVersion}`):g.push(`grpc/${this._gaxGrpc.grpcVersion}`),e.libName&&e.libVersion&&g.push(`${e.libName}/${e.libVersion}`),this._protos=this._gaxGrpc.loadProtoJSON(o),this.pathTemplates={productPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}"),productSetPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/productSets/{product_set}"),referenceImagePathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}")};const f=this._gaxModule.protobuf.Root.fromJSON(o),h={auth:this.auth,grpc:"grpc"in this._gaxGrpc?this._gaxGrpc.grpc:void 0};"rest"===e.fallback&&(h.protoJson=f,h.httpRules=[]),this.operationsClient=this._gaxModule.lro(h).operationsClient(e);const m=f.lookup(".google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse"),y=f.lookup(".google.cloud.vision.v1p4beta1.OperationMetadata"),v=f.lookup(".google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesResponse"),b=f.lookup(".google.cloud.vision.v1p4beta1.OperationMetadata");this.descriptors.longrunning={asyncBatchAnnotateImages:new this._gaxModule.LongrunningDescriptor(this.operationsClient,m.decode.bind(m),y.decode.bind(y)),asyncBatchAnnotateFiles:new this._gaxModule.LongrunningDescriptor(this.operationsClient,v.decode.bind(v),b.decode.bind(b))},this._defaults=this._gaxGrpc.constructSettings("google.cloud.vision.v1p4beta1.ImageAnnotator",r,e.clientConfig||{},{"x-goog-api-client":g.join(" ")}),this.innerApiCalls={},this.warn=this._gaxModule.warn}initialize(){if(this.imageAnnotatorStub)return this.imageAnnotatorStub;this.imageAnnotatorStub=this._gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.vision.v1p4beta1.ImageAnnotator"):this._protos.google.cloud.vision.v1p4beta1.ImageAnnotator,this._opts,this._providedCustomServicePath);const e=["batchAnnotateImages","batchAnnotateFiles","asyncBatchAnnotateImages","asyncBatchAnnotateFiles"];for(const t of e){const e=this.imageAnnotatorStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=this.descriptors.longrunning[t]||void 0,o=this._gaxModule.createApiCall(e,this._defaults[t],n,this._opts.fallback);this.innerApiCalls[t]=o}return this.imageAnnotatorStub}static get servicePath(){return"vision.googleapis.com"}static get apiEndpoint(){return"vision.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloud-vision"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}batchAnnotateImages(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.batchAnnotateImages(e,o,n)}batchAnnotateFiles(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.batchAnnotateFiles(e,o,n)}asyncBatchAnnotateImages(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.asyncBatchAnnotateImages(e,o,n)}async checkAsyncBatchAnnotateImagesProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.asyncBatchAnnotateImages,this._gaxModule.createDefaultBackoffSettings())}asyncBatchAnnotateFiles(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.asyncBatchAnnotateFiles(e,o,n)}async checkAsyncBatchAnnotateFilesProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.asyncBatchAnnotateFiles,this._gaxModule.createDefaultBackoffSettings())}productPath(e,t,n){return this.pathTemplates.productPathTemplate.render({project:e,location:t,product:n})}matchProjectFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).project}matchLocationFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).location}matchProductFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).product}productSetPath(e,t,n){return this.pathTemplates.productSetPathTemplate.render({project:e,location:t,product_set:n})}matchProjectFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).project}matchLocationFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).location}matchProductSetFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).product_set}referenceImagePath(e,t,n,o){return this.pathTemplates.referenceImagePathTemplate.render({project:e,location:t,product:n,reference_image:o})}matchProjectFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).project}matchLocationFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).location}matchProductFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).product}matchReferenceImageFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).reference_image}close(){return this.imageAnnotatorStub&&!this._terminated?this.imageAnnotatorStub.then((e=>{this._terminated=!0,e.close(),this.operationsClient.close()})):Promise.resolve()}}},60320:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProductSearchClient=t.ImageAnnotatorClient=void 0;var o=n(2464);Object.defineProperty(t,"ImageAnnotatorClient",{enumerable:!0,get:function(){return o.ImageAnnotatorClient}});var r=n(84951);Object.defineProperty(t,"ProductSearchClient",{enumerable:!0,get:function(){return r.ProductSearchClient}})},84951:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProductSearchClient=void 0;const o=n(41548),r=n(4859),i=n(49724).i8;t.ProductSearchClient=class{constructor(e,t){var a,s;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}};const l=this.constructor,c=(null==e?void 0:e.servicePath)||(null==e?void 0:e.apiEndpoint)||l.servicePath;this._providedCustomServicePath=!(!(null==e?void 0:e.servicePath)&&!(null==e?void 0:e.apiEndpoint));const p=(null==e?void 0:e.port)||l.port,u=null!==(a=null==e?void 0:e.clientConfig)&&void 0!==a?a:{},d=null!==(s=null==e?void 0:e.fallback)&&void 0!==s?s:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);e=Object.assign({servicePath:c,port:p,clientConfig:u,fallback:d},e),c===l.servicePath||"scopes"in e||(e.scopes=l.scopes),t||(t=n(38845)),this._gaxModule=e.fallback?t.fallback:t,this._gaxGrpc=new this._gaxModule.GrpcClient(e),this._opts=e,this.auth=this._gaxGrpc.auth,this.auth.useJWTAccessWithScope=!0,this.auth.defaultServicePath=l.servicePath,c===l.servicePath&&(this.auth.defaultScopes=l.scopes);const g=[`gax/${this._gaxModule.version}`,`gapic/${i}`];"undefined"!=typeof process&&"versions"in process?g.push(`gl-node/${process.versions.node}`):g.push(`gl-web/${this._gaxModule.version}`),e.fallback?"rest"===e.fallback&&g.push(`rest/${this._gaxGrpc.grpcVersion}`):g.push(`grpc/${this._gaxGrpc.grpcVersion}`),e.libName&&e.libVersion&&g.push(`${e.libName}/${e.libVersion}`),this._protos=this._gaxGrpc.loadProtoJSON(o),this.pathTemplates={locationPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}"),productPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}"),productSetPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/productSets/{product_set}"),referenceImagePathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}")},this.descriptors.page={listProductSets:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","productSets"),listProducts:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","products"),listReferenceImages:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","referenceImages"),listProductsInProductSet:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","products")};const f=this._gaxModule.protobuf.Root.fromJSON(o),h={auth:this.auth,grpc:"grpc"in this._gaxGrpc?this._gaxGrpc.grpc:void 0};"rest"===e.fallback&&(h.protoJson=f,h.httpRules=[]),this.operationsClient=this._gaxModule.lro(h).operationsClient(e);const m=f.lookup(".google.cloud.vision.v1p4beta1.ImportProductSetsResponse"),y=f.lookup(".google.cloud.vision.v1p4beta1.BatchOperationMetadata"),v=f.lookup(".google.protobuf.Empty"),b=f.lookup(".google.cloud.vision.v1p4beta1.BatchOperationMetadata");this.descriptors.longrunning={importProductSets:new this._gaxModule.LongrunningDescriptor(this.operationsClient,m.decode.bind(m),y.decode.bind(y)),purgeProducts:new this._gaxModule.LongrunningDescriptor(this.operationsClient,v.decode.bind(v),b.decode.bind(b))},this._defaults=this._gaxGrpc.constructSettings("google.cloud.vision.v1p4beta1.ProductSearch",r,e.clientConfig||{},{"x-goog-api-client":g.join(" ")}),this.innerApiCalls={},this.warn=this._gaxModule.warn}initialize(){if(this.productSearchStub)return this.productSearchStub;this.productSearchStub=this._gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.vision.v1p4beta1.ProductSearch"):this._protos.google.cloud.vision.v1p4beta1.ProductSearch,this._opts,this._providedCustomServicePath);const e=["createProductSet","listProductSets","getProductSet","updateProductSet","deleteProductSet","createProduct","listProducts","getProduct","updateProduct","deleteProduct","createReferenceImage","deleteReferenceImage","listReferenceImages","getReferenceImage","addProductToProductSet","removeProductFromProductSet","listProductsInProductSet","importProductSets","purgeProducts"];for(const t of e){const e=this.productSearchStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=this.descriptors.page[t]||this.descriptors.longrunning[t]||void 0,o=this._gaxModule.createApiCall(e,this._defaults[t],n,this._opts.fallback);this.innerApiCalls[t]=o}return this.productSearchStub}static get servicePath(){return"vision.googleapis.com"}static get apiEndpoint(){return"vision.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloud-vision"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}createProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createProductSet(e,r,n)}getProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getProductSet(e,r,n)}updateProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({"product_set.name":null!==(o=e.productSet.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.updateProductSet(e,r,n)}deleteProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteProductSet(e,r,n)}createProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createProduct(e,r,n)}getProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getProduct(e,r,n)}updateProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({"product.name":null!==(o=e.product.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.updateProduct(e,r,n)}deleteProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteProduct(e,r,n)}createReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createReferenceImage(e,r,n)}deleteReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteReferenceImage(e,r,n)}getReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getReferenceImage(e,r,n)}addProductToProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.addProductToProductSet(e,r,n)}removeProductFromProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.removeProductFromProductSet(e,r,n)}importProductSets(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.importProductSets(e,r,n)}async checkImportProductSetsProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.importProductSets,this._gaxModule.createDefaultBackoffSettings())}purgeProducts(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.purgeProducts(e,r,n)}async checkPurgeProductsProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.purgeProducts,this._gaxModule.createDefaultBackoffSettings())}listProductSets(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProductSets(e,r,n)}listProductSetsStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProductSets.merge(t);return this.initialize(),this.descriptors.page.listProductSets.createStream(this.innerApiCalls.listProductSets,e,o)}listProductSetsAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProductSets.merge(t);return this.initialize(),this.descriptors.page.listProductSets.asyncIterate(this.innerApiCalls.listProductSets,e,o)}listProducts(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProducts(e,r,n)}listProductsStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProducts.merge(t);return this.initialize(),this.descriptors.page.listProducts.createStream(this.innerApiCalls.listProducts,e,o)}listProductsAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProducts.merge(t);return this.initialize(),this.descriptors.page.listProducts.asyncIterate(this.innerApiCalls.listProducts,e,o)}listReferenceImages(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listReferenceImages(e,r,n)}listReferenceImagesStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listReferenceImages.merge(t);return this.initialize(),this.descriptors.page.listReferenceImages.createStream(this.innerApiCalls.listReferenceImages,e,o)}listReferenceImagesAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listReferenceImages.merge(t);return this.initialize(),this.descriptors.page.listReferenceImages.asyncIterate(this.innerApiCalls.listReferenceImages,e,o)}listProductsInProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProductsInProductSet(e,r,n)}listProductsInProductSetStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(n=e.name)&&void 0!==n?n:""});const o=this._defaults.listProductsInProductSet.merge(t);return this.initialize(),this.descriptors.page.listProductsInProductSet.createStream(this.innerApiCalls.listProductsInProductSet,e,o)}listProductsInProductSetAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(n=e.name)&&void 0!==n?n:""});const o=this._defaults.listProductsInProductSet.merge(t);return this.initialize(),this.descriptors.page.listProductsInProductSet.asyncIterate(this.innerApiCalls.listProductsInProductSet,e,o)}locationPath(e,t){return this.pathTemplates.locationPathTemplate.render({project:e,location:t})}matchProjectFromLocationName(e){return this.pathTemplates.locationPathTemplate.match(e).project}matchLocationFromLocationName(e){return this.pathTemplates.locationPathTemplate.match(e).location}productPath(e,t,n){return this.pathTemplates.productPathTemplate.render({project:e,location:t,product:n})}matchProjectFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).project}matchLocationFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).location}matchProductFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).product}productSetPath(e,t,n){return this.pathTemplates.productSetPathTemplate.render({project:e,location:t,product_set:n})}matchProjectFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).project}matchLocationFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).location}matchProductSetFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).product_set}referenceImagePath(e,t,n,o){return this.pathTemplates.referenceImagePathTemplate.render({project:e,location:t,product:n,reference_image:o})}matchProjectFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).project}matchLocationFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).location}matchProductFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).product}matchReferenceImageFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).reference_image}close(){return this.productSearchStub&&!this._terminated?this.productSearchStub.then((e=>{this._terminated=!0,e.close(),this.operationsClient.close()})):Promise.resolve()}}},57935:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addAdminServicesToServer=t.registerAdminService=void 0;const n=[];t.registerAdminService=function(e,t){n.push({getServiceDefinition:e,getHandlers:t})},t.addAdminServicesToServer=function(e){for(const{getServiceDefinition:t,getHandlers:o}of n)e.addService(t(),o())}},11257:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackoffTimeout=void 0,t.BackoffTimeout=class{constructor(e,t){this.callback=e,this.initialDelay=1e3,this.multiplier=1.6,this.maxDelay=12e4,this.jitter=.2,this.running=!1,this.hasRef=!0,this.startTime=new Date,t&&(t.initialDelay&&(this.initialDelay=t.initialDelay),t.multiplier&&(this.multiplier=t.multiplier),t.jitter&&(this.jitter=t.jitter),t.maxDelay&&(this.maxDelay=t.maxDelay)),this.nextDelay=this.initialDelay,this.timerId=setTimeout((()=>{}),0),clearTimeout(this.timerId)}runTimer(e){var t,n;clearTimeout(this.timerId),this.timerId=setTimeout((()=>{this.callback(),this.running=!1}),e),this.hasRef||null===(n=(t=this.timerId).unref)||void 0===n||n.call(t)}runOnce(){this.running=!0,this.startTime=new Date,this.runTimer(this.nextDelay);const e=Math.min(this.nextDelay*this.multiplier,this.maxDelay),t=e*this.jitter;var n,o;this.nextDelay=e+(n=-t,o=t,Math.random()*(o-n)+n)}stop(){clearTimeout(this.timerId),this.running=!1}reset(){if(this.nextDelay=this.initialDelay,this.running){const e=new Date,t=this.startTime;t.setMilliseconds(t.getMilliseconds()+this.nextDelay),clearTimeout(this.timerId),e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CallCredentialsFilterFactory=t.CallCredentialsFilter=void 0;const o=n(68333),r=n(65328),i=n(8084);class a extends o.BaseFilter{constructor(e,t){var n,o;super(),this.channel=e,this.stream=t,this.channel=e,this.stream=t;const r=t.getMethod().split("/");let a="";r.length>=2&&(a=r[1]);const s=null!==(o=null===(n=i.splitHostPort(t.getHost()))||void 0===n?void 0:n.host)&&void 0!==o?o:"localhost";this.serviceUrl=`https://${s}/${a}`}async sendMetadata(e){const t=this.stream.getCredentials().generateMetadata({service_url:this.serviceUrl}),n=await e;try{n.merge(await t)}catch(e){return this.stream.cancelWithStatus(r.Status.UNAUTHENTICATED,`Failed to retrieve auth metadata with error: ${e.message}`),Promise.reject("Failed to retrieve auth metadata")}return n.get("authorization").length>1?(this.stream.cancelWithStatus(r.Status.INTERNAL,'"authorization" metadata cannot have multiple values'),Promise.reject('"authorization" metadata cannot have multiple values')):n}}t.CallCredentialsFilter=a,t.CallCredentialsFilterFactory=class{constructor(e){this.channel=e,this.channel=e}createFilter(e){return new a(this.channel,e)}}},68024:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CallCredentials=void 0;const o=n(21494);class r{static createFromMetadataGenerator(e){return new a(e)}static createFromGoogleCredential(e){return r.createFromMetadataGenerator(((t,n)=>{let r;var i;r="getRequestHeaders"in(i=e)&&"function"==typeof i.getRequestHeaders?e.getRequestHeaders(t.service_url):new Promise(((n,o)=>{e.getRequestMetadata(t.service_url,((e,t)=>{e?o(e):n(t)}))})),r.then((e=>{const t=new o.Metadata;for(const n of Object.keys(e))t.add(n,e[n]);n(null,t)}),(e=>{n(e)}))}))}static createEmpty(){return new s}}t.CallCredentials=r;class i extends r{constructor(e){super(),this.creds=e}async generateMetadata(e){const t=new o.Metadata,n=await Promise.all(this.creds.map((t=>t.generateMetadata(e))));for(const e of n)t.merge(e);return t}compose(e){return new i(this.creds.concat([e]))}_equals(e){return this===e||e instanceof i&&this.creds.every(((t,n)=>t._equals(e.creds[n])))}}class a extends r{constructor(e){super(),this.metadataGenerator=e}generateMetadata(e){return new Promise(((t,n)=>{this.metadataGenerator(e,((e,o)=>{void 0!==o?t(o):n(e)}))}))}compose(e){return new i([this,e])}_equals(e){return this===e||e instanceof a&&this.metadataGenerator===e.metadataGenerator}}class s extends r{generateMetadata(e){return Promise.resolve(new o.Metadata)}compose(e){return e}_equals(e){return e instanceof s}}},49650:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Http2CallStream=t.InterceptingListenerImpl=t.isInterceptingListener=void 0;const o=n(85158),r=n(22037),i=n(65328),a=n(21494),s=n(25766),l=n(51051),c=n(65328),{HTTP2_HEADER_STATUS:p,HTTP2_HEADER_CONTENT_TYPE:u,NGHTTP2_CANCEL:d}=o.constants;t.isInterceptingListener=function(e){return void 0!==e.onReceiveMetadata&&1===e.onReceiveMetadata.length},t.InterceptingListenerImpl=class{constructor(e,t){this.listener=e,this.nextListener=t,this.processingMetadata=!1,this.hasPendingMessage=!1,this.processingMessage=!1,this.pendingStatus=null}processPendingMessage(){this.hasPendingMessage&&(this.nextListener.onReceiveMessage(this.pendingMessage),this.pendingMessage=null,this.hasPendingMessage=!1)}processPendingStatus(){this.pendingStatus&&this.nextListener.onReceiveStatus(this.pendingStatus)}onReceiveMetadata(e){this.processingMetadata=!0,this.listener.onReceiveMetadata(e,(e=>{this.processingMetadata=!1,this.nextListener.onReceiveMetadata(e),this.processPendingMessage(),this.processPendingStatus()}))}onReceiveMessage(e){this.processingMessage=!0,this.listener.onReceiveMessage(e,(e=>{this.processingMessage=!1,this.processingMetadata?(this.pendingMessage=e,this.hasPendingMessage=!0):(this.nextListener.onReceiveMessage(e),this.processPendingStatus())}))}onReceiveStatus(e){this.listener.onReceiveStatus(e,(e=>{this.processingMetadata||this.processingMessage?this.pendingStatus=e:this.nextListener.onReceiveStatus(e)}))}},t.Http2CallStream=class{constructor(e,t,n,o,r,l){this.methodName=e,this.channel=t,this.options=n,this.channelCallCredentials=r,this.callNumber=l,this.http2Stream=null,this.pendingRead=!1,this.isWriteFilterPending=!1,this.pendingWrite=null,this.pendingWriteCallback=null,this.writesClosed=!1,this.decoder=new s.StreamDecoder,this.isReadFilterPending=!1,this.canPush=!1,this.readsClosed=!1,this.statusOutput=!1,this.unpushedReadMessages=[],this.unfilteredReadMessages=[],this.mappedStatusCode=i.Status.UNKNOWN,this.finalStatus=null,this.subchannel=null,this.listener=null,this.internalError=null,this.configDeadline=1/0,this.statusWatchers=[],this.streamEndWatchers=[],this.callStatsTracker=null,this.filterStack=o.createFilter(this),this.credentials=r,this.disconnectListener=()=>{this.endCall({code:i.Status.UNAVAILABLE,details:"Connection dropped",metadata:new a.Metadata})},this.options.parentCall&&this.options.flags&i.Propagate.CANCELLATION&&this.options.parentCall.on("cancelled",(()=>{this.cancelWithStatus(i.Status.CANCELLED,"Cancelled by parent call")}))}outputStatus(){var e;if(this.listener&&!this.statusOutput){this.statusOutput=!0;const t=this.filterStack.receiveTrailers(this.finalStatus);this.trace("ended with status: code="+t.code+' details="'+t.details+'"'),this.statusWatchers.forEach((e=>e(t))),process.nextTick((()=>{var e;null===(e=this.listener)||void 0===e||e.onReceiveStatus(t)})),null===(e=this.http2Stream)||void 0===e||e.resume(),this.subchannel&&(this.subchannel.callUnref(),this.subchannel.removeDisconnectListener(this.disconnectListener))}}trace(e){l.trace(c.LogVerbosity.DEBUG,"call_stream","["+this.callNumber+"] "+e)}endCall(e){null!==this.finalStatus&&this.finalStatus.code!==i.Status.OK||(this.finalStatus=e,this.maybeOutputStatus()),this.destroyHttp2Stream()}maybeOutputStatus(){null!==this.finalStatus&&(this.finalStatus.code!==i.Status.OK||this.readsClosed&&0===this.unpushedReadMessages.length&&0===this.unfilteredReadMessages.length&&!this.isReadFilterPending)&&this.outputStatus()}push(e){this.trace("pushing to reader message of length "+(e instanceof Buffer?e.length:null)),this.canPush=!1,process.nextTick((()=>{var t;this.statusOutput||(null===(t=this.listener)||void 0===t||t.onReceiveMessage(e),this.maybeOutputStatus())}))}handleFilterError(e){this.cancelWithStatus(i.Status.INTERNAL,e.message)}handleFilteredRead(e){if(null===this.finalStatus||this.finalStatus.code===i.Status.OK){if(this.isReadFilterPending=!1,this.canPush?(this.http2Stream.pause(),this.push(e)):(this.trace("unpushedReadMessages.push message of length "+e.length),this.unpushedReadMessages.push(e)),this.unfilteredReadMessages.length>0){const e=this.unfilteredReadMessages.shift();this.filterReceivedMessage(e)}}else this.maybeOutputStatus()}filterReceivedMessage(e){null===this.finalStatus||this.finalStatus.code===i.Status.OK?(this.trace("filterReceivedMessage of length "+e.length),this.isReadFilterPending=!0,this.filterStack.receiveMessage(Promise.resolve(e)).then(this.handleFilteredRead.bind(this),this.handleFilterError.bind(this))):this.maybeOutputStatus()}tryPush(e){this.isReadFilterPending?(this.trace("unfilteredReadMessages.push message of length "+(e&&e.length)),this.unfilteredReadMessages.push(e)):this.filterReceivedMessage(e)}handleTrailers(e){this.streamEndWatchers.forEach((e=>e(!0)));let t,n="";for(const t of Object.keys(e))n+="\t\t"+t+": "+e[t]+"\n";this.trace("Received server trailers:\n"+n);try{t=a.Metadata.fromHttp2Headers(e)}catch(e){t=new a.Metadata}const o=t.getMap();let r=this.mappedStatusCode;if(r===i.Status.UNKNOWN&&"string"==typeof o["grpc-status"]){const e=Number(o["grpc-status"]);e in i.Status&&(r=e,this.trace("received status code "+e+" from server")),t.remove("grpc-status")}let s="";if("string"==typeof o["grpc-message"]){try{s=decodeURI(o["grpc-message"])}catch(e){s=o["grpc-message"]}t.remove("grpc-message"),this.trace('received status details string "'+s+'" from server')}const l={code:r,details:s,metadata:t};this.endCall(l)}writeMessageToStream(e,t){var n;null===(n=this.callStatsTracker)||void 0===n||n.addMessageSent(),this.http2Stream.write(e,t)}attachHttp2Stream(e,t,n,s){if(this.filterStack.push(n),null!==this.finalStatus)e.close(d);else{if(this.trace("attachHttp2Stream from subchannel "+t.getAddress()),this.http2Stream=e,this.subchannel=t,this.callStatsTracker=s,t.addDisconnectListener(this.disconnectListener),t.callRef(),e.on("response",((e,t)=>{var n;let r="";for(const t of Object.keys(e))r+="\t\t"+t+": "+e[t]+"\n";switch(this.trace("Received server headers:\n"+r),e[":status"]){case 400:this.mappedStatusCode=i.Status.INTERNAL;break;case 401:this.mappedStatusCode=i.Status.UNAUTHENTICATED;break;case 403:this.mappedStatusCode=i.Status.PERMISSION_DENIED;break;case 404:this.mappedStatusCode=i.Status.UNIMPLEMENTED;break;case 429:case 502:case 503:case 504:this.mappedStatusCode=i.Status.UNAVAILABLE;break;default:this.mappedStatusCode=i.Status.UNKNOWN}if(t&o.constants.NGHTTP2_FLAG_END_STREAM)this.handleTrailers(e);else{let t;try{t=a.Metadata.fromHttp2Headers(e)}catch(e){return void this.endCall({code:i.Status.UNKNOWN,details:e.message,metadata:new a.Metadata})}try{const e=this.filterStack.receiveMetadata(t);null===(n=this.listener)||void 0===n||n.onReceiveMetadata(e)}catch(e){this.endCall({code:i.Status.UNKNOWN,details:e.message,metadata:new a.Metadata})}}})),e.on("trailers",(e=>{this.handleTrailers(e)})),e.on("data",(e=>{if(this.statusOutput)return;this.trace("receive HTTP/2 data frame of length "+e.length);const t=this.decoder.write(e);for(const e of t)this.trace("parsed message of length "+e.length),this.callStatsTracker.addMessageReceived(),this.tryPush(e)})),e.on("end",(()=>{this.readsClosed=!0,this.maybeOutputStatus()})),e.on("close",(()=>{process.nextTick((()=>{var t;if(this.trace("HTTP/2 stream closed with code "+e.rstCode),(null===(t=this.finalStatus)||void 0===t?void 0:t.code)===i.Status.OK)return;let n,r="";switch(e.rstCode){case o.constants.NGHTTP2_NO_ERROR:if(null!==this.finalStatus)return;n=i.Status.INTERNAL,r=`Received RST_STREAM with code ${e.rstCode}`;break;case o.constants.NGHTTP2_REFUSED_STREAM:n=i.Status.UNAVAILABLE,r="Stream refused by server";break;case o.constants.NGHTTP2_CANCEL:n=i.Status.CANCELLED,r="Call cancelled";break;case o.constants.NGHTTP2_ENHANCE_YOUR_CALM:n=i.Status.RESOURCE_EXHAUSTED,r="Bandwidth exhausted or memory limit exceeded";break;case o.constants.NGHTTP2_INADEQUATE_SECURITY:n=i.Status.PERMISSION_DENIED,r="Protocol not secure enough";break;case o.constants.NGHTTP2_INTERNAL_ERROR:n=i.Status.INTERNAL,null===this.internalError?r=`Received RST_STREAM with code ${e.rstCode} (Internal server error)`:"ECONNRESET"===this.internalError.code||"ETIMEDOUT"===this.internalError.code?(n=i.Status.UNAVAILABLE,r=this.internalError.message):r=`Received RST_STREAM with code ${e.rstCode} triggered by internal client error: ${this.internalError.message}`;break;default:n=i.Status.INTERNAL,r=`Received RST_STREAM with code ${e.rstCode}`}this.endCall({code:n,details:r,metadata:new a.Metadata})}))})),e.on("error",(e=>{"ERR_HTTP2_STREAM_ERROR"!==e.code&&(this.trace("Node error event: message="+e.message+" code="+e.code+" errno="+function(e){for(const[t,n]of Object.entries(r.constants.errno))if(n===e)return t;return"Unknown system error "+e}(e.errno)+" syscall="+e.syscall),this.internalError=e),this.streamEndWatchers.forEach((e=>e(!1)))})),this.pendingWrite){if(!this.pendingWriteCallback)throw new Error("Invalid state in write handling code");this.trace("sending data chunk of length "+this.pendingWrite.length+" (deferred)");try{this.writeMessageToStream(this.pendingWrite,this.pendingWriteCallback)}catch(e){this.endCall({code:i.Status.UNAVAILABLE,details:`Write failed with error ${e.message}`,metadata:new a.Metadata})}}this.maybeCloseWrites()}}start(e,t){this.trace("Sending metadata"),this.listener=t,this.channel._startCallStream(this,e),this.maybeOutputStatus()}destroyHttp2Stream(){var e;if(null!==this.http2Stream&&!this.http2Stream.destroyed){let t;t=(null===(e=this.finalStatus)||void 0===e?void 0:e.code)===i.Status.OK?o.constants.NGHTTP2_NO_ERROR:o.constants.NGHTTP2_CANCEL,this.trace("close http2 stream with code "+t),this.http2Stream.close(t)}}cancelWithStatus(e,t){this.trace("cancelWithStatus code: "+e+' details: "'+t+'"'),this.endCall({code:e,details:t,metadata:new a.Metadata})}getDeadline(){const e=[this.options.deadline];return this.options.parentCall&&this.options.flags&i.Propagate.DEADLINE&&e.push(this.options.parentCall.getDeadline()),this.configDeadline&&e.push(this.configDeadline),function(e){let t=1/0;for(const n of e){const e=n instanceof Date?n.getTime():n;e0){const e=this.unpushedReadMessages.shift();return void this.push(e)}this.http2Stream.resume()}}maybeCloseWrites(){this.writesClosed&&!this.isWriteFilterPending&&null!==this.http2Stream&&(this.trace("calling end() on HTTP/2 stream"),this.http2Stream.end())}sendMessageWithContext(e,t){this.trace("write() called with message of length "+t.length);const n={message:t,flags:e.flags},o=t=>{var n,o;let r=i.Status.UNAVAILABLE;"ERR_STREAM_WRITE_AFTER_END"===(null===(n=t)||void 0===n?void 0:n.code)&&(r=i.Status.INTERNAL),t&&this.cancelWithStatus(r,`Write error: ${t.message}`),null===(o=e.callback)||void 0===o||o.call(e)};this.isWriteFilterPending=!0,this.filterStack.sendMessage(Promise.resolve(n)).then((e=>{if(this.isWriteFilterPending=!1,null===this.http2Stream)this.trace("deferring writing data chunk of length "+e.message.length),this.pendingWrite=e.message,this.pendingWriteCallback=o;else{this.trace("sending data chunk of length "+e.message.length);try{this.writeMessageToStream(e.message,o)}catch(e){this.endCall({code:i.Status.UNAVAILABLE,details:`Write failed with error ${e.message}`,metadata:new a.Metadata})}this.maybeCloseWrites()}}),this.handleFilterError.bind(this))}halfClose(){this.trace("end() called"),this.writesClosed=!0,this.maybeCloseWrites()}}},62632:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClientDuplexStreamImpl=t.ClientWritableStreamImpl=t.ClientReadableStreamImpl=t.ClientUnaryCallImpl=t.callErrorFromStatus=void 0;const o=n(82361),r=n(12781),i=n(65328);t.callErrorFromStatus=function(e,t){const n=`${e.code} ${i.Status[e.code]}: ${e.details}`,o=`${new Error(n).stack}\nfor call at\n${t}`;return Object.assign(new Error(n),e,{stack:o})};class a extends o.EventEmitter{constructor(){super()}cancel(){var e;null===(e=this.call)||void 0===e||e.cancelWithStatus(i.Status.CANCELLED,"Cancelled on client")}getPeer(){var e,t;return null!==(t=null===(e=this.call)||void 0===e?void 0:e.getPeer())&&void 0!==t?t:"unknown"}}t.ClientUnaryCallImpl=a;class s extends r.Readable{constructor(e){super({objectMode:!0}),this.deserialize=e}cancel(){var e;null===(e=this.call)||void 0===e||e.cancelWithStatus(i.Status.CANCELLED,"Cancelled on client")}getPeer(){var e,t;return null!==(t=null===(e=this.call)||void 0===e?void 0:e.getPeer())&&void 0!==t?t:"unknown"}_read(e){var t;null===(t=this.call)||void 0===t||t.startRead()}}t.ClientReadableStreamImpl=s;class l extends r.Writable{constructor(e){super({objectMode:!0}),this.serialize=e}cancel(){var e;null===(e=this.call)||void 0===e||e.cancelWithStatus(i.Status.CANCELLED,"Cancelled on client")}getPeer(){var e,t;return null!==(t=null===(e=this.call)||void 0===e?void 0:e.getPeer())&&void 0!==t?t:"unknown"}_write(e,t,n){var o;const r={callback:n},i=Number(t);Number.isNaN(i)||(r.flags=i),null===(o=this.call)||void 0===o||o.sendMessageWithContext(r,e)}_final(e){var t;null===(t=this.call)||void 0===t||t.halfClose(),e()}}t.ClientWritableStreamImpl=l;class c extends r.Duplex{constructor(e,t){super({objectMode:!0}),this.serialize=e,this.deserialize=t}cancel(){var e;null===(e=this.call)||void 0===e||e.cancelWithStatus(i.Status.CANCELLED,"Cancelled on client")}getPeer(){var e,t;return null!==(t=null===(e=this.call)||void 0===e?void 0:e.getPeer())&&void 0!==t?t:"unknown"}_read(e){var t;null===(t=this.call)||void 0===t||t.startRead()}_write(e,t,n){var o;const r={callback:n},i=Number(t);Number.isNaN(i)||(r.flags=i),null===(o=this.call)||void 0===o||o.sendMessageWithContext(r,e)}_final(e){var t;null===(t=this.call)||void 0===t||t.halfClose(),e()}}t.ClientDuplexStreamImpl=c},16643:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChannelCredentials=void 0;const o=n(24404),r=n(68024),i=n(75393);function a(e,t){if(e&&!(e instanceof Buffer))throw new TypeError(`${t}, if provided, must be a Buffer.`)}class s{constructor(e){this.callCredentials=e||r.CallCredentials.createEmpty()}_getCallCredentials(){return this.callCredentials}static createSsl(e,t,n,r){var s;if(a(e,"Root certificate"),a(t,"Private key"),a(n,"Certificate chain"),t&&!n)throw new Error("Private key must be given with accompanying certificate chain");if(!t&&n)throw new Error("Certificate chain must be given with accompanying private key");const l=o.createSecureContext({ca:null!==(s=null!=e?e:i.getDefaultRootsData())&&void 0!==s?s:void 0,key:null!=t?t:void 0,cert:null!=n?n:void 0,ciphers:i.CIPHER_SUITES});return new c(l,null!=r?r:{})}static createFromSecureContext(e,t){return new c(e,null!=t?t:{})}static createInsecure(){return new l}}t.ChannelCredentials=s;class l extends s{constructor(e){super(e)}compose(e){throw new Error("Cannot compose insecure credentials")}_getConnectionOptions(){return null}_isSecure(){return!1}_equals(e){return e instanceof l}}class c extends s{constructor(e,t){super(),this.secureContext=e,this.verifyOptions=t,this.connectionOptions={secureContext:e},(null==t?void 0:t.checkServerIdentity)&&(this.connectionOptions.checkServerIdentity=t.checkServerIdentity)}compose(e){const t=this.callCredentials.compose(e);return new p(this,t)}_getConnectionOptions(){return Object.assign({},this.connectionOptions)}_isSecure(){return!0}_equals(e){return this===e||e instanceof c&&this.secureContext===e.secureContext&&this.verifyOptions.checkServerIdentity===e.verifyOptions.checkServerIdentity}}class p extends s{constructor(e,t){super(t),this.channelCredentials=e}compose(e){const t=this.callCredentials.compose(e);return new p(this.channelCredentials,t)}_getConnectionOptions(){return this.channelCredentials._getConnectionOptions()}_isSecure(){return!0}_equals(e){return this===e||e instanceof p&&this.channelCredentials._equals(e.channelCredentials)&&this.callCredentials._equals(e.callCredentials)}}},70713:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.channelOptionsEqual=t.recognizedOptions=void 0,t.recognizedOptions={"grpc.ssl_target_name_override":!0,"grpc.primary_user_agent":!0,"grpc.secondary_user_agent":!0,"grpc.default_authority":!0,"grpc.keepalive_time_ms":!0,"grpc.keepalive_timeout_ms":!0,"grpc.keepalive_permit_without_calls":!0,"grpc.service_config":!0,"grpc.max_concurrent_streams":!0,"grpc.initial_reconnect_backoff_ms":!0,"grpc.max_reconnect_backoff_ms":!0,"grpc.use_local_subchannel_pool":!0,"grpc.max_send_message_length":!0,"grpc.max_receive_message_length":!0,"grpc.enable_http_proxy":!0,"grpc.enable_channelz":!0,"grpc.dns_min_time_between_resolutions_ms":!0,"grpc-node.max_session_memory":!0},t.channelOptionsEqual=function(e,t){const n=Object.keys(e).sort(),o=Object.keys(t).sort();if(n.length!==o.length)return!1;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChannelImplementation=void 0;const o=n(49650),r=n(16643),i=n(48026),a=n(38117),s=n(56617),l=n(65328),c=n(8401),p=n(44066),u=n(71046),d=n(59695),g=n(17394),f=n(51051),h=n(65146),m=n(30914),y=n(8084),v=n(89091),b=n(68109);let O=0;const w=[l.Status.OK,l.Status.INVALID_ARGUMENT,l.Status.NOT_FOUND,l.Status.ALREADY_EXISTS,l.Status.FAILED_PRECONDITION,l.Status.ABORTED,l.Status.OUT_OF_RANGE,l.Status.DATA_LOSS];function P(e,t){return w.includes(e)?{code:l.Status.INTERNAL,details:`Invalid status from control plane: ${e} ${l.Status[e]} ${t}`}:{code:e,details:t}}t.ChannelImplementation=class{constructor(e,t,n){var o,O,w,x;if(this.credentials=t,this.options=n,this.connectivityState=v.ConnectivityState.IDLE,this.currentPicker=new s.UnavailablePicker,this.configSelectionQueue=[],this.pickQueue=[],this.connectivityStateWatchers=[],this.configSelector=null,this.currentResolutionError=null,this.channelzEnabled=!0,this.callTracker=new b.ChannelzCallTracker,this.childrenTracker=new b.ChannelzChildrenTracker,"string"!=typeof e)throw new TypeError("Channel target must be a string");if(!(t instanceof r.ChannelCredentials))throw new TypeError("Channel credentials must be a ChannelCredentials object");if(n&&"object"!=typeof n)throw new TypeError("Channel options must be an object");this.originalTarget=e;const S=y.parseUri(e);if(null===S)throw new Error(`Could not parse target name "${e}"`);const T=g.mapUriDefaultScheme(S);if(null===T)throw new Error(`Could not find a default scheme for target name "${e}"`);this.callRefTimer=setInterval((()=>{}),2147483647),null===(O=(o=this.callRefTimer).unref)||void 0===O||O.call(o),0===this.options["grpc.enable_channelz"]&&(this.channelzEnabled=!1),this.channelzTrace=new b.ChannelzTrace,this.channelzRef=b.registerChannelzChannel(e,(()=>this.getChannelzInfo()),this.channelzEnabled),this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO","Channel created"),this.options["grpc.default_authority"]?this.defaultAuthority=this.options["grpc.default_authority"]:this.defaultAuthority=g.getDefaultAuthority(T);const A=m.mapProxyName(T,n);this.target=A.target,this.options=Object.assign({},this.options,A.extraOptions),this.subchannelPool=a.getSubchannelPool(0===(null!==(w=n["grpc.use_local_subchannel_pool"])&&void 0!==w?w:0));const E={createSubchannel:(e,t)=>{const n=this.subchannelPool.getOrCreateSubchannel(this.target,e,Object.assign({},this.options,t),this.credentials);return this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO","Created subchannel or used existing subchannel",n.getChannelzRef()),n},updateState:(e,t)=>{this.currentPicker=t;const n=this.pickQueue.slice();this.pickQueue=[],this.callRefTimerUnref();for(const{callStream:e,callMetadata:t,callConfig:o,dynamicFilters:r}of n)this.tryPick(e,t,o,r);this.updateState(e)},requestReresolution:()=>{throw new Error("Resolving load balancer should never call requestReresolution")},addChannelzChild:e=>{this.channelzEnabled&&this.childrenTracker.refChild(e)},removeChannelzChild:e=>{this.channelzEnabled&&this.childrenTracker.unrefChild(e)}};this.resolvingLoadBalancer=new i.ResolvingLoadBalancer(this.target,E,n,(e=>{this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO","Address resolution succeeded"),this.configSelector=e,this.currentResolutionError=null,process.nextTick((()=>{const e=this.configSelectionQueue;this.configSelectionQueue=[],this.callRefTimerUnref();for(const{callStream:t,callMetadata:n}of e)this.tryGetConfig(t,n);this.configSelectionQueue=[]}))}),(e=>{this.channelzEnabled&&this.channelzTrace.addTrace("CT_WARNING","Address resolution failed with code "+e.code+' and details "'+e.details+'"'),this.configSelectionQueue.length>0&&this.trace("Name resolution failed with calls queued for config selection"),null===this.configSelector&&(this.currentResolutionError=Object.assign(Object.assign({},P(e.code,e.details)),{metadata:e.metadata}));const t=this.configSelectionQueue;this.configSelectionQueue=[],this.callRefTimerUnref();for(const{callStream:n,callMetadata:o}of t)o.getOptions().waitForReady?(this.callRefTimerRef(),this.configSelectionQueue.push({callStream:n,callMetadata:o})):n.cancelWithStatus(e.code,e.details)})),this.filterStackFactory=new c.FilterStackFactory([new p.CallCredentialsFilterFactory(this),new u.DeadlineFilterFactory(this),new h.MaxMessageSizeFilterFactory(this.options),new d.CompressionFilterFactory(this,this.options)]),this.trace("Channel constructed with options "+JSON.stringify(n,void 0,2));const j=new Error;f.trace(l.LogVerbosity.DEBUG,"channel_stacktrace","("+this.channelzRef.id+") Channel constructed \n"+(null===(x=j.stack)||void 0===x?void 0:x.substring(j.stack.indexOf("\n")+1)))}getChannelzInfo(){return{target:this.originalTarget,state:this.connectivityState,trace:this.channelzTrace,callTracker:this.callTracker,children:this.childrenTracker.getChildLists()}}trace(e,t){f.trace(null!=t?t:l.LogVerbosity.DEBUG,"channel","("+this.channelzRef.id+") "+y.uriToString(this.target)+" "+e)}callRefTimerRef(){var e,t,n,o;(null===(t=(e=this.callRefTimer).hasRef)||void 0===t?void 0:t.call(e))||(this.trace("callRefTimer.ref | configSelectionQueue.length="+this.configSelectionQueue.length+" pickQueue.length="+this.pickQueue.length),null===(o=(n=this.callRefTimer).ref)||void 0===o||o.call(n))}callRefTimerUnref(){var e,t;this.callRefTimer.hasRef&&!this.callRefTimer.hasRef()||(this.trace("callRefTimer.unref | configSelectionQueue.length="+this.configSelectionQueue.length+" pickQueue.length="+this.pickQueue.length),null===(t=(e=this.callRefTimer).unref)||void 0===t||t.call(e))}pushPick(e,t,n,o){this.pickQueue.push({callStream:e,callMetadata:t,callConfig:n,dynamicFilters:o}),this.callRefTimerRef()}tryPick(e,t,n,o){var r,i;const a=this.currentPicker.pick({metadata:t,extraPickInfo:n.pickInformation}),c=a.subchannel?"("+a.subchannel.getChannelzRef().id+") "+a.subchannel.getAddress():""+a.subchannel;switch(this.trace("Pick result for call ["+e.getCallNumber()+"]: "+s.PickResultType[a.pickResultType]+" subchannel: "+c+" status: "+(null===(r=a.status)||void 0===r?void 0:r.code)+" "+(null===(i=a.status)||void 0===i?void 0:i.details)),a.pickResultType){case s.PickResultType.COMPLETE:if(null===a.subchannel)e.cancelWithStatus(l.Status.UNAVAILABLE,"Request dropped by load balancing policy");else{if(a.subchannel.getConnectivityState()!==v.ConnectivityState.READY){f.log(l.LogVerbosity.ERROR,"Error: COMPLETE pick result subchannel "+c+" has state "+v.ConnectivityState[a.subchannel.getConnectivityState()]),this.pushPick(e,t,n,o);break}e.filterStack.sendMetadata(Promise.resolve(t.clone())).then((r=>{var i,s,p;const u=a.subchannel.getConnectivityState();if(u===v.ConnectivityState.READY)try{const t=a.extraFilterFactories.map((t=>t.createFilter(e)));null===(i=a.subchannel)||void 0===i||i.getRealSubchannel().startCallStream(r,e,[...o,...t]),null===(s=n.onCommitted)||void 0===s||s.call(n),null===(p=a.onCallStarted)||void 0===p||p.call(a)}catch(r){const i=r.code;"ERR_HTTP2_GOAWAY_SESSION"===i||"ERR_HTTP2_INVALID_SESSION"===i?(this.trace("Failed to start call on picked subchannel "+c+" with error "+r.message+". Retrying pick",l.LogVerbosity.INFO),this.tryPick(e,t,n,o)):(this.trace("Failed to start call on picked subchanel "+c+" with error "+r.message+". Ending call",l.LogVerbosity.INFO),e.cancelWithStatus(l.Status.INTERNAL,`Failed to start HTTP/2 stream with error: ${r.message}`))}else this.trace("Picked subchannel "+c+" has state "+v.ConnectivityState[u]+" after metadata filters. Retrying pick",l.LogVerbosity.INFO),this.tryPick(e,t,n,o)}),(t=>{const{code:n,details:o}=P("number"==typeof t.code?t.code:l.Status.UNKNOWN,`Getting metadata from plugin failed with error: ${t.message}`);e.cancelWithStatus(n,o)}))}break;case s.PickResultType.QUEUE:this.pushPick(e,t,n,o);break;case s.PickResultType.TRANSIENT_FAILURE:if(t.getOptions().waitForReady)this.pushPick(e,t,n,o);else{const{code:t,details:n}=P(a.status.code,a.status.details);e.cancelWithStatus(t,n)}break;case s.PickResultType.DROP:const{code:r,details:i}=P(a.status.code,a.status.details);e.cancelWithStatus(r,i);break;default:throw new Error(`Invalid state: unknown pickResultType ${a.pickResultType}`)}}removeConnectivityStateWatcher(e){const t=this.connectivityStateWatchers.findIndex((t=>t===e));t>=0&&this.connectivityStateWatchers.splice(t,1)}updateState(e){f.trace(l.LogVerbosity.DEBUG,"connectivity_state","("+this.channelzRef.id+") "+y.uriToString(this.target)+" "+v.ConnectivityState[this.connectivityState]+" -> "+v.ConnectivityState[e]),this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO",v.ConnectivityState[this.connectivityState]+" -> "+v.ConnectivityState[e]),this.connectivityState=e;const t=this.connectivityStateWatchers.slice();for(const n of t)e!==n.currentState&&(n.timer&&clearTimeout(n.timer),this.removeConnectivityStateWatcher(n),n.callback());e!==v.ConnectivityState.TRANSIENT_FAILURE&&(this.currentResolutionError=null)}tryGetConfig(e,t){if(null===e.getStatus())if(null===this.configSelector)this.resolvingLoadBalancer.exitIdle(),this.currentResolutionError&&!t.getOptions().waitForReady?e.cancelWithStatus(this.currentResolutionError.code,this.currentResolutionError.details):(this.configSelectionQueue.push({callStream:e,callMetadata:t}),this.callRefTimerRef());else{const n=this.configSelector(e.getMethod(),t);if(n.status===l.Status.OK){if(n.methodConfig.timeout){const t=new Date;t.setSeconds(t.getSeconds()+n.methodConfig.timeout.seconds),t.setMilliseconds(t.getMilliseconds()+n.methodConfig.timeout.nanos/1e6),e.setConfigDeadline(t),e.filterStack.refresh()}if(n.dynamicFilterFactories.length>0){const o=new c.FilterStackFactory(n.dynamicFilterFactories).createFilter(e);o.sendMetadata(Promise.resolve(t)).then((t=>{this.tryPick(e,t,n,o.getFilters())}))}else this.tryPick(e,t,n,[])}else{const{code:t,details:o}=P(n.status,"Failed to route call to method "+e.getMethod());e.cancelWithStatus(t,o)}}}_startCallStream(e,t){this.tryGetConfig(e,t.clone())}close(){this.resolvingLoadBalancer.destroy(),this.updateState(v.ConnectivityState.SHUTDOWN),clearInterval(this.callRefTimer),this.channelzEnabled&&b.unregisterChannelzRef(this.channelzRef),this.subchannelPool.unrefUnusedSubchannels()}getTarget(){return y.uriToString(this.target)}getConnectivityState(e){const t=this.connectivityState;return e&&this.resolvingLoadBalancer.exitIdle(),t}watchConnectivityState(e,t,n){if(this.connectivityState===v.ConnectivityState.SHUTDOWN)throw new Error("Channel has been shut down");let o=null;if(t!==1/0){const e=t instanceof Date?t:new Date(t),i=new Date;if(t===-1/0||e<=i)return void process.nextTick(n,new Error("Deadline passed without connectivity state change"));o=setTimeout((()=>{this.removeConnectivityStateWatcher(r),n(new Error("Deadline passed without connectivity state change"))}),e.getTime()-i.getTime())}const r={currentState:e,callback:n,timer:o};this.connectivityStateWatchers.push(r)}getChannelzRef(){return this.channelzRef}createCall(e,t,n,r,i){if("string"!=typeof e)throw new TypeError("Channel#createCall: method must be a string");if(!("number"==typeof t||t instanceof Date))throw new TypeError("Channel#createCall: deadline must be a number or Date");if(this.connectivityState===v.ConnectivityState.SHUTDOWN)throw new Error("Channel has been shut down");const a=function(){const e=O;return O+=1,O>=Number.MAX_SAFE_INTEGER&&(O=0),e}();this.trace("createCall ["+a+'] method="'+e+'", deadline='+t);const s={deadline:t,flags:null!=i?i:l.Propagate.DEFAULTS,host:null!=n?n:this.defaultAuthority,parentCall:r},c=new o.Http2CallStream(e,this,s,this.filterStackFactory,this.credentials._getCallCredentials(),a);return this.channelzEnabled&&(this.callTracker.addCallStarted(),c.addStatusWatcher((e=>{e.code===l.Status.OK?this.callTracker.addCallSucceeded():this.callTracker.addCallFailed()}))),c}}},68109:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setup=t.getChannelzServiceDefinition=t.getChannelzHandlers=t.unregisterChannelzRef=t.registerChannelzSocket=t.registerChannelzServer=t.registerChannelzSubchannel=t.registerChannelzChannel=t.ChannelzCallTracker=t.ChannelzChildrenTracker=t.ChannelzTrace=void 0;const o=n(41808),r=n(89091),i=n(65328),a=n(87297),s=n(57935),l=n(50381);function c(e){return{channel_id:e.id,name:e.name}}function p(e){return{subchannel_id:e.id,name:e.name}}function u(e){return{socket_id:e.id,name:e.name}}t.ChannelzTrace=class{constructor(){this.events=[],this.eventsLogged=0,this.creationTimestamp=new Date}addTrace(e,t,n){const o=new Date;this.events.push({description:t,severity:e,timestamp:o,childChannel:"channel"===(null==n?void 0:n.kind)?n:void 0,childSubchannel:"subchannel"===(null==n?void 0:n.kind)?n:void 0}),this.events.length>=64&&(this.events=this.events.slice(32)),this.eventsLogged+=1}getTraceMessage(){return{creation_timestamp:w(this.creationTimestamp),num_events_logged:this.eventsLogged,events:this.events.map((e=>({description:e.description,severity:e.severity,timestamp:w(e.timestamp),channel_ref:e.childChannel?c(e.childChannel):null,subchannel_ref:e.childSubchannel?p(e.childSubchannel):null})))}}},t.ChannelzChildrenTracker=class{constructor(){this.channelChildren=new Map,this.subchannelChildren=new Map,this.socketChildren=new Map}refChild(e){var t,n,o;switch(e.kind){case"channel":{let n=null!==(t=this.channelChildren.get(e.id))&&void 0!==t?t:{ref:e,count:0};n.count+=1,this.channelChildren.set(e.id,n);break}case"subchannel":{let t=null!==(n=this.subchannelChildren.get(e.id))&&void 0!==n?n:{ref:e,count:0};t.count+=1,this.subchannelChildren.set(e.id,t);break}case"socket":{let t=null!==(o=this.socketChildren.get(e.id))&&void 0!==o?o:{ref:e,count:0};t.count+=1,this.socketChildren.set(e.id,t);break}}}unrefChild(e){switch(e.kind){case"channel":{let t=this.channelChildren.get(e.id);void 0!==t&&(t.count-=1,0===t.count?this.channelChildren.delete(e.id):this.channelChildren.set(e.id,t));break}case"subchannel":{let t=this.subchannelChildren.get(e.id);void 0!==t&&(t.count-=1,0===t.count?this.subchannelChildren.delete(e.id):this.subchannelChildren.set(e.id,t));break}case"socket":{let t=this.socketChildren.get(e.id);void 0!==t&&(t.count-=1,0===t.count?this.socketChildren.delete(e.id):this.socketChildren.set(e.id,t));break}}}getChildLists(){const e=[];for(const{ref:t}of this.channelChildren.values())e.push(t);const t=[];for(const{ref:e}of this.subchannelChildren.values())t.push(e);const n=[];for(const{ref:e}of this.socketChildren.values())n.push(e);return{channels:e,subchannels:t,sockets:n}}},t.ChannelzCallTracker=class{constructor(){this.callsStarted=0,this.callsSucceeded=0,this.callsFailed=0,this.lastCallStartedTimestamp=null}addCallStarted(){this.callsStarted+=1,this.lastCallStartedTimestamp=new Date}addCallSucceeded(){this.callsSucceeded+=1}addCallFailed(){this.callsFailed+=1}};let d=1;function g(){return d++}const f=[],h=[],m=[],y=[];function v(e){if(""===e)return[];const t=e.split(":").map((e=>function(e){const t=Number.parseInt(e,16);return[t/256|0,t%256]}(e)));return[].concat(...t)}function b(e){if(o.isIPv4(e))return Buffer.from(Uint8Array.from(e.split(".").map((e=>Number.parseInt(e)))));if(o.isIPv6(e)){let t,n;const o=e.indexOf("::");-1===o?(t=e,n=""):(t=e.substring(0,o),n=e.substring(o+2));const r=Buffer.from(v(t)),i=Buffer.from(v(n)),a=Buffer.alloc(16-r.length-i.length,0);return Buffer.concat([r,a,i])}return null}function O(e){switch(e){case r.ConnectivityState.CONNECTING:return{state:"CONNECTING"};case r.ConnectivityState.IDLE:return{state:"IDLE"};case r.ConnectivityState.READY:return{state:"READY"};case r.ConnectivityState.SHUTDOWN:return{state:"SHUTDOWN"};case r.ConnectivityState.TRANSIENT_FAILURE:return{state:"TRANSIENT_FAILURE"};default:return{state:"UNKNOWN"}}}function w(e){if(!e)return null;const t=e.getTime();return{seconds:t/1e3|0,nanos:t%1e3*1e6}}function P(e){const t=e.getInfo();return{ref:c(e.ref),data:{target:t.target,state:O(t.state),calls_started:t.callTracker.callsStarted,calls_succeeded:t.callTracker.callsSucceeded,calls_failed:t.callTracker.callsFailed,last_call_started_timestamp:w(t.callTracker.lastCallStartedTimestamp),trace:t.trace.getTraceMessage()},channel_ref:t.children.channels.map((e=>c(e))),subchannel_ref:t.children.subchannels.map((e=>p(e)))}}function x(e,t){const n=Number.parseInt(e.request.channel_id),o=f[n];void 0!==o?t(null,{channel:P(o)}):t({code:i.Status.NOT_FOUND,details:"No channel data found for id "+n})}function S(e,t){const n=Number.parseInt(e.request.max_results),o=[];let r=Number.parseInt(e.request.start_channel_id);for(;r=n))break}t(null,{channel:o,end:r>=m.length})}function T(e){const t=e.getInfo();return{ref:(n=e.ref,{server_id:n.id}),data:{calls_started:t.callTracker.callsStarted,calls_succeeded:t.callTracker.callsSucceeded,calls_failed:t.callTracker.callsFailed,last_call_started_timestamp:w(t.callTracker.lastCallStartedTimestamp),trace:t.trace.getTraceMessage()},listen_socket:t.listenerChildren.sockets.map((e=>u(e)))};var n}function A(e,t){const n=Number.parseInt(e.request.server_id),o=m[n];void 0!==o?t(null,{server:T(o)}):t({code:i.Status.NOT_FOUND,details:"No server data found for id "+n})}function E(e,t){const n=Number.parseInt(e.request.max_results),o=[];let r=Number.parseInt(e.request.start_server_id);for(;r=n))break}t(null,{server:o,end:r>=m.length})}function j(e,t){const n=Number.parseInt(e.request.subchannel_id),o=h[n];if(void 0===o)return void t({code:i.Status.NOT_FOUND,details:"No subchannel data found for id "+n});const r=o.getInfo();t(null,{subchannel:{ref:p(o.ref),data:{target:r.target,state:O(r.state),calls_started:r.callTracker.callsStarted,calls_succeeded:r.callTracker.callsSucceeded,calls_failed:r.callTracker.callsFailed,last_call_started_timestamp:w(r.callTracker.lastCallStartedTimestamp),trace:r.trace.getTraceMessage()},socket_ref:r.children.sockets.map((e=>u(e)))}})}function k(e){var t;return a.isTcpSubchannelAddress(e)?{address:"tcpip_address",tcpip_address:{ip_address:null!==(t=b(e.host))&&void 0!==t?t:void 0,port:e.port}}:{address:"uds_address",uds_address:{filename:e.path}}}function _(e,t){var n,o,r,a,s;const l=Number.parseInt(e.request.socket_id),c=y[l];if(void 0===c)return void t({code:i.Status.NOT_FOUND,details:"No socket data found for id "+l});const p=c.getInfo(),d=p.security?{model:"tls",tls:{cipher_suite:p.security.cipherSuiteStandardName?"standard_name":"other_name",standard_name:null!==(n=p.security.cipherSuiteStandardName)&&void 0!==n?n:void 0,other_name:null!==(o=p.security.cipherSuiteOtherName)&&void 0!==o?o:void 0,local_certificate:null!==(r=p.security.localCertificate)&&void 0!==r?r:void 0,remote_certificate:null!==(a=p.security.remoteCertificate)&&void 0!==a?a:void 0}}:null;t(null,{socket:{ref:u(c.ref),local:p.localAddress?k(p.localAddress):null,remote:p.remoteAddress?k(p.remoteAddress):null,remote_name:null!==(s=p.remoteName)&&void 0!==s?s:void 0,security:d,data:{keep_alives_sent:p.keepAlivesSent,streams_started:p.streamsStarted,streams_succeeded:p.streamsSucceeded,streams_failed:p.streamsFailed,last_local_stream_created_timestamp:w(p.lastLocalStreamCreatedTimestamp),last_remote_stream_created_timestamp:w(p.lastRemoteStreamCreatedTimestamp),messages_received:p.messagesReceived,messages_sent:p.messagesSent,last_message_received_timestamp:w(p.lastMessageReceivedTimestamp),last_message_sent_timestamp:w(p.lastMessageSentTimestamp),local_flow_control_window:p.localFlowControlWindow?{value:p.localFlowControlWindow}:null,remote_flow_control_window:p.remoteFlowControlWindow?{value:p.remoteFlowControlWindow}:null}}})}function C(e,t){const n=Number.parseInt(e.request.server_id),o=m[n];if(void 0===o)return void t({code:i.Status.NOT_FOUND,details:"No server data found for id "+n});const r=Number.parseInt(e.request.start_socket_id),a=Number.parseInt(e.request.max_results),s=o.getInfo().sessionChildren.sockets.sort(((e,t)=>e.id-t.id)),l=[];let c=0;for(;c=r&&(l.push(u(s[c])),l.length>=a));c++);t(null,{socket_ref:l,end:c>=s.length})}function I(){return{GetChannel:x,GetTopChannels:S,GetServer:A,GetServers:E,GetSubchannel:j,GetSocket:_,GetServerSockets:C}}t.registerChannelzChannel=function(e,t,n){const o=g(),r={id:o,name:e,kind:"channel"};return n&&(f[o]={ref:r,getInfo:t}),r},t.registerChannelzSubchannel=function(e,t,n){const o=g(),r={id:o,name:e,kind:"subchannel"};return n&&(h[o]={ref:r,getInfo:t}),r},t.registerChannelzServer=function(e,t){const n=g(),o={id:n,kind:"server"};return t&&(m[n]={ref:o,getInfo:e}),o},t.registerChannelzSocket=function(e,t,n){const o=g(),r={id:o,name:e,kind:"socket"};return n&&(y[o]={ref:r,getInfo:t}),r},t.unregisterChannelzRef=function(e){switch(e.kind){case"channel":return void delete f[e.id];case"subchannel":return void delete h[e.id];case"server":return void delete m[e.id];case"socket":return void delete y[e.id]}},t.getChannelzHandlers=I;let R=null;function N(){if(R)return R;const e=(0,n(91779).loadSync)("channelz.proto",{keepCase:!0,longs:String,enums:String,defaults:!0,oneofs:!0,includeDirs:[`${__dirname}/../../proto`]}),t=l.loadPackageDefinition(e);return R=t.grpc.channelz.v1.Channelz.service,R}t.getChannelzServiceDefinition=N,t.setup=function(){s.registerAdminService(N,I)}},47326:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInterceptingCall=t.InterceptingCall=t.RequesterBuilder=t.ListenerBuilder=t.InterceptorConfigurationError=void 0;const o=n(21494),r=n(49650),i=n(65328);class a extends Error{constructor(e){super(e),this.name="InterceptorConfigurationError",Error.captureStackTrace(this,a)}}t.InterceptorConfigurationError=a,t.ListenerBuilder=class{constructor(){this.metadata=void 0,this.message=void 0,this.status=void 0}withOnReceiveMetadata(e){return this.metadata=e,this}withOnReceiveMessage(e){return this.message=e,this}withOnReceiveStatus(e){return this.status=e,this}build(){return{onReceiveMetadata:this.metadata,onReceiveMessage:this.message,onReceiveStatus:this.status}}},t.RequesterBuilder=class{constructor(){this.start=void 0,this.message=void 0,this.halfClose=void 0,this.cancel=void 0}withStart(e){return this.start=e,this}withSendMessage(e){return this.message=e,this}withHalfClose(e){return this.halfClose=e,this}withCancel(e){return this.cancel=e,this}build(){return{start:this.start,sendMessage:this.message,halfClose:this.halfClose,cancel:this.cancel}}};const s={onReceiveMetadata:(e,t)=>{t(e)},onReceiveMessage:(e,t)=>{t(e)},onReceiveStatus:(e,t)=>{t(e)}},l={start:(e,t,n)=>{n(e,t)},sendMessage:(e,t)=>{t(e)},halfClose:e=>{e()},cancel:e=>{e()}};t.InterceptingCall=class{constructor(e,t){var n,o,r,i;this.nextCall=e,this.processingMetadata=!1,this.pendingMessageContext=null,this.processingMessage=!1,this.pendingHalfClose=!1,this.requester=t?{start:null!==(n=t.start)&&void 0!==n?n:l.start,sendMessage:null!==(o=t.sendMessage)&&void 0!==o?o:l.sendMessage,halfClose:null!==(r=t.halfClose)&&void 0!==r?r:l.halfClose,cancel:null!==(i=t.cancel)&&void 0!==i?i:l.cancel}:l}cancelWithStatus(e,t){this.requester.cancel((()=>{this.nextCall.cancelWithStatus(e,t)}))}getPeer(){return this.nextCall.getPeer()}processPendingMessage(){this.pendingMessageContext&&(this.nextCall.sendMessageWithContext(this.pendingMessageContext,this.pendingMessage),this.pendingMessageContext=null,this.pendingMessage=null)}processPendingHalfClose(){this.pendingHalfClose&&this.nextCall.halfClose()}start(e,t){var n,o,i,a,l,c;const p={onReceiveMetadata:null!==(o=null===(n=null==t?void 0:t.onReceiveMetadata)||void 0===n?void 0:n.bind(t))&&void 0!==o?o:e=>{},onReceiveMessage:null!==(a=null===(i=null==t?void 0:t.onReceiveMessage)||void 0===i?void 0:i.bind(t))&&void 0!==a?a:e=>{},onReceiveStatus:null!==(c=null===(l=null==t?void 0:t.onReceiveStatus)||void 0===l?void 0:l.bind(t))&&void 0!==c?c:e=>{}};this.processingMetadata=!0,this.requester.start(e,p,((e,t)=>{var n,o,i;let a;if(this.processingMetadata=!1,r.isInterceptingListener(t))a=t;else{const e={onReceiveMetadata:null!==(n=t.onReceiveMetadata)&&void 0!==n?n:s.onReceiveMetadata,onReceiveMessage:null!==(o=t.onReceiveMessage)&&void 0!==o?o:s.onReceiveMessage,onReceiveStatus:null!==(i=t.onReceiveStatus)&&void 0!==i?i:s.onReceiveStatus};a=new r.InterceptingListenerImpl(e,p)}this.nextCall.start(e,a),this.processPendingMessage(),this.processPendingHalfClose()}))}sendMessageWithContext(e,t){this.processingMessage=!0,this.requester.sendMessage(t,(n=>{this.processingMessage=!1,this.processingMetadata?(this.pendingMessageContext=e,this.pendingMessage=t):(this.nextCall.sendMessageWithContext(e,n),this.processPendingHalfClose())}))}sendMessage(e){this.sendMessageWithContext({},e)}startRead(){this.nextCall.startRead()}halfClose(){this.requester.halfClose((()=>{this.processingMetadata||this.processingMessage?this.pendingHalfClose=!0:this.nextCall.halfClose()}))}setCredentials(e){this.nextCall.setCredentials(e)}};class c{constructor(e,t){this.call=e,this.methodDefinition=t}cancelWithStatus(e,t){this.call.cancelWithStatus(e,t)}getPeer(){return this.call.getPeer()}setCredentials(e){this.call.setCredentials(e)}sendMessageWithContext(e,t){let n;try{n=this.methodDefinition.requestSerialize(t)}catch(e){return void this.call.cancelWithStatus(i.Status.INTERNAL,`Request message serialization failure: ${e.message}`)}this.call.sendMessageWithContext(e,n)}sendMessage(e){this.sendMessageWithContext({},e)}start(e,t){let n=null;this.call.start(e,{onReceiveMetadata:e=>{var n;null===(n=null==t?void 0:t.onReceiveMetadata)||void 0===n||n.call(t,e)},onReceiveMessage:e=>{var r;let a;try{a=this.methodDefinition.responseDeserialize(e)}catch(e){return n={code:i.Status.INTERNAL,details:`Response message parsing error: ${e.message}`,metadata:new o.Metadata},void this.call.cancelWithStatus(n.code,n.details)}null===(r=null==t?void 0:t.onReceiveMessage)||void 0===r||r.call(t,a)},onReceiveStatus:e=>{var o,r;n?null===(o=null==t?void 0:t.onReceiveStatus)||void 0===o||o.call(t,n):null===(r=null==t?void 0:t.onReceiveStatus)||void 0===r||r.call(t,e)}})}startRead(){this.call.startRead()}halfClose(){this.call.halfClose()}}class p extends c{constructor(e,t){super(e,t)}start(e,t){var n,o;let r=!1;const i={onReceiveMetadata:null!==(o=null===(n=null==t?void 0:t.onReceiveMetadata)||void 0===n?void 0:n.bind(t))&&void 0!==o?o:e=>{},onReceiveMessage:e=>{var n;r=!0,null===(n=null==t?void 0:t.onReceiveMessage)||void 0===n||n.call(t,e)},onReceiveStatus:e=>{var n,o;r||null===(n=null==t?void 0:t.onReceiveMessage)||void 0===n||n.call(t,null),null===(o=null==t?void 0:t.onReceiveStatus)||void 0===o||o.call(t,e)}};super.start(e,i),this.call.startRead()}}class u extends c{}t.getInterceptingCall=function(e,t,n,o){if(e.clientInterceptors.length>0&&e.clientInterceptorProviders.length>0)throw new a("Both interceptors and interceptor_providers were passed as options to the client constructor. Only one of these is allowed.");if(e.callInterceptors.length>0&&e.callInterceptorProviders.length>0)throw new a("Both interceptors and interceptor_providers were passed as call options. Only one of these is allowed.");let r=[];r=e.callInterceptors.length>0||e.callInterceptorProviders.length>0?[].concat(e.callInterceptors,e.callInterceptorProviders.map((e=>e(t)))).filter((e=>e)):[].concat(e.clientInterceptors,e.clientInterceptorProviders.map((e=>e(t)))).filter((e=>e));const i=Object.assign({},n,{method_definition:t});return r.reduceRight(((e,t)=>n=>t(n,e)),(e=>function(e,t,n){const o=function(e,t,n){var o,r;const i=null!==(o=n.deadline)&&void 0!==o?o:1/0,a=n.host,s=null!==(r=n.parent)&&void 0!==r?r:null,l=n.propagate_flags,c=n.credentials,p=e.createCall(t,i,a,s,l);return c&&p.setCredentials(c),p}(e,n.path,t);return n.responseStream?new u(o,n):new p(o,n)}(o,e,t)))(i)}},96817:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Client=void 0;const o=n(62632),r=n(82906),i=n(89091),a=n(65328),s=n(21494),l=n(47326),c=Symbol(),p=Symbol(),u=Symbol(),d=Symbol();function g(e){return"function"==typeof e}function f(e){return e.stack.split("\n").slice(1).join("\n")}t.Client=class{constructor(e,t,n={}){var o,i;if(n=Object.assign({},n),this[p]=null!==(o=n.interceptors)&&void 0!==o?o:[],delete n.interceptors,this[u]=null!==(i=n.interceptor_providers)&&void 0!==i?i:[],delete n.interceptor_providers,this[p].length>0&&this[u].length>0)throw new Error("Both interceptors and interceptor_providers were passed as options to the client constructor. Only one of these is allowed.");if(this[d]=n.callInvocationTransformer,delete n.callInvocationTransformer,n.channelOverride)this[c]=n.channelOverride;else if(n.channelFactoryOverride){const o=n.channelFactoryOverride;delete n.channelFactoryOverride,this[c]=o(e,t,n)}else this[c]=new r.ChannelImplementation(e,t,n)}close(){this[c].close()}getChannel(){return this[c]}waitForReady(e,t){const n=o=>{if(o)return void t(new Error("Failed to connect before the deadline"));let r;try{r=this[c].getConnectivityState(!0)}catch(e){return void t(new Error("The channel has been closed"))}if(r===i.ConnectivityState.READY)t();else try{this[c].watchConnectivityState(r,e,n)}catch(e){t(new Error("The channel has been closed"))}};setImmediate(n)}checkOptionalUnaryResponseArguments(e,t,n){if(g(e))return{metadata:new s.Metadata,options:{},callback:e};if(g(t))return e instanceof s.Metadata?{metadata:e,options:{},callback:t}:{metadata:new s.Metadata,options:e,callback:t};if(!(e instanceof s.Metadata&&t instanceof Object&&g(n)))throw new Error("Incorrect arguments passed");return{metadata:e,options:t,callback:n}}makeUnaryRequest(e,t,n,r,i,s,g){var h,m;const y=this.checkOptionalUnaryResponseArguments(i,s,g),v={path:e,requestStream:!1,responseStream:!1,requestSerialize:t,responseDeserialize:n};let b={argument:r,metadata:y.metadata,call:new o.ClientUnaryCallImpl,channel:this[c],methodDefinition:v,callOptions:y.options,callback:y.callback};this[d]&&(b=this[d](b));const O=b.call,w={clientInterceptors:this[p],clientInterceptorProviders:this[u],callInterceptors:null!==(h=b.callOptions.interceptors)&&void 0!==h?h:[],callInterceptorProviders:null!==(m=b.callOptions.interceptor_providers)&&void 0!==m?m:[]},P=l.getInterceptingCall(w,b.methodDefinition,b.callOptions,b.channel);O.call=P,b.callOptions.credentials&&P.setCredentials(b.callOptions.credentials);let x=null,S=!1;const T=new Error;return P.start(b.metadata,{onReceiveMetadata:e=>{O.emit("metadata",e)},onReceiveMessage(e){null!==x&&P.cancelWithStatus(a.Status.INTERNAL,"Too many responses received"),x=e},onReceiveStatus(e){if(!S){if(S=!0,e.code===a.Status.OK)if(null===x){const t=f(T);b.callback(o.callErrorFromStatus({code:a.Status.INTERNAL,details:"No message received",metadata:e.metadata},t))}else b.callback(null,x);else{const t=f(T);b.callback(o.callErrorFromStatus(e,t))}O.emit("status",e)}}}),P.sendMessage(r),P.halfClose(),O}makeClientStreamRequest(e,t,n,r,i,s){var g,h;const m=this.checkOptionalUnaryResponseArguments(r,i,s),y={path:e,requestStream:!0,responseStream:!1,requestSerialize:t,responseDeserialize:n};let v={metadata:m.metadata,call:new o.ClientWritableStreamImpl(t),channel:this[c],methodDefinition:y,callOptions:m.options,callback:m.callback};this[d]&&(v=this[d](v));const b=v.call,O={clientInterceptors:this[p],clientInterceptorProviders:this[u],callInterceptors:null!==(g=v.callOptions.interceptors)&&void 0!==g?g:[],callInterceptorProviders:null!==(h=v.callOptions.interceptor_providers)&&void 0!==h?h:[]},w=l.getInterceptingCall(O,v.methodDefinition,v.callOptions,v.channel);b.call=w,v.callOptions.credentials&&w.setCredentials(v.callOptions.credentials);let P=null,x=!1;const S=new Error;return w.start(v.metadata,{onReceiveMetadata:e=>{b.emit("metadata",e)},onReceiveMessage(e){null!==P&&w.cancelWithStatus(a.Status.INTERNAL,"Too many responses received"),P=e},onReceiveStatus(e){if(!x){if(x=!0,e.code===a.Status.OK)if(null===P){const t=f(S);v.callback(o.callErrorFromStatus({code:a.Status.INTERNAL,details:"No message received",metadata:e.metadata},t))}else v.callback(null,P);else{const t=f(S);v.callback(o.callErrorFromStatus(e,t))}b.emit("status",e)}}}),b}checkMetadataAndOptions(e,t){let n,o;return e instanceof s.Metadata?(n=e,o=t||{}):(o=e||{},n=new s.Metadata),{metadata:n,options:o}}makeServerStreamRequest(e,t,n,r,i,s){var g,h;const m=this.checkMetadataAndOptions(i,s),y={path:e,requestStream:!1,responseStream:!0,requestSerialize:t,responseDeserialize:n};let v={argument:r,metadata:m.metadata,call:new o.ClientReadableStreamImpl(n),channel:this[c],methodDefinition:y,callOptions:m.options};this[d]&&(v=this[d](v));const b=v.call,O={clientInterceptors:this[p],clientInterceptorProviders:this[u],callInterceptors:null!==(g=v.callOptions.interceptors)&&void 0!==g?g:[],callInterceptorProviders:null!==(h=v.callOptions.interceptor_providers)&&void 0!==h?h:[]},w=l.getInterceptingCall(O,v.methodDefinition,v.callOptions,v.channel);b.call=w,v.callOptions.credentials&&w.setCredentials(v.callOptions.credentials);let P=!1;const x=new Error;return w.start(v.metadata,{onReceiveMetadata(e){b.emit("metadata",e)},onReceiveMessage(e){b.push(e)},onReceiveStatus(e){if(!P){if(P=!0,b.push(null),e.code!==a.Status.OK){const t=f(x);b.emit("error",o.callErrorFromStatus(e,t))}b.emit("status",e)}}}),w.sendMessage(r),w.halfClose(),b}makeBidiStreamRequest(e,t,n,r,i){var s,g;const h=this.checkMetadataAndOptions(r,i),m={path:e,requestStream:!0,responseStream:!0,requestSerialize:t,responseDeserialize:n};let y={metadata:h.metadata,call:new o.ClientDuplexStreamImpl(t,n),channel:this[c],methodDefinition:m,callOptions:h.options};this[d]&&(y=this[d](y));const v=y.call,b={clientInterceptors:this[p],clientInterceptorProviders:this[u],callInterceptors:null!==(s=y.callOptions.interceptors)&&void 0!==s?s:[],callInterceptorProviders:null!==(g=y.callOptions.interceptor_providers)&&void 0!==g?g:[]},O=l.getInterceptingCall(b,y.methodDefinition,y.callOptions,y.channel);v.call=O,y.callOptions.credentials&&O.setCredentials(y.callOptions.credentials);let w=!1;const P=new Error;return O.start(y.metadata,{onReceiveMetadata(e){v.emit("metadata",e)},onReceiveMessage(e){v.push(e)},onReceiveStatus(e){if(!w){if(w=!0,v.push(null),e.code!==a.Status.OK){const t=f(P);v.emit("error",o.callErrorFromStatus(e,t))}v.emit("status",e)}}}),v}}},38313:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CompressionAlgorithms=void 0,(n=t.CompressionAlgorithms||(t.CompressionAlgorithms={}))[n.identity=0]="identity",n[n.deflate=1]="deflate",n[n.gzip=2]="gzip"},59695:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompressionFilterFactory=t.CompressionFilter=void 0;const o=n(59796),r=n(38313),i=n(65328),a=n(68333),s=n(51051);class l{async writeMessage(e,t){let n=e;t&&(n=await this.compressMessage(n));const o=Buffer.allocUnsafe(n.length+5);return o.writeUInt8(t?1:0,0),o.writeUInt32BE(n.length,1),n.copy(o,5),o}async readMessage(e){const t=1===e.readUInt8(0);let n=e.slice(5);return t&&(n=await this.decompressMessage(n)),n}}class c extends l{async compressMessage(e){return e}async writeMessage(e,t){const n=Buffer.allocUnsafe(e.length+5);return n.writeUInt8(0,0),n.writeUInt32BE(e.length,1),e.copy(n,5),n}decompressMessage(e){return Promise.reject(new Error('Received compressed message but "grpc-encoding" header was identity'))}}class p extends l{compressMessage(e){return new Promise(((t,n)=>{o.deflate(e,((e,o)=>{e?n(e):t(o)}))}))}decompressMessage(e){return new Promise(((t,n)=>{o.inflate(e,((e,o)=>{e?n(e):t(o)}))}))}}class u extends l{compressMessage(e){return new Promise(((t,n)=>{o.gzip(e,((e,o)=>{e?n(e):t(o)}))}))}decompressMessage(e){return new Promise(((t,n)=>{o.unzip(e,((e,o)=>{e?n(e):t(o)}))}))}}class d extends l{constructor(e){super(),this.compressionName=e}compressMessage(e){return Promise.reject(new Error(`Received message compressed with unsupported compression method ${this.compressionName}`))}decompressMessage(e){return Promise.reject(new Error(`Compression method not supported: ${this.compressionName}`))}}function g(e){switch(e){case"identity":return new c;case"deflate":return new p;case"gzip":return new u;default:return new d(e)}}class f extends a.BaseFilter{constructor(e,t){var n;super(),this.sharedFilterConfig=t,this.sendCompression=new c,this.receiveCompression=new c,this.currentCompressionAlgorithm="identity";const o=e["grpc.default_compression_algorithm"];if(void 0!==o)if("number"==typeof(a=o)&&"string"==typeof r.CompressionAlgorithms[a]){const e=r.CompressionAlgorithms[o],i=null===(n=t.serverSupportedEncodingHeader)||void 0===n?void 0:n.split(",");i&&!i.includes(e)||(this.currentCompressionAlgorithm=e,this.sendCompression=g(this.currentCompressionAlgorithm))}else s.log(i.LogVerbosity.ERROR,`Invalid value provided for grpc.default_compression_algorithm option: ${o}`);var a}async sendMetadata(e){const t=await e;return t.set("grpc-accept-encoding","identity,deflate,gzip"),t.set("accept-encoding","identity"),"identity"===this.currentCompressionAlgorithm?t.remove("grpc-encoding"):t.set("grpc-encoding",this.currentCompressionAlgorithm),t}receiveMetadata(e){const t=e.get("grpc-encoding");if(t.length>0){const e=t[0];"string"==typeof e&&(this.receiveCompression=g(e))}e.remove("grpc-encoding");const n=e.get("grpc-accept-encoding")[0];return n&&(this.sharedFilterConfig.serverSupportedEncodingHeader=n,n.split(",").includes(this.currentCompressionAlgorithm)||(this.sendCompression=new c,this.currentCompressionAlgorithm="identity")),e.remove("grpc-accept-encoding"),e}async sendMessage(e){var t;const n=await e;let o;return o=!(this.sendCompression instanceof c)&&0==(2&(null!==(t=n.flags)&&void 0!==t?t:0)),{message:await this.sendCompression.writeMessage(n.message,o),flags:n.flags}}async receiveMessage(e){return this.receiveCompression.readMessage(await e)}}t.CompressionFilter=f,t.CompressionFilterFactory=class{constructor(e,t){this.channel=e,this.options=t,this.sharedFilterConfig={}}createFilter(e){return new f(this.options,this.sharedFilterConfig)}}},89091:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectivityState=void 0,(n=t.ConnectivityState||(t.ConnectivityState={}))[n.IDLE=0]="IDLE",n[n.CONNECTING=1]="CONNECTING",n[n.READY=2]="READY",n[n.TRANSIENT_FAILURE=3]="TRANSIENT_FAILURE",n[n.SHUTDOWN=4]="SHUTDOWN"},65328:(e,t)=>{"use strict";var n,o,r;Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH=t.DEFAULT_MAX_SEND_MESSAGE_LENGTH=t.Propagate=t.LogVerbosity=t.Status=void 0,(r=t.Status||(t.Status={}))[r.OK=0]="OK",r[r.CANCELLED=1]="CANCELLED",r[r.UNKNOWN=2]="UNKNOWN",r[r.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",r[r.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",r[r.NOT_FOUND=5]="NOT_FOUND",r[r.ALREADY_EXISTS=6]="ALREADY_EXISTS",r[r.PERMISSION_DENIED=7]="PERMISSION_DENIED",r[r.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",r[r.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",r[r.ABORTED=10]="ABORTED",r[r.OUT_OF_RANGE=11]="OUT_OF_RANGE",r[r.UNIMPLEMENTED=12]="UNIMPLEMENTED",r[r.INTERNAL=13]="INTERNAL",r[r.UNAVAILABLE=14]="UNAVAILABLE",r[r.DATA_LOSS=15]="DATA_LOSS",r[r.UNAUTHENTICATED=16]="UNAUTHENTICATED",(o=t.LogVerbosity||(t.LogVerbosity={}))[o.DEBUG=0]="DEBUG",o[o.INFO=1]="INFO",o[o.ERROR=2]="ERROR",o[o.NONE=3]="NONE",(n=t.Propagate||(t.Propagate={}))[n.DEADLINE=1]="DEADLINE",n[n.CENSUS_STATS_CONTEXT=2]="CENSUS_STATS_CONTEXT",n[n.CENSUS_TRACING_CONTEXT=4]="CENSUS_TRACING_CONTEXT",n[n.CANCELLATION=8]="CANCELLATION",n[n.DEFAULTS=65535]="DEFAULTS",t.DEFAULT_MAX_SEND_MESSAGE_LENGTH=-1,t.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH=4194304},71046:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeadlineFilterFactory=t.DeadlineFilter=void 0;const o=n(65328),r=n(68333),i=[["m",1],["S",1e3],["M",6e4],["H",36e5]];class a extends r.BaseFilter{constructor(e,t){super(),this.channel=e,this.callStream=t,this.timer=null,this.deadline=1/0,this.retreiveDeadline(),this.runTimer()}retreiveDeadline(){const e=this.callStream.getDeadline();e instanceof Date?this.deadline=e.getTime():this.deadline=e}runTimer(){var e,t;this.timer&&clearTimeout(this.timer);const n=(new Date).getTime(),r=this.deadline-n;r<=0?process.nextTick((()=>{this.callStream.cancelWithStatus(o.Status.DEADLINE_EXCEEDED,"Deadline exceeded")})):this.deadline!==1/0&&(this.timer=setTimeout((()=>{this.callStream.cancelWithStatus(o.Status.DEADLINE_EXCEEDED,"Deadline exceeded")}),r),null===(t=(e=this.timer).unref)||void 0===t||t.call(e))}refresh(){this.retreiveDeadline(),this.runTimer()}async sendMetadata(e){if(this.deadline===1/0)return e;const t=await e,n=function(e){const t=(new Date).getTime(),n=Math.max(e-t,0);for(const[e,t]of i){const o=n/t;if(o<1e8)return String(Math.ceil(o))+e}throw new Error("Deadline is too far in the future")}(this.deadline);return t.set("grpc-timeout",n),t}receiveTrailers(e){return this.timer&&clearTimeout(this.timer),e}}t.DeadlineFilter=a,t.DeadlineFilterFactory=class{constructor(e){this.channel=e}createFilter(e){return new a(this.channel,e)}}},20300:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDuration=t.durationToMs=t.msToDuration=void 0,t.msToDuration=function(e){return{seconds:e/1e3|0,nanos:e%1e3*1e6|0}},t.durationToMs=function(e){return 1e3*e.seconds+e.nanos/1e6|0},t.isDuration=function(e){return"number"==typeof e.seconds&&"number"==typeof e.nanos}},99937:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(51051);Object.defineProperty(t,"trace",{enumerable:!0,get:function(){return o.trace}}),Object.defineProperty(t,"log",{enumerable:!0,get:function(){return o.log}});var r=n(17394);Object.defineProperty(t,"registerResolver",{enumerable:!0,get:function(){return r.registerResolver}});var i=n(8084);Object.defineProperty(t,"uriToString",{enumerable:!0,get:function(){return i.uriToString}});var a=n(20300);Object.defineProperty(t,"durationToMs",{enumerable:!0,get:function(){return a.durationToMs}});var s=n(11257);Object.defineProperty(t,"BackoffTimeout",{enumerable:!0,get:function(){return s.BackoffTimeout}});var l=n(95477);Object.defineProperty(t,"createChildChannelControlHelper",{enumerable:!0,get:function(){return l.createChildChannelControlHelper}}),Object.defineProperty(t,"registerLoadBalancerType",{enumerable:!0,get:function(){return l.registerLoadBalancerType}}),Object.defineProperty(t,"getFirstUsableConfig",{enumerable:!0,get:function(){return l.getFirstUsableConfig}}),Object.defineProperty(t,"validateLoadBalancingConfig",{enumerable:!0,get:function(){return l.validateLoadBalancingConfig}});var c=n(87297);Object.defineProperty(t,"subchannelAddressToString",{enumerable:!0,get:function(){return c.subchannelAddressToString}});var p=n(88925);Object.defineProperty(t,"ChildLoadBalancerHandler",{enumerable:!0,get:function(){return p.ChildLoadBalancerHandler}});var u=n(56617);Object.defineProperty(t,"UnavailablePicker",{enumerable:!0,get:function(){return u.UnavailablePicker}}),Object.defineProperty(t,"QueuePicker",{enumerable:!0,get:function(){return u.QueuePicker}}),Object.defineProperty(t,"PickResultType",{enumerable:!0,get:function(){return u.PickResultType}});var d=n(68333);Object.defineProperty(t,"BaseFilter",{enumerable:!0,get:function(){return d.BaseFilter}});var g=n(8401);Object.defineProperty(t,"FilterStackFactory",{enumerable:!0,get:function(){return g.FilterStackFactory}});var f=n(57935);Object.defineProperty(t,"registerAdminService",{enumerable:!0,get:function(){return f.registerAdminService}});var h=n(75554);Object.defineProperty(t,"BaseSubchannelWrapper",{enumerable:!0,get:function(){return h.BaseSubchannelWrapper}});var m=n(47911);Object.defineProperty(t,"OutlierDetectionLoadBalancingConfig",{enumerable:!0,get:function(){return m.OutlierDetectionLoadBalancingConfig}})},8401:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FilterStackFactory=t.FilterStack=void 0;class n{constructor(e){this.filters=e}sendMetadata(e){let t=e;for(let e=0;e=0;e--)t=this.filters[e].receiveMetadata(t);return t}sendMessage(e){let t=e;for(let e=0;e=0;e--)t=this.filters[e].receiveMessage(t);return t}receiveTrailers(e){let t=e;for(let e=this.filters.length-1;e>=0;e--)t=this.filters[e].receiveTrailers(t);return t}refresh(){for(const e of this.filters)e.refresh()}push(e){this.filters.unshift(...e)}getFilters(){return this.filters}}t.FilterStack=n,t.FilterStackFactory=class{constructor(e){this.factories=e}push(e){this.factories.unshift(...e)}createFilter(e){return new n(this.factories.map((t=>t.createFilter(e))))}}},68333:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseFilter=void 0,t.BaseFilter=class{async sendMetadata(e){return e}receiveMetadata(e){return e}async sendMessage(e){return e}async receiveMessage(e){return e}receiveTrailers(e){return e}refresh(){}}},30914:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getProxiedConnection=t.mapProxyName=void 0;const o=n(51051),r=n(65328),i=n(17394),a=n(13685),s=n(24404),l=n(51051),c=n(87297),p=n(8084),u=n(57310);function d(e){l.trace(r.LogVerbosity.DEBUG,"proxy",e)}t.mapProxyName=function(e,t){var n;const i={target:e,extraOptions:{}};if(0===(null!==(n=t["grpc.enable_http_proxy"])&&void 0!==n?n:1))return i;if("unix"===e.scheme)return i;const a=function(){let e,t="",n="";if(process.env.grpc_proxy)n="grpc_proxy",t=process.env.grpc_proxy;else if(process.env.https_proxy)n="https_proxy",t=process.env.https_proxy;else{if(!process.env.http_proxy)return{};n="http_proxy",t=process.env.http_proxy}try{e=new u.URL(t)}catch(e){return o.log(r.LogVerbosity.ERROR,`cannot parse value of "${n}" env var`),{}}if("http:"!==e.protocol)return o.log(r.LogVerbosity.ERROR,`"${e.protocol}" scheme not supported in proxy URI`),{};let i=null;e.username&&(e.password?(o.log(r.LogVerbosity.INFO,"userinfo found in proxy URI"),i=`${e.username}:${e.password}`):i=e.username);const a=e.hostname;let s=e.port;""===s&&(s="80");const l={address:`${a}:${s}`};return i&&(l.creds=i),d("Proxy server "+l.address+" set by environment variable "+n),l}();if(!a.address)return i;const s=p.splitHostPort(e.path);if(!s)return i;const l=s.host;for(const t of function(){let e=process.env.no_grpc_proxy,t="no_grpc_proxy";return e||(e=process.env.no_proxy,t="no_proxy"),e?(d("No proxy server list set by environment variable "+t),e.split(",")):[]}())if(t===l)return d("Not using proxy for target in no_proxy list: "+p.uriToString(e)),i;const c={"grpc.http_connect_target":p.uriToString(e)};return a.creds&&(c["grpc.http_connect_creds"]=a.creds),{target:{scheme:"dns",path:a.address},extraOptions:c}},t.getProxiedConnection=function(e,t,n){if(!("grpc.http_connect_target"in t))return Promise.resolve({});const l=t["grpc.http_connect_target"],u=p.parseUri(l);if(null===u)return Promise.resolve({});const g={method:"CONNECT",path:u.path},f={Host:u.path};c.isTcpSubchannelAddress(e)?(g.host=e.host,g.port=e.port):g.socketPath=e.path,"grpc.http_connect_creds"in t&&(f["Proxy-Authorization"]="Basic "+Buffer.from(t["grpc.http_connect_creds"]).toString("base64")),g.headers=f;const h=c.subchannelAddressToString(e);return d("Using proxy "+h+" to connect to "+g.path),new Promise(((e,t)=>{const l=a.request(g);l.once("connect",((a,c,f)=>{var m;if(l.removeAllListeners(),c.removeAllListeners(),200===a.statusCode)if(d("Successfully connected to "+g.path+" through proxy "+h),"secureContext"in n){const o=i.getDefaultAuthority(u),r=p.splitHostPort(o),a=null!==(m=null==r?void 0:r.host)&&void 0!==m?m:o,l=s.connect(Object.assign({host:a,servername:a,socket:c},n),(()=>{d("Successfully established a TLS connection to "+g.path+" through proxy "+h),e({socket:l,realTarget:u})}));l.on("error",(e=>{d("Failed to establish a TLS connection to "+g.path+" through proxy "+h+" with error "+e.message),t()}))}else d("Successfully established a plaintext connection to "+g.path+" through proxy "+h),e({socket:c,realTarget:u});else o.log(r.LogVerbosity.ERROR,"Failed to connect to "+g.path+" through proxy "+h+" with status "+a.statusCode),t()})),l.once("error",(e=>{l.removeAllListeners(),o.log(r.LogVerbosity.ERROR,"Failed to connect to proxy "+h+" with error "+e.message),t()})),l.end()}))}},38268:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.experimental=t.StatusBuilder=t.getClientChannel=t.ServerCredentials=t.Server=t.setLogVerbosity=t.setLogger=t.load=t.loadObject=t.CallCredentials=t.ChannelCredentials=t.waitForClientReady=t.closeClient=t.Channel=t.makeGenericClientConstructor=t.makeClientConstructor=t.loadPackageDefinition=t.Client=t.compressionAlgorithms=t.propagate=t.connectivityState=t.status=t.logVerbosity=t.Metadata=t.credentials=void 0;const o=n(68024);Object.defineProperty(t,"CallCredentials",{enumerable:!0,get:function(){return o.CallCredentials}});const r=n(82906);Object.defineProperty(t,"Channel",{enumerable:!0,get:function(){return r.ChannelImplementation}});const i=n(38313);Object.defineProperty(t,"compressionAlgorithms",{enumerable:!0,get:function(){return i.CompressionAlgorithms}});const a=n(89091);Object.defineProperty(t,"connectivityState",{enumerable:!0,get:function(){return a.ConnectivityState}});const s=n(16643);Object.defineProperty(t,"ChannelCredentials",{enumerable:!0,get:function(){return s.ChannelCredentials}});const l=n(96817);Object.defineProperty(t,"Client",{enumerable:!0,get:function(){return l.Client}});const c=n(65328);Object.defineProperty(t,"logVerbosity",{enumerable:!0,get:function(){return c.LogVerbosity}}),Object.defineProperty(t,"status",{enumerable:!0,get:function(){return c.Status}}),Object.defineProperty(t,"propagate",{enumerable:!0,get:function(){return c.Propagate}});const p=n(51051),u=n(50381);Object.defineProperty(t,"loadPackageDefinition",{enumerable:!0,get:function(){return u.loadPackageDefinition}}),Object.defineProperty(t,"makeClientConstructor",{enumerable:!0,get:function(){return u.makeClientConstructor}}),Object.defineProperty(t,"makeGenericClientConstructor",{enumerable:!0,get:function(){return u.makeClientConstructor}});const d=n(21494);Object.defineProperty(t,"Metadata",{enumerable:!0,get:function(){return d.Metadata}});const g=n(21947);Object.defineProperty(t,"Server",{enumerable:!0,get:function(){return g.Server}});const f=n(77654);Object.defineProperty(t,"ServerCredentials",{enumerable:!0,get:function(){return f.ServerCredentials}});const h=n(69843);Object.defineProperty(t,"StatusBuilder",{enumerable:!0,get:function(){return h.StatusBuilder}}),t.credentials={combineChannelCredentials:(e,...t)=>t.reduce(((e,t)=>e.compose(t)),e),combineCallCredentials:(e,...t)=>t.reduce(((e,t)=>e.compose(t)),e),createInsecure:s.ChannelCredentials.createInsecure,createSsl:s.ChannelCredentials.createSsl,createFromSecureContext:s.ChannelCredentials.createFromSecureContext,createFromMetadataGenerator:o.CallCredentials.createFromMetadataGenerator,createFromGoogleCredential:o.CallCredentials.createFromGoogleCredential,createEmpty:o.CallCredentials.createEmpty},t.closeClient=e=>e.close(),t.waitForClientReady=(e,t,n)=>e.waitForReady(t,n),t.loadObject=(e,t)=>{throw new Error("Not available in this library. Use @grpc/proto-loader and loadPackageDefinition instead")},t.load=(e,t,n)=>{throw new Error("Not available in this library. Use @grpc/proto-loader and loadPackageDefinition instead")},t.setLogger=e=>{p.setLogger(e)},t.setLogVerbosity=e=>{p.setLoggerVerbosity(e)},t.getClientChannel=e=>l.Client.prototype.getChannel.call(e);var m=n(47326);Object.defineProperty(t,"ListenerBuilder",{enumerable:!0,get:function(){return m.ListenerBuilder}}),Object.defineProperty(t,"RequesterBuilder",{enumerable:!0,get:function(){return m.RequesterBuilder}}),Object.defineProperty(t,"InterceptingCall",{enumerable:!0,get:function(){return m.InterceptingCall}}),Object.defineProperty(t,"InterceptorConfigurationError",{enumerable:!0,get:function(){return m.InterceptorConfigurationError}});var y=n(68109);Object.defineProperty(t,"getChannelzServiceDefinition",{enumerable:!0,get:function(){return y.getChannelzServiceDefinition}}),Object.defineProperty(t,"getChannelzHandlers",{enumerable:!0,get:function(){return y.getChannelzHandlers}});var v=n(57935);Object.defineProperty(t,"addAdminServicesToServer",{enumerable:!0,get:function(){return v.addAdminServicesToServer}});const b=n(99937);t.experimental=b;const O=n(29983),w=n(77452),P=n(68103),x=n(12126),S=n(71093),T=n(47911),A=n(68109),E=n(14167).i8;p.trace(c.LogVerbosity.DEBUG,"index","Loading @grpc/grpc-js version "+E),O.setup(),w.setup(),P.setup(),x.setup(),S.setup(),T.setup(),A.setup()},88925:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChildLoadBalancerHandler=void 0;const o=n(95477),r=n(89091);t.ChildLoadBalancerHandler=class{constructor(e){this.channelControlHelper=e,this.currentChild=null,this.pendingChild=null,this.ChildPolicyHelper=class{constructor(e){this.parent=e,this.child=null}createSubchannel(e,t){return this.parent.channelControlHelper.createSubchannel(e,t)}updateState(e,t){var n;if(this.calledByPendingChild()){if(e===r.ConnectivityState.CONNECTING)return;null===(n=this.parent.currentChild)||void 0===n||n.destroy(),this.parent.currentChild=this.parent.pendingChild,this.parent.pendingChild=null}else if(!this.calledByCurrentChild())return;this.parent.channelControlHelper.updateState(e,t)}requestReresolution(){var e;const t=null!==(e=this.parent.pendingChild)&&void 0!==e?e:this.parent.currentChild;this.child===t&&this.parent.channelControlHelper.requestReresolution()}setChild(e){this.child=e}addChannelzChild(e){this.parent.channelControlHelper.addChannelzChild(e)}removeChannelzChild(e){this.parent.channelControlHelper.removeChannelzChild(e)}calledByPendingChild(){return this.child===this.parent.pendingChild}calledByCurrentChild(){return this.child===this.parent.currentChild}}}updateAddressList(e,t,n){let r;if(null===this.currentChild||this.currentChild.getTypeName()!==t.getLoadBalancerName()){const e=new this.ChildPolicyHelper(this),n=o.createLoadBalancer(t,e);e.setChild(n),null===this.currentChild?(this.currentChild=n,r=this.currentChild):(this.pendingChild&&this.pendingChild.destroy(),this.pendingChild=n,r=this.pendingChild)}else r=null===this.pendingChild?this.currentChild:this.pendingChild;r.updateAddressList(e,t,n)}exitIdle(){this.currentChild&&(this.currentChild.exitIdle(),this.pendingChild&&this.pendingChild.exitIdle())}resetBackoff(){this.currentChild&&(this.currentChild.resetBackoff(),this.pendingChild&&this.pendingChild.resetBackoff())}destroy(){this.currentChild&&(this.currentChild.destroy(),this.currentChild=null),this.pendingChild&&(this.pendingChild.destroy(),this.pendingChild=null)}getTypeName(){return"child_load_balancer_helper"}}},47911:(e,t,n)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.setup=t.OutlierDetectionLoadBalancer=t.OutlierDetectionLoadBalancingConfig=void 0;const r=n(89091),i=n(65328),a=n(20300),s=n(99937),l=n(68333),c=n(95477),p=n(88925),u=n(56617),d=n(87297),g=n(75554),f=n(51051);function h(e){f.trace(i.LogVerbosity.DEBUG,"outlier_detection",e)}const m="outlier_detection",y="true"===(null!==(o=process.env.GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION)&&void 0!==o?o:"true"),v={stdev_factor:1900,enforcement_percentage:100,minimum_hosts:5,request_volume:100},b={threshold:85,enforcement_percentage:100,minimum_hosts:5,request_volume:50};function O(e,t,n,o){if(t in e&&typeof e[t]!==n)throw new Error(`outlier detection config ${o?`${o}.${t}`:t} parse error: expected ${n}, got ${typeof e[t]}`)}function w(e,t,n){const o=n?`${n}.${t}`:t;if(t in e){if(!a.isDuration(e[t]))throw new Error(`outlier detection config ${o} parse error: expected Duration, got ${typeof e[t]}`);if(!(e[t].seconds>=0&&e[t].seconds<=315576e6&&e[t].nanos>=0&&e[t].nanos<=999999999))throw new Error(`outlier detection config ${o} parse error: values out of range for non-negative Duaration`)}}function P(e,t,n){const o=n?`${n}.${t}`:t;if(O(e,t,"number",n),t in e&&!(e[t]>=0&&e[t]<=100))throw new Error(`outlier detection config ${o} parse error: value out of range for percentage (0-100)`)}class x{constructor(e,t,n,o,r,i,a){this.childPolicy=a,this.intervalMs=null!=e?e:1e4,this.baseEjectionTimeMs=null!=t?t:3e4,this.maxEjectionTimeMs=null!=n?n:3e5,this.maxEjectionPercent=null!=o?o:10,this.successRateEjection=r?Object.assign(Object.assign({},v),r):null,this.failurePercentageEjection=i?Object.assign(Object.assign({},b),i):null}getLoadBalancerName(){return m}toJsonObject(){return{interval:a.msToDuration(this.intervalMs),base_ejection_time:a.msToDuration(this.baseEjectionTimeMs),max_ejection_time:a.msToDuration(this.maxEjectionTimeMs),max_ejection_percent:this.maxEjectionPercent,success_rate_ejection:this.successRateEjection,failure_percentage_ejection:this.failurePercentageEjection,child_policy:this.childPolicy.map((e=>e.toJsonObject()))}}getIntervalMs(){return this.intervalMs}getBaseEjectionTimeMs(){return this.baseEjectionTimeMs}getMaxEjectionTimeMs(){return this.maxEjectionTimeMs}getMaxEjectionPercent(){return this.maxEjectionPercent}getSuccessRateEjectionConfig(){return this.successRateEjection}getFailurePercentageEjectionConfig(){return this.failurePercentageEjection}getChildPolicy(){return this.childPolicy}copyWithChildPolicy(e){return new x(this.intervalMs,this.baseEjectionTimeMs,this.maxEjectionTimeMs,this.maxEjectionPercent,this.successRateEjection,this.failurePercentageEjection,e)}static createFromJson(e){var t;if(w(e,"interval"),w(e,"base_ejection_time"),w(e,"max_ejection_time"),P(e,"max_ejection_percent"),"success_rate_ejection"in e){if("object"!=typeof e.success_rate_ejection)throw new Error("outlier detection config success_rate_ejection must be an object");O(e.success_rate_ejection,"stdev_factor","number","success_rate_ejection"),P(e.success_rate_ejection,"enforcement_percentage","success_rate_ejection"),O(e.success_rate_ejection,"minimum_hosts","number","success_rate_ejection"),O(e.success_rate_ejection,"request_volume","number","success_rate_ejection")}if("failure_percentage_ejection"in e){if("object"!=typeof e.failure_percentage_ejection)throw new Error("outlier detection config failure_percentage_ejection must be an object");P(e.failure_percentage_ejection,"threshold","failure_percentage_ejection"),P(e.failure_percentage_ejection,"enforcement_percentage","failure_percentage_ejection"),O(e.failure_percentage_ejection,"minimum_hosts","number","failure_percentage_ejection"),O(e.failure_percentage_ejection,"request_volume","number","failure_percentage_ejection")}return new x(e.interval?a.durationToMs(e.interval):null,e.base_ejection_time?a.durationToMs(e.base_ejection_time):null,e.max_ejection_time?a.durationToMs(e.max_ejection_time):null,null!==(t=e.max_ejection_percent)&&void 0!==t?t:null,e.success_rate_ejection,e.failure_percentage_ejection,e.child_policy.map(c.validateLoadBalancingConfig))}}t.OutlierDetectionLoadBalancingConfig=x;class S extends g.BaseSubchannelWrapper{constructor(e,t){super(e),this.mapEntry=t,this.stateListeners=[],this.ejected=!1,this.refCount=0,this.childSubchannelState=e.getConnectivityState(),e.addConnectivityStateListener(((e,t,n)=>{if(this.childSubchannelState=n,!this.ejected)for(const e of this.stateListeners)e(this,t,n)}))}getConnectivityState(){return this.ejected?r.ConnectivityState.TRANSIENT_FAILURE:this.childSubchannelState}addConnectivityStateListener(e){this.stateListeners.push(e)}removeConnectivityStateListener(e){const t=this.stateListeners.indexOf(e);t>-1&&this.stateListeners.splice(t,1)}ref(){this.child.ref(),this.refCount+=1}unref(){if(this.child.unref(),this.refCount-=1,this.refCount<=0&&this.mapEntry){const e=this.mapEntry.subchannelWrappers.indexOf(this);e>=0&&this.mapEntry.subchannelWrappers.splice(e,1)}}eject(){this.ejected=!0;for(const e of this.stateListeners)e(this,this.childSubchannelState,r.ConnectivityState.TRANSIENT_FAILURE)}uneject(){this.ejected=!1;for(const e of this.stateListeners)e(this,r.ConnectivityState.TRANSIENT_FAILURE,this.childSubchannelState)}getMapEntry(){return this.mapEntry}getWrappedSubchannel(){return this.child}}class T{constructor(){this.activeBucket={success:0,failure:0},this.inactiveBucket={success:0,failure:0}}addSuccess(){this.activeBucket.success+=1}addFailure(){this.activeBucket.failure+=1}switchBuckets(){this.inactiveBucket=this.activeBucket,this.activeBucket={success:0,failure:0}}getLastSuccesses(){return this.inactiveBucket.success}getLastFailures(){return this.inactiveBucket.failure}}class A extends l.BaseFilter{constructor(e){super(),this.callCounter=e}receiveTrailers(e){return e.code===i.Status.OK?this.callCounter.addSuccess():this.callCounter.addFailure(),e}}class E{constructor(e){this.callCounter=e}createFilter(e){return new A(this.callCounter)}}class j{constructor(e,t){this.wrappedPicker=e,this.countCalls=t}pick(e){const t=this.wrappedPicker.pick(e);if(t.pickResultType===u.PickResultType.COMPLETE){const e=t.subchannel,n=e.getMapEntry();if(n){const o=[...t.extraFilterFactories];return this.countCalls&&o.push(new E(n.counter)),Object.assign(Object.assign({},t),{subchannel:e.getWrappedSubchannel(),extraFilterFactories:o})}return Object.assign(Object.assign({},t),{subchannel:e.getWrappedSubchannel()})}return t}}class k{constructor(e){this.addressMap=new Map,this.latestConfig=null,this.timerStartTime=null,this.childBalancer=new p.ChildLoadBalancerHandler(s.createChildChannelControlHelper(e,{createSubchannel:(t,n)=>{const o=e.createSubchannel(t,n),r=this.addressMap.get(d.subchannelAddressToString(t)),i=new S(o,r);return null!==(null==r?void 0:r.currentEjectionTimestamp)&&i.eject(),null==r||r.subchannelWrappers.push(i),i},updateState:(t,n)=>{t===r.ConnectivityState.READY?e.updateState(t,new j(n,this.isCountingEnabled())):e.updateState(t,n)}})),this.ejectionTimer=setInterval((()=>{}),0),clearInterval(this.ejectionTimer)}isCountingEnabled(){return null!==this.latestConfig&&(null!==this.latestConfig.getSuccessRateEjectionConfig()||null!==this.latestConfig.getFailurePercentageEjectionConfig())}getCurrentEjectionPercent(){let e=0;for(const t of this.addressMap.values())null!==t.currentEjectionTimestamp&&(e+=1);return 100*e/this.addressMap.size}runSuccessRateCheck(e){if(!this.latestConfig)return;const t=this.latestConfig.getSuccessRateEjectionConfig();if(!t)return;h("Running success rate check");const n=t.request_volume;let o=0;const r=[];for(const e of this.addressMap.values()){const t=e.counter.getLastSuccesses(),i=e.counter.getLastFailures();t+i>=n&&(o+=1,r.push(t/(t+i)))}if(h("Found "+o+" success rate candidates; currentEjectionPercent="+this.getCurrentEjectionPercent()+" successRates=["+r+"]"),oe+t))/r.length;let a=0;for(const e of r){const t=e-i;a+=t*t}const s=a/r.length,l=Math.sqrt(s),c=i-l*(t.stdev_factor/1e3);h("stdev="+l+" ejectionThreshold="+c);for(const[o,r]of this.addressMap.entries()){if(this.getCurrentEjectionPercent()>=this.latestConfig.getMaxEjectionPercent())break;const i=r.counter.getLastSuccesses(),a=r.counter.getLastFailures();if(i+athis.runChecks()),e)}runChecks(){const e=new Date;if(h("Ejection timer running"),this.switchAllBuckets(),this.latestConfig){this.timerStartTime=e,this.startTimer(this.latestConfig.getIntervalMs()),this.runSuccessRateCheck(e),this.runFailurePercentageCheck(e);for(const[e,t]of this.addressMap.entries())if(null===t.currentEjectionTimestamp)t.ejectionTimeMultiplier>0&&(t.ejectionTimeMultiplier-=1);else{const n=this.latestConfig.getBaseEjectionTimeMs(),o=this.latestConfig.getMaxEjectionTimeMs(),r=new Date(t.currentEjectionTimestamp.getTime());r.setMilliseconds(r.getMilliseconds()+Math.min(n*t.ejectionTimeMultiplier,Math.max(n,o))),r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setup=t.PickFirstLoadBalancer=t.PickFirstLoadBalancingConfig=void 0;const o=n(95477),r=n(89091),i=n(56617),a=n(87297),s=n(51051),l=n(65328);function c(e){s.trace(l.LogVerbosity.DEBUG,"pick_first",e)}const p="pick_first";class u{getLoadBalancerName(){return p}constructor(){}toJsonObject(){return{[p]:{}}}static createFromJson(e){return new u}}t.PickFirstLoadBalancingConfig=u;class d{constructor(e){this.subchannel=e}pick(e){return{pickResultType:i.PickResultType.COMPLETE,subchannel:this.subchannel,status:null,extraFilterFactories:[],onCallStarted:null}}}class g{constructor(e){this.channelControlHelper=e,this.latestAddressList=[],this.subchannels=[],this.currentState=r.ConnectivityState.IDLE,this.currentSubchannelIndex=0,this.currentPick=null,this.triedAllSubchannels=!1,this.subchannelStateCounts={[r.ConnectivityState.CONNECTING]:0,[r.ConnectivityState.IDLE]:0,[r.ConnectivityState.READY]:0,[r.ConnectivityState.SHUTDOWN]:0,[r.ConnectivityState.TRANSIENT_FAILURE]:0},this.subchannelStateListener=(e,t,n)=>{if(this.subchannelStateCounts[t]-=1,this.subchannelStateCounts[n]+=1,e===this.subchannels[this.currentSubchannelIndex]&&n===r.ConnectivityState.TRANSIENT_FAILURE&&this.startNextSubchannelConnecting(),n!==r.ConnectivityState.READY){if(this.triedAllSubchannels&&this.subchannelStateCounts[r.ConnectivityState.IDLE]===this.subchannels.length)return this.resetSubchannelList(!1),void this.updateState(r.ConnectivityState.IDLE,new i.QueuePicker(this));if(null===this.currentPick)if(this.triedAllSubchannels){let e;e=this.subchannelStateCounts[r.ConnectivityState.CONNECTING]>0?r.ConnectivityState.CONNECTING:this.subchannelStateCounts[r.ConnectivityState.TRANSIENT_FAILURE]>0?r.ConnectivityState.TRANSIENT_FAILURE:r.ConnectivityState.IDLE,e!==this.currentState&&(e===r.ConnectivityState.TRANSIENT_FAILURE?this.updateState(e,new i.UnavailablePicker):this.updateState(e,new i.QueuePicker(this)))}else this.updateState(r.ConnectivityState.CONNECTING,new i.QueuePicker(this))}else this.pickSubchannel(e)},this.pickedSubchannelStateListener=(e,t,n)=>{if(n!==r.ConnectivityState.READY)if(this.currentPick=null,e.unref(),e.removeConnectivityStateListener(this.pickedSubchannelStateListener),this.channelControlHelper.removeChannelzChild(e.getChannelzRef()),this.subchannels.length>0)if(this.triedAllSubchannels){let e;e=this.subchannelStateCounts[r.ConnectivityState.CONNECTING]>0?r.ConnectivityState.CONNECTING:this.subchannelStateCounts[r.ConnectivityState.TRANSIENT_FAILURE]>0?r.ConnectivityState.TRANSIENT_FAILURE:r.ConnectivityState.IDLE,e===r.ConnectivityState.TRANSIENT_FAILURE?this.updateState(e,new i.UnavailablePicker):this.updateState(e,new i.QueuePicker(this))}else this.updateState(r.ConnectivityState.CONNECTING,new i.QueuePicker(this));else this.updateState(r.ConnectivityState.IDLE,new i.QueuePicker(this))},this.connectionDelayTimeout=setTimeout((()=>{}),0),clearTimeout(this.connectionDelayTimeout)}startNextSubchannelConnecting(){if(!this.triedAllSubchannels){for(const[e,t]of this.subchannels.entries())if(e>this.currentSubchannelIndex){const n=t.getConnectivityState();if(n===r.ConnectivityState.IDLE||n===r.ConnectivityState.CONNECTING)return void this.startConnecting(e)}this.triedAllSubchannels=!0}}startConnecting(e){clearTimeout(this.connectionDelayTimeout),this.currentSubchannelIndex=e,this.subchannels[e].getConnectivityState()===r.ConnectivityState.IDLE&&(c("Start connecting to subchannel with address "+this.subchannels[e].getAddress()),process.nextTick((()=>{this.subchannels[e].startConnecting()}))),this.connectionDelayTimeout=setTimeout((()=>{this.startNextSubchannelConnecting()}),250)}pickSubchannel(e){c("Pick subchannel with address "+e.getAddress()),null!==this.currentPick&&(this.currentPick.unref(),this.currentPick.removeConnectivityStateListener(this.pickedSubchannelStateListener)),this.currentPick=e,this.updateState(r.ConnectivityState.READY,new d(e)),e.addConnectivityStateListener(this.pickedSubchannelStateListener),e.ref(),this.channelControlHelper.addChannelzChild(e.getChannelzRef()),this.resetSubchannelList(),clearTimeout(this.connectionDelayTimeout)}updateState(e,t){c(r.ConnectivityState[this.currentState]+" -> "+r.ConnectivityState[e]),this.currentState=e,this.channelControlHelper.updateState(e,t)}resetSubchannelList(e=!0){for(const e of this.subchannels)e.removeConnectivityStateListener(this.subchannelStateListener),e.unref(),this.channelControlHelper.removeChannelzChild(e.getChannelzRef());this.currentSubchannelIndex=0,this.subchannelStateCounts={[r.ConnectivityState.CONNECTING]:0,[r.ConnectivityState.IDLE]:0,[r.ConnectivityState.READY]:0,[r.ConnectivityState.SHUTDOWN]:0,[r.ConnectivityState.TRANSIENT_FAILURE]:0},this.subchannels=[],e&&(this.triedAllSubchannels=!1)}connectToAddressList(){this.resetSubchannelList(),c("Connect to address list "+this.latestAddressList.map((e=>a.subchannelAddressToString(e)))),this.subchannels=this.latestAddressList.map((e=>this.channelControlHelper.createSubchannel(e,{})));for(const e of this.subchannels)e.ref(),this.channelControlHelper.addChannelzChild(e.getChannelzRef());for(const e of this.subchannels)if(e.addConnectivityStateListener(this.subchannelStateListener),this.subchannelStateCounts[e.getConnectivityState()]+=1,e.getConnectivityState()===r.ConnectivityState.READY)return this.pickSubchannel(e),void this.resetSubchannelList();for(const[e,t]of this.subchannels.entries()){const n=t.getConnectivityState();if(n===r.ConnectivityState.IDLE||n===r.ConnectivityState.CONNECTING)return this.startConnecting(e),void(null===this.currentPick&&this.updateState(r.ConnectivityState.CONNECTING,new i.QueuePicker(this)))}null===this.currentPick&&this.updateState(r.ConnectivityState.TRANSIENT_FAILURE,new i.UnavailablePicker)}updateAddressList(e,t){0!==this.subchannels.length&&this.latestAddressList.every(((t,n)=>e[n]===t))||(this.latestAddressList=e,this.connectToAddressList())}exitIdle(){(this.currentState===r.ConnectivityState.IDLE||this.triedAllSubchannels)&&this.channelControlHelper.requestReresolution();for(const e of this.subchannels)e.startConnecting();this.currentState===r.ConnectivityState.IDLE&&this.latestAddressList.length>0&&this.connectToAddressList()}resetBackoff(){}destroy(){if(this.resetSubchannelList(),null!==this.currentPick){const e=this.currentPick;e.unref(),e.removeConnectivityStateListener(this.pickedSubchannelStateListener),this.channelControlHelper.removeChannelzChild(e.getChannelzRef())}}getTypeName(){return p}}t.PickFirstLoadBalancer=g,t.setup=function(){o.registerLoadBalancerType(p,g,u),o.registerDefaultLoadBalancerType(p)}},71093:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setup=t.RoundRobinLoadBalancer=void 0;const o=n(95477),r=n(89091),i=n(56617),a=n(87297),s=n(51051),l=n(65328);function c(e){s.trace(l.LogVerbosity.DEBUG,"round_robin",e)}const p="round_robin";class u{getLoadBalancerName(){return p}constructor(){}toJsonObject(){return{[p]:{}}}static createFromJson(e){return new u}}class d{constructor(e,t=0){this.subchannelList=e,this.nextIndex=t}pick(e){const t=this.subchannelList[this.nextIndex];return this.nextIndex=(this.nextIndex+1)%this.subchannelList.length,{pickResultType:i.PickResultType.COMPLETE,subchannel:t,status:null,extraFilterFactories:[],onCallStarted:null}}peekNextSubchannel(){return this.subchannelList[this.nextIndex]}}class g{constructor(e){this.channelControlHelper=e,this.subchannels=[],this.currentState=r.ConnectivityState.IDLE,this.currentReadyPicker=null,this.subchannelStateCounts={[r.ConnectivityState.CONNECTING]:0,[r.ConnectivityState.IDLE]:0,[r.ConnectivityState.READY]:0,[r.ConnectivityState.SHUTDOWN]:0,[r.ConnectivityState.TRANSIENT_FAILURE]:0},this.subchannelStateListener=(e,t,n)=>{this.subchannelStateCounts[t]-=1,this.subchannelStateCounts[n]+=1,this.calculateAndUpdateState(),n!==r.ConnectivityState.TRANSIENT_FAILURE&&n!==r.ConnectivityState.IDLE||(this.channelControlHelper.requestReresolution(),e.startConnecting())}}calculateAndUpdateState(){if(this.subchannelStateCounts[r.ConnectivityState.READY]>0){const e=this.subchannels.filter((e=>e.getConnectivityState()===r.ConnectivityState.READY));let t=0;null!==this.currentReadyPicker&&(t=e.indexOf(this.currentReadyPicker.peekNextSubchannel()),t<0&&(t=0)),this.updateState(r.ConnectivityState.READY,new d(e,t))}else this.subchannelStateCounts[r.ConnectivityState.CONNECTING]>0?this.updateState(r.ConnectivityState.CONNECTING,new i.QueuePicker(this)):this.subchannelStateCounts[r.ConnectivityState.TRANSIENT_FAILURE]>0?this.updateState(r.ConnectivityState.TRANSIENT_FAILURE,new i.UnavailablePicker):this.updateState(r.ConnectivityState.IDLE,new i.QueuePicker(this))}updateState(e,t){c(r.ConnectivityState[this.currentState]+" -> "+r.ConnectivityState[e]),e===r.ConnectivityState.READY?this.currentReadyPicker=t:this.currentReadyPicker=null,this.currentState=e,this.channelControlHelper.updateState(e,t)}resetSubchannelList(){for(const e of this.subchannels)e.removeConnectivityStateListener(this.subchannelStateListener),e.unref(),this.channelControlHelper.removeChannelzChild(e.getChannelzRef());this.subchannelStateCounts={[r.ConnectivityState.CONNECTING]:0,[r.ConnectivityState.IDLE]:0,[r.ConnectivityState.READY]:0,[r.ConnectivityState.SHUTDOWN]:0,[r.ConnectivityState.TRANSIENT_FAILURE]:0},this.subchannels=[]}updateAddressList(e,t){this.resetSubchannelList(),c("Connect to address list "+e.map((e=>a.subchannelAddressToString(e)))),this.subchannels=e.map((e=>this.channelControlHelper.createSubchannel(e,{})));for(const e of this.subchannels){e.ref(),e.addConnectivityStateListener(this.subchannelStateListener),this.channelControlHelper.addChannelzChild(e.getChannelzRef());const t=e.getConnectivityState();this.subchannelStateCounts[t]+=1,t!==r.ConnectivityState.IDLE&&t!==r.ConnectivityState.TRANSIENT_FAILURE||e.startConnecting()}this.calculateAndUpdateState()}exitIdle(){for(const e of this.subchannels)e.startConnecting()}resetBackoff(){}destroy(){this.resetSubchannelList()}getTypeName(){return p}}t.RoundRobinLoadBalancer=g,t.setup=function(){o.registerLoadBalancerType(p,g,u)}},95477:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateLoadBalancingConfig=t.getFirstUsableConfig=t.isLoadBalancerNameRegistered=t.createLoadBalancer=t.registerDefaultLoadBalancerType=t.registerLoadBalancerType=t.createChildChannelControlHelper=void 0,t.createChildChannelControlHelper=function(e,t){var n,o,r,i,a,s,l,c,p,u;return{createSubchannel:null!==(o=null===(n=t.createSubchannel)||void 0===n?void 0:n.bind(t))&&void 0!==o?o:e.createSubchannel.bind(e),updateState:null!==(i=null===(r=t.updateState)||void 0===r?void 0:r.bind(t))&&void 0!==i?i:e.updateState.bind(e),requestReresolution:null!==(s=null===(a=t.requestReresolution)||void 0===a?void 0:a.bind(t))&&void 0!==s?s:e.requestReresolution.bind(e),addChannelzChild:null!==(c=null===(l=t.addChannelzChild)||void 0===l?void 0:l.bind(t))&&void 0!==c?c:e.addChannelzChild.bind(e),removeChannelzChild:null!==(u=null===(p=t.removeChannelzChild)||void 0===p?void 0:p.bind(t))&&void 0!==u?u:e.removeChannelzChild.bind(e)}};const n={};let o=null;t.registerLoadBalancerType=function(e,t,o){n[e]={LoadBalancer:t,LoadBalancingConfig:o}},t.registerDefaultLoadBalancerType=function(e){o=e},t.createLoadBalancer=function(e,t){const o=e.getLoadBalancerName();return o in n?new n[o].LoadBalancer(t):null},t.isLoadBalancerNameRegistered=function(e){return e in n},t.getFirstUsableConfig=function(e,t=!1){for(const t of e)if(t.getLoadBalancerName()in n)return t;return t&&o?new n[o].LoadBalancingConfig:null},t.validateLoadBalancingConfig=function(e){if(null===e||"object"!=typeof e)throw new Error("Load balancing config must be an object");const t=Object.keys(e);if(1!==t.length)throw new Error("Provided load balancing config has multiple conflicting entries");const o=t[0];if(o in n)return n[o].LoadBalancingConfig.createFromJson(e[o]);throw new Error(`Unrecognized load balancing config name ${o}`)}},51051:(e,t,n)=>{"use strict";var o,r,i,a;Object.defineProperty(t,"__esModule",{value:!0}),t.isTracerEnabled=t.trace=t.log=t.setLoggerVerbosity=t.setLogger=t.getLogger=void 0;const s=n(65328);let l={error:(e,...t)=>{console.error("E "+e,...t)},info:(e,...t)=>{console.error("I "+e,...t)},debug:(e,...t)=>{console.error("D "+e,...t)}},c=s.LogVerbosity.ERROR;switch((null!==(r=null!==(o=process.env.GRPC_NODE_VERBOSITY)&&void 0!==o?o:process.env.GRPC_VERBOSITY)&&void 0!==r?r:"").toUpperCase()){case"DEBUG":c=s.LogVerbosity.DEBUG;break;case"INFO":c=s.LogVerbosity.INFO;break;case"ERROR":c=s.LogVerbosity.ERROR;break;case"NONE":c=s.LogVerbosity.NONE}t.getLogger=()=>l,t.setLogger=e=>{l=e},t.setLoggerVerbosity=e=>{c=e},t.log=(e,...t)=>{let n;if(e>=c){switch(e){case s.LogVerbosity.DEBUG:n=l.debug;break;case s.LogVerbosity.INFO:n=l.info;break;case s.LogVerbosity.ERROR:n=l.error}n||(n=l.error),n&&n.bind(l)(...t)}};const p=null!==(a=null!==(i=process.env.GRPC_NODE_TRACE)&&void 0!==i?i:process.env.GRPC_TRACE)&&void 0!==a?a:"",u=new Set,d=new Set;for(const e of p.split(","))e.startsWith("-")?d.add(e.substring(1)):u.add(e);const g=u.has("all");function f(e){return!d.has(e)&&(g||u.has(e))}t.trace=function(e,n,o){f(n)&&t.log(e,(new Date).toISOString()+" | "+n+" | "+o)},t.isTracerEnabled=f},50381:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadPackageDefinition=t.makeClientConstructor=void 0;const o=n(96817),r={unary:o.Client.prototype.makeUnaryRequest,server_stream:o.Client.prototype.makeServerStreamRequest,client_stream:o.Client.prototype.makeClientStreamRequest,bidi:o.Client.prototype.makeBidiStreamRequest};function i(e){return["__proto__","prototype","constructor"].includes(e)}function a(e,t,n){n||(n={});class a extends o.Client{}return Object.keys(e).forEach((t=>{if(i(t))return;const n=e[t];let o;if("string"==typeof t&&"$"===t.charAt(0))throw new Error("Method names cannot start with $");o=n.requestStream?n.responseStream?"bidi":"client_stream":n.responseStream?"server_stream":"unary";const s=n.requestSerialize,l=n.responseDeserialize,c=function(e,t,n,o){return function(...r){return e.call(this,t,n,o,...r)}}(r[o],n.path,s,l);a.prototype[t]=c,Object.assign(a.prototype[t],n),n.originalName&&!i(n.originalName)&&(a.prototype[n.originalName]=a.prototype[t])})),a.service=e,a.serviceName=t,a}t.makeClientConstructor=a,t.loadPackageDefinition=function(e){const t={};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const r=e[o],s=o.split(".");if(s.some((e=>i(e))))continue;const l=s[s.length-1];let c=t;for(const e of s.slice(0,-1))c[e]||(c[e]={}),c=c[e];n=r,c[l]="format"in n?r:a(r,l,{})}var n;return t}},65146:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MaxMessageSizeFilterFactory=t.MaxMessageSizeFilter=void 0;const o=n(68333),r=n(65328);class i extends o.BaseFilter{constructor(e,t){super(),this.options=e,this.callStream=t,this.maxSendMessageSize=r.DEFAULT_MAX_SEND_MESSAGE_LENGTH,this.maxReceiveMessageSize=r.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH,"grpc.max_send_message_length"in e&&(this.maxSendMessageSize=e["grpc.max_send_message_length"]),"grpc.max_receive_message_length"in e&&(this.maxReceiveMessageSize=e["grpc.max_receive_message_length"])}async sendMessage(e){if(-1===this.maxSendMessageSize)return e;{const t=await e;return t.message.length>this.maxSendMessageSize?(this.callStream.cancelWithStatus(r.Status.RESOURCE_EXHAUSTED,`Sent message larger than max (${t.message.length} vs. ${this.maxSendMessageSize})`),Promise.reject("Message too large")):t}}async receiveMessage(e){if(-1===this.maxReceiveMessageSize)return e;{const t=await e;return t.length>this.maxReceiveMessageSize?(this.callStream.cancelWithStatus(r.Status.RESOURCE_EXHAUSTED,`Received message larger than max (${t.length} vs. ${this.maxReceiveMessageSize})`),Promise.reject("Message too large")):t}}}t.MaxMessageSizeFilter=i,t.MaxMessageSizeFilterFactory=class{constructor(e){this.options=e}createFilter(e){return new i(this.options,e)}}},21494:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;const o=n(51051),r=n(65328),i=/^[0-9a-z_.-]+$/,a=/^[ -~]*$/;function s(e){return e.endsWith("-bin")}function l(e){return!e.startsWith("grpc-")}function c(e){return e.toLowerCase()}function p(e,t){if(!function(e){return i.test(e)}(e))throw new Error('Metadata key "'+e+'" contains illegal characters');if(null!=t)if(s(e)){if(!Buffer.isBuffer(t))throw new Error("keys that end with '-bin' must have Buffer values")}else{if(Buffer.isBuffer(t))throw new Error("keys that don't end with '-bin' must have String values");if(!function(e){return a.test(e)}(t))throw new Error('Metadata string value "'+t+'" contains illegal characters')}}class u{constructor(e={}){this.internalRepr=new Map,this.options=e}set(e,t){p(e=c(e),t),this.internalRepr.set(e,[t])}add(e,t){p(e=c(e),t);const n=this.internalRepr.get(e);void 0===n?this.internalRepr.set(e,[t]):n.push(t)}remove(e){e=c(e),this.internalRepr.delete(e)}get(e){return e=c(e),this.internalRepr.get(e)||[]}getMap(){const e={};for(const[t,n]of this.internalRepr)if(n.length>0){const o=n[0];e[t]=Buffer.isBuffer(o)?Buffer.from(o):o}return e}clone(){const e=new u(this.options),t=e.internalRepr;for(const[e,n]of this.internalRepr){const o=n.map((e=>Buffer.isBuffer(e)?Buffer.from(e):e));t.set(e,o)}return e}merge(e){for(const[t,n]of e.internalRepr){const e=(this.internalRepr.get(t)||[]).concat(n);this.internalRepr.set(t,e)}}setOptions(e){this.options=e}getOptions(){return this.options}toHttp2Headers(){const e={};for(const[t,n]of this.internalRepr)e[t]=n.map(d);return e}_getCoreRepresentation(){return this.internalRepr}toJSON(){const e={};for(const[t,n]of this.internalRepr)e[t]=n;return e}static fromHttp2Headers(e){const t=new u;for(const n of Object.keys(e)){if(":"===n.charAt(0))continue;const i=e[n];try{s(n)?Array.isArray(i)?i.forEach((e=>{t.add(n,Buffer.from(e,"base64"))})):void 0!==i&&(l(n)?i.split(",").forEach((e=>{t.add(n,Buffer.from(e.trim(),"base64"))})):t.add(n,Buffer.from(i,"base64"))):Array.isArray(i)?i.forEach((e=>{t.add(n,e)})):void 0!==i&&t.add(n,i)}catch(e){const t=`Failed to add metadata entry ${n}: ${i}. ${e.message}. For more information see https://github.com/grpc/grpc-node/issues/1173`;o.log(r.LogVerbosity.ERROR,t)}}return t}}t.Metadata=u;const d=e=>Buffer.isBuffer(e)?e.toString("base64"):e},56617:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QueuePicker=t.UnavailablePicker=t.PickResultType=void 0;const o=n(21494),r=n(65328);var i;!function(e){e[e.COMPLETE=0]="COMPLETE",e[e.QUEUE=1]="QUEUE",e[e.TRANSIENT_FAILURE=2]="TRANSIENT_FAILURE",e[e.DROP=3]="DROP"}(i=t.PickResultType||(t.PickResultType={})),t.UnavailablePicker=class{constructor(e){this.status=void 0!==e?e:{code:r.Status.UNAVAILABLE,details:"No connection established",metadata:new o.Metadata}}pick(e){return{pickResultType:i.TRANSIENT_FAILURE,subchannel:null,status:this.status,extraFilterFactories:[],onCallStarted:null}}},t.QueuePicker=class{constructor(e){this.loadBalancer=e,this.calledExitIdle=!1}pick(e){return this.calledExitIdle||(process.nextTick((()=>{this.loadBalancer.exitIdle()})),this.calledExitIdle=!0),{pickResultType:i.QUEUE,subchannel:null,status:null,extraFilterFactories:[],onCallStarted:null}}}},29983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setup=void 0;const o=n(17394),r=n(9523),i=n(73837),a=n(50687),s=n(65328),l=n(21494),c=n(51051),p=n(65328),u=n(8084),d=n(41808),g=n(11257);function f(e){c.trace(p.LogVerbosity.DEBUG,"dns_resolver",e)}const h=i.promisify(r.resolveTxt),m=i.promisify(r.lookup);class y{constructor(e,t,n){var o,r,i;this.target=e,this.listener=t,this.pendingLookupPromise=null,this.pendingTxtPromise=null,this.latestLookupResult=null,this.latestServiceConfig=null,this.latestServiceConfigError=null,this.continueResolving=!1,this.isNextResolutionTimerRunning=!1,f("Resolver constructed for target "+u.uriToString(e));const a=u.splitHostPort(e.path);null===a?(this.ipResult=null,this.dnsHostname=null,this.port=null):d.isIPv4(a.host)||d.isIPv6(a.host)?(this.ipResult=[{host:a.host,port:null!==(o=a.port)&&void 0!==o?o:443}],this.dnsHostname=null,this.port=null):(this.ipResult=null,this.dnsHostname=a.host,this.port=null!==(r=a.port)&&void 0!==r?r:443),this.percentage=100*Math.random(),this.defaultResolutionError={code:s.Status.UNAVAILABLE,details:`Name resolution failed for target ${u.uriToString(this.target)}`,metadata:new l.Metadata};const c={initialDelay:n["grpc.initial_reconnect_backoff_ms"],maxDelay:n["grpc.max_reconnect_backoff_ms"]};this.backoff=new g.BackoffTimeout((()=>{this.continueResolving&&this.startResolutionWithBackoff()}),c),this.backoff.unref(),this.minTimeBetweenResolutionsMs=null!==(i=n["grpc.dns_min_time_between_resolutions_ms"])&&void 0!==i?i:3e4,this.nextResolutionTimer=setTimeout((()=>{}),0),clearTimeout(this.nextResolutionTimer)}startResolution(){if(null!==this.ipResult)return f("Returning IP address for target "+u.uriToString(this.target)),setImmediate((()=>{this.listener.onSuccessfulResolution(this.ipResult,null,null,null,{})})),this.backoff.stop(),void this.backoff.reset();if(null===this.dnsHostname)f("Failed to parse DNS address "+u.uriToString(this.target)),setImmediate((()=>{this.listener.onError({code:s.Status.UNAVAILABLE,details:`Failed to parse DNS address ${u.uriToString(this.target)}`,metadata:new l.Metadata})})),this.stopNextResolutionTimer();else{if(null!==this.pendingLookupPromise)return;f("Looking up DNS hostname "+this.dnsHostname),this.latestLookupResult=null;const e=this.dnsHostname;this.pendingLookupPromise=m(e,{all:!0}),this.pendingLookupPromise.then((e=>{this.pendingLookupPromise=null,this.backoff.reset(),this.backoff.stop();const t=e.filter((e=>4===e.family)),n=e.filter((e=>6===e.family));this.latestLookupResult=function(...e){const t=[];for(let n=0;ne.length)));n++)for(const o of e)n({host:e.address,port:+this.port})));const o="["+this.latestLookupResult.map((e=>e.host+":"+e.port)).join(",")+"]";f("Resolved addresses for target "+u.uriToString(this.target)+": "+o),0!==this.latestLookupResult.length?this.listener.onSuccessfulResolution(this.latestLookupResult,this.latestServiceConfig,this.latestServiceConfigError,null,{}):this.listener.onError(this.defaultResolutionError)}),(e=>{f("Resolution error for target "+u.uriToString(this.target)+": "+e.message),this.pendingLookupPromise=null,this.stopNextResolutionTimer(),this.listener.onError(this.defaultResolutionError)})),null===this.pendingTxtPromise&&(this.pendingTxtPromise=h(e),this.pendingTxtPromise.then((e=>{this.pendingTxtPromise=null;try{this.latestServiceConfig=a.extractAndSelectServiceConfig(e,this.percentage)}catch(e){this.latestServiceConfigError={code:s.Status.UNAVAILABLE,details:"Parsing service config failed",metadata:new l.Metadata}}null!==this.latestLookupResult&&this.listener.onSuccessfulResolution(this.latestLookupResult,this.latestServiceConfig,this.latestServiceConfigError,null,{})}),(e=>{})))}}startNextResolutionTimer(){var e,t;clearTimeout(this.nextResolutionTimer),this.nextResolutionTimer=null===(t=(e=setTimeout((()=>{this.stopNextResolutionTimer(),this.continueResolving&&this.startResolutionWithBackoff()}),this.minTimeBetweenResolutionsMs)).unref)||void 0===t?void 0:t.call(e),this.isNextResolutionTimerRunning=!0}stopNextResolutionTimer(){clearTimeout(this.nextResolutionTimer),this.isNextResolutionTimerRunning=!1}startResolutionWithBackoff(){null===this.pendingLookupPromise&&(this.continueResolving=!1,this.startResolution(),this.backoff.runOnce(),this.startNextResolutionTimer())}updateResolution(){null===this.pendingLookupPromise&&(this.isNextResolutionTimerRunning||this.backoff.isRunning()?this.continueResolving=!0:this.startResolutionWithBackoff())}destroy(){this.continueResolving=!1,this.backoff.stop(),this.stopNextResolutionTimer()}static getDefaultAuthority(e){return e.path}}t.setup=function(){o.registerResolver("dns",y),o.registerDefaultScheme("dns")}},68103:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setup=void 0;const o=n(41808),r=n(65328),i=n(21494),a=n(17394),s=n(8084),l=n(51051);function c(e){l.trace(r.LogVerbosity.DEBUG,"ip_resolver",e)}const p="ipv4",u="ipv6";class d{constructor(e,t,n){var a;this.target=e,this.listener=t,this.addresses=[],this.error=null,c("Resolver constructed for target "+s.uriToString(e));const l=[];if(e.scheme!==p&&e.scheme!==u)return void(this.error={code:r.Status.UNAVAILABLE,details:`Unrecognized scheme ${e.scheme} in IP resolver`,metadata:new i.Metadata});const d=e.path.split(",");for(const t of d){const n=s.splitHostPort(t);if(null===n)return void(this.error={code:r.Status.UNAVAILABLE,details:`Failed to parse ${e.scheme} address ${t}`,metadata:new i.Metadata});if(e.scheme===p&&!o.isIPv4(n.host)||e.scheme===u&&!o.isIPv6(n.host))return void(this.error={code:r.Status.UNAVAILABLE,details:`Failed to parse ${e.scheme} address ${t}`,metadata:new i.Metadata});l.push({host:n.host,port:null!==(a=n.port)&&void 0!==a?a:443})}this.addresses=l,c("Parsed "+e.scheme+" address list "+this.addresses)}updateResolution(){process.nextTick((()=>{this.error?this.listener.onError(this.error):this.listener.onSuccessfulResolution(this.addresses,null,null,null,{})}))}destroy(){}static getDefaultAuthority(e){return e.path.split(",")[0]}}t.setup=function(){a.registerResolver(p,d),a.registerResolver(u,d)}},77452:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setup=void 0;const o=n(17394);class r{constructor(e,t,n){let o;this.listener=t,this.addresses=[],o=""===e.authority?"/"+e.path:e.path,this.addresses=[{path:o}]}updateResolution(){process.nextTick(this.listener.onSuccessfulResolution,this.addresses,null,null,null,{})}destroy(){}static getDefaultAuthority(e){return"localhost"}}t.setup=function(){o.registerResolver("unix",r)}},17394:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapUriDefaultScheme=t.getDefaultAuthority=t.createResolver=t.registerDefaultScheme=t.registerResolver=void 0;const o=n(8084),r={};let i=null;t.registerResolver=function(e,t){r[e]=t},t.registerDefaultScheme=function(e){i=e},t.createResolver=function(e,t,n){if(void 0!==e.scheme&&e.scheme in r)return new r[e.scheme](e,t,n);throw new Error(`No resolver could be created for target ${o.uriToString(e)}`)},t.getDefaultAuthority=function(e){if(void 0!==e.scheme&&e.scheme in r)return r[e.scheme].getDefaultAuthority(e);throw new Error(`Invalid target ${o.uriToString(e)}`)},t.mapUriDefaultScheme=function(e){return void 0!==e.scheme&&e.scheme in r?e:null!==i?{scheme:i,authority:void 0,path:o.uriToString(e)}:null}},48026:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolvingLoadBalancer=void 0;const o=n(95477),r=n(50687),i=n(89091),a=n(17394),s=n(56617),l=n(11257),c=n(65328),p=n(21494),u=n(51051),d=n(65328),g=n(8084),f=n(88925);t.ResolvingLoadBalancer=class{constructor(e,t,n,u,d){this.target=e,this.channelControlHelper=t,this.channelOptions=n,this.onSuccessfulResolution=u,this.onFailedResolution=d,this.latestChildState=i.ConnectivityState.IDLE,this.latestChildPicker=new s.QueuePicker(this),this.currentState=i.ConnectivityState.IDLE,this.previousServiceConfig=null,this.continueResolving=!1,n["grpc.service_config"]?this.defaultServiceConfig=r.validateServiceConfig(JSON.parse(n["grpc.service_config"])):this.defaultServiceConfig={loadBalancingConfig:[],methodConfig:[]},this.updateState(i.ConnectivityState.IDLE,new s.QueuePicker(this)),this.childLoadBalancer=new f.ChildLoadBalancerHandler({createSubchannel:t.createSubchannel.bind(t),requestReresolution:()=>{this.backoffTimeout.isRunning()?this.continueResolving=!0:this.updateResolution()},updateState:(e,t)=>{this.latestChildState=e,this.latestChildPicker=t,this.updateState(e,t)},addChannelzChild:t.addChannelzChild.bind(t),removeChannelzChild:t.removeChannelzChild.bind(t)}),this.innerResolver=a.createResolver(e,{onSuccessfulResolution:(e,t,n,r,i)=>{var a;let s=null;null===t?null===n?(this.previousServiceConfig=null,s=this.defaultServiceConfig):null===this.previousServiceConfig?this.handleResolutionFailure(n):s=this.previousServiceConfig:(s=t,this.previousServiceConfig=t);const l=null!==(a=null==s?void 0:s.loadBalancingConfig)&&void 0!==a?a:[],u=o.getFirstUsableConfig(l,!0);if(null===u)return void this.handleResolutionFailure({code:c.Status.UNAVAILABLE,details:"All load balancer options in service config are not compatible",metadata:new p.Metadata});this.childLoadBalancer.updateAddressList(e,u,i);const d=null!=s?s:this.defaultServiceConfig;this.onSuccessfulResolution(null!=r?r:function(e){return function(t,n){var o,r;const i=t.split("/").filter((e=>e.length>0)),a=null!==(o=i[0])&&void 0!==o?o:"",s=null!==(r=i[1])&&void 0!==r?r:"";if(e&&e.methodConfig)for(const t of e.methodConfig)for(const e of t.name)if(e.service===a&&(void 0===e.method||e.method===s))return{methodConfig:t,pickInformation:{},status:c.Status.OK,dynamicFilterFactories:[]};return{methodConfig:{name:[]},pickInformation:{},status:c.Status.OK,dynamicFilterFactories:[]}}}(d))},onError:e=>{this.handleResolutionFailure(e)}},n);const g={initialDelay:n["grpc.initial_reconnect_backoff_ms"],maxDelay:n["grpc.max_reconnect_backoff_ms"]};this.backoffTimeout=new l.BackoffTimeout((()=>{this.continueResolving?(this.updateResolution(),this.continueResolving=!1):this.updateState(this.latestChildState,this.latestChildPicker)}),g),this.backoffTimeout.unref()}updateResolution(){this.innerResolver.updateResolution(),this.currentState===i.ConnectivityState.IDLE&&this.updateState(i.ConnectivityState.CONNECTING,new s.QueuePicker(this)),this.backoffTimeout.runOnce()}updateState(e,t){var n;n=g.uriToString(this.target)+" "+i.ConnectivityState[this.currentState]+" -> "+i.ConnectivityState[e],u.trace(d.LogVerbosity.DEBUG,"resolving_load_balancer",n),e===i.ConnectivityState.IDLE&&(t=new s.QueuePicker(this)),this.currentState=e,this.channelControlHelper.updateState(e,t)}handleResolutionFailure(e){this.latestChildState===i.ConnectivityState.IDLE&&(this.updateState(i.ConnectivityState.TRANSIENT_FAILURE,new s.UnavailablePicker(e)),this.onFailedResolution(e))}exitIdle(){this.currentState!==i.ConnectivityState.IDLE&&this.currentState!==i.ConnectivityState.TRANSIENT_FAILURE||(this.backoffTimeout.isRunning()?this.continueResolving=!0:this.updateResolution()),this.childLoadBalancer.exitIdle()}updateAddressList(e,t){throw new Error("updateAddressList not supported on ResolvingLoadBalancer")}resetBackoff(){this.backoffTimeout.reset(),this.childLoadBalancer.resetBackoff()}destroy(){this.childLoadBalancer.destroy(),this.innerResolver.destroy(),this.updateState(i.ConnectivityState.SHUTDOWN,new s.UnavailablePicker)}getTypeName(){return"resolving_load_balancer"}}},29351:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Http2ServerCallStream=t.ServerDuplexStreamImpl=t.ServerWritableStreamImpl=t.ServerReadableStreamImpl=t.ServerUnaryCallImpl=void 0;const o=n(82361),r=n(85158),i=n(12781),a=n(59796),s=n(73837),l=n(65328),c=n(21494),p=n(25766),u=n(51051),d="server_call",g=s.promisify(a.unzip),f=s.promisify(a.inflate);function h(e){u.trace(l.LogVerbosity.DEBUG,d,e)}const m="grpc-timeout",y=/(\d{1,8})\s*([HMSmun])/,v={H:36e5,M:6e4,S:1e3,m:1,u:.001,n:1e-6},b={"grpc-accept-encoding":"identity,deflate,gzip","grpc-encoding":"identity",[r.constants.HTTP2_HEADER_STATUS]:r.constants.HTTP_STATUS_OK,[r.constants.HTTP2_HEADER_CONTENT_TYPE]:"application/grpc+proto"},O={waitForTrailers:!0};class w extends o.EventEmitter{constructor(e,t,n){super(),this.call=e,this.metadata=t,this.request=n,this.cancelled=!1,this.call.setupSurfaceCall(this)}getPeer(){return this.call.getPeer()}sendMetadata(e){this.call.sendMetadata(e)}getDeadline(){return this.call.getDeadline()}getPath(){return this.call.getPath()}}t.ServerUnaryCallImpl=w;class P extends i.Readable{constructor(e,t,n,o){super({objectMode:!0}),this.call=e,this.metadata=t,this.deserialize=n,this.cancelled=!1,this.call.setupSurfaceCall(this),this.call.setupReadable(this,o)}_read(e){this.call.consumeUnpushedMessages(this)&&this.call.resume()}getPeer(){return this.call.getPeer()}sendMetadata(e){this.call.sendMetadata(e)}getDeadline(){return this.call.getDeadline()}getPath(){return this.call.getPath()}}t.ServerReadableStreamImpl=P;class x extends i.Writable{constructor(e,t,n,o){super({objectMode:!0}),this.call=e,this.metadata=t,this.serialize=n,this.request=o,this.cancelled=!1,this.trailingMetadata=new c.Metadata,this.call.setupSurfaceCall(this),this.on("error",(e=>{this.call.sendError(e),this.end()}))}getPeer(){return this.call.getPeer()}sendMetadata(e){this.call.sendMetadata(e)}getDeadline(){return this.call.getDeadline()}getPath(){return this.call.getPath()}_write(e,t,n){try{const t=this.call.serializeMessage(e);if(!this.call.write(t))return void this.call.once("drain",n)}catch(e){e.code=l.Status.INTERNAL,this.emit("error",e)}n()}_final(e){this.call.sendStatus({code:l.Status.OK,details:"OK",metadata:this.trailingMetadata}),e(null)}end(e){return e&&(this.trailingMetadata=e),super.end()}}t.ServerWritableStreamImpl=x;class S extends i.Duplex{constructor(e,t,n,o,r){super({objectMode:!0}),this.call=e,this.metadata=t,this.serialize=n,this.deserialize=o,this.cancelled=!1,this.trailingMetadata=new c.Metadata,this.call.setupSurfaceCall(this),this.call.setupReadable(this,r),this.on("error",(e=>{this.call.sendError(e),this.end()}))}getPeer(){return this.call.getPeer()}sendMetadata(e){this.call.sendMetadata(e)}getDeadline(){return this.call.getDeadline()}getPath(){return this.call.getPath()}end(e){return e&&(this.trailingMetadata=e),super.end()}}t.ServerDuplexStreamImpl=S,S.prototype._read=P.prototype._read,S.prototype._write=x.prototype._write,S.prototype._final=x.prototype._final;class T extends o.EventEmitter{constructor(e,t,n){super(),this.stream=e,this.handler=t,this.options=n,this.cancelled=!1,this.deadlineTimer=null,this.statusSent=!1,this.deadline=1/0,this.wantTrailers=!1,this.metadataSent=!1,this.canPush=!1,this.isPushPending=!1,this.bufferedMessages=[],this.messagesToPush=[],this.maxSendMessageSize=l.DEFAULT_MAX_SEND_MESSAGE_LENGTH,this.maxReceiveMessageSize=l.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH,this.stream.once("error",(e=>{})),this.stream.once("close",(()=>{var e;h("Request to method "+(null===(e=this.handler)||void 0===e?void 0:e.path)+" stream closed with rstCode "+this.stream.rstCode),this.statusSent||(this.cancelled=!0,this.emit("cancelled","cancelled"),this.emit("streamEnd",!1),this.sendStatus({code:l.Status.CANCELLED,details:"Cancelled by client",metadata:null}))})),this.stream.on("drain",(()=>{this.emit("drain")})),"grpc.max_send_message_length"in n&&(this.maxSendMessageSize=n["grpc.max_send_message_length"]),"grpc.max_receive_message_length"in n&&(this.maxReceiveMessageSize=n["grpc.max_receive_message_length"])}checkCancelled(){return(this.stream.destroyed||this.stream.closed)&&(this.cancelled=!0),this.cancelled}getDecompressedMessage(e,t){return"deflate"===t?f(e.subarray(5)):"gzip"===t?g(e.subarray(5)):"identity"===t?e.subarray(5):Promise.reject({code:l.Status.UNIMPLEMENTED,details:`Received message compressed with unsupported encoding "${t}"`})}sendMetadata(e){if(this.checkCancelled())return;if(this.metadataSent)return;this.metadataSent=!0;const t=e?e.toHttp2Headers():null,n=Object.assign(Object.assign({},b),t);this.stream.respond(n,O)}receiveMetadata(e){const t=c.Metadata.fromHttp2Headers(e);u.isTracerEnabled(d)&&h("Request to "+this.handler.path+" received headers "+JSON.stringify(t.toJSON()));const n=t.get(m);if(n.length>0){const e=n[0].toString().match(y);if(null===e){const e=new Error("Invalid deadline");return e.code=l.Status.OUT_OF_RANGE,this.sendError(e),t}const o=+e[1]*v[e[2]]|0,r=new Date;this.deadline=r.setMilliseconds(r.getMilliseconds()+o),this.deadlineTimer=setTimeout(A,o,this),t.remove(m)}return t.remove(r.constants.HTTP2_HEADER_ACCEPT_ENCODING),t.remove(r.constants.HTTP2_HEADER_TE),t.remove(r.constants.HTTP2_HEADER_CONTENT_TYPE),t.remove("grpc-accept-encoding"),t}receiveUnaryMessage(e,t){const{stream:n}=this;let o=0;const r=this,i=[],a=this.maxReceiveMessageSize;function s(e){if(o+=e.byteLength,-1!==a&&o>a)return n.removeListener("data",s),n.removeListener("end",c),n.removeListener("error",c),void t({code:l.Status.RESOURCE_EXHAUSTED,details:`Received message larger than max (${o} vs. ${a})`});i.push(e)}function c(a){if(n.removeListener("data",s),n.removeListener("end",c),n.removeListener("error",c),void 0!==a)return void t({code:l.Status.INTERNAL,details:a.message});if(0===o)return void t({code:l.Status.INTERNAL,details:"received empty unary message"});r.emit("receiveMessage");const p=Buffer.concat(i,o),u=1===p.readUInt8(0)?e:"identity",d=r.getDecompressedMessage(p,u);Buffer.isBuffer(d)?r.safeDeserializeMessage(d,t):d.then((e=>r.safeDeserializeMessage(e,t)),(n=>t(n.code?n:{code:l.Status.INTERNAL,details:`Received "grpc-encoding" header "${e}" but ${e} decompression failed`})))}n.on("data",s),n.on("end",c),n.on("error",c)}safeDeserializeMessage(e,t){try{t(null,this.deserializeMessage(e))}catch(e){e.code=l.Status.INTERNAL,t(e)}}serializeMessage(e){const t=this.handler.serialize(e),n=t.byteLength,o=Buffer.allocUnsafe(n+5);return o.writeUInt8(0,0),o.writeUInt32BE(n,1),t.copy(o,5),o}deserializeMessage(e){return this.handler.deserialize(e)}async sendUnaryMessage(e,t,n,o){if(!this.checkCancelled()){if(void 0===n&&(n=null),e)return!Object.prototype.hasOwnProperty.call(e,"metadata")&&n&&(e.metadata=n),void this.sendError(e);try{const e=this.serializeMessage(t);this.write(e),this.sendStatus({code:l.Status.OK,details:"OK",metadata:n})}catch(e){e.code=l.Status.INTERNAL,this.sendError(e)}}}sendStatus(e){var t;this.emit("callEnd",e.code),this.emit("streamEnd",e.code===l.Status.OK),this.checkCancelled()||(h("Request to method "+(null===(t=this.handler)||void 0===t?void 0:t.path)+" ended with status code: "+l.Status[e.code]+" details: "+e.details),this.deadlineTimer&&clearTimeout(this.deadlineTimer),this.wantTrailers||(this.wantTrailers=!0,this.stream.once("wantTrailers",(()=>{var t;const n=Object.assign({"grpc-status":e.code,"grpc-message":encodeURI(e.details)},null===(t=e.metadata)||void 0===t?void 0:t.toHttp2Headers());this.stream.sendTrailers(n),this.statusSent=!0})),this.sendMetadata(),this.stream.end()))}sendError(e){const t={code:l.Status.UNKNOWN,details:"message"in e?e.message:"Unknown Error",metadata:"metadata"in e&&void 0!==e.metadata?e.metadata:null};"code"in e&&"number"==typeof e.code&&Number.isInteger(e.code)&&(t.code=e.code,"details"in e&&"string"==typeof e.details&&(t.details=e.details)),this.sendStatus(t)}write(e){if(!this.checkCancelled()){if(!(-1!==this.maxSendMessageSize&&e.length>this.maxSendMessageSize))return this.sendMetadata(),this.emit("sendMessage"),this.stream.write(e);this.sendError({code:l.Status.RESOURCE_EXHAUSTED,details:`Sent message larger than max (${e.length} vs. ${this.maxSendMessageSize})`})}}resume(){this.stream.resume()}setupSurfaceCall(e){this.once("cancelled",(t=>{e.cancelled=!0,e.emit("cancelled",t)})),this.once("callEnd",(t=>e.emit("callEnd",t)))}setupReadable(e,t){const n=new p.StreamDecoder;let o=!1,r=!1,i=!1;const a=()=>{i||!o||r||(i=!0,this.pushOrBufferMessage(e,null))};this.stream.on("data",(async o=>{const i=n.write(o);r=!0,this.stream.pause();for(const n of i){if(-1!==this.maxReceiveMessageSize&&n.length>this.maxReceiveMessageSize)return void this.sendError({code:l.Status.RESOURCE_EXHAUSTED,details:`Received message larger than max (${n.length} vs. ${this.maxReceiveMessageSize})`});this.emit("receiveMessage");const o=1===n.readUInt8(0)?t:"identity",r=await this.getDecompressedMessage(n,o);if(!r)return;this.pushOrBufferMessage(e,r)}r=!1,this.stream.resume(),a()})),this.stream.once("end",(()=>{o=!0,a()}))}consumeUnpushedMessages(e){for(this.canPush=!0;this.messagesToPush.length>0;){const t=this.messagesToPush.shift(),n=e.push(t);if(null===t||!1===n){this.canPush=!1;break}}return this.canPush}pushOrBufferMessage(e,t){this.isPushPending?this.bufferedMessages.push(t):this.pushMessage(e,t)}async pushMessage(e,t){if(null===t)return h("Received end of stream"),void(this.canPush?e.push(null):this.messagesToPush.push(null));h("Received message of length "+t.length),this.isPushPending=!0;try{const n=await this.deserializeMessage(t);this.canPush?e.push(n)||(this.canPush=!1,this.stream.pause()):this.messagesToPush.push(n)}catch(t){this.bufferedMessages.length=0,"code"in t&&"number"==typeof t.code&&Number.isInteger(t.code)&&t.code>=l.Status.OK&&t.code<=l.Status.UNAUTHENTICATED||(t.code=l.Status.INTERNAL),e.emit("error",t)}this.isPushPending=!1,this.bufferedMessages.length>0&&this.pushMessage(e,this.bufferedMessages.shift())}getPeer(){const e=this.stream.session.socket;return e.remoteAddress?e.remotePort?`${e.remoteAddress}:${e.remotePort}`:e.remoteAddress:"unknown"}getDeadline(){return this.deadline}getPath(){return this.handler.path}}function A(e){const t=new Error("Deadline exceeded");t.code=l.Status.DEADLINE_EXCEEDED,e.sendError(t),e.cancelled=!0,e.emit("cancelled","deadline")}t.Http2ServerCallStream=T},77654:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServerCredentials=void 0;const o=n(75393);class r{static createInsecure(){return new i}static createSsl(e,t,n=!1){if(null!==e&&!Buffer.isBuffer(e))throw new TypeError("rootCerts must be null or a Buffer");if(!Array.isArray(t))throw new TypeError("keyCertPairs must be an array");if("boolean"!=typeof n)throw new TypeError("checkClientCertificate must be a boolean");const r=[],i=[];for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Server=void 0;const o=n(85158),r=n(65328),i=n(29351),a=n(77654),s=n(17394),l=n(51051),c=n(87297),p=n(8084),u=n(68109),{HTTP2_HEADER_PATH:d}=o.constants;function g(){}function f(e){return{code:r.Status.UNIMPLEMENTED,details:`The server does not implement the method ${e}`}}t.Server=class{constructor(e){this.http2ServerList=[],this.handlers=new Map,this.sessions=new Map,this.started=!1,this.serverAddressString="null",this.channelzEnabled=!0,this.channelzTrace=new u.ChannelzTrace,this.callTracker=new u.ChannelzCallTracker,this.listenerChildrenTracker=new u.ChannelzChildrenTracker,this.sessionChildrenTracker=new u.ChannelzChildrenTracker,this.options=null!=e?e:{},0===this.options["grpc.enable_channelz"]&&(this.channelzEnabled=!1),this.channelzRef=u.registerChannelzServer((()=>this.getChannelzInfo()),this.channelzEnabled),this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO","Server created"),this.trace("Server constructed")}getChannelzInfo(){return{trace:this.channelzTrace,callTracker:this.callTracker,listenerChildren:this.listenerChildrenTracker.getChildLists(),sessionChildren:this.sessionChildrenTracker.getChildLists()}}getChannelzSessionInfoGetter(e){return()=>{var t,n,o;const r=this.sessions.get(e),i=e.socket,a=i.remoteAddress?c.stringToSubchannelAddress(i.remoteAddress,i.remotePort):null,s=i.localAddress?c.stringToSubchannelAddress(i.localAddress,i.localPort):null;let l;if(e.encrypted){const e=i,n=e.getCipher(),o=e.getCertificate(),r=e.getPeerCertificate();l={cipherSuiteStandardName:null!==(t=n.standardName)&&void 0!==t?t:null,cipherSuiteOtherName:n.standardName?null:n.name,localCertificate:o&&"raw"in o?o.raw:null,remoteCertificate:r&&"raw"in r?r.raw:null}}else l=null;return{remoteAddress:a,localAddress:s,security:l,remoteName:null,streamsStarted:r.streamTracker.callsStarted,streamsSucceeded:r.streamTracker.callsSucceeded,streamsFailed:r.streamTracker.callsFailed,messagesSent:r.messagesSent,messagesReceived:r.messagesReceived,keepAlivesSent:0,lastLocalStreamCreatedTimestamp:null,lastRemoteStreamCreatedTimestamp:r.streamTracker.lastCallStartedTimestamp,lastMessageSentTimestamp:r.lastMessageSentTimestamp,lastMessageReceivedTimestamp:r.lastMessageReceivedTimestamp,localFlowControlWindow:null!==(n=e.state.localWindowSize)&&void 0!==n?n:null,remoteFlowControlWindow:null!==(o=e.state.remoteWindowSize)&&void 0!==o?o:null}}}trace(e){l.trace(r.LogVerbosity.DEBUG,"server","("+this.channelzRef.id+") "+e)}addProtoService(){throw new Error("Not implemented. Use addService() instead")}addService(e,t){if(null===e||"object"!=typeof e||null===t||"object"!=typeof t)throw new Error("addService() requires two objects as arguments");const n=Object.keys(e);if(0===n.length)throw new Error("Cannot add an empty service to a server");n.forEach((n=>{const o=e[n];let r;r=o.requestStream?o.responseStream?"bidi":"clientStream":o.responseStream?"serverStream":"unary";let i,a=t[n];if(void 0===a&&"string"==typeof o.originalName&&(a=t[o.originalName]),i=void 0!==a?a.bind(t):function(e,t){const n=f(t);switch(e){case"unary":case"clientStream":return(e,t)=>{t(n,null)};case"serverStream":case"bidi":return e=>{e.emit("error",n)};default:throw new Error(`Invalid handlerType ${e}`)}}(r,n),!1===this.register(o.path,i,o.responseSerialize,o.requestDeserialize,r))throw new Error(`Method handler for ${o.path} already provided.`)}))}removeService(e){if(null===e||"object"!=typeof e)throw new Error("removeService() requires object as argument");Object.keys(e).forEach((t=>{const n=e[t];this.unregister(n.path)}))}bind(e,t){throw new Error("Not implemented. Use bindAsync() instead")}bindAsync(e,t,n){if(!0===this.started)throw new Error("server is already started");if("string"!=typeof e)throw new TypeError("port must be a string");if(null===t||!(t instanceof a.ServerCredentials))throw new TypeError("creds must be a ServerCredentials object");if("function"!=typeof n)throw new TypeError("callback must be a function");const i=p.parseUri(e);if(null===i)throw new Error(`Could not parse port "${e}"`);const d=s.mapUriDefaultScheme(i);if(null===d)throw new Error(`Could not get a default scheme for port "${e}"`);const f={maxSendHeaderBlockLength:Number.MAX_SAFE_INTEGER};"grpc-node.max_session_memory"in this.options?f.maxSessionMemory=this.options["grpc-node.max_session_memory"]:f.maxSessionMemory=Number.MAX_SAFE_INTEGER,"grpc.max_concurrent_streams"in this.options&&(f.settings={maxConcurrentStreams:this.options["grpc.max_concurrent_streams"]});const h=(e,t)=>{process.nextTick((()=>n(e,t)))},m=()=>{let e;if(t._isSecure()){const n=Object.assign(f,t._getSettings());e=o.createSecureServer(n),e.on("secureConnection",(e=>{e.on("error",(e=>{this.trace("An incoming TLS connection closed with error: "+e.message)}))}))}else e=o.createServer(f);return e.setTimeout(0,g),this._setupHandlers(e),e},y=(e,t,n)=>0===e.length?Promise.resolve({port:t,count:n}):Promise.all(e.map((e=>{let n;this.trace("Attempting to bind "+c.subchannelAddressToString(e)),n=c.isTcpSubchannelAddress(e)?{host:e.host,port:t}:e;const o=m();return new Promise(((r,i)=>{const a=t=>{this.trace("Failed to bind "+c.subchannelAddressToString(e)+" with error "+t.message),r(t)};o.once("error",a),o.listen(n,(()=>{const e=o.address();let n,i;n="string"==typeof e?{path:e}:{host:e.address,port:e.port},i=u.registerChannelzSocket(c.subchannelAddressToString(n),(()=>({localAddress:n,remoteAddress:null,security:null,remoteName:null,streamsStarted:0,streamsSucceeded:0,streamsFailed:0,messagesSent:0,messagesReceived:0,keepAlivesSent:0,lastLocalStreamCreatedTimestamp:null,lastRemoteStreamCreatedTimestamp:null,lastMessageSentTimestamp:null,lastMessageReceivedTimestamp:null,localFlowControlWindow:null,remoteFlowControlWindow:null})),this.channelzEnabled),this.channelzEnabled&&this.listenerChildrenTracker.refChild(i),this.http2ServerList.push({server:o,channelzRef:i}),this.trace("Successfully bound "+c.subchannelAddressToString(n)),r("port"in n?n.port:t),o.removeListener("error",a)}))}))}))).then((e=>{let o=0;for(const n of e)if("number"==typeof n&&(o+=1,n!==t))throw new Error("Invalid state: multiple port numbers added from single address");return{port:t,count:o+n}})),v=e=>{if(0===e.length)return Promise.resolve({port:0,count:0});const t=e[0],n=m();return new Promise(((o,r)=>{const i=n=>{this.trace("Failed to bind "+c.subchannelAddressToString(t)+" with error "+n.message),o(v(e.slice(1)))};n.once("error",i),n.listen(t,(()=>{const t=n.address(),r={host:t.address,port:t.port};let a;a=u.registerChannelzSocket(c.subchannelAddressToString(r),(()=>({localAddress:r,remoteAddress:null,security:null,remoteName:null,streamsStarted:0,streamsSucceeded:0,streamsFailed:0,messagesSent:0,messagesReceived:0,keepAlivesSent:0,lastLocalStreamCreatedTimestamp:null,lastRemoteStreamCreatedTimestamp:null,lastMessageSentTimestamp:null,lastMessageReceivedTimestamp:null,localFlowControlWindow:null,remoteFlowControlWindow:null})),this.channelzEnabled),this.channelzEnabled&&this.listenerChildrenTracker.refChild(a),this.http2ServerList.push({server:n,channelzRef:a}),this.trace("Successfully bound "+c.subchannelAddressToString(r)),o(y(e.slice(1),t.port,1)),n.removeListener("error",i)}))}))},b={onSuccessfulResolution:(t,n,o)=>{if(b.onSuccessfulResolution=()=>{},0===t.length)return void h(new Error(`No addresses resolved for port ${e}`),0);let i;i=c.isTcpSubchannelAddress(t[0])?0===t[0].port?v(t):y(t,t[0].port,0):y(t,1,0),i.then((e=>{if(0===e.count){const e=`No address added out of total ${t.length} resolved`;l.log(r.LogVerbosity.ERROR,e),h(new Error(e),0)}else e.count{const n=`No address added out of total ${t.length} resolved`;l.log(r.LogVerbosity.ERROR,n),h(new Error(n),0)}))},onError:e=>{h(new Error(e.details),0)}};s.createResolver(d,b,this.options).updateResolution()}forceShutdown(){for(const{server:e,channelzRef:t}of this.http2ServerList)e.listening&&e.close((()=>{this.channelzEnabled&&(this.listenerChildrenTracker.unrefChild(t),u.unregisterChannelzRef(t))}));this.started=!1,this.sessions.forEach(((e,t)=>{t.destroy(o.constants.NGHTTP2_CANCEL)})),this.sessions.clear(),this.channelzEnabled&&u.unregisterChannelzRef(this.channelzRef)}register(e,t,n,o,r){return!this.handlers.has(e)&&(this.handlers.set(e,{func:t,serialize:n,deserialize:o,type:r,path:e}),!0)}unregister(e){return this.handlers.delete(e)}start(){if(0===this.http2ServerList.length||this.http2ServerList.every((({server:e})=>!0!==e.listening)))throw new Error("server must be bound in order to start");if(!0===this.started)throw new Error("server is already started");this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO","Starting"),this.started=!0}tryShutdown(e){const t=t=>{this.channelzEnabled&&u.unregisterChannelzRef(this.channelzRef),e(t)};let n=0;function o(){n--,0===n&&t()}this.started=!1;for(const{server:e,channelzRef:t}of this.http2ServerList)e.listening&&(n++,e.close((()=>{this.channelzEnabled&&(this.listenerChildrenTracker.unrefChild(t),u.unregisterChannelzRef(t)),o()})));this.sessions.forEach(((e,t)=>{t.closed||(n+=1,t.close(o))})),0===n&&t()}addHttp2Port(){throw new Error("Not yet implemented")}getChannelzRef(){return this.channelzRef}_verifyContentType(e,t){const n=t[o.constants.HTTP2_HEADER_CONTENT_TYPE];return!("string"!=typeof n||!n.startsWith("application/grpc"))||(e.respond({[o.constants.HTTP2_HEADER_STATUS]:o.constants.HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE},{endStream:!0}),!1)}_retrieveHandler(e){const t=e[d];this.trace("Received call to method "+t+" at address "+this.serverAddressString);const n=this.handlers.get(t);if(void 0===n)throw this.trace("No handler registered for method "+t+". Sending UNIMPLEMENTED status."),f(t);return n}_respondWithError(e,t,n=null){const o=new i.Http2ServerCallStream(t,null,this.options);void 0===e.code&&(e.code=r.Status.INTERNAL),this.channelzEnabled&&(this.callTracker.addCallFailed(),null==n||n.streamTracker.addCallFailed()),o.sendError(e)}_channelzHandler(e,t){const n=this.sessions.get(e.session);if(this.callTracker.addCallStarted(),null==n||n.streamTracker.addCallStarted(),!this._verifyContentType(e,t))return this.callTracker.addCallFailed(),void(null==n||n.streamTracker.addCallFailed());let o;try{o=this._retrieveHandler(t)}catch(t){return void this._respondWithError(t,e,n)}const a=new i.Http2ServerCallStream(e,o,this.options);a.once("callEnd",(e=>{e===r.Status.OK?this.callTracker.addCallSucceeded():this.callTracker.addCallFailed()})),n&&(a.once("streamEnd",(e=>{e?n.streamTracker.addCallSucceeded():n.streamTracker.addCallFailed()})),a.on("sendMessage",(()=>{n.messagesSent+=1,n.lastMessageSentTimestamp=new Date})),a.on("receiveMessage",(()=>{n.messagesReceived+=1,n.lastMessageReceivedTimestamp=new Date}))),this._runHandlerForCall(a,o,t)||(this.callTracker.addCallFailed(),null==n||n.streamTracker.addCallFailed(),a.sendError({code:r.Status.INTERNAL,details:`Unknown handler type: ${o.type}`}))}_streamHandler(e,t){if(!0!==this._verifyContentType(e,t))return;let n;try{n=this._retrieveHandler(t)}catch(t){return void this._respondWithError(t,e,null)}const o=new i.Http2ServerCallStream(e,n,this.options);this._runHandlerForCall(o,n,t)||o.sendError({code:r.Status.INTERNAL,details:`Unknown handler type: ${n.type}`})}_runHandlerForCall(e,t,n){var o;const r=e.receiveMetadata(n),a=null!==(o=r.get("grpc-encoding")[0])&&void 0!==o?o:"identity";r.remove("grpc-encoding");const{type:s}=t;if("unary"===s)!function(e,t,n,o){e.receiveUnaryMessage(o,((o,r)=>{if(o)return void e.sendError(o);if(void 0===r||e.cancelled)return;const a=new i.ServerUnaryCallImpl(e,n,r);t.func(a,((t,n,o,r)=>{e.sendUnaryMessage(t,n,o,r)}))}))}(e,t,r,a);else if("clientStream"===s)!function(e,t,n,o){const r=new i.ServerReadableStreamImpl(e,n,t.deserialize,o);function a(t,n,o,i){r.destroy(),e.sendUnaryMessage(t,n,o,i)}e.cancelled||(r.on("error",a),t.func(r,a))}(e,t,r,a);else if("serverStream"===s)!function(e,t,n,o){e.receiveUnaryMessage(o,((o,r)=>{if(o)return void e.sendError(o);if(void 0===r||e.cancelled)return;const a=new i.ServerWritableStreamImpl(e,n,t.serialize,r);t.func(a)}))}(e,t,r,a);else{if("bidi"!==s)return!1;!function(e,t,n,o){const r=new i.ServerDuplexStreamImpl(e,n,t.serialize,t.deserialize,o);e.cancelled||t.func(r)}(e,t,r,a)}return!0}_setupHandlers(e){if(null===e)return;const t=e.address();let n="null";t&&(n="string"==typeof t?t:t.address+":"+t.port),this.serverAddressString=n;const o=this.channelzEnabled?this._channelzHandler:this._streamHandler;e.on("stream",o.bind(this)),e.on("session",(e=>{var t;if(!this.started)return void e.destroy();let n;n=u.registerChannelzSocket(null!==(t=e.socket.remoteAddress)&&void 0!==t?t:"unknown",this.getChannelzSessionInfoGetter(e),this.channelzEnabled);const o={ref:n,streamTracker:new u.ChannelzCallTracker,messagesSent:0,messagesReceived:0,lastMessageSentTimestamp:null,lastMessageReceivedTimestamp:null};this.sessions.set(e,o);const r=e.socket.remoteAddress;this.channelzEnabled&&(this.channelzTrace.addTrace("CT_INFO","Connection established by client "+r),this.sessionChildrenTracker.refChild(n)),e.on("close",(()=>{this.channelzEnabled&&(this.channelzTrace.addTrace("CT_INFO","Connection dropped by client "+r),this.sessionChildrenTracker.unrefChild(n),u.unregisterChannelzRef(n)),this.sessions.delete(e)}))}))}}},50687:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractAndSelectServiceConfig=t.validateServiceConfig=void 0;const o=n(22037),r=n(95477),i=/^\d+(\.\d{1,9})?s$/;function a(e){if(!("service"in e)||"string"!=typeof e.service)throw new Error("Invalid method config name: invalid service");const t={service:e.service};if("method"in e){if("string"!=typeof e.method)throw new Error("Invalid method config name: invalid method");t.method=e.method}return t}function s(e){var t;const n={name:[]};if(!("name"in e)||!Array.isArray(e.name))throw new Error("Invalid method config: invalid name array");for(const t of e.name)n.name.push(a(t));if("waitForReady"in e){if("boolean"!=typeof e.waitForReady)throw new Error("Invalid method config: invalid waitForReady");n.waitForReady=e.waitForReady}if("timeout"in e)if("object"==typeof e.timeout){if(!("seconds"in e.timeout)||"number"!=typeof e.timeout.seconds)throw new Error("Invalid method config: invalid timeout.seconds");if(!("nanos"in e.timeout)||"number"!=typeof e.timeout.nanos)throw new Error("Invalid method config: invalid timeout.nanos");n.timeout=e.timeout}else{if("string"!=typeof e.timeout||!i.test(e.timeout))throw new Error("Invalid method config: invalid timeout");{const o=e.timeout.substring(0,e.timeout.length-1).split(".");n.timeout={seconds:0|o[0],nanos:0|(null!==(t=o[1])&&void 0!==t?t:0)}}}if("maxRequestBytes"in e){if("number"!=typeof e.maxRequestBytes)throw new Error("Invalid method config: invalid maxRequestBytes");n.maxRequestBytes=e.maxRequestBytes}if("maxResponseBytes"in e){if("number"!=typeof e.maxResponseBytes)throw new Error("Invalid method config: invalid maxRequestBytes");n.maxResponseBytes=e.maxResponseBytes}return n}function l(e){const t={loadBalancingConfig:[],methodConfig:[]};if("loadBalancingPolicy"in e){if("string"!=typeof e.loadBalancingPolicy)throw new Error("Invalid service config: invalid loadBalancingPolicy");t.loadBalancingPolicy=e.loadBalancingPolicy}if("loadBalancingConfig"in e){if(!Array.isArray(e.loadBalancingConfig))throw new Error("Invalid service config: invalid loadBalancingConfig");for(const n of e.loadBalancingConfig)t.loadBalancingConfig.push(r.validateLoadBalancingConfig(n))}if("methodConfig"in e&&Array.isArray(e.methodConfig))for(const n of e.methodConfig)t.methodConfig.push(s(n));const n=[];for(const e of t.methodConfig)for(const t of e.name){for(const e of n)if(t.service===e.service&&t.method===e.method)throw new Error(`Invalid service config: duplicate name ${t.service}/${t.method}`);n.push(t)}return t}function c(e){if(!("serviceConfig"in e))throw new Error("Invalid service config choice: missing service config");const t={serviceConfig:l(e.serviceConfig)};if("clientLanguage"in e){if(!Array.isArray(e.clientLanguage))throw new Error("Invalid service config choice: invalid clientLanguage");t.clientLanguage=[];for(const n of e.clientLanguage){if("string"!=typeof n)throw new Error("Invalid service config choice: invalid clientLanguage");t.clientLanguage.push(n)}}if("clientHostname"in e){if(!Array.isArray(e.clientHostname))throw new Error("Invalid service config choice: invalid clientHostname");t.clientHostname=[];for(const n of e.clientHostname){if("string"!=typeof n)throw new Error("Invalid service config choice: invalid clientHostname");t.clientHostname.push(n)}}if("percentage"in e){if(!("number"==typeof e.percentage&&0<=e.percentage&&e.percentage<=100))throw new Error("Invalid service config choice: invalid percentage");t.percentage=e.percentage}const n=["clientLanguage","percentage","clientHostname","serviceConfig"];for(const t in e)if(!n.includes(t))throw new Error(`Invalid service config choice: unexpected field ${t}`);return t}function p(e,t){if(!Array.isArray(e))throw new Error("Invalid service config list");for(const n of e){const e=c(n);if(!("number"==typeof e.percentage&&t>e.percentage)){if(Array.isArray(e.clientHostname)){let t=!1;for(const n of e.clientHostname)n===o.hostname()&&(t=!0);if(!t)continue}if(Array.isArray(e.clientLanguage)){let t=!1;for(const n of e.clientLanguage)"node"===n&&(t=!0);if(!t)continue}return e.serviceConfig}}throw new Error("No matching service config found")}t.validateServiceConfig=l,t.extractAndSelectServiceConfig=function(e,t){for(const n of e)if(n.length>0&&n[0].startsWith("grpc_config=")){const e=n.join("").substring("grpc_config=".length);return p(JSON.parse(e),t)}return null}},69843:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBuilder=void 0,t.StatusBuilder=class{constructor(){this.code=null,this.details=null,this.metadata=null}withCode(e){return this.code=e,this}withDetails(e){return this.details=e,this}withMetadata(e){return this.metadata=e,this}build(){const e={};return null!==this.code&&(e.code=this.code),null!==this.details&&(e.details=this.details),null!==this.metadata&&(e.metadata=this.metadata),e}}},25766:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.StreamDecoder=void 0,function(e){e[e.NO_DATA=0]="NO_DATA",e[e.READING_SIZE=1]="READING_SIZE",e[e.READING_MESSAGE=2]="READING_MESSAGE"}(n||(n={})),t.StreamDecoder=class{constructor(){this.readState=n.NO_DATA,this.readCompressFlag=Buffer.alloc(1),this.readPartialSize=Buffer.alloc(4),this.readSizeRemaining=4,this.readMessageSize=0,this.readPartialMessage=[],this.readMessageRemaining=0}write(e){let t,o=0;const r=[];for(;o0)this.readState=n.READING_MESSAGE;else{const e=Buffer.concat([this.readCompressFlag,this.readPartialSize],5);this.readState=n.NO_DATA,r.push(e)}break;case n.READING_MESSAGE:if(t=Math.min(e.length-o,this.readMessageRemaining),this.readPartialMessage.push(e.slice(o,o+t)),this.readMessageRemaining-=t,o+=t,0===this.readMessageRemaining){const e=[this.readCompressFlag,this.readPartialSize].concat(this.readPartialMessage),t=Buffer.concat(e,this.readMessageSize+5);this.readState=n.NO_DATA,r.push(t)}break;default:throw new Error("Unexpected read state")}return r}}},87297:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringToSubchannelAddress=t.subchannelAddressToString=t.subchannelAddressEqual=t.isTcpSubchannelAddress=void 0;const o=n(41808);function r(e){return"port"in e}t.isTcpSubchannelAddress=r,t.subchannelAddressEqual=function(e,t){return r(e)?r(t)&&e.host===t.host&&e.port===t.port:!r(t)&&e.path===t.path},t.subchannelAddressToString=function(e){return r(e)?e.host+":"+e.port:e.path},t.stringToSubchannelAddress=function(e,t){return o.isIP(e)?{host:e,port:null!=t?t:443}:{path:e}}},75554:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseSubchannelWrapper=void 0,t.BaseSubchannelWrapper=class{constructor(e){this.child=e}getConnectivityState(){return this.child.getConnectivityState()}addConnectivityStateListener(e){this.child.addConnectivityStateListener(e)}removeConnectivityStateListener(e){this.child.removeConnectivityStateListener(e)}startConnecting(){this.child.startConnecting()}getAddress(){return this.child.getAddress()}ref(){this.child.ref()}unref(){this.child.unref()}getChannelzRef(){return this.child.getChannelzRef()}getRealSubchannel(){return this.child.getRealSubchannel()}}},38117:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSubchannelPool=t.SubchannelPool=void 0;const o=n(70713),r=n(89180),i=n(87297),a=n(8084);class s{constructor(){this.pool=Object.create(null),this.cleanupTimer=null}unrefUnusedSubchannels(){let e=!0;for(const t in this.pool){const n=this.pool[t].filter((e=>!e.subchannel.unrefIfOneRef()));n.length>0&&(e=!1),this.pool[t]=n}e&&null!==this.cleanupTimer&&(clearInterval(this.cleanupTimer),this.cleanupTimer=null)}ensureCleanupTask(){var e,t;null===this.cleanupTimer&&(this.cleanupTimer=setInterval((()=>{this.unrefUnusedSubchannels()}),1e4),null===(t=(e=this.cleanupTimer).unref)||void 0===t||t.call(e))}getOrCreateSubchannel(e,t,n,s){this.ensureCleanupTask();const l=a.uriToString(e);if(l in this.pool){const e=this.pool[l];for(const r of e)if(i.subchannelAddressEqual(t,r.subchannelAddress)&&o.channelOptionsEqual(n,r.channelArguments)&&s._equals(r.channelCredentials))return r.subchannel}const c=new r.Subchannel(e,t,n,s);return l in this.pool||(this.pool[l]=[]),this.pool[l].push({subchannelAddress:t,channelArguments:n,channelCredentials:s,subchannel:c}),c.ref(),c}}t.SubchannelPool=s;const l=new s;t.getSubchannelPool=function(e){return e?l:new s}},89180:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Subchannel=void 0;const o=n(85158),r=n(24404),i=n(89091),a=n(11257),s=n(17394),l=n(51051),c=n(65328),p=n(30914),u=n(41808),d=n(8084),g=n(87297),f=n(68109),h=n(14167).i8,m="subchannel",y=~(1<<31),{HTTP2_HEADER_AUTHORITY:v,HTTP2_HEADER_CONTENT_TYPE:b,HTTP2_HEADER_METHOD:O,HTTP2_HEADER_PATH:w,HTTP2_HEADER_TE:P,HTTP2_HEADER_USER_AGENT:x}=o.constants,S=Buffer.from("too_many_pings","ascii");t.Subchannel=class{constructor(e,t,n,o){this.channelTarget=e,this.subchannelAddress=t,this.options=n,this.credentials=o,this.connectivityState=i.ConnectivityState.IDLE,this.session=null,this.continueConnecting=!1,this.stateListeners=[],this.disconnectListeners=new Set,this.keepaliveTimeMs=y,this.keepaliveTimeoutMs=2e4,this.keepaliveWithoutCalls=!1,this.callRefcount=0,this.refcount=0,this.channelzEnabled=!0,this.callTracker=new f.ChannelzCallTracker,this.childrenTracker=new f.ChannelzChildrenTracker,this.channelzSocketRef=null,this.remoteName=null,this.streamTracker=new f.ChannelzCallTracker,this.keepalivesSent=0,this.messagesSent=0,this.messagesReceived=0,this.lastMessageSentTimestamp=null,this.lastMessageReceivedTimestamp=null,this.userAgent=[n["grpc.primary_user_agent"],`grpc-node-js/${h}`,n["grpc.secondary_user_agent"]].filter((e=>e)).join(" "),"grpc.keepalive_time_ms"in n&&(this.keepaliveTimeMs=n["grpc.keepalive_time_ms"]),"grpc.keepalive_timeout_ms"in n&&(this.keepaliveTimeoutMs=n["grpc.keepalive_timeout_ms"]),this.keepaliveWithoutCalls="grpc.keepalive_permit_without_calls"in n&&1===n["grpc.keepalive_permit_without_calls"],this.keepaliveIntervalId=setTimeout((()=>{}),0),clearTimeout(this.keepaliveIntervalId),this.keepaliveTimeoutId=setTimeout((()=>{}),0),clearTimeout(this.keepaliveTimeoutId);const r={initialDelay:n["grpc.initial_reconnect_backoff_ms"],maxDelay:n["grpc.max_reconnect_backoff_ms"]};this.backoffTimeout=new a.BackoffTimeout((()=>{this.handleBackoffTimer()}),r),this.subchannelAddressString=g.subchannelAddressToString(t),0===n["grpc.enable_channelz"]&&(this.channelzEnabled=!1),this.channelzTrace=new f.ChannelzTrace,this.channelzRef=f.registerChannelzSubchannel(this.subchannelAddressString,(()=>this.getChannelzInfo()),this.channelzEnabled),this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO","Subchannel created"),this.trace("Subchannel constructed with options "+JSON.stringify(n,void 0,2))}getChannelzInfo(){return{state:this.connectivityState,trace:this.channelzTrace,callTracker:this.callTracker,children:this.childrenTracker.getChildLists(),target:this.subchannelAddressString}}getChannelzSocketInfo(){var e,t,n;if(null===this.session)return null;const o=this.session.socket,r=o.remoteAddress?g.stringToSubchannelAddress(o.remoteAddress,o.remotePort):null,i=o.localAddress?g.stringToSubchannelAddress(o.localAddress,o.localPort):null;let a;if(this.session.encrypted){const t=o,n=t.getCipher(),r=t.getCertificate(),i=t.getPeerCertificate();a={cipherSuiteStandardName:null!==(e=n.standardName)&&void 0!==e?e:null,cipherSuiteOtherName:n.standardName?null:n.name,localCertificate:r&&"raw"in r?r.raw:null,remoteCertificate:i&&"raw"in i?i.raw:null}}else a=null;return{remoteAddress:r,localAddress:i,security:a,remoteName:this.remoteName,streamsStarted:this.streamTracker.callsStarted,streamsSucceeded:this.streamTracker.callsSucceeded,streamsFailed:this.streamTracker.callsFailed,messagesSent:this.messagesSent,messagesReceived:this.messagesReceived,keepAlivesSent:this.keepalivesSent,lastLocalStreamCreatedTimestamp:this.streamTracker.lastCallStartedTimestamp,lastRemoteStreamCreatedTimestamp:null,lastMessageSentTimestamp:this.lastMessageSentTimestamp,lastMessageReceivedTimestamp:this.lastMessageReceivedTimestamp,localFlowControlWindow:null!==(t=this.session.state.localWindowSize)&&void 0!==t?t:null,remoteFlowControlWindow:null!==(n=this.session.state.remoteWindowSize)&&void 0!==n?n:null}}resetChannelzSocketInfo(){this.channelzEnabled&&(this.channelzSocketRef&&(f.unregisterChannelzRef(this.channelzSocketRef),this.childrenTracker.unrefChild(this.channelzSocketRef),this.channelzSocketRef=null),this.remoteName=null,this.streamTracker=new f.ChannelzCallTracker,this.keepalivesSent=0,this.messagesSent=0,this.messagesReceived=0,this.lastMessageSentTimestamp=null,this.lastMessageReceivedTimestamp=null)}trace(e){l.trace(c.LogVerbosity.DEBUG,m,"("+this.channelzRef.id+") "+this.subchannelAddressString+" "+e)}refTrace(e){l.trace(c.LogVerbosity.DEBUG,"subchannel_refcount","("+this.channelzRef.id+") "+this.subchannelAddressString+" "+e)}flowControlTrace(e){l.trace(c.LogVerbosity.DEBUG,"subchannel_flowctrl","("+this.channelzRef.id+") "+this.subchannelAddressString+" "+e)}internalsTrace(e){l.trace(c.LogVerbosity.DEBUG,"subchannel_internals","("+this.channelzRef.id+") "+this.subchannelAddressString+" "+e)}keepaliveTrace(e){l.trace(c.LogVerbosity.DEBUG,"keepalive","("+this.channelzRef.id+") "+this.subchannelAddressString+" "+e)}handleBackoffTimer(){this.continueConnecting?this.transitionToState([i.ConnectivityState.TRANSIENT_FAILURE],i.ConnectivityState.CONNECTING):this.transitionToState([i.ConnectivityState.TRANSIENT_FAILURE],i.ConnectivityState.IDLE)}startBackoff(){this.backoffTimeout.runOnce()}stopBackoff(){this.backoffTimeout.stop(),this.backoffTimeout.reset()}sendPing(){var e,t;this.channelzEnabled&&(this.keepalivesSent+=1),this.keepaliveTrace("Sending ping with timeout "+this.keepaliveTimeoutMs+"ms"),this.keepaliveTimeoutId=setTimeout((()=>{this.keepaliveTrace("Ping timeout passed without response"),this.handleDisconnect()}),this.keepaliveTimeoutMs),null===(t=(e=this.keepaliveTimeoutId).unref)||void 0===t||t.call(e);try{this.session.ping(((e,t,n)=>{this.keepaliveTrace("Received ping response"),clearTimeout(this.keepaliveTimeoutId)}))}catch(e){this.transitionToState([i.ConnectivityState.READY],i.ConnectivityState.TRANSIENT_FAILURE)}}startKeepalivePings(){var e,t;this.keepaliveIntervalId=setInterval((()=>{this.sendPing()}),this.keepaliveTimeMs),null===(t=(e=this.keepaliveIntervalId).unref)||void 0===t||t.call(e)}stopKeepalivePings(){clearInterval(this.keepaliveIntervalId),clearTimeout(this.keepaliveTimeoutId)}createSession(e){var t,n,a;e.realTarget?(this.remoteName=d.uriToString(e.realTarget),this.trace("creating HTTP/2 session through proxy to "+e.realTarget)):(this.remoteName=null,this.trace("creating HTTP/2 session"));const p=s.getDefaultAuthority(null!==(t=e.realTarget)&&void 0!==t?t:this.channelTarget);let g=this.credentials._getConnectionOptions()||{};g.maxSendHeaderBlockLength=Number.MAX_SAFE_INTEGER,"grpc-node.max_session_memory"in this.options?g.maxSessionMemory=this.options["grpc-node.max_session_memory"]:g.maxSessionMemory=Number.MAX_SAFE_INTEGER;let h="http://";if("secureContext"in g){if(h="https://",this.options["grpc.ssl_target_name_override"]){const e=this.options["grpc.ssl_target_name_override"];g.checkServerIdentity=(t,n)=>r.checkServerIdentity(e,n),g.servername=e}else{const e=null!==(a=null===(n=d.splitHostPort(p))||void 0===n?void 0:n.host)&&void 0!==a?a:"localhost";g.servername=e}e.socket&&(g.createConnection=(t,n)=>e.socket)}else g.createConnection=(t,n)=>e.socket?e.socket:u.connect(this.subchannelAddress);g=Object.assign(Object.assign({},g),this.subchannelAddress);const v=o.connect(h+p,g);this.session=v,this.channelzSocketRef=f.registerChannelzSocket(this.subchannelAddressString,(()=>this.getChannelzSocketInfo()),this.channelzEnabled),this.channelzEnabled&&this.childrenTracker.refChild(this.channelzSocketRef),v.unref(),v.once("connect",(()=>{this.session===v&&this.transitionToState([i.ConnectivityState.CONNECTING],i.ConnectivityState.READY)})),v.once("close",(()=>{this.session===v&&(this.trace("connection closed"),this.transitionToState([i.ConnectivityState.CONNECTING],i.ConnectivityState.TRANSIENT_FAILURE),this.transitionToState([i.ConnectivityState.READY],i.ConnectivityState.IDLE))})),v.once("goaway",((e,t,n)=>{this.session===v&&(e===o.constants.NGHTTP2_ENHANCE_YOUR_CALM&&n.equals(S)&&(this.keepaliveTimeMs=Math.min(2*this.keepaliveTimeMs,y),l.log(c.LogVerbosity.ERROR,`Connection to ${d.uriToString(this.channelTarget)} at ${this.subchannelAddressString} rejected by server because of excess pings. Increasing ping interval to ${this.keepaliveTimeMs} ms`)),this.trace("connection closed by GOAWAY with code "+e),this.transitionToState([i.ConnectivityState.CONNECTING,i.ConnectivityState.READY],i.ConnectivityState.IDLE))})),v.once("error",(e=>{this.trace("connection closed with error "+e.message)})),l.isTracerEnabled(m)&&(v.on("remoteSettings",(e=>{this.trace("new settings received"+(this.session!==v?" on the old connection":"")+": "+JSON.stringify(e))})),v.on("localSettings",(e=>{this.trace("local settings acknowledged by remote"+(this.session!==v?" on the old connection":"")+": "+JSON.stringify(e))})))}startConnectingInternal(){var e,t;const n=this.credentials._getConnectionOptions()||{};if("secureContext"in n)if(n.ALPNProtocols=["h2"],this.options["grpc.ssl_target_name_override"]){const e=this.options["grpc.ssl_target_name_override"];n.checkServerIdentity=(t,n)=>r.checkServerIdentity(e,n),n.servername=e}else if("grpc.http_connect_target"in this.options){const o=s.getDefaultAuthority(null!==(e=d.parseUri(this.options["grpc.http_connect_target"]))&&void 0!==e?e:{path:"localhost"}),r=d.splitHostPort(o);n.servername=null!==(t=null==r?void 0:r.host)&&void 0!==t?t:o}p.getProxiedConnection(this.subchannelAddress,this.options,n).then((e=>{this.createSession(e)}),(e=>{this.transitionToState([i.ConnectivityState.CONNECTING],i.ConnectivityState.TRANSIENT_FAILURE)}))}handleDisconnect(){this.transitionToState([i.ConnectivityState.READY],i.ConnectivityState.TRANSIENT_FAILURE);for(const e of this.disconnectListeners.values())e()}transitionToState(e,t){if(-1===e.indexOf(this.connectivityState))return!1;this.trace(i.ConnectivityState[this.connectivityState]+" -> "+i.ConnectivityState[t]),this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO",i.ConnectivityState[this.connectivityState]+" -> "+i.ConnectivityState[t]);const n=this.connectivityState;switch(this.connectivityState=t,t){case i.ConnectivityState.READY:this.stopBackoff();const e=this.session;e.socket.once("close",(()=>{this.session===e&&this.handleDisconnect()})),this.keepaliveWithoutCalls&&this.startKeepalivePings();break;case i.ConnectivityState.CONNECTING:this.startBackoff(),this.startConnectingInternal(),this.continueConnecting=!1;break;case i.ConnectivityState.TRANSIENT_FAILURE:this.session&&this.session.close(),this.session=null,this.resetChannelzSocketInfo(),this.stopKeepalivePings(),this.backoffTimeout.isRunning()||process.nextTick((()=>{this.handleBackoffTimer()}));break;case i.ConnectivityState.IDLE:this.session&&this.session.close(),this.session=null,this.resetChannelzSocketInfo(),this.stopKeepalivePings();break;default:throw new Error(`Invalid state: unknown ConnectivityState ${t}`)}for(const e of[...this.stateListeners])e(this,n,t);return!0}checkBothRefcounts(){0===this.callRefcount&&0===this.refcount&&(this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO","Shutting down"),this.transitionToState([i.ConnectivityState.CONNECTING,i.ConnectivityState.READY],i.ConnectivityState.IDLE),this.channelzEnabled&&f.unregisterChannelzRef(this.channelzRef))}callRef(){this.refTrace("callRefcount "+this.callRefcount+" -> "+(this.callRefcount+1)),0===this.callRefcount&&(this.session&&this.session.ref(),this.backoffTimeout.ref(),this.keepaliveWithoutCalls||this.startKeepalivePings()),this.callRefcount+=1}callUnref(){this.refTrace("callRefcount "+this.callRefcount+" -> "+(this.callRefcount-1)),this.callRefcount-=1,0===this.callRefcount&&(this.session&&this.session.unref(),this.backoffTimeout.unref(),this.keepaliveWithoutCalls||clearInterval(this.keepaliveIntervalId),this.checkBothRefcounts())}ref(){this.refTrace("refcount "+this.refcount+" -> "+(this.refcount+1)),this.refcount+=1}unref(){this.refTrace("refcount "+this.refcount+" -> "+(this.refcount-1)),this.refcount-=1,this.checkBothRefcounts()}unrefIfOneRef(){return 1===this.refcount&&(this.unref(),!0)}startCallStream(e,t,n){const o=e.toHttp2Headers();let r;o[v]=t.getHost(),o[x]=this.userAgent,o[b]="application/grpc",o[O]="POST",o[w]=t.getMethod(),o[P]="trailers";try{r=this.session.request(o)}catch(e){throw this.transitionToState([i.ConnectivityState.READY],i.ConnectivityState.TRANSIENT_FAILURE),e}let a="";for(const e of Object.keys(o))a+="\t\t"+e+": "+o[e]+"\n";l.trace(c.LogVerbosity.DEBUG,"call_stream","Starting stream ["+t.getCallNumber()+"] on subchannel ("+this.channelzRef.id+") "+this.subchannelAddressString+" with headers\n"+a),this.flowControlTrace("local window size: "+this.session.state.localWindowSize+" remote window size: "+this.session.state.remoteWindowSize);const s=this.session;let p;this.internalsTrace("session.closed="+s.closed+" session.destroyed="+s.destroyed+" session.socket.destroyed="+s.socket.destroyed),this.channelzEnabled?(this.callTracker.addCallStarted(),t.addStatusWatcher((e=>{e.code===c.Status.OK?this.callTracker.addCallSucceeded():this.callTracker.addCallFailed()})),this.streamTracker.addCallStarted(),t.addStreamEndWatcher((e=>{s===this.session&&(e?this.streamTracker.addCallSucceeded():this.streamTracker.addCallFailed())})),p={addMessageSent:()=>{this.messagesSent+=1,this.lastMessageSentTimestamp=new Date},addMessageReceived:()=>{this.messagesReceived+=1}}):p={addMessageSent:()=>{},addMessageReceived:()=>{}},t.attachHttp2Stream(r,this,n,p)}startConnecting(){this.transitionToState([i.ConnectivityState.IDLE],i.ConnectivityState.CONNECTING)||this.connectivityState===i.ConnectivityState.TRANSIENT_FAILURE&&(this.continueConnecting=!0)}getConnectivityState(){return this.connectivityState}addConnectivityStateListener(e){this.stateListeners.push(e)}removeConnectivityStateListener(e){const t=this.stateListeners.indexOf(e);t>-1&&this.stateListeners.splice(t,1)}addDisconnectListener(e){this.disconnectListeners.add(e)}removeDisconnectListener(e){this.disconnectListeners.delete(e)}resetBackoff(){this.backoffTimeout.reset(),this.transitionToState([i.ConnectivityState.TRANSIENT_FAILURE],i.ConnectivityState.CONNECTING)}getAddress(){return this.subchannelAddressString}getChannelzRef(){return this.channelzRef}getRealSubchannel(){return this}}},75393:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultRootsData=t.CIPHER_SUITES=void 0;const o=n(57147);t.CIPHER_SUITES=process.env.GRPC_SSL_CIPHER_SUITES;const r=process.env.GRPC_DEFAULT_SSL_ROOTS_FILE_PATH;let i=null;t.getDefaultRootsData=function(){return r?(null===i&&(i=o.readFileSync(r)),i):null}},8084:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uriToString=t.splitHostPort=t.parseUri=void 0;const n=/^(?:([A-Za-z0-9+.-]+):)?(?:\/\/([^/]*)\/)?(.+)$/;t.parseUri=function(e){const t=n.exec(e);return null===t?null:{scheme:t[1],authority:t[2],path:t[3]}};const o=/^\d+$/;t.splitHostPort=function(e){if(e.startsWith("[")){const t=e.indexOf("]");if(-1===t)return null;const n=e.substring(1,t);if(-1===n.indexOf(":"))return null;if(e.length>t+1){if(":"===e[t+1]){const r=e.substring(t+2);return o.test(r)?{host:n,port:+r}:null}return null}return{host:n}}{const t=e.split(":");return 2===t.length?o.test(t[1])?{host:t[0],port:+t[1]}:null:{host:e}}},t.uriToString=function(e){let t="";return void 0!==e.scheme&&(t+=e.scheme+":"),void 0!==e.authority&&(t+="//"+e.authority+"/"),t+=e.path,t}},91779:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadFileDescriptorSetFromObject=t.loadFileDescriptorSetFromBuffer=t.fromJSON=t.loadSync=t.load=t.isAnyExtension=t.Long=void 0;const o=n(61012),r=n(1747),i=n(37589),a=n(76232),s=n(35954);t.Long=s,t.isAnyExtension=function(e){return"@type"in e&&"string"==typeof e["@type"]};const l={longs:String,enums:String,bytes:String,defaults:!0,oneofs:!0,json:!0};function c(e,t){const n=(o=t,i=e.name,""===o?i:o+"."+i);var o,i;return function(e){return e instanceof r.Service||e instanceof r.Type||e instanceof r.Enum}(e)?[[n,e]]:function(e){return e instanceof r.Namespace||e instanceof r.Root}(e)&&void 0!==e.nested?Object.keys(e.nested).map((t=>c(e.nested[t],n))).reduce(((e,t)=>e.concat(t)),[]):[]}function p(e,t){return function(n){return e.toObject(e.decode(n),t)}}function u(e){return function(t){if(Array.isArray(t))throw new Error(`Failed to serialize message: expected object with ${e.name} structure, got array instead`);const n=e.fromObject(t);return e.encode(n).finish()}}function d(e,t,n,r){const i=e.resolvedRequestType,a=e.resolvedResponseType;return{path:"/"+t+"/"+e.name,requestStream:!!e.requestStream,responseStream:!!e.responseStream,requestSerialize:u(i),requestDeserialize:p(i,n),responseSerialize:u(a),responseDeserialize:p(a,n),originalName:o(e.name),requestType:g(i,r),responseType:g(a,r)}}function g(e,t){const n=e.toDescriptor("proto3");return{format:"Protocol Buffer 3 DescriptorProto",type:n.$type.toObject(n,l),fileDescriptorProtos:t}}function f(e,t,n,o){if(e instanceof r.Service)return function(e,t,n,o){const r={};for(const i of e.methodsArray)r[i.name]=d(i,t,n,o);return r}(e,t,n,o);if(e instanceof r.Type)return g(e,o);if(e instanceof r.Enum)return function(e,t){const n=e.toDescriptor("proto3");return{format:"Protocol Buffer 3 EnumDescriptorProto",type:n.$type.toObject(n,l),fileDescriptorProtos:t}}(e,o);throw new Error("Type mismatch in reflection object handling")}function h(e,t){const n={};e.resolveAll();const o=e.toDescriptor("proto3").file.map((e=>Buffer.from(i.FileDescriptorProto.encode(e).finish())));for(const[r,i]of c(e,""))n[r]=f(i,r,t,o);return n}function m(e,t){t=t||{};const n=r.Root.fromDescriptor(e);return n.resolveAll(),h(n,t)}t.load=function(e,t){return(0,a.loadProtosWithOptions)(e,t).then((e=>h(e,t)))},t.loadSync=function(e,t){return h((0,a.loadProtosWithOptionsSync)(e,t),t)},t.fromJSON=function(e,t){t=t||{};const n=r.Root.fromJSON(e);return n.resolveAll(),h(n,t)},t.loadFileDescriptorSetFromBuffer=function(e,t){return m(i.FileDescriptorSet.decode(e),t)},t.loadFileDescriptorSetFromObject=function(e,t){return m(i.FileDescriptorSet.fromObject(e),t)},(0,a.addCommonProtos)()},76232:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addCommonProtos=t.loadProtosWithOptionsSync=t.loadProtosWithOptions=void 0;const o=n(57147),r=n(71017),i=n(1747);function a(e,t){const n=e.resolvePath;e.resolvePath=(e,i)=>{if(r.isAbsolute(i))return i;for(const e of t){const t=r.join(e,i);try{return o.accessSync(t,o.constants.R_OK),t}catch(e){continue}}return process.emitWarning(`${i} not found in any of the include paths ${t}`),n(e,i)}}t.loadProtosWithOptions=async function(e,t){const n=new i.Root;if((t=t||{}).includeDirs){if(!Array.isArray(t.includeDirs))return Promise.reject(new Error("The includeDirs option must be an array"));a(n,t.includeDirs)}const o=await n.load(e,t);return o.resolveAll(),o},t.loadProtosWithOptionsSync=function(e,t){const n=new i.Root;if((t=t||{}).includeDirs){if(!Array.isArray(t.includeDirs))throw new Error("The includeDirs option must be an array");a(n,t.includeDirs)}const o=n.loadSync(e,t);return o.resolveAll(),o},t.addCommonProtos=function(){const e=n(71903),t=n(32186),o=n(37887),r=n(20743);i.common("api",e.nested.google.nested.protobuf.nested),i.common("descriptor",t.nested.google.nested.protobuf.nested),i.common("source_context",o.nested.google.nested.protobuf.nested),i.common("type",r.nested.google.nested.protobuf.nested)}},37187:(e,t,n)=>{var o=n(53637),r=n(63477),i=n(51514),a=n(80356),s=n(19365),l=n(56365),c=n(78273),p=n(87521),u=n(87525),d=n(25454),g=n(4426),f=n(93156),h=n(46007),m=n(27440),y=n(22481),v=n(282),b=n(88987),O=n(79534),w=n(96301),P=n(68783),x=n(40047),S=n(90124),T=n(68627),A=n(56894),E=n(75887),j=n(28090),k=n(60959),_=n(26795),C=n(52722),I=function(){this.basePath="https://server.api.mailchimp.com/3.0".replace(/\/+$/,""),this.config={apiKey:"",accessToken:"",server:"invalid-server"},this.defaultHeaders={},this.timeout=12e4,this.cache=!0,this.enableCookies=!1,"undefined"==typeof window&&(this.agent=new o.agent),this.accountExport=new i(this),this.accountExports=new a(this),this.activityFeed=new s(this),this.authorizedApps=new l(this),this.automations=new c(this),this.batchWebhooks=new p(this),this.batches=new u(this),this.campaignFolders=new d(this),this.campaigns=new g(this),this.connectedSites=new f(this),this.conversations=new h(this),this.customerJourneys=new m(this),this.ecommerce=new y(this),this.facebookAds=new v(this),this.fileManager=new b(this),this.landingPages=new O(this),this.lists=new w(this),this.ping=new P(this),this.reporting=new x(this),this.reports=new S(this),this.root=new T(this),this.searchCampaigns=new A(this),this.searchMembers=new E(this),this.Surveys=new j(this),this.templateFolders=new k(this),this.templates=new _(this),this.verifiedDomains=new C(this)};I.prototype.setConfig=function(e={}){this.config=e},I.prototype.paramToString=function(e){return null==e||null==e?"":e instanceof Date?e.toJSON():e.toString()},I.prototype.buildUrl=function(e,t){e.match(/^\//)||(e="/"+e);var n=this.basePath+e,o=this;return n=n.replace(/\{([\w-]+)\}/g,(function(e,n){var r;return r=t.hasOwnProperty(n)?o.paramToString(t[n]):e,encodeURIComponent(r)})),void 0!==this.config.server&&(n=n.replace("server",this.config.server)),n},I.prototype.isJsonMime=function(e){return Boolean(null!=e&&e.match(/^application\/json(;.*)?$/i))},I.prototype.jsonPreferredMime=function(e){for(var t=0;t{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.getAccountExportsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'exportId' when calling ");var n={export_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/account-exports/{export_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAccountExports=function(e,t){return this.getAccountExportsWithHttpInfo(e,t).then((function(e){return e.data}))}}},80356:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.listAccountExportsWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/account-exports","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.listAccountExports=function(e){return this.listAccountExportsWithHttpInfo(e).then((function(e){return e.data}))},this.createAccountExportWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/account-exports","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createAccountExport=function(e){return this.createAccountExportWithHttpInfo(e).then((function(e){return e.data}))}}},19365:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.getChimpChatterWithHttpInfo=function(e){var t={count:((e=e||{}).count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/activity-feed/chimp-chatter","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getChimpChatter=function(e){return this.getChimpChatterWithHttpInfo(e).then((function(e){return e.data}))}}},56365:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/authorized-apps","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'appId' when calling ");var n={app_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/authorized-apps/{app_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(e,t){return this.getWithHttpInfo(e,t).then((function(e){return e.data}))}}},78273:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.archiveWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");var t={workflow_id:e};return this.apiClient.callApi("/automations/{workflow_id}/actions/archive","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.archive=function(e){return this.archiveWithHttpInfo(e).then((function(e){return e.data}))},this.deleteWorkflowEmailWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'workflowEmailId' when calling ");var n={workflow_id:e,workflow_email_id:t};return this.apiClient.callApi("/automations/{workflow_id}/emails/{workflow_email_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteWorkflowEmail=function(e,t){return this.deleteWorkflowEmailWithHttpInfo(e,t).then((function(e){return e.data}))},this.listWithHttpInfo=function(e){var t={count:((e=e||{}).count,e.count),offset:(e.offset,e.offset),fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),before_create_time:e.beforeCreateTime?e.beforeCreateTime:e.before_create_time,since_create_time:e.sinceCreateTime?e.sinceCreateTime:e.since_create_time,before_start_time:e.beforeStartTime?e.beforeStartTime:e.before_start_time,since_start_time:e.sinceStartTime?e.sinceStartTime:e.since_start_time,status:(e.status,e.status)};return this.apiClient.callApi("/automations","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");var n={workflow_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/automations/{workflow_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(e,t){return this.getWithHttpInfo(e,t).then((function(e){return e.data}))},this.listAllWorkflowEmailsWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");var t={workflow_id:e};return this.apiClient.callApi("/automations/{workflow_id}/emails","GET",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.listAllWorkflowEmails=function(e){return this.listAllWorkflowEmailsWithHttpInfo(e).then((function(e){return e.data}))},this.getWorkflowEmailWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'workflowEmailId' when calling ");var n={workflow_id:e,workflow_email_id:t};return this.apiClient.callApi("/automations/{workflow_id}/emails/{workflow_email_id}","GET",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getWorkflowEmail=function(e,t){return this.getWorkflowEmailWithHttpInfo(e,t).then((function(e){return e.data}))},this.getWorkflowEmailSubscriberQueueWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'workflowEmailId' when calling ");var n={workflow_id:e,workflow_email_id:t};return this.apiClient.callApi("/automations/{workflow_id}/emails/{workflow_email_id}/queue","GET",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getWorkflowEmailSubscriberQueue=function(e,t){return this.getWorkflowEmailSubscriberQueueWithHttpInfo(e,t).then((function(e){return e.data}))},this.getWorkflowEmailSubscriberWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'workflowEmailId' when calling ");if(null==n)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={workflow_id:e,workflow_email_id:t,subscriber_hash:n};return this.apiClient.callApi("/automations/{workflow_id}/emails/{workflow_email_id}/queue/{subscriber_hash}","GET",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getWorkflowEmailSubscriber=function(e,t,n){return this.getWorkflowEmailSubscriberWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.listWorkflowEmailSubscribersRemovedWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");var t={workflow_id:e};return this.apiClient.callApi("/automations/{workflow_id}/removed-subscribers","GET",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.listWorkflowEmailSubscribersRemoved=function(e){return this.listWorkflowEmailSubscribersRemovedWithHttpInfo(e).then((function(e){return e.data}))},this.getRemovedWorkflowEmailSubscriberWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var n={workflow_id:e,subscriber_hash:t};return this.apiClient.callApi("/automations/{workflow_id}/removed-subscribers/{subscriber_hash}","GET",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getRemovedWorkflowEmailSubscriber=function(e,t){return this.getRemovedWorkflowEmailSubscriberWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateWorkflowEmailWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'workflowEmailId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={workflow_id:e,workflow_email_id:t};return this.apiClient.callApi("/automations/{workflow_id}/emails/{workflow_email_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateWorkflowEmail=function(e,t,n){return this.updateWorkflowEmailWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.createWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/automations","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.create=function(e){return this.createWithHttpInfo(e).then((function(e){return e.data}))},this.pauseAllEmailsWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");var t={workflow_id:e};return this.apiClient.callApi("/automations/{workflow_id}/actions/pause-all-emails","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.pauseAllEmails=function(e){return this.pauseAllEmailsWithHttpInfo(e).then((function(e){return e.data}))},this.startAllEmailsWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");var t={workflow_id:e};return this.apiClient.callApi("/automations/{workflow_id}/actions/start-all-emails","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.startAllEmails=function(e){return this.startAllEmailsWithHttpInfo(e).then((function(e){return e.data}))},this.pauseWorkflowEmailWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'workflowEmailId' when calling ");var n={workflow_id:e,workflow_email_id:t};return this.apiClient.callApi("/automations/{workflow_id}/emails/{workflow_email_id}/actions/pause","POST",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.pauseWorkflowEmail=function(e,t){return this.pauseWorkflowEmailWithHttpInfo(e,t).then((function(e){return e.data}))},this.startWorkflowEmailWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'workflowEmailId' when calling ");var n={workflow_id:e,workflow_email_id:t};return this.apiClient.callApi("/automations/{workflow_id}/emails/{workflow_email_id}/actions/start","POST",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.startWorkflowEmail=function(e,t){return this.startWorkflowEmailWithHttpInfo(e,t).then((function(e){return e.data}))},this.addWorkflowEmailSubscriberWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'workflowEmailId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={workflow_id:e,workflow_email_id:t};return this.apiClient.callApi("/automations/{workflow_id}/emails/{workflow_email_id}/queue","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addWorkflowEmailSubscriber=function(e,t,n){return this.addWorkflowEmailSubscriberWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.removeWorkflowEmailSubscriberWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={workflow_id:e};return this.apiClient.callApi("/automations/{workflow_id}/removed-subscribers","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.removeWorkflowEmailSubscriber=function(e,t){return this.removeWorkflowEmailSubscriberWithHttpInfo(e,t).then((function(e){return e.data}))}}},87521:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.removeWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'batchWebhookId' when calling ");var t={batch_webhook_id:e};return this.apiClient.callApi("/batch-webhooks/{batch_webhook_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.remove=function(e){return this.removeWithHttpInfo(e).then((function(e){return e.data}))},this.getWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'batchWebhookId' when calling ");var n={batch_webhook_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/batch-webhooks/{batch_webhook_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(e,t){return this.getWithHttpInfo(e,t).then((function(e){return e.data}))},this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/batch-webhooks","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.updateWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'batchWebhookId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={batch_webhook_id:e};return this.apiClient.callApi("/batch-webhooks/{batch_webhook_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.update=function(e,t){return this.updateWithHttpInfo(e,t).then((function(e){return e.data}))},this.createWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/batch-webhooks","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.create=function(e){return this.createWithHttpInfo(e).then((function(e){return e.data}))}}},87525:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.deleteRequestWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'batchId' when calling ");var t={batch_id:e};return this.apiClient.callApi("/batches/{batch_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteRequest=function(e){return this.deleteRequestWithHttpInfo(e).then((function(e){return e.data}))},this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/batches","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.statusWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'batchId' when calling ");var n={batch_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/batches/{batch_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.status=function(e,t){return this.statusWithHttpInfo(e,t).then((function(e){return e.data}))},this.startWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/batches","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.start=function(e){return this.startWithHttpInfo(e).then((function(e){return e.data}))}}},25454:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.removeWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'folderId' when calling ");var t={folder_id:e};return this.apiClient.callApi("/campaign-folders/{folder_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.remove=function(e){return this.removeWithHttpInfo(e).then((function(e){return e.data}))},this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/campaign-folders","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'folderId' when calling ");var n={folder_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/campaign-folders/{folder_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(e,t){return this.getWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'folderId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={folder_id:e};return this.apiClient.callApi("/campaign-folders/{folder_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.update=function(e,t){return this.updateWithHttpInfo(e,t).then((function(e){return e.data}))},this.createWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/campaign-folders","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.create=function(e){return this.createWithHttpInfo(e).then((function(e){return e.data}))}}},4426:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.removeWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var t={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.remove=function(e){return this.removeWithHttpInfo(e).then((function(e){return e.data}))},this.deleteFeedbackMessageWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'feedbackId' when calling ");var n={campaign_id:e,feedback_id:t};return this.apiClient.callApi("/campaigns/{campaign_id}/feedback/{feedback_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteFeedbackMessage=function(e,t){return this.deleteFeedbackMessageWithHttpInfo(e,t).then((function(e){return e.data}))},this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),type:(e.type,e.type),status:(e.status,e.status),before_send_time:e.beforeSendTime?e.beforeSendTime:e.before_send_time,since_send_time:e.sinceSendTime?e.sinceSendTime:e.since_send_time,before_create_time:e.beforeCreateTime?e.beforeCreateTime:e.before_create_time,since_create_time:e.sinceCreateTime?e.sinceCreateTime:e.since_create_time,list_id:e.listId?e.listId:e.list_id,folder_id:e.folderId?e.folderId:e.folder_id,member_id:e.memberId?e.memberId:e.member_id,sort_field:e.sortField?e.sortField:e.sort_field,sort_dir:e.sortDir?e.sortDir:e.sort_dir};return this.apiClient.callApi("/campaigns","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/campaigns/{campaign_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(e,t){return this.getWithHttpInfo(e,t).then((function(e){return e.data}))},this.getContentWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/campaigns/{campaign_id}/content","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getContent=function(e,t){return this.getContentWithHttpInfo(e,t).then((function(e){return e.data}))},this.getFeedbackWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/campaigns/{campaign_id}/feedback","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getFeedback=function(e,t){return this.getFeedbackWithHttpInfo(e,t).then((function(e){return e.data}))},this.getFeedbackMessageWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'feedbackId' when calling ");var o={campaign_id:e,feedback_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/campaigns/{campaign_id}/feedback/{feedback_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getFeedbackMessage=function(e,t,n){return this.getFeedbackMessageWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getSendChecklistWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/campaigns/{campaign_id}/send-checklist","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSendChecklist=function(e,t){return this.getSendChecklistWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.update=function(e,t){return this.updateWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateFeedbackMessageWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'feedbackId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={campaign_id:e,feedback_id:t};return this.apiClient.callApi("/campaigns/{campaign_id}/feedback/{feedback_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateFeedbackMessage=function(e,t,n){return this.updateFeedbackMessageWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.createWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/campaigns","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.create=function(e){return this.createWithHttpInfo(e).then((function(e){return e.data}))},this.cancelSendWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var t={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/cancel-send","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.cancelSend=function(e){return this.cancelSendWithHttpInfo(e).then((function(e){return e.data}))},this.createResendWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var t={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/create-resend","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createResend=function(e){return this.createResendWithHttpInfo(e).then((function(e){return e.data}))},this.pauseWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var t={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/pause","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.pause=function(e){return this.pauseWithHttpInfo(e).then((function(e){return e.data}))},this.replicateWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var t={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/replicate","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.replicate=function(e){return this.replicateWithHttpInfo(e).then((function(e){return e.data}))},this.resumeWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var t={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/resume","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.resume=function(e){return this.resumeWithHttpInfo(e).then((function(e){return e.data}))},this.scheduleWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/schedule","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.schedule=function(e,t){return this.scheduleWithHttpInfo(e,t).then((function(e){return e.data}))},this.sendWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var t={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/send","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.send=function(e){return this.sendWithHttpInfo(e).then((function(e){return e.data}))},this.sendTestEmailWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/test","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.sendTestEmail=function(e,t){return this.sendTestEmailWithHttpInfo(e,t).then((function(e){return e.data}))},this.unscheduleWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var t={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/unschedule","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.unschedule=function(e){return this.unscheduleWithHttpInfo(e).then((function(e){return e.data}))},this.addFeedbackWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/feedback","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addFeedback=function(e,t){return this.addFeedbackWithHttpInfo(e,t).then((function(e){return e.data}))},this.setContentWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/content","PUT",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.setContent=function(e,t){return this.setContentWithHttpInfo(e,t).then((function(e){return e.data}))}}},93156:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.removeWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'connectedSiteId' when calling ");var t={connected_site_id:e};return this.apiClient.callApi("/connected-sites/{connected_site_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.remove=function(e){return this.removeWithHttpInfo(e).then((function(e){return e.data}))},this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/connected-sites","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'connectedSiteId' when calling ");var n={connected_site_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/connected-sites/{connected_site_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(e,t){return this.getWithHttpInfo(e,t).then((function(e){return e.data}))},this.createWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/connected-sites","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.create=function(e){return this.createWithHttpInfo(e).then((function(e){return e.data}))},this.verifyScriptInstallationWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'connectedSiteId' when calling ");var t={connected_site_id:e};return this.apiClient.callApi("/connected-sites/{connected_site_id}/actions/verify-script-installation","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.verifyScriptInstallation=function(e){return this.verifyScriptInstallationWithHttpInfo(e).then((function(e){return e.data}))}}},46007:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),has_unread_messages:e.hasUnreadMessages?e.hasUnreadMessages:e.has_unread_messages,list_id:e.listId?e.listId:e.list_id,campaign_id:e.campaignId?e.campaignId:e.campaign_id};return this.apiClient.callApi("/conversations","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'conversationId' when calling ");var n={conversation_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/conversations/{conversation_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(e,t){return this.getWithHttpInfo(e,t).then((function(e){return e.data}))},this.getConversationMessagesWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'conversationId' when calling ");var n={conversation_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),is_read:t.isRead?t.isRead:t.is_read,before_timestamp:t.beforeTimestamp?t.beforeTimestamp:t.before_timestamp,since_timestamp:t.sinceTimestamp?t.sinceTimestamp:t.since_timestamp};return this.apiClient.callApi("/conversations/{conversation_id}/messages","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getConversationMessages=function(e,t){return this.getConversationMessagesWithHttpInfo(e,t).then((function(e){return e.data}))},this.getConversationMessageWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'conversationId' when calling ");if(null==t)throw new Error("Missing the required parameter 'messageId' when calling ");var o={conversation_id:e,message_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/conversations/{conversation_id}/messages/{message_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getConversationMessage=function(e,t,n){return this.getConversationMessageWithHttpInfo(e,t,n).then((function(e){return e.data}))}}},27440:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.triggerWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'journeyId' when calling ");if(null==t)throw new Error("Missing the required parameter 'stepId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={journey_id:e,step_id:t};return this.apiClient.callApi("/customer-journeys/journeys/{journey_id}/steps/{step_id}/actions/trigger","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.trigger=function(e,t,n){return this.triggerWithHttpInfo(e,t,n).then((function(e){return e.data}))}}},22481:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.deleteStoreWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");var t={store_id:e};return this.apiClient.callApi("/ecommerce/stores/{store_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteStore=function(e){return this.deleteStoreWithHttpInfo(e).then((function(e){return e.data}))},this.deleteStoreCartWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'cartId' when calling ");var n={store_id:e,cart_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts/{cart_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteStoreCart=function(e,t){return this.deleteStoreCartWithHttpInfo(e,t).then((function(e){return e.data}))},this.deleteCartLineItemWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'cartId' when calling ");if(null==n)throw new Error("Missing the required parameter 'lineId' when calling ");var o={store_id:e,cart_id:t,line_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id}","DELETE",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteCartLineItem=function(e,t,n){return this.deleteCartLineItemWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deleteStoreCustomerWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'customerId' when calling ");var n={store_id:e,customer_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/customers/{customer_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteStoreCustomer=function(e,t){return this.deleteStoreCustomerWithHttpInfo(e,t).then((function(e){return e.data}))},this.deleteOrderWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'orderId' when calling ");var n={store_id:e,order_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders/{order_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteOrder=function(e,t){return this.deleteOrderWithHttpInfo(e,t).then((function(e){return e.data}))},this.deleteOrderLineItemWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'orderId' when calling ");if(null==n)throw new Error("Missing the required parameter 'lineId' when calling ");var o={store_id:e,order_id:t,line_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders/{order_id}/lines/{line_id}","DELETE",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteOrderLineItem=function(e,t,n){return this.deleteOrderLineItemWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deleteStoreProductWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");var n={store_id:e,product_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteStoreProduct=function(e,t){return this.deleteStoreProductWithHttpInfo(e,t).then((function(e){return e.data}))},this.deleteProductImageWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'imageId' when calling ");var o={store_id:e,product_id:t,image_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/images/{image_id}","DELETE",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteProductImage=function(e,t,n){return this.deleteProductImageWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deleteProductVariantWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'variantId' when calling ");var o={store_id:e,product_id:t,variant_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}","DELETE",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteProductVariant=function(e,t,n){return this.deleteProductVariantWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deletePromoCodeWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'promoRuleId' when calling ");if(null==n)throw new Error("Missing the required parameter 'promoCodeId' when calling ");var o={store_id:e,promo_rule_id:t,promo_code_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id}","DELETE",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deletePromoCode=function(e,t,n){return this.deletePromoCodeWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deletePromoRuleWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'promoRuleId' when calling ");var n={store_id:e,promo_rule_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deletePromoRule=function(e,t){return this.deletePromoRuleWithHttpInfo(e,t).then((function(e){return e.data}))},this.ordersWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),campaign_id:e.campaignId?e.campaignId:e.campaign_id,outreach_id:e.outreachId?e.outreachId:e.outreach_id,customer_id:e.customerId?e.customerId:e.customer_id,has_outreach:e.hasOutreach?e.hasOutreach:e.has_outreach};return this.apiClient.callApi("/ecommerce/orders","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.orders=function(e){return this.ordersWithHttpInfo(e).then((function(e){return e.data}))},this.storesWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/ecommerce/stores","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.stores=function(e){return this.storesWithHttpInfo(e).then((function(e){return e.data}))},this.getStoreWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");var n={store_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getStore=function(e,t){return this.getStoreWithHttpInfo(e,t).then((function(e){return e.data}))},this.getStoreCartsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");var n={store_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset)};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getStoreCarts=function(e,t){return this.getStoreCartsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getStoreCartWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'cartId' when calling ");var o={store_id:e,cart_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts/{cart_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getStoreCart=function(e,t,n){return this.getStoreCartWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getAllCartLineItemsWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'cartId' when calling ");var o={store_id:e,cart_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts/{cart_id}/lines","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAllCartLineItems=function(e,t,n){return this.getAllCartLineItemsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getCartLineItemWithHttpInfo=function(e,t,n,o){if(o=o||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'cartId' when calling ");if(null==n)throw new Error("Missing the required parameter 'lineId' when calling ");var r={store_id:e,cart_id:t,line_id:n},i={fields:this.apiClient.buildCollectionParam((o.fields,o.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(o.excludeFields?o.excludeFields:o.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id}","GET",r,i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCartLineItem=function(e,t,n,o){return this.getCartLineItemWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.getAllStoreCustomersWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");var n={store_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),email_address:t.emailAddress?t.emailAddress:t.email_address};return this.apiClient.callApi("/ecommerce/stores/{store_id}/customers","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAllStoreCustomers=function(e,t){return this.getAllStoreCustomersWithHttpInfo(e,t).then((function(e){return e.data}))},this.getStoreCustomerWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'customerId' when calling ");var o={store_id:e,customer_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/customers/{customer_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getStoreCustomer=function(e,t,n){return this.getStoreCustomerWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getStoreOrdersWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");var n={store_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),customer_id:t.customerId?t.customerId:t.customer_id,has_outreach:t.hasOutreach?t.hasOutreach:t.has_outreach,campaign_id:t.campaignId?t.campaignId:t.campaign_id,outreach_id:t.outreachId?t.outreachId:t.outreach_id};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getStoreOrders=function(e,t){return this.getStoreOrdersWithHttpInfo(e,t).then((function(e){return e.data}))},this.getOrderWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'orderId' when calling ");var o={store_id:e,order_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders/{order_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getOrder=function(e,t,n){return this.getOrderWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getAllOrderLineItemsWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'orderId' when calling ");var o={store_id:e,order_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders/{order_id}/lines","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAllOrderLineItems=function(e,t,n){return this.getAllOrderLineItemsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getOrderLineItemWithHttpInfo=function(e,t,n,o){if(o=o||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'orderId' when calling ");if(null==n)throw new Error("Missing the required parameter 'lineId' when calling ");var r={store_id:e,order_id:t,line_id:n},i={fields:this.apiClient.buildCollectionParam((o.fields,o.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(o.excludeFields?o.excludeFields:o.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders/{order_id}/lines/{line_id}","GET",r,i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getOrderLineItem=function(e,t,n,o){return this.getOrderLineItemWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.getAllStoreProductsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");var n={store_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset)};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAllStoreProducts=function(e,t){return this.getAllStoreProductsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getStoreProductWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");var o={store_id:e,product_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getStoreProduct=function(e,t,n){return this.getStoreProductWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getProductImagesWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");var o={store_id:e,product_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/images","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getProductImages=function(e,t,n){return this.getProductImagesWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getProductImageWithHttpInfo=function(e,t,n,o){if(o=o||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'imageId' when calling ");var r={store_id:e,product_id:t,image_id:n},i={fields:this.apiClient.buildCollectionParam((o.fields,o.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(o.excludeFields?o.excludeFields:o.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/images/{image_id}","GET",r,i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getProductImage=function(e,t,n,o){return this.getProductImageWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.getProductVariantsWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");var o={store_id:e,product_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/variants","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getProductVariants=function(e,t,n){return this.getProductVariantsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getProductVariantWithHttpInfo=function(e,t,n,o){if(o=o||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'variantId' when calling ");var r={store_id:e,product_id:t,variant_id:n},i={fields:this.apiClient.buildCollectionParam((o.fields,o.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(o.excludeFields?o.excludeFields:o.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}","GET",r,i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getProductVariant=function(e,t,n,o){return this.getProductVariantWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.getPromoCodesWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'promoRuleId' when calling ");if(null==t)throw new Error("Missing the required parameter 'storeId' when calling ");var o={promo_rule_id:e,store_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getPromoCodes=function(e,t,n){return this.getPromoCodesWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getPromoCodeWithHttpInfo=function(e,t,n,o){if(o=o||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'promoRuleId' when calling ");if(null==n)throw new Error("Missing the required parameter 'promoCodeId' when calling ");var r={store_id:e,promo_rule_id:t,promo_code_id:n},i={fields:this.apiClient.buildCollectionParam((o.fields,o.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(o.excludeFields?o.excludeFields:o.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id}","GET",r,i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getPromoCode=function(e,t,n,o){return this.getPromoCodeWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.listPromoRulesWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");var n={store_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset)};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.listPromoRules=function(e,t){return this.listPromoRulesWithHttpInfo(e,t).then((function(e){return e.data}))},this.getPromoRuleWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'promoRuleId' when calling ");var o={store_id:e,promo_rule_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getPromoRule=function(e,t,n){return this.getPromoRuleWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateStoreWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={store_id:e};return this.apiClient.callApi("/ecommerce/stores/{store_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateStore=function(e,t){return this.updateStoreWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateStoreCartWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'cartId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,cart_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts/{cart_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateStoreCart=function(e,t,n){return this.updateStoreCartWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateCartLineItemWithHttpInfo=function(e,t,n,o){var r=o;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'cartId' when calling ");if(null==n)throw new Error("Missing the required parameter 'lineId' when calling ");if(null==o)throw new Error("Missing the required parameter 'body' when calling ");var i={store_id:e,cart_id:t,line_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id}","PATCH",i,{},{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateCartLineItem=function(e,t,n,o){return this.updateCartLineItemWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.updateStoreCustomerWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'customerId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,customer_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/customers/{customer_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateStoreCustomer=function(e,t,n){return this.updateStoreCustomerWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateOrderWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'orderId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,order_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders/{order_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateOrder=function(e,t,n){return this.updateOrderWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateOrderLineItemWithHttpInfo=function(e,t,n,o){var r=o;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'orderId' when calling ");if(null==n)throw new Error("Missing the required parameter 'lineId' when calling ");if(null==o)throw new Error("Missing the required parameter 'body' when calling ");var i={store_id:e,order_id:t,line_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders/{order_id}/lines/{line_id}","PATCH",i,{},{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateOrderLineItem=function(e,t,n,o){return this.updateOrderLineItemWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.updateStoreProductWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,product_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateStoreProduct=function(e,t,n){return this.updateStoreProductWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateProductImageWithHttpInfo=function(e,t,n,o){var r=o;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'imageId' when calling ");if(null==o)throw new Error("Missing the required parameter 'body' when calling ");var i={store_id:e,product_id:t,image_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/images/{image_id}","PATCH",i,{},{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateProductImage=function(e,t,n,o){return this.updateProductImageWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.updateProductVariantWithHttpInfo=function(e,t,n,o){var r=o;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'variantId' when calling ");if(null==o)throw new Error("Missing the required parameter 'body' when calling ");var i={store_id:e,product_id:t,variant_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}","PATCH",i,{},{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateProductVariant=function(e,t,n,o){return this.updateProductVariantWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.updatePromoCodeWithHttpInfo=function(e,t,n,o){var r=o;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'promoRuleId' when calling ");if(null==n)throw new Error("Missing the required parameter 'promoCodeId' when calling ");if(null==o)throw new Error("Missing the required parameter 'body' when calling ");var i={store_id:e,promo_rule_id:t,promo_code_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id}","PATCH",i,{},{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updatePromoCode=function(e,t,n,o){return this.updatePromoCodeWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.updatePromoRuleWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'promoRuleId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,promo_rule_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updatePromoRule=function(e,t,n){return this.updatePromoRuleWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addStoreWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/ecommerce/stores","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addStore=function(e){return this.addStoreWithHttpInfo(e).then((function(e){return e.data}))},this.addStoreCartWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={store_id:e};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addStoreCart=function(e,t){return this.addStoreCartWithHttpInfo(e,t).then((function(e){return e.data}))},this.addCartLineItemWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'cartId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,cart_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts/{cart_id}/lines","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addCartLineItem=function(e,t,n){return this.addCartLineItemWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addStoreCustomerWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={store_id:e};return this.apiClient.callApi("/ecommerce/stores/{store_id}/customers","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addStoreCustomer=function(e,t){return this.addStoreCustomerWithHttpInfo(e,t).then((function(e){return e.data}))},this.addStoreOrderWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={store_id:e};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addStoreOrder=function(e,t){return this.addStoreOrderWithHttpInfo(e,t).then((function(e){return e.data}))},this.addOrderLineItemWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'orderId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,order_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders/{order_id}/lines","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addOrderLineItem=function(e,t,n){return this.addOrderLineItemWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addStoreProductWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={store_id:e};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addStoreProduct=function(e,t){return this.addStoreProductWithHttpInfo(e,t).then((function(e){return e.data}))},this.addProductImageWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,product_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/images","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addProductImage=function(e,t,n){return this.addProductImageWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addProductVariantsWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,product_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/variants","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addProductVariants=function(e,t,n){return this.addProductVariantsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addPromoCodeWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'promoRuleId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,promo_rule_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addPromoCode=function(e,t,n){return this.addPromoCodeWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addPromoRulesWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={store_id:e};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addPromoRules=function(e,t){return this.addPromoRulesWithHttpInfo(e,t).then((function(e){return e.data}))},this.setStoreCustomerWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'customerId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,customer_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/customers/{customer_id}","PUT",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.setStoreCustomer=function(e,t,n){return this.setStoreCustomerWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addProductVariantWithHttpInfo=function(e,t,n,o){var r=o;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'variantId' when calling ");if(null==o)throw new Error("Missing the required parameter 'body' when calling ");var i={store_id:e,product_id:t,variant_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}","PUT",i,{},{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addProductVariant=function(e,t,n,o){return this.addProductVariantWithHttpInfo(e,t,n,o).then((function(e){return e.data}))}}},282:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),sort_field:e.sortField?e.sortField:e.sort_field,sort_dir:e.sortDir?e.sortDir:e.sort_dir};return this.apiClient.callApi("/facebook-ads","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getAdWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");var n={outreach_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/facebook-ads/{outreach_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAd=function(e,t){return this.getAdWithHttpInfo(e,t).then((function(e){return e.data}))}}},88987:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.deleteFileWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'fileId' when calling ");var t={file_id:e};return this.apiClient.callApi("/file-manager/files/{file_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteFile=function(e){return this.deleteFileWithHttpInfo(e).then((function(e){return e.data}))},this.deleteFolderWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'folderId' when calling ");var t={folder_id:e};return this.apiClient.callApi("/file-manager/folders/{folder_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteFolder=function(e){return this.deleteFolderWithHttpInfo(e).then((function(e){return e.data}))},this.filesWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),type:(e.type,e.type),created_by:e.createdBy?e.createdBy:e.created_by,before_created_at:e.beforeCreatedAt?e.beforeCreatedAt:e.before_created_at,since_created_at:e.sinceCreatedAt?e.sinceCreatedAt:e.since_created_at,sort_field:e.sortField?e.sortField:e.sort_field,sort_dir:e.sortDir?e.sortDir:e.sort_dir};return this.apiClient.callApi("/file-manager/files","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.files=function(e){return this.filesWithHttpInfo(e).then((function(e){return e.data}))},this.getFileWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'fileId' when calling ");var n={file_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/file-manager/files/{file_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getFile=function(e,t){return this.getFileWithHttpInfo(e,t).then((function(e){return e.data}))},this.listFoldersWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),created_by:e.createdBy?e.createdBy:e.created_by,before_created_at:e.beforeCreatedAt?e.beforeCreatedAt:e.before_created_at,since_created_at:e.sinceCreatedAt?e.sinceCreatedAt:e.since_created_at};return this.apiClient.callApi("/file-manager/folders","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.listFolders=function(e){return this.listFoldersWithHttpInfo(e).then((function(e){return e.data}))},this.getFolderWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'folderId' when calling ");var n={folder_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/file-manager/folders/{folder_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getFolder=function(e,t){return this.getFolderWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateFileWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'fileId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={file_id:e};return this.apiClient.callApi("/file-manager/files/{file_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateFile=function(e,t){return this.updateFileWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateFolderWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'folderId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={folder_id:e};return this.apiClient.callApi("/file-manager/folders/{folder_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateFolder=function(e,t){return this.updateFolderWithHttpInfo(e,t).then((function(e){return e.data}))},this.uploadWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/file-manager/files","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.upload=function(e){return this.uploadWithHttpInfo(e).then((function(e){return e.data}))},this.createFolderWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/file-manager/folders","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createFolder=function(e){return this.createFolderWithHttpInfo(e).then((function(e){return e.data}))}}},79534:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.deletePageWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'pageId' when calling ");var t={page_id:e};return this.apiClient.callApi("/landing-pages/{page_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deletePage=function(e){return this.deletePageWithHttpInfo(e).then((function(e){return e.data}))},this.getAllWithHttpInfo=function(e){var t={sort_dir:(e=e||{}).sortDir?e.sortDir:e.sort_dir,sort_field:e.sortField?e.sortField:e.sort_field,fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count)};return this.apiClient.callApi("/landing-pages","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAll=function(e){return this.getAllWithHttpInfo(e).then((function(e){return e.data}))},this.getPageWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'pageId' when calling ");var n={page_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/landing-pages/{page_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getPage=function(e,t){return this.getPageWithHttpInfo(e,t).then((function(e){return e.data}))},this.getPageContentWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'pageId' when calling ");var n={page_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/landing-pages/{page_id}/content","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getPageContent=function(e,t){return this.getPageContentWithHttpInfo(e,t).then((function(e){return e.data}))},this.updatePageWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'pageId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={page_id:e};return this.apiClient.callApi("/landing-pages/{page_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updatePage=function(e,t){return this.updatePageWithHttpInfo(e,t).then((function(e){return e.data}))},this.createWithHttpInfo=function(e,t){t=t||{};var n=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");var o={use_default_list:t.useDefaultList?t.useDefaultList:t.use_default_list};return this.apiClient.callApi("/landing-pages","POST",{},o,{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.create=function(e,t){return this.createWithHttpInfo(e,t).then((function(e){return e.data}))},this.publishPageWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'pageId' when calling ");var t={page_id:e};return this.apiClient.callApi("/landing-pages/{page_id}/actions/publish","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.publishPage=function(e){return this.publishPageWithHttpInfo(e).then((function(e){return e.data}))},this.unpublishPageWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'pageId' when calling ");var t={page_id:e};return this.apiClient.callApi("/landing-pages/{page_id}/actions/unpublish","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.unpublishPage=function(e){return this.unpublishPageWithHttpInfo(e).then((function(e){return e.data}))}}},96301:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.deleteListWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");var t={list_id:e};return this.apiClient.callApi("/lists/{list_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteList=function(e){return this.deleteListWithHttpInfo(e).then((function(e){return e.data}))},this.deleteInterestCategoryWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'interestCategoryId' when calling ");var n={list_id:e,interest_category_id:t};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteInterestCategory=function(e,t){return this.deleteInterestCategoryWithHttpInfo(e,t).then((function(e){return e.data}))},this.deleteInterestCategoryInterestWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'interestCategoryId' when calling ");if(null==n)throw new Error("Missing the required parameter 'interestId' when calling ");var o={list_id:e,interest_category_id:t,interest_id:n};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}","DELETE",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteInterestCategoryInterest=function(e,t,n){return this.deleteInterestCategoryInterestWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deleteListMemberWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var n={list_id:e,subscriber_hash:t};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteListMember=function(e,t){return this.deleteListMemberWithHttpInfo(e,t).then((function(e){return e.data}))},this.deleteListMemberNoteWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");if(null==n)throw new Error("Missing the required parameter 'noteId' when calling ");var o={list_id:e,subscriber_hash:t,note_id:n};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/notes/{note_id}","DELETE",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteListMemberNote=function(e,t,n){return this.deleteListMemberNoteWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deleteListMergeFieldWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'mergeId' when calling ");var n={list_id:e,merge_id:t};return this.apiClient.callApi("/lists/{list_id}/merge-fields/{merge_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteListMergeField=function(e,t){return this.deleteListMergeFieldWithHttpInfo(e,t).then((function(e){return e.data}))},this.deleteSegmentWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'segmentId' when calling ");var n={list_id:e,segment_id:t};return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteSegment=function(e,t){return this.deleteSegmentWithHttpInfo(e,t).then((function(e){return e.data}))},this.removeSegmentMemberWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'segmentId' when calling ");if(null==n)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={list_id:e,segment_id:t,subscriber_hash:n};return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}/members/{subscriber_hash}","DELETE",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.removeSegmentMember=function(e,t,n){return this.removeSegmentMemberWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deleteListWebhookWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'webhookId' when calling ");var n={list_id:e,webhook_id:t};return this.apiClient.callApi("/lists/{list_id}/webhooks/{webhook_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteListWebhook=function(e,t){return this.deleteListWebhookWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListMemberTagsWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={list_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/tags","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberTags=function(e,t,n){return this.getListMemberTagsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getAllListsWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),before_date_created:e.beforeDateCreated?e.beforeDateCreated:e.before_date_created,since_date_created:e.sinceDateCreated?e.sinceDateCreated:e.since_date_created,before_campaign_last_sent:e.beforeCampaignLastSent?e.beforeCampaignLastSent:e.before_campaign_last_sent,since_campaign_last_sent:e.sinceCampaignLastSent?e.sinceCampaignLastSent:e.since_campaign_last_sent,email:(e.email,e.email),sort_field:e.sortField?e.sortField:e.sort_field,sort_dir:e.sortDir?e.sortDir:e.sort_dir,has_ecommerce_store:e.hasEcommerceStore?e.hasEcommerceStore:e.has_ecommerce_store,include_total_contacts:e.includeTotalContacts?e.includeTotalContacts:e.include_total_contacts};return this.apiClient.callApi("/lists","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAllLists=function(e){return this.getAllListsWithHttpInfo(e).then((function(e){return e.data}))},this.getListWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),include_total_contacts:t.includeTotalContacts?t.includeTotalContacts:t.include_total_contacts};return this.apiClient.callApi("/lists/{list_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getList=function(e,t){return this.getListWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListAbuseReportsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset)};return this.apiClient.callApi("/lists/{list_id}/abuse-reports","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListAbuseReports=function(e,t){return this.getListAbuseReportsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListAbuseReportDetailsWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'reportId' when calling ");var o={list_id:e,report_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/lists/{list_id}/abuse-reports/{report_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListAbuseReportDetails=function(e,t,n){return this.getListAbuseReportDetailsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListRecentActivityWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={count:(t.count,t.count),offset:(t.offset,t.offset),fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/activity","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListRecentActivity=function(e,t){return this.getListRecentActivityWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListClientsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/clients","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListClients=function(e,t){return this.getListClientsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListGrowthHistoryWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),sort_field:t.sortField?t.sortField:t.sort_field,sort_dir:t.sortDir?t.sortDir:t.sort_dir};return this.apiClient.callApi("/lists/{list_id}/growth-history","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListGrowthHistory=function(e,t){return this.getListGrowthHistoryWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListGrowthHistoryByMonthWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'month' when calling ");var o={list_id:e,month:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/growth-history/{month}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListGrowthHistoryByMonth=function(e,t,n){return this.getListGrowthHistoryByMonthWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListInterestCategoriesWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),type:(t.type,t.type)};return this.apiClient.callApi("/lists/{list_id}/interest-categories","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListInterestCategories=function(e,t){return this.getListInterestCategoriesWithHttpInfo(e,t).then((function(e){return e.data}))},this.getInterestCategoryWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'interestCategoryId' when calling ");var o={list_id:e,interest_category_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getInterestCategory=function(e,t,n){return this.getInterestCategoryWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.listInterestCategoryInterestsWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'interestCategoryId' when calling ");var o={list_id:e,interest_category_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}/interests","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.listInterestCategoryInterests=function(e,t,n){return this.listInterestCategoryInterestsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getInterestCategoryInterestWithHttpInfo=function(e,t,n,o){if(o=o||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'interestCategoryId' when calling ");if(null==n)throw new Error("Missing the required parameter 'interestId' when calling ");var r={list_id:e,interest_category_id:t,interest_id:n},i={fields:this.apiClient.buildCollectionParam((o.fields,o.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(o.excludeFields?o.excludeFields:o.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}","GET",r,i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getInterestCategoryInterest=function(e,t,n,o){return this.getInterestCategoryInterestWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.getListLocationsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/locations","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListLocations=function(e,t){return this.getListLocationsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListMembersInfoWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),email_type:t.emailType?t.emailType:t.email_type,status:(t.status,t.status),since_timestamp_opt:t.sinceTimestampOpt?t.sinceTimestampOpt:t.since_timestamp_opt,before_timestamp_opt:t.beforeTimestampOpt?t.beforeTimestampOpt:t.before_timestamp_opt,since_last_changed:t.sinceLastChanged?t.sinceLastChanged:t.since_last_changed,before_last_changed:t.beforeLastChanged?t.beforeLastChanged:t.before_last_changed,unique_email_id:t.uniqueEmailId?t.uniqueEmailId:t.unique_email_id,vip_only:t.vipOnly?t.vipOnly:t.vip_only,interest_category_id:t.interestCategoryId?t.interestCategoryId:t.interest_category_id,interest_ids:t.interestIds?t.interestIds:t.interest_ids,interest_match:t.interestMatch?t.interestMatch:t.interest_match,sort_field:t.sortField?t.sortField:t.sort_field,sort_dir:t.sortDir?t.sortDir:t.sort_dir,since_last_campaign:t.sinceLastCampaign?t.sinceLastCampaign:t.since_last_campaign,unsubscribed_since:t.unsubscribedSince?t.unsubscribedSince:t.unsubscribed_since};return this.apiClient.callApi("/lists/{list_id}/members","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMembersInfo=function(e,t){return this.getListMembersInfoWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListMemberWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={list_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMember=function(e,t,n){return this.getListMemberWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListMemberActivityWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={list_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),action:this.apiClient.buildCollectionParam((n.action,n.action),"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/activity","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberActivity=function(e,t,n){return this.getListMemberActivityWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListMemberActivityFeedWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={list_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset),activity_filters:this.apiClient.buildCollectionParam(n.activityFilters?n.activityFilters:n.activity_filters,"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/activity-feed","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberActivityFeed=function(e,t,n){return this.getListMemberActivityFeedWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListMemberEventsWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={list_id:e,subscriber_hash:t},r={count:(n.count,n.count),offset:(n.offset,n.offset),fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/events","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberEvents=function(e,t,n){return this.getListMemberEventsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListMemberGoalsWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={list_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/goals","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberGoals=function(e,t,n){return this.getListMemberGoalsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListMemberNotesWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={list_id:e,subscriber_hash:t},r={sort_field:n.sortField?n.sortField:n.sort_field,sort_dir:n.sortDir?n.sortDir:n.sort_dir,fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/notes","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberNotes=function(e,t,n){return this.getListMemberNotesWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListMemberNoteWithHttpInfo=function(e,t,n,o){if(o=o||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");if(null==n)throw new Error("Missing the required parameter 'noteId' when calling ");var r={list_id:e,subscriber_hash:t,note_id:n},i={fields:this.apiClient.buildCollectionParam((o.fields,o.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(o.excludeFields?o.excludeFields:o.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/notes/{note_id}","GET",r,i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberNote=function(e,t,n,o){return this.getListMemberNoteWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.getListMergeFieldsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),type:(t.type,t.type),required:(t.required,t.required)};return this.apiClient.callApi("/lists/{list_id}/merge-fields","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMergeFields=function(e,t){return this.getListMergeFieldsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListMergeFieldWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'mergeId' when calling ");var o={list_id:e,merge_id:t},r={exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv")};return this.apiClient.callApi("/lists/{list_id}/merge-fields/{merge_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMergeField=function(e,t,n){return this.getListMergeFieldWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getSegmentWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'segmentId' when calling ");var o={list_id:e,segment_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),include_cleaned:n.includeCleaned?n.includeCleaned:n.include_cleaned,include_transactional:n.includeTransactional?n.includeTransactional:n.include_transactional,include_unsubscribed:n.includeUnsubscribed?n.includeUnsubscribed:n.include_unsubscribed};return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSegment=function(e,t,n){return this.getSegmentWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getSegmentMembersListWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'segmentId' when calling ");var o={list_id:e,segment_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset),include_cleaned:n.includeCleaned?n.includeCleaned:n.include_cleaned,include_transactional:n.includeTransactional?n.includeTransactional:n.include_transactional,include_unsubscribed:n.includeUnsubscribed?n.includeUnsubscribed:n.include_unsubscribed};return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}/members","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSegmentMembersList=function(e,t,n){return this.getSegmentMembersListWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListSignupFormsWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");var t={list_id:e};return this.apiClient.callApi("/lists/{list_id}/signup-forms","GET",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListSignupForms=function(e){return this.getListSignupFormsWithHttpInfo(e).then((function(e){return e.data}))},this.getAllSurveysForListWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");var t={list_id:e};return this.apiClient.callApi("/lists/{list_id}/surveys","GET",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAllSurveysForList=function(e){return this.getAllSurveysForListWithHttpInfo(e).then((function(e){return e.data}))},this.getSurveyWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'surveyId' when calling ");var n={list_id:e,survey_id:t};return this.apiClient.callApi("/lists/{list_id}/surveys/{survey_id}","GET",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSurvey=function(e,t){return this.getSurveyWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListWebhooksWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");var t={list_id:e};return this.apiClient.callApi("/lists/{list_id}/webhooks","GET",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListWebhooks=function(e){return this.getListWebhooksWithHttpInfo(e).then((function(e){return e.data}))},this.getListWebhookWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'webhookId' when calling ");var n={list_id:e,webhook_id:t};return this.apiClient.callApi("/lists/{list_id}/webhooks/{webhook_id}","GET",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListWebhook=function(e,t){return this.getListWebhookWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateListWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={list_id:e};return this.apiClient.callApi("/lists/{list_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateList=function(e,t){return this.updateListWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateInterestCategoryWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'interestCategoryId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,interest_category_id:t};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateInterestCategory=function(e,t,n){return this.updateInterestCategoryWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateInterestCategoryInterestWithHttpInfo=function(e,t,n,o){var r=o;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'interestCategoryId' when calling ");if(null==n)throw new Error("Missing the required parameter 'interestId' when calling ");if(null==o)throw new Error("Missing the required parameter 'body' when calling ");var i={list_id:e,interest_category_id:t,interest_id:n};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}","PATCH",i,{},{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateInterestCategoryInterest=function(e,t,n,o){return this.updateInterestCategoryInterestWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.updateListMemberWithHttpInfo=function(e,t,n,o){o=o||{};var r=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var i={list_id:e,subscriber_hash:t},a={skip_merge_validation:o.skipMergeValidation?o.skipMergeValidation:o.skip_merge_validation};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}","PATCH",i,a,{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListMember=function(e,t,n,o){return this.updateListMemberWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.updateListMemberNoteWithHttpInfo=function(e,t,n,o){var r=o;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");if(null==n)throw new Error("Missing the required parameter 'noteId' when calling ");if(null==o)throw new Error("Missing the required parameter 'body' when calling ");var i={list_id:e,subscriber_hash:t,note_id:n};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/notes/{note_id}","PATCH",i,{},{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListMemberNote=function(e,t,n,o){return this.updateListMemberNoteWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.updateListMergeFieldWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'mergeId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,merge_id:t};return this.apiClient.callApi("/lists/{list_id}/merge-fields/{merge_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListMergeField=function(e,t,n){return this.updateListMergeFieldWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateSegmentWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'segmentId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,segment_id:t};return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateSegment=function(e,t,n){return this.updateSegmentWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateListWebhookWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'webhookId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,webhook_id:t};return this.apiClient.callApi("/lists/{list_id}/webhooks/{webhook_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListWebhook=function(e,t,n){return this.updateListWebhookWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.createListMemberEventWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,subscriber_hash:t};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/events","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createListMemberEvent=function(e,t,n){return this.createListMemberEventWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateListMemberTagsWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,subscriber_hash:t};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/tags","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListMemberTags=function(e,t,n){return this.updateListMemberTagsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.createListWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createList=function(e){return this.createListWithHttpInfo(e).then((function(e){return e.data}))},this.batchListMembersWithHttpInfo=function(e,t,n){n=n||{};var o=t;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e},i={skip_merge_validation:n.skipMergeValidation?n.skipMergeValidation:n.skip_merge_validation,skip_duplicate_check:n.skipDuplicateCheck?n.skipDuplicateCheck:n.skip_duplicate_check};return this.apiClient.callApi("/lists/{list_id}","POST",r,i,{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.batchListMembers=function(e,t,n){return this.batchListMembersWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.createListInterestCategoryWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={list_id:e};return this.apiClient.callApi("/lists/{list_id}/interest-categories","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createListInterestCategory=function(e,t){return this.createListInterestCategoryWithHttpInfo(e,t).then((function(e){return e.data}))},this.createInterestCategoryInterestWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'interestCategoryId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,interest_category_id:t};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}/interests","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createInterestCategoryInterest=function(e,t,n){return this.createInterestCategoryInterestWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addListMemberWithHttpInfo=function(e,t,n){n=n||{};var o=t;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e},i={skip_merge_validation:n.skipMergeValidation?n.skipMergeValidation:n.skip_merge_validation};return this.apiClient.callApi("/lists/{list_id}/members","POST",r,i,{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addListMember=function(e,t,n){return this.addListMemberWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deleteListMemberPermanentWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var n={list_id:e,subscriber_hash:t};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/actions/delete-permanent","POST",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteListMemberPermanent=function(e,t){return this.deleteListMemberPermanentWithHttpInfo(e,t).then((function(e){return e.data}))},this.createListMemberNoteWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,subscriber_hash:t};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/notes","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createListMemberNote=function(e,t,n){return this.createListMemberNoteWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addListMergeFieldWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={list_id:e};return this.apiClient.callApi("/lists/{list_id}/merge-fields","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addListMergeField=function(e,t){return this.addListMergeFieldWithHttpInfo(e,t).then((function(e){return e.data}))},this.createSegmentWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={list_id:e};return this.apiClient.callApi("/lists/{list_id}/segments","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createSegment=function(e,t){return this.createSegmentWithHttpInfo(e,t).then((function(e){return e.data}))},this.batchSegmentMembersWithHttpInfo=function(e,t,n){var o=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");if(null==t)throw new Error("Missing the required parameter 'listId' when calling ");if(null==n)throw new Error("Missing the required parameter 'segmentId' when calling ");var r={list_id:t,segment_id:n};return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.batchSegmentMembers=function(e,t,n){return this.batchSegmentMembersWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.createSegmentMemberWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'segmentId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,segment_id:t};return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}/members","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createSegmentMember=function(e,t,n){return this.createSegmentMemberWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateListSignupFormWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={list_id:e};return this.apiClient.callApi("/lists/{list_id}/signup-forms","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListSignupForm=function(e,t){return this.updateListSignupFormWithHttpInfo(e,t).then((function(e){return e.data}))},this.createListWebhookWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={list_id:e};return this.apiClient.callApi("/lists/{list_id}/webhooks","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createListWebhook=function(e,t){return this.createListWebhookWithHttpInfo(e,t).then((function(e){return e.data}))},this.listSegmentsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),type:(t.type,t.type),since_created_at:t.sinceCreatedAt?t.sinceCreatedAt:t.since_created_at,before_created_at:t.beforeCreatedAt?t.beforeCreatedAt:t.before_created_at,include_cleaned:t.includeCleaned?t.includeCleaned:t.include_cleaned,include_transactional:t.includeTransactional?t.includeTransactional:t.include_transactional,include_unsubscribed:t.includeUnsubscribed?t.includeUnsubscribed:t.include_unsubscribed,since_updated_at:t.sinceUpdatedAt?t.sinceUpdatedAt:t.since_updated_at,before_updated_at:t.beforeUpdatedAt?t.beforeUpdatedAt:t.before_updated_at};return this.apiClient.callApi("/lists/{list_id}/segments","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.listSegments=function(e,t){return this.listSegmentsWithHttpInfo(e,t).then((function(e){return e.data}))},this.setListMemberWithHttpInfo=function(e,t,n,o){o=o||{};var r=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var i={list_id:e,subscriber_hash:t},a={skip_merge_validation:o.skipMergeValidation?o.skipMergeValidation:o.skip_merge_validation};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}","PUT",i,a,{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.setListMember=function(e,t,n,o){return this.setListMemberWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.tagSearchWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={name:(t.name,t.name)};return this.apiClient.callApi("/lists/{list_id}/tag-search","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.tagSearch=function(e,t){return this.tagSearchWithHttpInfo(e,t).then((function(e){return e.data}))}}},68783:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.getWithHttpInfo=function(){return this.apiClient.callApi("/ping","GET",{},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(){return this.getWithHttpInfo().then((function(e){return e.data}))}}},40047:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.getFacebookAdsReportAllWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),sort_field:e.sortField?e.sortField:e.sort_field,sort_dir:e.sortDir?e.sortDir:e.sort_dir};return this.apiClient.callApi("/reporting/facebook-ads","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getFacebookAdsReportAll=function(e){return this.getFacebookAdsReportAllWithHttpInfo(e).then((function(e){return e.data}))},this.getFacebookAdReportWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");var n={outreach_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reporting/facebook-ads/{outreach_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getFacebookAdReport=function(e,t){return this.getFacebookAdReportWithHttpInfo(e,t).then((function(e){return e.data}))},this.getFacebookAdProductActivityReportWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");var n={outreach_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),sort_field:t.sortField?t.sortField:t.sort_field};return this.apiClient.callApi("/reporting/facebook-ads/{outreach_id}/ecommerce-product-activity","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getFacebookAdProductActivityReport=function(e,t){return this.getFacebookAdProductActivityReportWithHttpInfo(e,t).then((function(e){return e.data}))},this.getLandingPageReportsAllWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/reporting/landing-pages","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getLandingPageReportsAll=function(e){return this.getLandingPageReportsAllWithHttpInfo(e).then((function(e){return e.data}))},this.getLandingPageReportWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");var n={outreach_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reporting/landing-pages/{outreach_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getLandingPageReport=function(e,t){return this.getLandingPageReportWithHttpInfo(e,t).then((function(e){return e.data}))},this.getSurveyReportsAllWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/reporting/surveys","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSurveyReportsAll=function(e){return this.getSurveyReportsAllWithHttpInfo(e).then((function(e){return e.data}))},this.getSurveyReportWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");var n={outreach_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reporting/surveys/{outreach_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSurveyReport=function(e,t){return this.getSurveyReportWithHttpInfo(e,t).then((function(e){return e.data}))},this.getSurveyQuestionReportsAllWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");var n={outreach_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reporting/surveys/{outreach_id}/questions","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSurveyQuestionReportsAll=function(e,t){return this.getSurveyQuestionReportsAllWithHttpInfo(e,t).then((function(e){return e.data}))},this.getSurveyQuestionReportWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");if(null==t)throw new Error("Missing the required parameter 'questionId' when calling ");var o={outreach_id:e,question_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/reporting/surveys/{outreach_id}/questions/{question_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSurveyQuestionReport=function(e,t,n){return this.getSurveyQuestionReportWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getSurveyQuestionAnswersWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");if(null==t)throw new Error("Missing the required parameter 'questionId' when calling ");var o={outreach_id:e,question_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),respondent_familiarity_is:n.respondentFamiliarityIs?n.respondentFamiliarityIs:n.respondent_familiarity_is};return this.apiClient.callApi("/reporting/surveys/{outreach_id}/questions/{question_id}/answers","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSurveyQuestionAnswers=function(e,t,n){return this.getSurveyQuestionAnswersWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getSurveyResponsesAllWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");var n={outreach_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),answered_question:t.answeredQuestion?t.answeredQuestion:t.answered_question,chose_answer:t.choseAnswer?t.choseAnswer:t.chose_answer,respondent_familiarity_is:t.respondentFamiliarityIs?t.respondentFamiliarityIs:t.respondent_familiarity_is};return this.apiClient.callApi("/reporting/surveys/{outreach_id}/responses","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSurveyResponsesAll=function(e,t){return this.getSurveyResponsesAllWithHttpInfo(e,t).then((function(e){return e.data}))},this.getSurveyResponseWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");if(null==t)throw new Error("Missing the required parameter 'responseId' when calling ");var n={outreach_id:e,response_id:t};return this.apiClient.callApi("/reporting/surveys/{outreach_id}/responses/{response_id}","GET",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSurveyResponse=function(e,t){return this.getSurveyResponseWithHttpInfo(e,t).then((function(e){return e.data}))}}},90124:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.getAllCampaignReportsWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),type:(e.type,e.type),before_send_time:e.beforeSendTime?e.beforeSendTime:e.before_send_time,since_send_time:e.sinceSendTime?e.sinceSendTime:e.since_send_time};return this.apiClient.callApi("/reports","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAllCampaignReports=function(e){return this.getAllCampaignReportsWithHttpInfo(e).then((function(e){return e.data}))},this.getCampaignReportWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignReport=function(e,t){return this.getCampaignReportWithHttpInfo(e,t).then((function(e){return e.data}))},this.getCampaignAbuseReportsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/abuse-reports","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignAbuseReports=function(e,t){return this.getCampaignAbuseReportsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getCampaignAbuseReportWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'reportId' when calling ");var o={campaign_id:e,report_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/abuse-reports/{report_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignAbuseReport=function(e,t,n){return this.getCampaignAbuseReportWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getCampaignAdviceWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/advice","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignAdvice=function(e,t){return this.getCampaignAdviceWithHttpInfo(e,t).then((function(e){return e.data}))},this.getCampaignClickDetailsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset)};return this.apiClient.callApi("/reports/{campaign_id}/click-details","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignClickDetails=function(e,t){return this.getCampaignClickDetailsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getCampaignClickDetailsForLinkWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'linkId' when calling ");var o={campaign_id:e,link_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/click-details/{link_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignClickDetailsForLink=function(e,t,n){return this.getCampaignClickDetailsForLinkWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getSubscribersInfoWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'linkId' when calling ");var o={campaign_id:e,link_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/reports/{campaign_id}/click-details/{link_id}/members","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSubscribersInfo=function(e,t,n){return this.getSubscribersInfoWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getSubscriberInfoWithHttpInfo=function(e,t,n,o){if(o=o||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'linkId' when calling ");if(null==n)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var r={campaign_id:e,link_id:t,subscriber_hash:n},i={fields:this.apiClient.buildCollectionParam((o.fields,o.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(o.excludeFields?o.excludeFields:o.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/click-details/{link_id}/members/{subscriber_hash}","GET",r,i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSubscriberInfo=function(e,t,n,o){return this.getSubscriberInfoWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.getDomainPerformanceForCampaignWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/domain-performance","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getDomainPerformanceForCampaign=function(e,t){return this.getDomainPerformanceForCampaignWithHttpInfo(e,t).then((function(e){return e.data}))},this.getEcommerceProductActivityForCampaignWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),sort_field:t.sortField?t.sortField:t.sort_field};return this.apiClient.callApi("/reports/{campaign_id}/ecommerce-product-activity","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getEcommerceProductActivityForCampaign=function(e,t){return this.getEcommerceProductActivityForCampaignWithHttpInfo(e,t).then((function(e){return e.data}))},this.getEepurlActivityForCampaignWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/eepurl","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getEepurlActivityForCampaign=function(e,t){return this.getEepurlActivityForCampaignWithHttpInfo(e,t).then((function(e){return e.data}))},this.getEmailActivityForCampaignWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),since:(t.since,t.since)};return this.apiClient.callApi("/reports/{campaign_id}/email-activity","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getEmailActivityForCampaign=function(e,t){return this.getEmailActivityForCampaignWithHttpInfo(e,t).then((function(e){return e.data}))},this.getEmailActivityForSubscriberWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={campaign_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),since:(n.since,n.since)};return this.apiClient.callApi("/reports/{campaign_id}/email-activity/{subscriber_hash}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getEmailActivityForSubscriber=function(e,t,n){return this.getEmailActivityForSubscriberWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getLocationsForCampaignWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset)};return this.apiClient.callApi("/reports/{campaign_id}/locations","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getLocationsForCampaign=function(e,t){return this.getLocationsForCampaignWithHttpInfo(e,t).then((function(e){return e.data}))},this.getCampaignOpenDetailsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),since:(t.since,t.since)};return this.apiClient.callApi("/reports/{campaign_id}/open-details","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignOpenDetails=function(e,t){return this.getCampaignOpenDetailsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getSubscriberInfoForOpenedCampaignWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={campaign_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/open-details/{subscriber_hash}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSubscriberInfoForOpenedCampaign=function(e,t,n){return this.getSubscriberInfoForOpenedCampaignWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getCampaignRecipientsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset)};return this.apiClient.callApi("/reports/{campaign_id}/sent-to","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignRecipients=function(e,t){return this.getCampaignRecipientsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getCampaignRecipientWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={campaign_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/sent-to/{subscriber_hash}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignRecipient=function(e,t,n){return this.getCampaignRecipientWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getSubReportsForCampaignWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/sub-reports","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSubReportsForCampaign=function(e,t){return this.getSubReportsForCampaignWithHttpInfo(e,t).then((function(e){return e.data}))},this.getUnsubscribedListForCampaignWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset)};return this.apiClient.callApi("/reports/{campaign_id}/unsubscribed","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getUnsubscribedListForCampaign=function(e,t){return this.getUnsubscribedListForCampaignWithHttpInfo(e,t).then((function(e){return e.data}))},this.getUnsubscribedListMemberWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={campaign_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/unsubscribed/{subscriber_hash}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getUnsubscribedListMember=function(e,t,n){return this.getUnsubscribedListMemberWithHttpInfo(e,t,n).then((function(e){return e.data}))}}},68627:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.getRootWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv")};return this.apiClient.callApi("/","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getRoot=function(e){return this.getRootWithHttpInfo(e).then((function(e){return e.data}))}}},56894:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.searchWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'query' when calling ");var n={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),query:e};return this.apiClient.callApi("/search-campaigns","GET",{},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.search=function(e,t){return this.searchWithHttpInfo(e,t).then((function(e){return e.data}))}}},75887:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.searchWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'query' when calling ");var n={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),query:e,list_id:t.listId?t.listId:t.list_id};return this.apiClient.callApi("/search-members","GET",{},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.search=function(e,t){return this.searchWithHttpInfo(e,t).then((function(e){return e.data}))}}},28090:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.publishSurveyWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'surveyId' when calling ");var n={list_id:e,survey_id:t};return this.apiClient.callApi("/lists/{list_id}/surveys/{survey_id}/actions/publish","POST",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.publishSurvey=function(e,t){return this.publishSurveyWithHttpInfo(e,t).then((function(e){return e.data}))},this.unpublishSurveyWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'surveyId' when calling ");var n={list_id:e,survey_id:t};return this.apiClient.callApi("/lists/{list_id}/surveys/{survey_id}/actions/unpublish","POST",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.unpublishSurvey=function(e,t){return this.unpublishSurveyWithHttpInfo(e,t).then((function(e){return e.data}))}}},60959:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.removeWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'folderId' when calling ");var t={folder_id:e};return this.apiClient.callApi("/template-folders/{folder_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.remove=function(e){return this.removeWithHttpInfo(e).then((function(e){return e.data}))},this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/template-folders","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'folderId' when calling ");var n={folder_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/template-folders/{folder_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(e,t){return this.getWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'folderId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={folder_id:e};return this.apiClient.callApi("/template-folders/{folder_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.update=function(e,t){return this.updateWithHttpInfo(e,t).then((function(e){return e.data}))},this.createWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/template-folders","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.create=function(e){return this.createWithHttpInfo(e).then((function(e){return e.data}))}}},26795:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.deleteTemplateWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'templateId' when calling ");var t={template_id:e};return this.apiClient.callApi("/templates/{template_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteTemplate=function(e){return this.deleteTemplateWithHttpInfo(e).then((function(e){return e.data}))},this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),created_by:e.createdBy?e.createdBy:e.created_by,since_date_created:e.sinceDateCreated?e.sinceDateCreated:e.since_date_created,before_date_created:e.beforeDateCreated?e.beforeDateCreated:e.before_date_created,type:(e.type,e.type),category:(e.category,e.category),folder_id:e.folderId?e.folderId:e.folder_id,sort_field:e.sortField?e.sortField:e.sort_field,sort_dir:e.sortDir?e.sortDir:e.sort_dir};return this.apiClient.callApi("/templates","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getTemplateWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'templateId' when calling ");var n={template_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/templates/{template_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getTemplate=function(e,t){return this.getTemplateWithHttpInfo(e,t).then((function(e){return e.data}))},this.getDefaultContentForTemplateWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'templateId' when calling ");var n={template_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/templates/{template_id}/default-content","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getDefaultContentForTemplate=function(e,t){return this.getDefaultContentForTemplateWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateTemplateWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'templateId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={template_id:e};return this.apiClient.callApi("/templates/{template_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateTemplate=function(e,t){return this.updateTemplateWithHttpInfo(e,t).then((function(e){return e.data}))},this.createWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/templates","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.create=function(e){return this.createWithHttpInfo(e).then((function(e){return e.data}))}}},52722:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.createVerifiedDomainWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/verified-domains","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createVerifiedDomain=function(e){return this.createVerifiedDomainWithHttpInfo(e).then((function(e){return e.data}))},this.deleteDomainWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'domainName' when calling ");var t={domain_name:e};return this.apiClient.callApi("/verified-domains/{domain_name}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteDomain=function(e){return this.deleteDomainWithHttpInfo(e).then((function(e){return e.data}))},this.getDomainWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'domainName' when calling ");var t={domain_name:e};return this.apiClient.callApi("/verified-domains/{domain_name}","GET",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getDomain=function(e){return this.getDomainWithHttpInfo(e).then((function(e){return e.data}))},this.getVerifiedDomainsAllWithHttpInfo=function(){return this.apiClient.callApi("/verified-domains","GET",{},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getVerifiedDomainsAll=function(){return this.getVerifiedDomainsAllWithHttpInfo().then((function(e){return e.data}))},this.submitDomainVerificationWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'domainName' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={domain_name:e};return this.apiClient.callApi("/verified-domains/{domain_name}/actions/verify","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.submitDomainVerification=function(e,t){return this.submitDomainVerificationWithHttpInfo(e,t).then((function(e){return e.data}))}}},96757:(e,t,n)=>{var o=n(37187);e.exports=o.instance},1461:e=>{"use strict";e.exports=function(e,t){for(var n=new Array(arguments.length-1),o=0,r=2,i=!0;r{"use strict";var n=t;n.length=function(e){var t=e.length;if(!t)return 0;for(var n=0;--t%4>1&&"="===e.charAt(t);)++n;return Math.ceil(3*e.length)/4-n};for(var o=new Array(64),r=new Array(123),i=0;i<64;)r[o[i]=i<26?i+65:i<52?i+71:i<62?i-4:i-59|43]=i++;n.encode=function(e,t,n){for(var r,i=null,a=[],s=0,l=0;t>2],r=(3&c)<<4,l=1;break;case 1:a[s++]=o[r|c>>4],r=(15&c)<<2,l=2;break;case 2:a[s++]=o[r|c>>6],a[s++]=o[63&c],l=0}s>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,a)),s=0)}return l&&(a[s++]=o[r],a[s++]=61,1===l&&(a[s++]=61)),i?(s&&i.push(String.fromCharCode.apply(String,a.slice(0,s))),i.join("")):String.fromCharCode.apply(String,a.slice(0,s))};var a="invalid encoding";n.decode=function(e,t,n){for(var o,i=n,s=0,l=0;l1)break;if(void 0===(c=r[c]))throw Error(a);switch(s){case 0:o=c,s=1;break;case 1:t[n++]=o<<2|(48&c)>>4,o=c,s=2;break;case 2:t[n++]=(15&o)<<4|(60&c)>>2,o=c,s=3;break;case 3:t[n++]=(3&o)<<6|c,s=0}}if(1===s)throw Error(a);return n-i},n.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}},44879:e=>{"use strict";function t(e,n){"string"==typeof e&&(n=e,e=void 0);var o=[];function r(e){if("string"!=typeof e){var n=i();if(t.verbose&&console.log("codegen: "+n),n="return "+n,e){for(var a=Object.keys(e),s=new Array(a.length+1),l=new Array(a.length),c=0;c{"use strict";function t(){this._listeners={}}e.exports=t,t.prototype.on=function(e,t,n){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:n||this}),this},t.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var n=this._listeners[e],o=0;o{"use strict";e.exports=i;var o=n(1461),r=n(14813)("fs");function i(e,t,n){return"function"==typeof t?(n=t,t={}):t||(t={}),n?!t.xhr&&r&&r.readFile?r.readFile(e,(function(o,r){return o&&"undefined"!=typeof XMLHttpRequest?i.xhr(e,t,n):o?n(o):n(null,t.binary?r:r.toString("utf8"))})):i.xhr(e,t,n):o(i,this,e,t)}i.xhr=function(e,t,n){var o=new XMLHttpRequest;o.onreadystatechange=function(){if(4===o.readyState){if(0!==o.status&&200!==o.status)return n(Error("status "+o.status));if(t.binary){var e=o.response;if(!e){e=[];for(var r=0;r{"use strict";function t(e){return"undefined"!=typeof Float32Array?function(){var t=new Float32Array([-0]),n=new Uint8Array(t.buffer),o=128===n[3];function r(e,o,r){t[0]=e,o[r]=n[0],o[r+1]=n[1],o[r+2]=n[2],o[r+3]=n[3]}function i(e,o,r){t[0]=e,o[r]=n[3],o[r+1]=n[2],o[r+2]=n[1],o[r+3]=n[0]}function a(e,o){return n[0]=e[o],n[1]=e[o+1],n[2]=e[o+2],n[3]=e[o+3],t[0]}function s(e,o){return n[3]=e[o],n[2]=e[o+1],n[1]=e[o+2],n[0]=e[o+3],t[0]}e.writeFloatLE=o?r:i,e.writeFloatBE=o?i:r,e.readFloatLE=o?a:s,e.readFloatBE=o?s:a}():function(){function t(e,t,n,o){var r=t<0?1:0;if(r&&(t=-t),0===t)e(1/t>0?0:2147483648,n,o);else if(isNaN(t))e(2143289344,n,o);else if(t>34028234663852886e22)e((r<<31|2139095040)>>>0,n,o);else if(t<11754943508222875e-54)e((r<<31|Math.round(t/1401298464324817e-60))>>>0,n,o);else{var i=Math.floor(Math.log(t)/Math.LN2);e((r<<31|i+127<<23|8388607&Math.round(t*Math.pow(2,-i)*8388608))>>>0,n,o)}}function a(e,t,n){var o=e(t,n),r=2*(o>>31)+1,i=o>>>23&255,a=8388607&o;return 255===i?a?NaN:r*(1/0):0===i?1401298464324817e-60*r*a:r*Math.pow(2,i-150)*(a+8388608)}e.writeFloatLE=t.bind(null,n),e.writeFloatBE=t.bind(null,o),e.readFloatLE=a.bind(null,r),e.readFloatBE=a.bind(null,i)}(),"undefined"!=typeof Float64Array?function(){var t=new Float64Array([-0]),n=new Uint8Array(t.buffer),o=128===n[7];function r(e,o,r){t[0]=e,o[r]=n[0],o[r+1]=n[1],o[r+2]=n[2],o[r+3]=n[3],o[r+4]=n[4],o[r+5]=n[5],o[r+6]=n[6],o[r+7]=n[7]}function i(e,o,r){t[0]=e,o[r]=n[7],o[r+1]=n[6],o[r+2]=n[5],o[r+3]=n[4],o[r+4]=n[3],o[r+5]=n[2],o[r+6]=n[1],o[r+7]=n[0]}function a(e,o){return n[0]=e[o],n[1]=e[o+1],n[2]=e[o+2],n[3]=e[o+3],n[4]=e[o+4],n[5]=e[o+5],n[6]=e[o+6],n[7]=e[o+7],t[0]}function s(e,o){return n[7]=e[o],n[6]=e[o+1],n[5]=e[o+2],n[4]=e[o+3],n[3]=e[o+4],n[2]=e[o+5],n[1]=e[o+6],n[0]=e[o+7],t[0]}e.writeDoubleLE=o?r:i,e.writeDoubleBE=o?i:r,e.readDoubleLE=o?a:s,e.readDoubleBE=o?s:a}():function(){function t(e,t,n,o,r,i){var a=o<0?1:0;if(a&&(o=-o),0===o)e(0,r,i+t),e(1/o>0?0:2147483648,r,i+n);else if(isNaN(o))e(0,r,i+t),e(2146959360,r,i+n);else if(o>17976931348623157e292)e(0,r,i+t),e((a<<31|2146435072)>>>0,r,i+n);else{var s;if(o<22250738585072014e-324)e((s=o/5e-324)>>>0,r,i+t),e((a<<31|s/4294967296)>>>0,r,i+n);else{var l=Math.floor(Math.log(o)/Math.LN2);1024===l&&(l=1023),e(4503599627370496*(s=o*Math.pow(2,-l))>>>0,r,i+t),e((a<<31|l+1023<<20|1048576*s&1048575)>>>0,r,i+n)}}}function a(e,t,n,o,r){var i=e(o,r+t),a=e(o,r+n),s=2*(a>>31)+1,l=a>>>20&2047,c=4294967296*(1048575&a)+i;return 2047===l?c?NaN:s*(1/0):0===l?5e-324*s*c:s*Math.pow(2,l-1075)*(c+4503599627370496)}e.writeDoubleLE=t.bind(null,n,0,4),e.writeDoubleBE=t.bind(null,o,4,0),e.readDoubleLE=a.bind(null,r,0,4),e.readDoubleBE=a.bind(null,i,4,0)}(),e}function n(e,t,n){t[n]=255&e,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}function o(e,t,n){t[n]=e>>>24,t[n+1]=e>>>16&255,t[n+2]=e>>>8&255,t[n+3]=255&e}function r(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function i(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=t(t)},14813:module=>{"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},83323:(e,t)=>{"use strict";var n=t,o=n.isAbsolute=function(e){return/^(?:\/|\w+:)/.test(e)},r=n.normalize=function(e){var t=(e=e.replace(/\\/g,"/").replace(/\/{2,}/g,"/")).split("/"),n=o(e),r="";n&&(r=t.shift()+"/");for(var i=0;i0&&".."!==t[i-1]?t.splice(--i,2):n?t.splice(i,1):++i:"."===t[i]?t.splice(i,1):++i;return r+t.join("/")};n.resolve=function(e,t,n){return n||(t=r(t)),o(t)?t:(n||(e=r(e)),(e=e.replace(/(?:\/|^)[^/]+$/,"")).length?r(e+"/"+t):t)}},68964:e=>{"use strict";e.exports=function(e,t,n){var o=n||8192,r=o>>>1,i=null,a=o;return function(n){if(n<1||n>r)return e(n);a+n>o&&(i=e(o),a=0);var s=t.call(i,a,a+=n);return 7&a&&(a=1+(7|a)),s}}},88413:(e,t)=>{"use strict";var n=t;n.length=function(e){for(var t=0,n=0,o=0;o191&&o<224?i[a++]=(31&o)<<6|63&e[t++]:o>239&&o<365?(o=((7&o)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,i[a++]=55296+(o>>10),i[a++]=56320+(1023&o)):i[a++]=(15&o)<<12|(63&e[t++])<<6|63&e[t++],a>8191&&((r||(r=[])).push(String.fromCharCode.apply(String,i)),a=0);return r?(a&&r.push(String.fromCharCode.apply(String,i.slice(0,a))),r.join("")):String.fromCharCode.apply(String,i.slice(0,a))},n.write=function(e,t,n){for(var o,r,i=n,a=0;a>6|192,t[n++]=63&o|128):55296==(64512&o)&&56320==(64512&(r=e.charCodeAt(a+1)))?(o=65536+((1023&o)<<10)+(1023&r),++a,t[n++]=o>>18|240,t[n++]=o>>12&63|128,t[n++]=o>>6&63|128,t[n++]=63&o|128):(t[n++]=o>>12|224,t[n++]=o>>6&63|128,t[n++]=63&o|128);return n-i}},3635:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeCompiler=t.TypeCompilerUnknownTypeError=t.Property=t.TypeCheck=void 0;const o=n(91162),r=n(1990),i=n(19859),a=n(71804),s=n(33917),l=n(41127),c=n(470);class p{constructor(e,t,n,o){this.schema=e,this.references=t,this.checkFunc=n,this.code=o}Code(){return this.code}Errors(e){return o.ValueErrors.Errors(this.schema,this.references,e)}Check(e){return this.checkFunc(e)}}var u;t.TypeCheck=p,function(e){function t(e){return 36===e}function n(e){return 95===e}function o(e){return e>=48&&e<=57}function r(e){return e>=65&&e<=90||e>=97&&e<=122}e.Check=function(e){if(0===e.length)return!1;{const o=e.charCodeAt(0);if(!(t(o)||n(o)||r(o)))return!1}for(let i=1;i ${o}))`,t(e.minItems)&&(yield`(${n}.length >= ${e.minItems})`),t(e.maxItems)&&(yield`(${n}.length <= ${e.maxItems})`),!0===e.uniqueItems&&(yield`((function() { const set = new Set(); for(const element of ${n}) { const hashed = hash(element); if(set.has(hashed)) { return false } else { set.add(hashed) } } return true })())`)}(p,a);case"Boolean":return yield*function*(e,t){yield`(typeof ${t} === 'boolean')`}(0,a);case"Constructor":return yield*function*(e,t){yield*n(e.returns,`${t}.prototype`)}(p,a);case"Date":return yield*function*(e,n){yield`(${n} instanceof Date)`,t(e.exclusiveMinimumTimestamp)&&(yield`(${n}.getTime() > ${e.exclusiveMinimumTimestamp})`),t(e.exclusiveMaximumTimestamp)&&(yield`(${n}.getTime() < ${e.exclusiveMaximumTimestamp})`),t(e.minimumTimestamp)&&(yield`(${n}.getTime() >= ${e.minimumTimestamp})`),t(e.maximumTimestamp)&&(yield`(${n}.getTime() <= ${e.maximumTimestamp})`)}(p,a);case"Function":return yield*function*(e,t){yield`(typeof ${t} === 'function')`}(0,a);case"Integer":return yield*function*(e,n){yield`(typeof ${n} === 'number' && Number.isInteger(${n}))`,t(e.multipleOf)&&(yield`(${n} % ${e.multipleOf} === 0)`),t(e.exclusiveMinimum)&&(yield`(${n} > ${e.exclusiveMinimum})`),t(e.exclusiveMaximum)&&(yield`(${n} < ${e.exclusiveMaximum})`),t(e.minimum)&&(yield`(${n} >= ${e.minimum})`),t(e.maximum)&&(yield`(${n} <= ${e.maximum})`)}(p,a);case"Literal":return yield*function*(e,t){"number"==typeof e.const||"boolean"==typeof e.const?yield`(${t} === ${e.const})`:yield`(${t} === '${e.const}')`}(p,a);case"Never":return yield*function*(e,t){yield"(false)"}();case"Null":case"Void":return yield*function*(e,t){yield`(${t} === null)`}(0,a);case"Number":return yield*function*(e,n){r.TypeSystem.AllowNaN?yield`(typeof ${n} === 'number')`:yield`(typeof ${n} === 'number' && !isNaN(${n}))`,t(e.multipleOf)&&(yield`(${n} % ${e.multipleOf} === 0)`),t(e.exclusiveMinimum)&&(yield`(${n} > ${e.exclusiveMinimum})`),t(e.exclusiveMaximum)&&(yield`(${n} < ${e.exclusiveMaximum})`),t(e.minimum)&&(yield`(${n} >= ${e.minimum})`),t(e.maximum)&&(yield`(${n} <= ${e.maximum})`)}(p,a);case"Object":return yield*function*(e,o){r.TypeSystem.AllowArrayObjects?yield`(typeof ${o} === 'object' && ${o} !== null)`:yield`(typeof ${o} === 'object' && ${o} !== null && !Array.isArray(${o}))`,t(e.minProperties)&&(yield`(Object.getOwnPropertyNames(${o}).length >= ${e.minProperties})`),t(e.maxProperties)&&(yield`(Object.getOwnPropertyNames(${o}).length <= ${e.maxProperties})`);const a=globalThis.Object.getOwnPropertyNames(e.properties);if(!1===e.additionalProperties)if(e.required&&e.required.length===a.length)yield`(Object.getOwnPropertyNames(${o}).length === ${a.length})`;else{const e=`[${a.map((e=>`'${e}'`)).join(", ")}]`;yield`(Object.getOwnPropertyNames(${o}).every(key => ${e}.includes(key)))`}if(i.TypeGuard.TSchema(e.additionalProperties)){const t=m(e.additionalProperties,"value[key]"),n=`[${a.map((e=>`'${e}'`)).join(", ")}]`;yield`(Object.getOwnPropertyNames(${o}).every(key => ${n}.includes(key) || ${t}))`}for(const t of a){const r=u.Check(t)?`${o}.${t}`:`${o}['${t}']`,i=e.properties[t];if(e.required&&e.required.includes(t))yield*n(i,r);else{const e=m(i,r);yield`(${r} === undefined ? true : (${e}))`}}}(p,a);case"Promise":return yield*function*(e,t){yield`(typeof value === 'object' && typeof ${t}.then === 'function')`}(0,a);case"Record":return yield*function*(e,t){r.TypeSystem.AllowArrayObjects?yield`(typeof ${t} === 'object' && ${t} !== null && !(${t} instanceof Date))`:yield`(typeof ${t} === 'object' && ${t} !== null && !(${t} instanceof Date) && !Array.isArray(${t}))`;const[n,o]=globalThis.Object.entries(e.patternProperties)[0],i=b(`new RegExp(/${n}/)`);yield`(Object.getOwnPropertyNames(${t}).every(key => ${i}.test(key)))`;const a=m(o,"value");yield`(Object.values(${t}).every(value => ${a}))`}(p,a);case"Ref":return yield*function*(e,t){if(f.has(e.$ref))return yield`(${y(e.$ref)}(${t}))`;if(!o.has(e.$ref))throw Error(`TypeCompiler.Ref: Cannot de-reference schema with $id '${e.$ref}'`);const r=o.get(e.$ref);yield*n(r,t)}(p,a);case"Self":return yield*function*(e,t){const n=y(e.$ref);yield`(${n}(${t}))`}(p,a);case"String":return yield*function*(e,n){if(yield`(typeof ${n} === 'string')`,t(e.minLength)&&(yield`(${n}.length >= ${e.minLength})`),t(e.maxLength)&&(yield`(${n}.length <= ${e.maxLength})`),void 0!==e.pattern){const t=b(`new RegExp(/${e.pattern}/);`);yield`(${t}.test(${n}))`}void 0!==e.format&&(yield`(format('${e.format}', ${n}))`)}(p,a);case"Tuple":return yield*function*(e,t){if(yield`(Array.isArray(${t}))`,void 0===e.items)return yield`(${t}.length === 0)`;yield`(${t}.length === ${e.maxItems})`;for(let n=0;nm(e,t)));yield`(${n.join(" || ")})`}(p,a);case"Uint8Array":return yield*function*(e,n){yield`(${n} instanceof Uint8Array)`,t(e.maxByteLength)&&(yield`(${n}.length <= ${e.maxByteLength})`),t(e.minByteLength)&&(yield`(${n}.length >= ${e.minByteLength})`)}(p,a);default:if(!s.Custom.Has(p[c.Kind]))throw new d(e);return yield*function*(e,t){const n=`schema_key_${h.size}`;h.set(n,e),yield`(custom('${e[c.Kind]}', '${n}', ${t}))`}(p,a)}}const o=new Map,g=new Set,f=new Set,h=new Map;function m(e,t){return`(${[...n(e,t)].join(" && ")})`}function y(e){return`check_${e.replace(/-/g,"_")}`}function v(e,t,o){return`function ${e}(value) {\n return (\n${[...n(t,o)].map((e=>` ${e}`)).join(" &&\n")}\n )\n}`}function b(e){const t=`local_${g.size}`;return g.add(`const ${t} = ${e}`),t}e.Compile=function(e,t=[]){i.TypeGuard.Assert(e,t);const n=function(e,t=[]){o.clear(),g.clear(),f.clear(),h.clear(),function(e=[]){for(const t of e){if(!t.$id)throw new Error("TypeCompiler: Referenced schemas must specify an $id.");if(o.has(t.$id))throw new Error(`TypeCompiler: Duplicate schema $id found for '${t.$id}'`);o.set(t.$id,t)}}(t);const n=v("check",e,"value");return`${[...g.values()].join("\n")}\nreturn ${n}`}(e,t),r=new Map(h),c=globalThis.Function("custom","format","hash",n)(((e,t,n)=>{if(!s.Custom.Has(e)||!r.has(t))return!1;const o=r.get(t);return s.Custom.Get(e)(o,n)}),((e,t)=>!!a.Format.Has(e)&&a.Format.Get(e)(t)),(e=>l.ValueHash.Create(e)));return new p(e,t,c,n)}}(t.TypeCompiler||(t.TypeCompiler={}))},64741:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.ValueErrorType=void 0;var i=n(91162);Object.defineProperty(t,"ValueErrorType",{enumerable:!0,get:function(){return i.ValueErrorType}}),r(n(3635),t)},10935:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Custom=void 0,function(e){const t=new Map;e.Clear=function(){return t.clear()},e.Has=function(e){return t.has(e)},e.Set=function(e,n){t.set(e,n)},e.Get=function(e){return t.get(e)}}(t.Custom||(t.Custom={}))},33917:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(10935),t)},69508:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueErrors=t.ValueErrorsUnknownTypeError=t.ValueErrorType=void 0;const o=n(470),r=n(1990),i=n(71804),a=n(33917),s=n(41127);var l;!function(e){e[e.Array=0]="Array",e[e.ArrayMinItems=1]="ArrayMinItems",e[e.ArrayMaxItems=2]="ArrayMaxItems",e[e.ArrayUniqueItems=3]="ArrayUniqueItems",e[e.Boolean=4]="Boolean",e[e.Date=5]="Date",e[e.DateExclusiveMinimumTimestamp=6]="DateExclusiveMinimumTimestamp",e[e.DateExclusiveMaximumTimestamp=7]="DateExclusiveMaximumTimestamp",e[e.DateMinimumTimestamp=8]="DateMinimumTimestamp",e[e.DateMaximumTimestamp=9]="DateMaximumTimestamp",e[e.Function=10]="Function",e[e.Integer=11]="Integer",e[e.IntegerMultipleOf=12]="IntegerMultipleOf",e[e.IntegerExclusiveMinimum=13]="IntegerExclusiveMinimum",e[e.IntegerExclusiveMaximum=14]="IntegerExclusiveMaximum",e[e.IntegerMinimum=15]="IntegerMinimum",e[e.IntegerMaximum=16]="IntegerMaximum",e[e.Literal=17]="Literal",e[e.Never=18]="Never",e[e.Null=19]="Null",e[e.Number=20]="Number",e[e.NumberMultipleOf=21]="NumberMultipleOf",e[e.NumberExclusiveMinimum=22]="NumberExclusiveMinimum",e[e.NumberExclusiveMaximum=23]="NumberExclusiveMaximum",e[e.NumberMinumum=24]="NumberMinumum",e[e.NumberMaximum=25]="NumberMaximum",e[e.Object=26]="Object",e[e.ObjectMinProperties=27]="ObjectMinProperties",e[e.ObjectMaxProperties=28]="ObjectMaxProperties",e[e.ObjectAdditionalProperties=29]="ObjectAdditionalProperties",e[e.ObjectRequiredProperties=30]="ObjectRequiredProperties",e[e.Promise=31]="Promise",e[e.RecordKeyNumeric=32]="RecordKeyNumeric",e[e.RecordKeyString=33]="RecordKeyString",e[e.String=34]="String",e[e.StringMinLength=35]="StringMinLength",e[e.StringMaxLength=36]="StringMaxLength",e[e.StringPattern=37]="StringPattern",e[e.StringFormatUnknown=38]="StringFormatUnknown",e[e.StringFormat=39]="StringFormat",e[e.TupleZeroLength=40]="TupleZeroLength",e[e.TupleLength=41]="TupleLength",e[e.Undefined=42]="Undefined",e[e.Union=43]="Union",e[e.Uint8Array=44]="Uint8Array",e[e.Uint8ArrayMinByteLength=45]="Uint8ArrayMinByteLength",e[e.Uint8ArrayMaxByteLength=46]="Uint8ArrayMaxByteLength",e[e.Void=47]="Void",e[e.Custom=48]="Custom"}(l=t.ValueErrorType||(t.ValueErrorType={}));class c extends Error{constructor(e){super("ValueErrors: Unknown type"),this.schema=e}}t.ValueErrorsUnknownTypeError=c,function(e){function t(e){return"number"==typeof e&&!isNaN(e)}function*n(e,p,u,d){const g=void 0===e.$id?p:[e,...p],f=e;switch(f[o.Kind]){case"Any":case"Unknown":return yield*function*(e,t,n,o){}();case"Array":return yield*function*(e,o,r,i){if(!globalThis.Array.isArray(i))return yield{type:l.Array,schema:e,path:r,value:i,message:"Expected array"};!t(e.minItems)||i.length>=e.minItems||(yield{type:l.ArrayMinItems,schema:e,path:r,value:i,message:`Expected array length to be greater or equal to ${e.minItems}`}),!t(e.maxItems)||i.length<=e.maxItems||(yield{type:l.ArrayMinItems,schema:e,path:r,value:i,message:`Expected array length to be less or equal to ${e.maxItems}`}),!0!==e.uniqueItems||function(){const e=new Set;for(const t of i){const n=s.ValueHash.Create(t);if(e.has(n))return!1;e.add(n)}return!0}()||(yield{type:l.ArrayUniqueItems,schema:e,path:r,value:i,message:"Expected array elements to be unique"});for(let t=0;te.exclusiveMinimumTimestamp||(yield{type:l.DateExclusiveMinimumTimestamp,schema:e,path:o,value:r,message:`Expected Date timestamp to be greater than ${e.exclusiveMinimum}`}),!t(e.exclusiveMaximumTimestamp)||r.getTime()=e.minimumTimestamp||(yield{type:l.DateMinimumTimestamp,schema:e,path:o,value:r,message:`Expected Date timestamp to be greater or equal to ${e.minimum}`}),!t(e.maximumTimestamp)||r.getTime()<=e.maximumTimestamp||(yield{type:l.DateMaximumTimestamp,schema:e,path:o,value:r,message:`Expected Date timestamp to be less or equal to ${e.maximum}`})}(f,0,u,d);case"Function":return yield*function*(e,t,n,o){if("function"!=typeof o)return yield{type:l.Function,schema:e,path:n,value:o,message:"Expected function"}}(f,0,u,d);case"Integer":return yield*function*(e,n,o,r){if("number"!=typeof r||!globalThis.Number.isInteger(r))return yield{type:l.Integer,schema:e,path:o,value:r,message:"Expected integer"};t(e.multipleOf)&&r%e.multipleOf!=0&&(yield{type:l.IntegerMultipleOf,schema:e,path:o,value:r,message:`Expected integer to be a multiple of ${e.multipleOf}`}),!t(e.exclusiveMinimum)||r>e.exclusiveMinimum||(yield{type:l.IntegerExclusiveMinimum,schema:e,path:o,value:r,message:`Expected integer to be greater than ${e.exclusiveMinimum}`}),!t(e.exclusiveMaximum)||r=e.minimum||(yield{type:l.IntegerMinimum,schema:e,path:o,value:r,message:`Expected integer to be greater or equal to ${e.minimum}`}),!t(e.maximum)||r<=e.maximum||(yield{type:l.IntegerMaximum,schema:e,path:o,value:r,message:`Expected integer to be less or equal to ${e.maximum}`})}(f,0,u,d);case"Literal":return yield*function*(e,t,n,o){if(o!==e.const){const t="string"==typeof e.const?`'${e.const}'`:e.const;return yield{type:l.Literal,schema:e,path:n,value:o,message:`Expected ${t}`}}}(f,0,u,d);case"Never":return yield*function*(e,t,n,o){yield{type:l.Never,schema:e,path:n,value:o,message:"Value cannot be validated"}}(f,0,u,d);case"Null":return yield*function*(e,t,n,o){if(null!==o)return yield{type:l.Null,schema:e,path:n,value:o,message:"Expected null"}}(f,0,u,d);case"Number":return yield*function*(e,n,o,i){if(r.TypeSystem.AllowNaN){if("number"!=typeof i)return yield{type:l.Number,schema:e,path:o,value:i,message:"Expected number"}}else if("number"!=typeof i||isNaN(i))return yield{type:l.Number,schema:e,path:o,value:i,message:"Expected number"};t(e.multipleOf)&&i%e.multipleOf!=0&&(yield{type:l.NumberMultipleOf,schema:e,path:o,value:i,message:`Expected number to be a multiple of ${e.multipleOf}`}),!t(e.exclusiveMinimum)||i>e.exclusiveMinimum||(yield{type:l.NumberExclusiveMinimum,schema:e,path:o,value:i,message:`Expected number to be greater than ${e.exclusiveMinimum}`}),!t(e.exclusiveMaximum)||i=e.minimum||(yield{type:l.NumberMaximum,schema:e,path:o,value:i,message:`Expected number to be greater or equal to ${e.minimum}`}),!t(e.maximum)||i<=e.maximum||(yield{type:l.NumberMinumum,schema:e,path:o,value:i,message:`Expected number to be less or equal to ${e.maximum}`})}(f,0,u,d);case"Object":return yield*function*(e,o,i,a){if(r.TypeSystem.AllowArrayObjects){if("object"!=typeof a||null===a)return yield{type:l.Object,schema:e,path:i,value:a,message:"Expected object"}}else if("object"!=typeof a||null===a||globalThis.Array.isArray(a))return yield{type:l.Object,schema:e,path:i,value:a,message:"Expected object"};!t(e.minProperties)||globalThis.Object.getOwnPropertyNames(a).length>=e.minProperties||(yield{type:l.ObjectMinProperties,schema:e,path:i,value:a,message:`Expected object to have at least ${e.minProperties} properties`}),!t(e.maxProperties)||globalThis.Object.getOwnPropertyNames(a).length<=e.maxProperties||(yield{type:l.ObjectMaxProperties,schema:e,path:i,value:a,message:`Expected object to have less than ${e.minProperties} properties`});const s=globalThis.Object.getOwnPropertyNames(e.properties);if(!1===e.additionalProperties)for(const t of globalThis.Object.getOwnPropertyNames(a))s.includes(t)||(yield{type:l.ObjectAdditionalProperties,schema:e,path:`${i}/${t}`,value:a[t],message:"Unexpected property"});if(e.required&&e.required.length>0){const t=globalThis.Object.getOwnPropertyNames(a);for(const n of e.required)t.includes(n)||(yield{type:l.ObjectRequiredProperties,schema:e.properties[n],path:`${i}/${n}`,value:void 0,message:"Expected required property"})}if("object"==typeof e.additionalProperties)for(const t of globalThis.Object.getOwnPropertyNames(a))s.includes(t)||(yield*n(e.additionalProperties,o,`${i}/${t}`,a[t]));for(const t of s){const r=e.properties[t];(e.required&&e.required.includes(t)||void 0!==a[t])&&(yield*n(r,o,`${i}/${t}`,a[t]))}}(f,g,u,d);case"Promise":return yield*function*(e,t,n,o){"object"==typeof o&&"function"==typeof o.then||(yield{type:l.Promise,schema:e,path:n,value:o,message:"Expected Promise"})}(f,0,u,d);case"Record":return yield*function*(e,t,o,i){if(r.TypeSystem.AllowArrayObjects){if("object"!=typeof i||null===i||i instanceof globalThis.Date)return yield{type:l.Object,schema:e,path:o,value:i,message:"Expected object"}}else if("object"!=typeof i||null===i||i instanceof globalThis.Date||globalThis.Array.isArray(i))return yield{type:l.Object,schema:e,path:o,value:i,message:"Expected object"};const[a,s]=globalThis.Object.entries(e.patternProperties)[0],c=new RegExp(a);if(!globalThis.Object.getOwnPropertyNames(i).every((e=>c.test(e)))){const t="^(0|[1-9][0-9]*)$"===a,n=t?l.RecordKeyNumeric:l.RecordKeyString,r=t?"Expected all object property keys to be numeric":"Expected all object property keys to be strings";return yield{type:n,schema:e,path:o,value:i,message:r}}for(const[e,r]of globalThis.Object.entries(i))yield*n(s,t,`${o}/${e}`,r)}(f,g,u,d);case"Ref":return yield*function*(e,t,o,r){const i=t.find((t=>t.$id===e.$ref));if(void 0===i)throw new Error(`ValueErrors.Ref: Cannot find schema with $id '${e.$ref}'.`);yield*n(i,t,o,r)}(f,g,u,d);case"Self":return yield*function*(e,t,o,r){const i=t.find((t=>t.$id===e.$ref));if(void 0===i)throw new Error(`ValueErrors.Self: Cannot find schema with $id '${e.$ref}'.`);yield*n(i,t,o,r)}(f,g,u,d);case"String":return yield*function*(e,n,o,r){if("string"!=typeof r)return yield{type:l.String,schema:e,path:o,value:r,message:"Expected string"};!t(e.minLength)||r.length>=e.minLength||(yield{type:l.StringMinLength,schema:e,path:o,value:r,message:`Expected string length greater or equal to ${e.minLength}`}),!t(e.maxLength)||r.length<=e.maxLength||(yield{type:l.StringMaxLength,schema:e,path:o,value:r,message:`Expected string length less or equal to ${e.maxLength}`}),void 0!==e.pattern&&(new RegExp(e.pattern).test(r)||(yield{type:l.StringPattern,schema:e,path:o,value:r,message:`Expected string to match pattern ${e.pattern}`})),void 0!==e.format&&(i.Format.Has(e.format)?i.Format.Get(e.format)(r)||(yield{type:l.StringFormat,schema:e,path:o,value:r,message:`Expected string to match format '${e.format}'`}):yield{type:l.StringFormatUnknown,schema:e,path:o,value:r,message:`Unknown string format '${e.format}'`})}(f,0,u,d);case"Tuple":return yield*function*(e,t,o,r){if(!globalThis.Array.isArray(r))return yield{type:l.Array,schema:e,path:o,value:r,message:"Expected Array"};if(void 0===e.items&&0!==r.length)return yield{type:l.TupleZeroLength,schema:e,path:o,value:r,message:"Expected tuple to have 0 elements"};if(r.length!==e.maxItems&&(yield{type:l.TupleLength,schema:e,path:o,value:r,message:`Expected tuple to have ${e.maxItems} elements`}),e.items)for(let i=0;i0&&(yield{type:l.Union,schema:e,path:o,value:r,message:"Expected value of union"})}(f,g,u,d);case"Uint8Array":return yield*function*(e,n,o,r){if(!(r instanceof globalThis.Uint8Array))return yield{type:l.Uint8Array,schema:e,path:o,value:r,message:"Expected Uint8Array"};!t(e.maxByteLength)||r.length<=e.maxByteLength||(yield{type:l.Uint8ArrayMaxByteLength,schema:e,path:o,value:r,message:`Expected Uint8Array to have a byte length less or equal to ${e.maxByteLength}`}),!t(e.minByteLength)||r.length>=e.minByteLength||(yield{type:l.Uint8ArrayMinByteLength,schema:e,path:o,value:r,message:`Expected Uint8Array to have a byte length greater or equal to ${e.maxByteLength}`})}(f,0,u,d);case"Void":return yield*function*(e,t,n,o){if(null!==o)return yield{type:l.Void,schema:e,path:n,value:o,message:"Expected null"}}(f,0,u,d);default:if(!a.Custom.Has(f[o.Kind]))throw new c(e);return yield*function*(e,t,n,r){if(!a.Custom.Get(e[o.Kind])(e,r))return yield{type:l.Custom,schema:e,path:n,value:r,message:`Expected kind ${e[o.Kind]}`}}(f,0,u,d)}}e.Errors=function*(e,t,o){yield*n(e,t,"",o)}}(t.ValueErrors||(t.ValueErrors={}))},91162:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(69508),t)},80367:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Format=void 0,function(e){const t=new Map;e.Clear=function(){return t.clear()},e.Has=function(e){return t.has(e)},e.Set=function(e,n){t.set(e,n)},e.Get=function(e){return t.get(e)}}(t.Format||(t.Format={}))},71804:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(80367),t)},53793:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeGuard=t.TypeGuardUnknownTypeError=void 0;const o=n(33917),r=n(470);class i extends Error{constructor(e){super("TypeGuard: Unknown type"),this.schema=e}}t.TypeGuardUnknownTypeError=i,function(e){function t(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function n(e){return"object"==typeof e&&null!==e&&Array.isArray(e)}function a(e){try{return new RegExp(e),!0}catch{return!1}}function s(e){if("string"!=typeof e)return!1;for(let t=0;t=7&&n<=13||27===n||127===n)return!1}return!0}function l(e){return"string"==typeof e}function c(e){return"number"==typeof e&&!isNaN(e)}function p(e){return"boolean"==typeof e}function u(e){return void 0===e||void 0!==e&&c(e)}function d(e){return void 0===e||void 0!==e&&p(e)}function g(e){return void 0===e||void 0!==e&&l(e)}function f(e){return t(e)&&"Any"===e[r.Kind]&&g(e.$id)}function h(e){return t(e)&&"Array"===e[r.Kind]&&"array"===e.type&&g(e.$id)&&M(e.items)&&u(e.minItems)&&u(e.maxItems)&&d(e.uniqueItems)}function m(e){return t(e)&&"Boolean"===e[r.Kind]&&"boolean"===e.type&&g(e.$id)}function y(e){if(!(t(e)&&"Constructor"===e[r.Kind]&&"object"===e.type&&"Constructor"===e.instanceOf&&g(e.$id)&&n(e.parameters)&&M(e.returns)))return!1;for(const t of e.parameters)if(!M(t))return!1;return!0}function v(e){return t(e)&&"Date"===e[r.Kind]&&"object"===e.type&&"Date"===e.instanceOf&&g(e.$id)&&u(e.minimumTimestamp)&&u(e.maximumTimestamp)&&u(e.exclusiveMinimumTimestamp)&&u(e.exclusiveMaximumTimestamp)}function b(e){if(!(t(e)&&"Function"===e[r.Kind]&&"object"===e.type&&"Function"===e.instanceOf&&g(e.$id)&&n(e.parameters)&&M(e.returns)))return!1;for(const t of e.parameters)if(!M(t))return!1;return!0}function O(e){return t(e)&&"Integer"===e[r.Kind]&&"integer"===e.type&&g(e.$id)&&u(e.multipleOf)&&u(e.minimum)&&u(e.maximum)&&u(e.exclusiveMinimum)&&u(e.exclusiveMaximum)}function w(e){return t(e)&&"Literal"===e[r.Kind]&&g(e.$id)&&(l(e.const)||c(e.const)||p(e.const))}function P(e){return t(e)&&"Never"===e[r.Kind]&&n(e.allOf)&&2===e.allOf.length&&t(e.allOf[0])&&l(e.allOf[0].type)&&"boolean"===e.allOf[0].type&&!1===e.allOf[0].const&&t(e.allOf[1])&&l(e.allOf[1].type)&&"boolean"===e.allOf[1].type&&!0===e.allOf[1].const}function x(e){return t(e)&&"Null"===e[r.Kind]&&"null"===e.type&&g(e.$id)}function S(e){return t(e)&&"Number"===e[r.Kind]&&"number"===e.type&&g(e.$id)&&u(e.multipleOf)&&u(e.minimum)&&u(e.maximum)&&u(e.exclusiveMinimum)&&u(e.exclusiveMaximum)}function T(e){if(!(t(e)&&"Object"===e[r.Kind]&&"object"===e.type&&g(e.$id)&&t(e.properties)&&(d(e.additionalProperties)||(n=e.additionalProperties,void 0===n||M(n)))&&u(e.minProperties)&&u(e.maxProperties)))return!1;var n;for(const[t,n]of Object.entries(e.properties)){if(!s(t))return!1;if(!M(n))return!1}return!0}function A(e){return t(e)&&"Promise"===e[r.Kind]&&"object"===e.type&&"Promise"===e.instanceOf&&g(e.$id)&&M(e.item)}function E(e){if(!(t(e)&&"Record"===e[r.Kind]&&"object"===e.type&&g(e.$id)&&!1===e.additionalProperties&&t(e.patternProperties)))return!1;const n=Object.keys(e.patternProperties);return 1===n.length&&!!a(n[0])&&!!M(e.patternProperties[n[0]])}function j(e){return t(e)&&"Self"===e[r.Kind]&&g(e.$id)&&l(e.$ref)}function k(e){return t(e)&&"Ref"===e[r.Kind]&&g(e.$id)&&l(e.$ref)}function _(e){return t(e)&&"String"===e[r.Kind]&&"string"===e.type&&g(e.$id)&&u(e.minLength)&&u(e.maxLength)&&(void 0===(n=e.pattern)||void 0!==n&&l(n)&&s(n)&&a(n))&&function(e){return void 0===e||void 0!==e&&l(e)&&s(e)}(e.format);var n}function C(e){if(!(t(e)&&"Tuple"===e[r.Kind]&&"array"===e.type&&g(e.$id)&&c(e.minItems)&&c(e.maxItems)&&e.minItems===e.maxItems))return!1;if(void 0===e.items&&void 0===e.additionalItems&&0===e.minItems)return!0;if(!n(e.items))return!1;for(const t of e.items)if(!M(t))return!1;return!0}function I(e){return t(e)&&"Undefined"===e[r.Kind]&&"null"===e.type&&"Undefined"===e.typeOf&&g(e.$id)}function R(e){if(!(t(e)&&"Union"===e[r.Kind]&&n(e.anyOf)&&g(e.$id)))return!1;for(const t of e.anyOf)if(!M(t))return!1;return!0}function N(e){return t(e)&&"Uint8Array"===e[r.Kind]&&"object"===e.type&&g(e.$id)&&"Uint8Array"===e.instanceOf&&u(e.minByteLength)&&u(e.maxByteLength)}function D(e){return t(e)&&"Unknown"===e[r.Kind]&&g(e.$id)}function L(e){return t(e)&&"Void"===e[r.Kind]&&"null"===e.type&&"Void"===e.typeOf&&g(e.$id)}function B(e){return t(e)&&l(e[r.Kind])&&o.Custom.Has(e[r.Kind])}function M(e){return f(e)||h(e)||m(e)||y(e)||v(e)||b(e)||O(e)||w(e)||P(e)||x(e)||S(e)||T(e)||A(e)||E(e)||j(e)||k(e)||_(e)||C(e)||I(e)||R(e)||N(e)||D(e)||L(e)||B(e)}e.TAny=f,e.TArray=h,e.TBoolean=m,e.TConstructor=y,e.TDate=v,e.TFunction=b,e.TInteger=O,e.TLiteral=w,e.TNever=P,e.TNull=x,e.TNumber=S,e.TObject=T,e.TPromise=A,e.TRecord=E,e.TSelf=j,e.TRef=k,e.TString=_,e.TTuple=C,e.TUndefined=I,e.TUnion=R,e.TUint8Array=N,e.TUnknown=D,e.TVoid=L,e.TUserDefined=B,e.TSchema=M,e.Assert=function(e,t=[]){if(!M(e))throw new i(e);for(const e of t)if(!M(e))throw new i(e)}}(t.TypeGuard||(t.TypeGuard={}))},19859:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(53793),t)},29721:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueHash=t.ValueHashError=void 0;class n extends Error{constructor(e){super("Hash: Unable to hash value"),this.value=e}}t.ValueHashError=n,function(e){let t;!function(e){e[e.Undefined=0]="Undefined",e[e.Null=1]="Null",e[e.Boolean=2]="Boolean",e[e.Number=3]="Number",e[e.String=4]="String",e[e.Object=5]="Object",e[e.Array=6]="Array",e[e.Date=7]="Date",e[e.Uint8Array=8]="Uint8Array"}(t||(t={}));let o=globalThis.BigInt("14695981039346656037");const[r,i]=[globalThis.BigInt("1099511628211"),globalThis.BigInt("2")**globalThis.BigInt("64")],a=globalThis.Array.from({length:256}).map(((e,t)=>globalThis.BigInt(t))),s=new globalThis.Float64Array(1),l=new globalThis.DataView(s.buffer),c=new globalThis.Uint8Array(s.buffer);function p(e){return e instanceof globalThis.Date}function u(e){return e instanceof globalThis.Uint8Array}function d(e){return globalThis.Array.isArray(e)}function g(e){if(d(e))!function(e){f(t.Array);for(const t of e)g(t)}(e);else if(function(e){return"boolean"==typeof e}(e))!function(e){f(t.Boolean),f(e?1:0)}(e);else if(p(e))!function(e){f(t.Date),g(e.getTime())}(e);else if(function(e){return null===e}(e))f(t.Null);else if(function(e){return"number"==typeof e}(e))!function(e){f(t.Number),l.setFloat64(0,e);for(const e of c)f(e)}(e);else if(function(e){return"object"==typeof e&&null!==e&&!d(e)&&!p(e)&&!u(e)}(e))!function(e){f(t.Object);for(const t of globalThis.Object.keys(e).sort())g(t),g(e[t])}(e);else if(function(e){return"string"==typeof e}(e))!function(e){f(t.String);for(let t=0;t{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TypeSystem=void 0,(n=t.TypeSystem||(t.TypeSystem={})).AllowArrayObjects=!1,n.AllowNaN=!1},470:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Type=t.TypeBuilder=t.Modifier=t.Hint=t.Kind=void 0,t.Kind=Symbol.for("TypeBox.Kind"),t.Hint=Symbol.for("TypeBox.Hint"),t.Modifier=Symbol.for("TypeBox.Modifier");let n=0;class o{ReadonlyOptional(e){return{[t.Modifier]:"ReadonlyOptional",...e}}Readonly(e){return{[t.Modifier]:"Readonly",...e}}Optional(e){return{[t.Modifier]:"Optional",...e}}Any(e={}){return this.Create({...e,[t.Kind]:"Any"})}Array(e,n={}){return this.Create({...n,[t.Kind]:"Array",type:"array",items:e})}Boolean(e={}){return this.Create({...e,[t.Kind]:"Boolean",type:"boolean"})}ConstructorParameters(e,t={}){return this.Tuple([...e.parameters],{...t})}Constructor(e,n,o={}){if("Tuple"===e[t.Kind]){const r=void 0===e.items?[]:e.items;return this.Create({...o,[t.Kind]:"Constructor",type:"object",instanceOf:"Constructor",parameters:r,returns:n})}if(globalThis.Array.isArray(e))return this.Create({...o,[t.Kind]:"Constructor",type:"object",instanceOf:"Constructor",parameters:e,returns:n});throw new Error("TypeBuilder.Constructor: Invalid parameters")}Date(e={}){return this.Create({...e,[t.Kind]:"Date",type:"object",instanceOf:"Date"})}Enum(e,n={}){const o=Object.keys(e).filter((e=>isNaN(e))).map((t=>e[t])).map((e=>"string"==typeof e?{[t.Kind]:"Literal",type:"string",const:e}:{[t.Kind]:"Literal",type:"number",const:e}));return this.Create({...n,[t.Kind]:"Union",[t.Hint]:"Enum",anyOf:o})}Function(e,n,o={}){if("Tuple"===e[t.Kind]){const r=void 0===e.items?[]:e.items;return this.Create({...o,[t.Kind]:"Function",type:"object",instanceOf:"Function",parameters:r,returns:n})}if(globalThis.Array.isArray(e))return this.Create({...o,[t.Kind]:"Function",type:"object",instanceOf:"Function",parameters:e,returns:n});throw new Error("TypeBuilder.Function: Invalid parameters")}InstanceType(e,t={}){return{...t,...this.Clone(e.returns)}}Integer(e={}){return this.Create({...e,[t.Kind]:"Integer",type:"integer"})}Intersect(e,n={}){const o=e=>e[t.Modifier]&&"Optional"===e[t.Modifier]||"ReadonlyOptional"===e[t.Modifier],[r,i]=[new Set,new Set];for(const t of e)for(const[e,n]of Object.entries(t.properties))o(n)&&i.add(e);for(const t of e)for(const e of Object.keys(t.properties))i.has(e)||r.add(e);const a={};for(const n of e)for(const[e,o]of Object.entries(n.properties))a[e]=void 0===a[e]?o:{[t.Kind]:"Union",anyOf:[a[e],{...o}]};return r.size>0?this.Create({...n,[t.Kind]:"Object",type:"object",properties:a,required:[...r]}):this.Create({...n,[t.Kind]:"Object",type:"object",properties:a})}KeyOf(e,n={}){const o=Object.keys(e.properties).map((e=>this.Create({...n,[t.Kind]:"Literal",type:"string",const:e})));return this.Create({...n,[t.Kind]:"Union",[t.Hint]:"KeyOf",anyOf:o})}Literal(e,n={}){return this.Create({...n,[t.Kind]:"Literal",const:e,type:typeof e})}Never(e={}){return this.Create({...e,[t.Kind]:"Never",allOf:[{type:"boolean",const:!1},{type:"boolean",const:!0}]})}Null(e={}){return this.Create({...e,[t.Kind]:"Null",type:"null"})}Number(e={}){return this.Create({...e,[t.Kind]:"Number",type:"number"})}Object(e,n={}){const o=Object.keys(e),r=o.filter((n=>{const o=e[n][t.Modifier];return o&&("Optional"===o||"ReadonlyOptional"===o)})),i=o.filter((e=>!r.includes(e)));return i.length>0?this.Create({...n,[t.Kind]:"Object",type:"object",properties:e,required:i}):this.Create({...n,[t.Kind]:"Object",type:"object",properties:e})}Omit(e,n,o={}){const r="Union"===n[t.Kind]?n.anyOf.map((e=>e.const)):n,i={...this.Clone(e),...o,[t.Hint]:"Omit"};i.required&&(i.required=i.required.filter((e=>!r.includes(e))),0===i.required.length&&delete i.required);for(const e of Object.keys(i.properties))r.includes(e)&&delete i.properties[e];return this.Create(i)}Parameters(e,n={}){return t.Type.Tuple(e.parameters,{...n})}Partial(e,n={}){const o={...this.Clone(e),...n,[t.Hint]:"Partial"};delete o.required;for(const e of Object.keys(o.properties)){const n=o.properties[e];switch(n[t.Modifier]){case"ReadonlyOptional":case"Readonly":n[t.Modifier]="ReadonlyOptional";break;default:n[t.Modifier]="Optional"}}return this.Create(o)}Pick(e,n,o={}){const r="Union"===n[t.Kind]?n.anyOf.map((e=>e.const)):n,i={...this.Clone(e),...o,[t.Hint]:"Pick"};i.required&&(i.required=i.required.filter((e=>r.includes(e))),0===i.required.length&&delete i.required);for(const e of Object.keys(i.properties))r.includes(e)||delete i.properties[e];return this.Create(i)}Promise(e,n={}){return this.Create({...n,[t.Kind]:"Promise",type:"object",instanceOf:"Promise",item:e})}Record(e,n,o={}){if("Union"===e[t.Kind])return this.Object(e.anyOf.reduce(((e,t)=>({...e,[t.const]:n})),{}),{...o,[t.Hint]:"Record"});const r=["Integer","Number"].includes(e[t.Kind])?"^(0|[1-9][0-9]*)$":"String"===e[t.Kind]&&e.pattern?e.pattern:"^.*$";return this.Create({...o,[t.Kind]:"Record",type:"object",patternProperties:{[r]:n},additionalProperties:!1})}Recursive(e,o={}){void 0===o.$id&&(o.$id="T"+n++);const r=e({[t.Kind]:"Self",$ref:`${o.$id}`});return r.$id=o.$id,this.Create({...o,...r})}Ref(e,n={}){if(void 0===e.$id)throw Error("TypeBuilder.Ref: Referenced schema must specify an $id");return this.Create({...n,[t.Kind]:"Ref",$ref:e.$id})}RegEx(e,n={}){return this.Create({...n,[t.Kind]:"String",type:"string",pattern:e.source})}Required(e,n={}){const o={...this.Clone(e),...n,[t.Hint]:"Required"};o.required=Object.keys(o.properties);for(const e of Object.keys(o.properties)){const n=o.properties[e];switch(n[t.Modifier]){case"ReadonlyOptional":case"Readonly":n[t.Modifier]="Readonly";break;default:delete n[t.Modifier]}}return this.Create(o)}ReturnType(e,t={}){return{...t,...this.Clone(e.returns)}}Strict(e){return JSON.parse(JSON.stringify(e))}String(e={}){return this.Create({...e,[t.Kind]:"String",type:"string"})}Tuple(e,n={}){const o=e.length,r=e.length,i=e.length>0?{...n,[t.Kind]:"Tuple",type:"array",items:e,additionalItems:!1,minItems:o,maxItems:r}:{...n,[t.Kind]:"Tuple",type:"array",minItems:o,maxItems:r};return this.Create(i)}Undefined(e={}){return this.Create({...e,[t.Kind]:"Undefined",type:"null",typeOf:"Undefined"})}Union(e,n={}){return 0===e.length?t.Type.Never({...n}):this.Create({...n,[t.Kind]:"Union",anyOf:e})}Uint8Array(e={}){return this.Create({...e,[t.Kind]:"Uint8Array",type:"object",instanceOf:"Uint8Array"})}Unknown(e={}){return this.Create({...e,[t.Kind]:"Unknown"})}Unsafe(e={}){return this.Create({...e,[t.Kind]:e[t.Kind]||"Unsafe"})}Void(e={}){return this.Create({...e,[t.Kind]:"Void",type:"null",typeOf:"Void"})}Create(e){return e}Clone(e){return"object"!=typeof(t=e)||null===t||Array.isArray(t)?(e=>"object"==typeof e&&null!==e&&Array.isArray(e))(e)?e.map((e=>this.Clone(e))):e:Object.keys(e).reduce(((t,n)=>({...t,[n]:this.Clone(e[n])})),Object.getOwnPropertySymbols(e).reduce(((t,n)=>({...t,[n]:this.Clone(e[n])})),{}));var t}}t.TypeBuilder=o,t.Type=new o},3209:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(34659);class r extends o.EventTarget{constructor(){throw super(),new TypeError("AbortSignal cannot be constructed directly")}get aborted(){const e=i.get(this);if("boolean"!=typeof e)throw new TypeError("Expected 'this' to be an 'AbortSignal' object, but got "+(null===this?"null":typeof this));return e}}o.defineEventAttribute(r.prototype,"abort");const i=new WeakMap;Object.defineProperties(r.prototype,{aborted:{enumerable:!0}}),"function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(r.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});class a{constructor(){s.set(this,function(){const e=Object.create(r.prototype);return o.EventTarget.call(e),i.set(e,!1),e}())}get signal(){return l(this)}abort(){var e;e=l(this),!1===i.get(e)&&(i.set(e,!0),e.dispatchEvent({type:"abort"}))}}const s=new WeakMap;function l(e){const t=s.get(e);if(null==t)throw new TypeError("Expected 'this' to be an 'AbortController' object, but got "+(null===e?"null":typeof e));return t}Object.defineProperties(a.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}}),"function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(a.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"}),t.AbortController=a,t.AbortSignal=r,t.default=a,e.exports=a,e.exports.AbortController=e.exports.default=a,e.exports.AbortSignal=r},28214:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const r=n(82361),i=o(n(71053)),a=o(n(14142)),s=i.default("agent-base");function l(){const{stack:e}=new Error;return"string"==typeof e&&e.split("\n").some((e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:")))}function c(e,t){return new c.Agent(e,t)}!function(e){class t extends r.EventEmitter{constructor(e,t){super();let n=t;"function"==typeof e?this.callback=e:e&&(n=e),this.timeout=null,n&&"number"==typeof n.timeout&&(this.timeout=n.timeout),this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){return"number"==typeof this.explicitDefaultPort?this.explicitDefaultPort:l()?443:80}set defaultPort(e){this.explicitDefaultPort=e}get protocol(){return"string"==typeof this.explicitProtocol?this.explicitProtocol:l()?"https:":"http:"}set protocol(e){this.explicitProtocol=e}callback(e,t,n){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(e,t){const n=Object.assign({},t);"boolean"!=typeof n.secureEndpoint&&(n.secureEndpoint=l()),null==n.host&&(n.host="localhost"),null==n.port&&(n.port=n.secureEndpoint?443:80),null==n.protocol&&(n.protocol=n.secureEndpoint?"https:":"http:"),n.host&&n.path&&delete n.path,delete n.agent,delete n.hostname,delete n._defaultAgent,delete n.defaultPort,delete n.createConnection,e._last=!0,e.shouldKeepAlive=!1;let o=!1,r=null;const i=n.timeout||this.timeout,c=t=>{e._hadError||(e.emit("error",t),e._hadError=!0)},p=()=>{r=null,o=!0;const e=new Error(`A "socket" was not created for HTTP request before ${i}ms`);e.code="ETIMEOUT",c(e)},u=e=>{o||(null!==r&&(clearTimeout(r),r=null),c(e))},d=t=>{if(o)return;if(null!=r&&(clearTimeout(r),r=null),i=t,Boolean(i)&&"function"==typeof i.addRequest)return s("Callback returned another Agent instance %o",t.constructor.name),void t.addRequest(e,n);var i;if(t)return t.once("free",(()=>{this.freeSocket(t,n)})),void e.onSocket(t);const a=new Error(`no Duplex stream was returned to agent-base for \`${e.method} ${e.path}\``);c(a)};if("function"==typeof this.callback){this.promisifiedCallback||(this.callback.length>=3?(s("Converting legacy callback function to promise"),this.promisifiedCallback=a.default(this.callback)):this.promisifiedCallback=this.callback),"number"==typeof i&&i>0&&(r=setTimeout(p,i)),"port"in n&&"number"!=typeof n.port&&(n.port=Number(n.port));try{s("Resolving socket for %o request: %o",n.protocol,`${e.method} ${e.path}`),Promise.resolve(this.promisifiedCallback(e,n)).then(d,u)}catch(e){Promise.reject(e).catch(u)}}else c(new Error("`callback` is not defined"))}freeSocket(e,t){s("Freeing socket %o %o",e.constructor.name,t),e.destroy()}destroy(){s("Destroying agent %o",this.constructor.name)}}e.Agent=t,e.prototype=e.Agent.prototype}(c||(c={})),e.exports=c},14142:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n){return new Promise(((o,r)=>{e.call(this,t,n,((e,t)=>{e?r(e):o(t)}))}))}}},27858:e=>{"use strict";e.exports=e=>null==e?[]:Array.isArray(e)?e:"string"==typeof e?[e]:"function"==typeof e[Symbol.iterator]?[...e]:[e]},62720:(e,t,n)=>{e.exports={parallel:n(61286),serial:n(74694),serialOrdered:n(87458)}},34653:e=>{function t(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}e.exports=function(e){Object.keys(e.jobs).forEach(t.bind(e)),e.jobs={}}},5209:(e,t,n)=>{var o=n(45623);e.exports=function(e){var t=!1;return o((function(){t=!0})),function(n,r){t?e(n,r):o((function(){e(n,r)}))}}},45623:e=>{e.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}},28773:(e,t,n)=>{var o=n(5209),r=n(34653);e.exports=function(e,t,n,i){var a=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[a]=function(e,t,n,r){return 2==e.length?e(n,o(r)):e(n,t,o(r))}(t,a,e[a],(function(e,t){a in n.jobs&&(delete n.jobs[a],e?r(n):n.results[a]=t,i(e,n.results))}))}},67630:e=>{e.exports=function(e,t){var n=!Array.isArray(e),o={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&o.keyedList.sort(n?t:function(n,o){return t(e[n],e[o])}),o}},45067:(e,t,n)=>{var o=n(34653),r=n(5209);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,o(this),r(e)(null,this.results))}},61286:(e,t,n)=>{var o=n(28773),r=n(67630),i=n(45067);e.exports=function(e,t,n){for(var a=r(e);a.index<(a.keyedList||e).length;)o(e,t,a,(function(e,t){e?n(e,t):0!==Object.keys(a.jobs).length||n(null,a.results)})),a.index++;return i.bind(a,n)}},74694:(e,t,n)=>{var o=n(87458);e.exports=function(e,t,n){return o(e,t,null,n)}},87458:(e,t,n)=>{var o=n(28773),r=n(67630),i=n(45067);function a(e,t){return et?1:0}e.exports=function(e,t,n,a){var s=r(e,n);return o(e,t,s,(function n(r,i){r?a(r,i):(s.index++,s.index<(s.keyedList||e).length?o(e,t,s,n):a(null,s.results))})),i.bind(s,a)},e.exports.ascending=a,e.exports.descending=function(e,t){return-1*a(e,t)}},41354:(e,t,n)=>{e.exports=n(28062)},65783:(e,t,n)=>{"use strict";var o=n(17201),r=n(81587),i=n(9337),a=n(8020),s=n(13685),l=n(95687),c=n(72679).http,p=n(72679).https,u=n(57310),d=n(59796),g=n(94534).version,f=n(36588),h=n(9329),m=n(94415),y=n(64692),v=/https:?/;function b(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var o=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+o}e.beforeRedirect=function(e){e.headers.host=e.host,b(e,t,e.href)}}e.exports=function(e){return new Promise((function(t,n){var O;function w(){e.cancelToken&&e.cancelToken.unsubscribe(O),e.signal&&e.signal.removeEventListener("abort",O)}var P=function(e){w(),t(e)},x=!1,S=function(e){w(),x=!0,n(e)},T=e.data,A=e.headers,E={};if(Object.keys(A).forEach((function(e){E[e.toLowerCase()]=e})),"user-agent"in E?A[E["user-agent"]]||delete A[E["user-agent"]]:A["User-Agent"]="axios/"+g,T&&!o.isStream(T)){if(Buffer.isBuffer(T));else if(o.isArrayBuffer(T))T=Buffer.from(new Uint8Array(T));else{if(!o.isString(T))return S(f("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));T=Buffer.from(T,"utf-8")}if(e.maxBodyLength>-1&&T.length>e.maxBodyLength)return S(f("Request body larger than maxBodyLength limit",e));E["content-length"]||(A["Content-Length"]=T.length)}var j=void 0;e.auth&&(j=(e.auth.username||"")+":"+(e.auth.password||""));var k=i(e.baseURL,e.url),_=u.parse(k),C=_.protocol||"http:";if(!j&&_.auth){var I=_.auth.split(":");j=(I[0]||"")+":"+(I[1]||"")}j&&E.authorization&&delete A[E.authorization];var R=v.test(C),N=R?e.httpsAgent:e.httpAgent;try{a(_.path,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){var D=new Error(t.message);D.config=e,D.url=e.url,D.exists=!0,S(D)}var L={path:a(_.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:A,agent:N,agents:{http:e.httpAgent,https:e.httpsAgent},auth:j};e.socketPath?L.socketPath=e.socketPath:(L.hostname=_.hostname,L.port=_.port);var B,M=e.proxy;if(!M&&!1!==M){var F=C.slice(0,-1)+"_proxy",U=process.env[F]||process.env[F.toUpperCase()];if(U){var q=u.parse(U),V=process.env.no_proxy||process.env.NO_PROXY,H=!0;if(V&&(H=!V.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||"."===e[0]&&_.hostname.substr(_.hostname.length-e.length)===e||_.hostname===e)}))),H&&(M={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var G=q.auth.split(":");M.auth={username:G[0],password:G[1]}}}}M&&(L.headers.host=_.hostname+(_.port?":"+_.port:""),b(L,M,C+"//"+_.hostname+(_.port?":"+_.port:"")+L.path));var W=R&&(!M||v.test(M.protocol));e.transport?B=e.transport:0===e.maxRedirects?B=W?l:s:(e.maxRedirects&&(L.maxRedirects=e.maxRedirects),B=W?p:c),e.maxBodyLength>-1&&(L.maxBodyLength=e.maxBodyLength),e.insecureHTTPParser&&(L.insecureHTTPParser=e.insecureHTTPParser);var z=B.request(L,(function(t){if(!z.aborted){var n=t,i=t.req||z;if(204!==t.statusCode&&"HEAD"!==i.method&&!1!==e.decompress)switch(t.headers["content-encoding"]){case"gzip":case"compress":case"deflate":n=n.pipe(d.createUnzip()),delete t.headers["content-encoding"]}var a={status:t.statusCode,statusText:t.statusMessage,headers:t.headers,config:e,request:i};if("stream"===e.responseType)a.data=n,r(P,S,a);else{var s=[],l=0;n.on("data",(function(t){s.push(t),l+=t.length,e.maxContentLength>-1&&l>e.maxContentLength&&(x=!0,n.destroy(),S(f("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,i)))})),n.on("aborted",(function(){x||(n.destroy(),S(f("error request aborted",e,"ERR_REQUEST_ABORTED",i)))})),n.on("error",(function(t){z.aborted||S(h(t,e,null,i))})),n.on("end",(function(){try{var t=1===s.length?s[0]:Buffer.concat(s);"arraybuffer"!==e.responseType&&(t=t.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(t=o.stripBOM(t))),a.data=t}catch(t){S(h(t,e,t.code,a.request,a))}r(P,S,a)}))}}}));if(z.on("error",(function(t){z.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==t.code||S(h(t,e,null,z))})),z.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){var J=parseInt(e.timeout,10);if(isNaN(J))return void S(f("error trying to parse `config.timeout` to int",e,"ERR_PARSE_TIMEOUT",z));z.setTimeout(J,(function(){z.abort();var t;t=e.timeoutErrorMessage?e.timeoutErrorMessage:"timeout of "+e.timeout+"ms exceeded";var n=e.transitional||m;S(f(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",z))}))}(e.cancelToken||e.signal)&&(O=function(e){z.aborted||(z.abort(),S(!e||e&&e.type?new y("canceled"):e))},e.cancelToken&&e.cancelToken.subscribe(O),e.signal&&(e.signal.aborted?O():e.signal.addEventListener("abort",O))),o.isStream(T)?T.on("error",(function(t){S(h(t,e,null,z))})).pipe(z):z.end(T)}))}},22581:(e,t,n)=>{"use strict";var o=n(17201),r=n(81587),i=n(90069),a=n(8020),s=n(9337),l=n(81767),c=n(83848),p=n(36588),u=n(94415),d=n(64692);e.exports=function(e){return new Promise((function(t,n){var g,f=e.data,h=e.headers,m=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(g),e.signal&&e.signal.removeEventListener("abort",g)}o.isFormData(f)&&delete h["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",O=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(b+":"+O)}var w=s(e.baseURL,e.url);function P(){if(v){var o="getAllResponseHeaders"in v?l(v.getAllResponseHeaders()):null,i={data:m&&"text"!==m&&"json"!==m?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:o,config:e,request:v};r((function(e){t(e),y()}),(function(e){n(e),y()}),i),v=null}}if(v.open(e.method.toUpperCase(),a(w,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=P:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(P)},v.onabort=function(){v&&(n(p("Request aborted",e,"ECONNABORTED",v)),v=null)},v.onerror=function(){n(p("Network Error",e,null,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",o=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(p(t,e,o.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},o.isStandardBrowserEnv()){var x=(e.withCredentials||c(w))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;x&&(h[e.xsrfHeaderName]=x)}"setRequestHeader"in v&&o.forEach(h,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete h[t]:v.setRequestHeader(t,e)})),o.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),m&&"json"!==m&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(g=function(e){v&&(n(!e||e&&e.type?new d("canceled"):e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(g),e.signal&&(e.signal.aborted?g():e.signal.addEventListener("abort",g))),f||(f=null),v.send(f)}))}},28062:(e,t,n)=>{"use strict";var o=n(17201),r=n(37087),i=n(68727),a=n(10659),s=function e(t){var n=new i(t),s=r(i.prototype.request,n);return o.extend(s,i.prototype,n),o.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(19314));s.Axios=i,s.Cancel=n(64692),s.CancelToken=n(97398),s.isCancel=n(17162),s.VERSION=n(94534).version,s.all=function(e){return Promise.all(e)},s.spread=n(82459),s.isAxiosError=n(90034),e.exports=s,e.exports.default=s},64692:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},97398:(e,t,n)=>{"use strict";var o=n(64692);function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,o=n._listeners.length;for(t=0;t{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},68727:(e,t,n)=>{"use strict";var o=n(17201),r=n(8020),i=n(33649),a=n(43088),s=n(10659),l=n(85881),c=l.validators;function p(e){this.defaults=e,this.interceptors={request:new i,response:new i}}p.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&l.assertOptions(n,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var o=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));var i,p=[];if(this.interceptors.response.forEach((function(e){p.push(e.fulfilled,e.rejected)})),!r){var u=[a,void 0];for(Array.prototype.unshift.apply(u,o),u=u.concat(p),i=Promise.resolve(t);u.length;)i=i.then(u.shift(),u.shift());return i}for(var d=t;o.length;){var g=o.shift(),f=o.shift();try{d=g(d)}catch(e){f(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;p.length;)i=i.then(p.shift(),p.shift());return i},p.prototype.getUri=function(e){return e=s(this.defaults,e),r(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],(function(e){p.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),o.forEach(["post","put","patch"],(function(e){p.prototype[e]=function(t,n,o){return this.request(s(o||{},{method:e,url:t,data:n}))}})),e.exports=p},33649:(e,t,n)=>{"use strict";var o=n(17201);function r(){this.handlers=[]}r.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){o.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=r},9337:(e,t,n)=>{"use strict";var o=n(21569),r=n(5905);e.exports=function(e,t){return e&&!o(t)?r(e,t):t}},36588:(e,t,n)=>{"use strict";var o=n(9329);e.exports=function(e,t,n,r,i){var a=new Error(e);return o(a,t,n,r,i)}},43088:(e,t,n)=>{"use strict";var o=n(17201),r=n(93),i=n(17162),a=n(19314),s=n(64692);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=r.call(e,e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),o.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=r.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=r.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},9329:e=>{"use strict";e.exports=function(e,t,n,o,r){return e.config=t,n&&(e.code=n),e.request=o,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},10659:(e,t,n)=>{"use strict";var o=n(17201);e.exports=function(e,t){t=t||{};var n={};function r(e,t){return o.isPlainObject(e)&&o.isPlainObject(t)?o.merge(e,t):o.isPlainObject(t)?o.merge({},t):o.isArray(t)?t.slice():t}function i(n){return o.isUndefined(t[n])?o.isUndefined(e[n])?void 0:r(void 0,e[n]):r(e[n],t[n])}function a(e){if(!o.isUndefined(t[e]))return r(void 0,t[e])}function s(n){return o.isUndefined(t[n])?o.isUndefined(e[n])?void 0:r(void 0,e[n]):r(void 0,t[n])}function l(n){return n in t?r(e[n],t[n]):n in e?r(void 0,e[n]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return o.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,r=t(e);o.isUndefined(r)&&t!==l||(n[e]=r)})),n}},81587:(e,t,n)=>{"use strict";var o=n(36588);e.exports=function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(o("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},93:(e,t,n)=>{"use strict";var o=n(17201),r=n(19314);e.exports=function(e,t,n){var i=this||r;return o.forEach(n,(function(n){e=n.call(i,e,t)})),e}},19314:(e,t,n)=>{"use strict";var o=n(17201),r=n(91962),i=n(9329),a=n(94415),s={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,p={transitional:a,adapter:("undefined"!=typeof XMLHttpRequest?c=n(22581):"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(c=n(65783)),c),transformRequest:[function(e,t){return r(t,"Accept"),r(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),function(e,t,n){if(o.isString(e))try{return(0,JSON.parse)(e),o.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||p.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||r&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){p.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){p.headers[e]=o.merge(s)})),e.exports=p},94415:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},94534:e=>{e.exports={version:"0.26.1"}},37087:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),o=0;o{"use strict";var o=n(17201);function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(o.isURLSearchParams(t))i=t.toString();else{var a=[];o.forEach(t,(function(e,t){null!=e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,(function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},5905:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},90069:(e,t,n)=>{"use strict";var o=n(17201);e.exports=o.isStandardBrowserEnv()?{write:function(e,t,n,r,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),o.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),o.isString(r)&&s.push("path="+r),o.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},21569:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},90034:(e,t,n)=>{"use strict";var o=n(17201);e.exports=function(e){return o.isObject(e)&&!0===e.isAxiosError}},83848:(e,t,n)=>{"use strict";var o=n(17201);e.exports=o.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var o=e;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=o.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},91962:(e,t,n)=>{"use strict";var o=n(17201);e.exports=function(e,t){o.forEach(e,(function(n,o){o!==t&&o.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[o])}))}},81767:(e,t,n)=>{"use strict";var o=n(17201),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(o.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=o.trim(e.substr(0,i)).toLowerCase(),n=o.trim(e.substr(i+1)),t){if(a[t]&&r.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},82459:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},85881:(e,t,n)=>{"use strict";var o=n(94534).version,r={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){r[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={};r.transitional=function(e,t,n){function r(e,t){return"[Axios v"+o+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,a){if(!1===e)throw new Error(r(o," has been removed"+(t?" in "+t:"")));return t&&!i[o]&&(i[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,a)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var o=Object.keys(e),r=o.length;r-- >0;){var i=o[r],a=t[i];if(a){var s=e[i],l=void 0===s||a(s,i,e);if(!0!==l)throw new TypeError("option "+i+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:r}},17201:(e,t,n)=>{"use strict";var o=n(37087),r=Object.prototype.toString;function i(e){return Array.isArray(e)}function a(e){return void 0===e}function s(e){return"[object ArrayBuffer]"===r.call(e)}function l(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==r.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function p(e){return"[object Function]"===r.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,o=e.length;n{"use strict";t.byteLength=function(e){var t=l(e),n=t[0],o=t[1];return 3*(n+o)/4-o},t.toByteArray=function(e){var t,n,i=l(e),a=i[0],s=i[1],c=new r(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),p=0,u=s>0?a-4:a;for(n=0;n>16&255,c[p++]=t>>8&255,c[p++]=255&t;return 2===s&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,c[p++]=255&t),1===s&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,c[p++]=t>>8&255,c[p++]=255&t),c},t.fromByteArray=function(e){for(var t,o=e.length,r=o%3,i=[],a=16383,s=0,l=o-r;sl?l:s+a));return 1===r?(t=e[o-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===r&&(t=(e[o-2]<<8)+e[o-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),i.join("")};for(var n=[],o=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,o){for(var r,i,a=[],s=t;s>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},32980:function(e,t,n){var o;!function(r){"use strict";var i,a=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,s=Math.ceil,l=Math.floor,c="[BigNumber Error] ",p=c+"Number primitive has more than 15 significant digits: ",u=1e14,d=14,g=9007199254740991,f=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],h=1e7,m=1e9;function y(e){var t=0|e;return e>0||e===t?t:t-1}function v(e){for(var t,n,o=1,r=e.length,i=e[0]+"";oc^n?1:-1;for(s=(l=r.length)<(c=i.length)?l:c,a=0;ai[a]^n?1:-1;return l==c?0:l>c^n?1:-1}function O(e,t,n,o){if(en||e!==l(e))throw Error(c+(o||"Argument")+("number"==typeof e?en?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function w(e){var t=e.c.length-1;return y(e.e/d)==t&&e.c[t]%2!=0}function P(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function x(e,t,n){var o,r;if(t<0){for(r=n+".";++t;r+=n);e=r+e}else if(++t>(o=e.length)){for(r=n,t-=o;--t;r+=n);e+=r}else tB?y.c=y.e=null:e.e=10;u/=10,c++);return void(c>B?y.c=y.e=null:(y.e=c,y.c=[e]))}m=String(e)}else{if(!a.test(m=String(e)))return r(y,m,f);y.s=45==m.charCodeAt(0)?(m=m.slice(1),-1):1}(c=m.indexOf("."))>-1&&(m=m.replace(".","")),(u=m.search(/e/i))>0?(c<0&&(c=u),c+=+m.slice(u+1),m=m.substring(0,u)):c<0&&(c=m.length)}else{if(O(t,2,V.length,"Base"),10==t&&H)return K(y=new G(e),I+y.e+1,R);if(m=String(e),f="number"==typeof e){if(0*e!=0)return r(y,m,f,t);if(y.s=1/e<0?(m=m.slice(1),-1):1,G.DEBUG&&m.replace(/^0\.0*|\./,"").length>15)throw Error(p+e)}else y.s=45===m.charCodeAt(0)?(m=m.slice(1),-1):1;for(n=V.slice(0,t),c=u=0,h=m.length;uc){c=h;continue}}else if(!s&&(m==m.toUpperCase()&&(m=m.toLowerCase())||m==m.toLowerCase()&&(m=m.toUpperCase()))){s=!0,u=-1,c=0;continue}return r(y,String(e),f,t)}f=!1,(c=(m=o(m,t,10,y.s)).indexOf("."))>-1?m=m.replace(".",""):c=m.length}for(u=0;48===m.charCodeAt(u);u++);for(h=m.length;48===m.charCodeAt(--h););if(m=m.slice(u,++h)){if(h-=u,f&&G.DEBUG&&h>15&&(e>g||e!==l(e)))throw Error(p+y.s*e);if((c=c-u-1)>B)y.c=y.e=null;else if(c=D)?P(l,a):x(l,a,"0");else if(i=(e=K(new G(e),t,n)).e,s=(l=v(e.c)).length,1==o||2==o&&(t<=i||i<=N)){for(;ss){if(--t>0)for(l+=".";t--;l+="0");}else if((t+=i-s)>0)for(i+1==s&&(l+=".");t--;l+="0");return e.s<0&&r?"-"+l:l}function z(e,t){for(var n,o=1,r=new G(e[0]);o=10;r/=10,o++);return(n=o+n*d-1)>B?e.c=e.e=null:n=10;c/=10,r++);if((i=t-r)<0)i+=d,a=t,h=(p=m[g=0])/y[r-a-1]%10|0;else if((g=s((i+1)/d))>=m.length){if(!o)break e;for(;m.length<=g;m.push(0));p=h=0,r=1,a=(i%=d)-d+1}else{for(p=c=m[g],r=1;c>=10;c/=10,r++);h=(a=(i%=d)-d+r)<0?0:p/y[r-a-1]%10|0}if(o=o||t<0||null!=m[g+1]||(a<0?p:p%y[r-a-1]),o=n<4?(h||o)&&(0==n||n==(e.s<0?3:2)):h>5||5==h&&(4==n||o||6==n&&(i>0?a>0?p/y[r-a]:0:m[g-1])%10&1||n==(e.s<0?8:7)),t<1||!m[0])return m.length=0,o?(t-=e.e+1,m[0]=y[(d-t%d)%d],e.e=-t||0):m[0]=e.e=0,e;if(0==i?(m.length=g,c=1,g--):(m.length=g+1,c=y[d-i],m[g]=a>0?l(p/y[r-a]%y[a])*c:0),o)for(;;){if(0==g){for(i=1,a=m[0];a>=10;a/=10,i++);for(a=m[0]+=c,c=1;a>=10;a/=10,c++);i!=c&&(e.e++,m[0]==u&&(m[0]=1));break}if(m[g]+=c,m[g]!=u)break;m[g--]=0,c=1}for(i=m.length;0===m[--i];m.pop());}e.e>B?e.c=e.e=null:e.e=D?P(t,n):x(t,n,"0"),e.s<0?"-"+t:t)}return G.clone=e,G.ROUND_UP=0,G.ROUND_DOWN=1,G.ROUND_CEIL=2,G.ROUND_FLOOR=3,G.ROUND_HALF_UP=4,G.ROUND_HALF_DOWN=5,G.ROUND_HALF_EVEN=6,G.ROUND_HALF_CEIL=7,G.ROUND_HALF_FLOOR=8,G.EUCLID=9,G.config=G.set=function(e){var t,n;if(null!=e){if("object"!=typeof e)throw Error(c+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(O(n=e[t],0,m,t),I=n),e.hasOwnProperty(t="ROUNDING_MODE")&&(O(n=e[t],0,8,t),R=n),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((n=e[t])&&n.pop?(O(n[0],-m,0,t),O(n[1],0,m,t),N=n[0],D=n[1]):(O(n,-m,m,t),N=-(D=n<0?-n:n))),e.hasOwnProperty(t="RANGE"))if((n=e[t])&&n.pop)O(n[0],-m,-1,t),O(n[1],1,m,t),L=n[0],B=n[1];else{if(O(n,-m,m,t),!n)throw Error(c+t+" cannot be zero: "+n);L=-(B=n<0?-n:n)}if(e.hasOwnProperty(t="CRYPTO")){if((n=e[t])!==!!n)throw Error(c+t+" not true or false: "+n);if(n){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw M=!n,Error(c+"crypto unavailable");M=n}else M=n}if(e.hasOwnProperty(t="MODULO_MODE")&&(O(n=e[t],0,9,t),F=n),e.hasOwnProperty(t="POW_PRECISION")&&(O(n=e[t],0,m,t),U=n),e.hasOwnProperty(t="FORMAT")){if("object"!=typeof(n=e[t]))throw Error(c+t+" not an object: "+n);q=n}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(n=e[t])||/^.?$|[+\-.\s]|(.).*\1/.test(n))throw Error(c+t+" invalid: "+n);H="0123456789"==n.slice(0,10),V=n}}return{DECIMAL_PLACES:I,ROUNDING_MODE:R,EXPONENTIAL_AT:[N,D],RANGE:[L,B],CRYPTO:M,MODULO_MODE:F,POW_PRECISION:U,FORMAT:q,ALPHABET:V}},G.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!G.DEBUG)return!0;var t,n,o=e.c,r=e.e,i=e.s;e:if("[object Array]"=={}.toString.call(o)){if((1===i||-1===i)&&r>=-m&&r<=m&&r===l(r)){if(0===o[0]){if(0===r&&1===o.length)return!0;break e}if((t=(r+1)%d)<1&&(t+=d),String(o[0]).length==t){for(t=0;t=u||n!==l(n))break e;if(0!==n)return!0}}}else if(null===o&&null===r&&(null===i||1===i||-1===i))return!0;throw Error(c+"Invalid BigNumber: "+e)},G.maximum=G.max=function(){return z(arguments,_.lt)},G.minimum=G.min=function(){return z(arguments,_.gt)},G.random=(i=9007199254740992,S=Math.random()*i&2097151?function(){return l(Math.random()*i)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(e){var t,n,o,r,i,a=0,p=[],u=new G(C);if(null==e?e=I:O(e,0,m),r=s(e/d),M)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(r*=2));a>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),t[a]=n[0],t[a+1]=n[1]):(p.push(i%1e14),a+=2);a=r/2}else{if(!crypto.randomBytes)throw M=!1,Error(c+"crypto unavailable");for(t=crypto.randomBytes(r*=7);a=9e15?crypto.randomBytes(7).copy(t,a):(p.push(i%1e14),a+=7);a=r/7}if(!M)for(;a=10;i/=10,a++);an-1&&(null==a[r+1]&&(a[r+1]=0),a[r+1]+=a[r]/n|0,a[r]%=n)}return a.reverse()}return function(o,r,i,a,s){var l,c,p,u,d,g,f,h,m=o.indexOf("."),y=I,b=R;for(m>=0&&(u=U,U=0,o=o.replace(".",""),g=(h=new G(r)).pow(o.length-m),U=u,h.c=t(x(v(g.c),g.e,"0"),10,i,e),h.e=h.c.length),p=u=(f=t(o,r,i,s?(l=V,e):(l=e,V))).length;0==f[--u];f.pop());if(!f[0])return l.charAt(0);if(m<0?--p:(g.c=f,g.e=p,g.s=a,f=(g=n(g,h,y,b,i)).c,d=g.r,p=g.e),m=f[c=p+y+1],u=i/2,d=d||c<0||null!=f[c+1],d=b<4?(null!=m||d)&&(0==b||b==(g.s<0?3:2)):m>u||m==u&&(4==b||d||6==b&&1&f[c-1]||b==(g.s<0?8:7)),c<1||!f[0])o=d?x(l.charAt(1),-y,l.charAt(0)):l.charAt(0);else{if(f.length=c,d)for(--i;++f[--c]>i;)f[c]=0,c||(++p,f=[1].concat(f));for(u=f.length;!f[--u];);for(m=0,o="";m<=u;o+=l.charAt(f[m++]));o=x(o,p,l.charAt(0))}return o}}(),n=function(){function e(e,t,n){var o,r,i,a,s=0,l=e.length,c=t%h,p=t/h|0;for(e=e.slice();l--;)s=((r=c*(i=e[l]%h)+(o=p*i+(a=e[l]/h|0)*c)%h*h+s)/n|0)+(o/h|0)+p*a,e[l]=r%n;return s&&(e=[s].concat(e)),e}function t(e,t,n,o){var r,i;if(n!=o)i=n>o?1:-1;else for(r=i=0;rt[r]?1:-1;break}return i}function n(e,t,n,o){for(var r=0;n--;)e[n]-=r,r=e[n]1;e.splice(0,1));}return function(o,r,i,a,s){var c,p,g,f,h,m,v,b,O,w,P,x,S,T,A,E,j,k=o.s==r.s?1:-1,_=o.c,C=r.c;if(!(_&&_[0]&&C&&C[0]))return new G(o.s&&r.s&&(_?!C||_[0]!=C[0]:C)?_&&0==_[0]||!C?0*k:k/0:NaN);for(O=(b=new G(k)).c=[],k=i+(p=o.e-r.e)+1,s||(s=u,p=y(o.e/d)-y(r.e/d),k=k/d|0),g=0;C[g]==(_[g]||0);g++);if(C[g]>(_[g]||0)&&p--,k<0)O.push(1),f=!0;else{for(T=_.length,E=C.length,g=0,k+=2,(h=l(s/(C[0]+1)))>1&&(C=e(C,h,s),_=e(_,h,s),E=C.length,T=_.length),S=E,P=(w=_.slice(0,E)).length;P=s/2&&A++;do{if(h=0,(c=t(C,w,E,P))<0){if(x=w[0],E!=P&&(x=x*s+(w[1]||0)),(h=l(x/A))>1)for(h>=s&&(h=s-1),v=(m=e(C,h,s)).length,P=w.length;1==t(m,w,v,P);)h--,n(m,E=10;k/=10,g++);K(b,i+(b.e=g+p*d-1)+1,a,f)}else b.e=p,b.r=+f;return b}}(),T=/^(-?)0([xbo])(?=\w[\w.]*$)/i,A=/^([^.]+)\.$/,E=/^\.([^.]+)$/,j=/^-?(Infinity|NaN)$/,k=/^\s*\+(?=[\w.])|^\s+|\s+$/g,r=function(e,t,n,o){var r,i=n?t:t.replace(k,"");if(j.test(i))e.s=isNaN(i)?null:i<0?-1:1;else{if(!n&&(i=i.replace(T,(function(e,t,n){return r="x"==(n=n.toLowerCase())?16:"b"==n?2:8,o&&o!=r?e:t})),o&&(r=o,i=i.replace(A,"$1").replace(E,"0.$1")),t!=i))return new G(i,r);if(G.DEBUG)throw Error(c+"Not a"+(o?" base "+o:"")+" number: "+t);e.s=null}e.c=e.e=null},_.absoluteValue=_.abs=function(){var e=new G(this);return e.s<0&&(e.s=1),e},_.comparedTo=function(e,t){return b(this,new G(e,t))},_.decimalPlaces=_.dp=function(e,t){var n,o,r,i=this;if(null!=e)return O(e,0,m),null==t?t=R:O(t,0,8),K(new G(i),e+i.e+1,t);if(!(n=i.c))return null;if(o=((r=n.length-1)-y(this.e/d))*d,r=n[r])for(;r%10==0;r/=10,o--);return o<0&&(o=0),o},_.dividedBy=_.div=function(e,t){return n(this,new G(e,t),I,R)},_.dividedToIntegerBy=_.idiv=function(e,t){return n(this,new G(e,t),0,1)},_.exponentiatedBy=_.pow=function(e,t){var n,o,r,i,a,p,u,g,f=this;if((e=new G(e)).c&&!e.isInteger())throw Error(c+"Exponent not an integer: "+Y(e));if(null!=t&&(t=new G(t)),a=e.e>14,!f.c||!f.c[0]||1==f.c[0]&&!f.e&&1==f.c.length||!e.c||!e.c[0])return g=new G(Math.pow(+Y(f),a?e.s*(2-w(e)):+Y(e))),t?g.mod(t):g;if(p=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new G(NaN);(o=!p&&f.isInteger()&&t.isInteger())&&(f=f.mod(t))}else{if(e.e>9&&(f.e>0||f.e<-1||(0==f.e?f.c[0]>1||a&&f.c[1]>=24e7:f.c[0]<8e13||a&&f.c[0]<=9999975e7)))return i=f.s<0&&w(e)?-0:0,f.e>-1&&(i=1/i),new G(p?1/i:i);U&&(i=s(U/d+2))}for(a?(n=new G(.5),p&&(e.s=1),u=w(e)):u=(r=Math.abs(+Y(e)))%2,g=new G(C);;){if(u){if(!(g=g.times(f)).c)break;i?g.c.length>i&&(g.c.length=i):o&&(g=g.mod(t))}if(r){if(0===(r=l(r/2)))break;u=r%2}else if(K(e=e.times(n),e.e+1,1),e.e>14)u=w(e);else{if(0==(r=+Y(e)))break;u=r%2}f=f.times(f),i?f.c&&f.c.length>i&&(f.c.length=i):o&&(f=f.mod(t))}return o?g:(p&&(g=C.div(g)),t?g.mod(t):i?K(g,U,R,void 0):g)},_.integerValue=function(e){var t=new G(this);return null==e?e=R:O(e,0,8),K(t,t.e+1,e)},_.isEqualTo=_.eq=function(e,t){return 0===b(this,new G(e,t))},_.isFinite=function(){return!!this.c},_.isGreaterThan=_.gt=function(e,t){return b(this,new G(e,t))>0},_.isGreaterThanOrEqualTo=_.gte=function(e,t){return 1===(t=b(this,new G(e,t)))||0===t},_.isInteger=function(){return!!this.c&&y(this.e/d)>this.c.length-2},_.isLessThan=_.lt=function(e,t){return b(this,new G(e,t))<0},_.isLessThanOrEqualTo=_.lte=function(e,t){return-1===(t=b(this,new G(e,t)))||0===t},_.isNaN=function(){return!this.s},_.isNegative=function(){return this.s<0},_.isPositive=function(){return this.s>0},_.isZero=function(){return!!this.c&&0==this.c[0]},_.minus=function(e,t){var n,o,r,i,a=this,s=a.s;if(t=(e=new G(e,t)).s,!s||!t)return new G(NaN);if(s!=t)return e.s=-t,a.plus(e);var l=a.e/d,c=e.e/d,p=a.c,g=e.c;if(!l||!c){if(!p||!g)return p?(e.s=-t,e):new G(g?a:NaN);if(!p[0]||!g[0])return g[0]?(e.s=-t,e):new G(p[0]?a:3==R?-0:0)}if(l=y(l),c=y(c),p=p.slice(),s=l-c){for((i=s<0)?(s=-s,r=p):(c=l,r=g),r.reverse(),t=s;t--;r.push(0));r.reverse()}else for(o=(i=(s=p.length)<(t=g.length))?s:t,s=t=0;t0)for(;t--;p[n++]=0);for(t=u-1;o>s;){if(p[--o]=0;){for(n=0,f=x[r]%O,m=x[r]/O|0,i=r+(a=l);i>r;)n=((c=f*(c=P[--a]%O)+(s=m*c+(p=P[a]/O|0)*f)%O*O+v[i]+n)/b|0)+(s/O|0)+m*p,v[i--]=c%b;v[i]=n}return n?++o:v.splice(0,1),J(e,v,o)},_.negated=function(){var e=new G(this);return e.s=-e.s||null,e},_.plus=function(e,t){var n,o=this,r=o.s;if(t=(e=new G(e,t)).s,!r||!t)return new G(NaN);if(r!=t)return e.s=-t,o.minus(e);var i=o.e/d,a=e.e/d,s=o.c,l=e.c;if(!i||!a){if(!s||!l)return new G(r/0);if(!s[0]||!l[0])return l[0]?e:new G(s[0]?o:0*r)}if(i=y(i),a=y(a),s=s.slice(),r=i-a){for(r>0?(a=i,n=l):(r=-r,n=s),n.reverse();r--;n.push(0));n.reverse()}for((r=s.length)-(t=l.length)<0&&(n=l,l=s,s=n,t=r),r=0;t;)r=(s[--t]=s[t]+l[t]+r)/u|0,s[t]=u===s[t]?0:s[t]%u;return r&&(s=[r].concat(s),++a),J(e,s,a)},_.precision=_.sd=function(e,t){var n,o,r,i=this;if(null!=e&&e!==!!e)return O(e,1,m),null==t?t=R:O(t,0,8),K(new G(i),e,t);if(!(n=i.c))return null;if(o=(r=n.length-1)*d+1,r=n[r]){for(;r%10==0;r/=10,o--);for(r=n[0];r>=10;r/=10,o++);}return e&&i.e+1>o&&(o=i.e+1),o},_.shiftedBy=function(e){return O(e,-9007199254740991,g),this.times("1e"+e)},_.squareRoot=_.sqrt=function(){var e,t,o,r,i,a=this,s=a.c,l=a.s,c=a.e,p=I+4,u=new G("0.5");if(1!==l||!s||!s[0])return new G(!l||l<0&&(!s||s[0])?NaN:s?a:1/0);if(0==(l=Math.sqrt(+Y(a)))||l==1/0?(((t=v(s)).length+c)%2==0&&(t+="0"),l=Math.sqrt(+t),c=y((c+1)/2)-(c<0||c%2),o=new G(t=l==1/0?"5e"+c:(t=l.toExponential()).slice(0,t.indexOf("e")+1)+c)):o=new G(l+""),o.c[0])for((l=(c=o.e)+p)<3&&(l=0);;)if(i=o,o=u.times(i.plus(n(a,i,p,1))),v(i.c).slice(0,l)===(t=v(o.c)).slice(0,l)){if(o.e0&&h>0){for(i=h%s||s,u=f.substr(0,i);i0&&(u+=p+f.slice(i)),g&&(u="-"+u)}o=d?u+(n.decimalSeparator||"")+((l=+n.fractionGroupSize)?d.replace(new RegExp("\\d{"+l+"}\\B","g"),"$&"+(n.fractionGroupSeparator||"")):d):u}return(n.prefix||"")+o+(n.suffix||"")},_.toFraction=function(e){var t,o,r,i,a,s,l,p,u,g,h,m,y=this,b=y.c;if(null!=e&&(!(l=new G(e)).isInteger()&&(l.c||1!==l.s)||l.lt(C)))throw Error(c+"Argument "+(l.isInteger()?"out of range: ":"not an integer: ")+Y(l));if(!b)return new G(y);for(t=new G(C),u=o=new G(C),r=p=new G(C),m=v(b),a=t.e=m.length-y.e-1,t.c[0]=f[(s=a%d)<0?d+s:s],e=!e||l.comparedTo(t)>0?a>0?t:u:l,s=B,B=1/0,l=new G(m),p.c[0]=0;g=n(l,t,0,1),1!=(i=o.plus(g.times(r))).comparedTo(e);)o=r,r=i,u=p.plus(g.times(i=u)),p=i,t=l.minus(g.times(i=t)),l=i;return i=n(e.minus(o),r,0,1),p=p.plus(i.times(u)),o=o.plus(i.times(r)),p.s=u.s=y.s,h=n(u,r,a*=2,R).minus(y).abs().comparedTo(n(p,o,a,R).minus(y).abs())<1?[u,r]:[p,o],B=s,h},_.toNumber=function(){return+Y(this)},_.toPrecision=function(e,t){return null!=e&&O(e,1,m),W(this,e,t,2)},_.toString=function(e){var t,n=this,r=n.s,i=n.e;return null===i?r?(t="Infinity",r<0&&(t="-"+t)):t="NaN":(null==e?t=i<=N||i>=D?P(v(n.c),i):x(v(n.c),i,"0"):10===e&&H?t=x(v((n=K(new G(n),I+i+1,R)).c),n.e,"0"):(O(e,2,V.length,"Base"),t=o(x(v(n.c),i,"0"),10,e,r,!0)),r<0&&n.c[0]&&(t="-"+t)),t},_.valueOf=_.toJSON=function(){return Y(this)},_._isBigNumber=!0,null!=t&&G.set(t),G}(),i.default=i.BigNumber=i,void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()},84650:(e,t,n)=>{"use strict";var o=n(14300).Buffer,r=n(14300).SlowBuffer;function i(e,t){if(!o.isBuffer(e)||!o.isBuffer(t))return!1;if(e.length!==t.length)return!1;for(var n=0,r=0;r{"use strict";var o=n(28487),r=n(25592),i=r(o("String.prototype.indexOf"));e.exports=function(e,t){var n=o(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?r(n):n}},25592:(e,t,n)=>{"use strict";var o=n(22698),r=n(28487),i=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||o.call(a,i),l=r("%Object.getOwnPropertyDescriptor%",!0),c=r("%Object.defineProperty%",!0),p=r("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(o,a,arguments);if(l&&c){var n=l(t,"length");n.configurable&&c(t,"length",{value:1+p(0,e.length-(arguments.length-1))})}return t};var u=function(){return s(o,i,arguments)};c?c(e.exports,"apply",{value:u}):e.exports.apply=u},14598:(e,t,n)=>{var o=n(73837),r=n(12781).Stream,i=n(65239);function a(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}e.exports=a,o.inherits(a,r),a.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},a.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},a.prototype.append=function(e){if(a.isStreamLike(e)){if(!(e instanceof i)){var t=i.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},a.prototype.pipe=function(e,t){return r.prototype.pipe.call(this,e,t),this.resume(),e},a.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},a.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){a.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},a.prototype._pipeNext=function(e){if(this._currentStream=e,a.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},a.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},a.prototype.write=function(e){this.emit("data",e)},a.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},a.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},a.prototype.end=function(){this._reset(),this.emit("end")},a.prototype.destroy=function(){this._reset(),this.emit("close")},a.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},a.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},a.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},a.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},86418:(e,t)=>{!function(){"use strict";function e(t,n,o,r){return this instanceof e?(this.domain=t||void 0,this.path=n||"/",this.secure=!!o,this.script=!!r,this):new e(t,n,o,r)}function n(e,t,o){return e instanceof n?e:this instanceof n?(this.name=null,this.value=null,this.expiration_date=1/0,this.path=String(o||"/"),this.explicit_path=!1,this.domain=t||null,this.explicit_domain=!1,this.secure=!1,this.noscript=!1,e&&this.parse(e,t,o),this):new n(e,t,o)}e.All=Object.freeze(Object.create(null)),t.Qr=e,n.prototype.toString=function(){var e=[this.name+"="+this.value];return this.expiration_date!==1/0&&e.push("expires="+new Date(this.expiration_date).toGMTString()),this.domain&&e.push("domain="+this.domain),this.path&&e.push("path="+this.path),this.secure&&e.push("secure"),this.noscript&&e.push("httponly"),e.join("; ")},n.prototype.toValueString=function(){return this.name+"="+this.value};var o=/[:](?=\s*[a-zA-Z0-9_\-]+\s*[=])/g;function r(){var e,t;return this instanceof r?(e=Object.create(null),this.setCookie=function(o,r,i){var a,s;if(a=(o=new n(o,r,i)).expiration_date<=Date.now(),void 0!==e[o.name]){for(t=e[o.name],s=0;s=t&&e<=n},a=function(e,t,n){return-1===e.search(/[^\d-,\/*]/)&&e.split(",").every((function(e){var r=e.split("/");if(e.trim().endsWith("/"))return!1;if(r.length>2)return!1;var a=r[0],s=r[1];return function(e,t,n){var r=e.split("-");switch(r.length){case 1:return function(e){return"*"===e}(e)||i(o(e),t,n);case 2:var a=r.map((function(e){return o(e)})),s=a[0],l=a[1];return s<=l&&i(s,t,n)&&i(l,t,n);default:return!1}}(a,t,n)&&function(e){return void 0===e||-1===e.search(/[^\d]/)&&o(e)>0}(s)}))},s={jan:"1",feb:"2",mar:"3",apr:"4",may:"5",jun:"6",jul:"7",aug:"8",sep:"9",oct:"10",nov:"11",dec:"12"},l={sun:"0",mon:"1",tue:"2",wed:"3",thu:"4",fri:"5",sat:"6"},c={alias:!1,seconds:!1,allowBlankDay:!1,allowSevenAsSunday:!1};t.isValidCron=function(e,t){t=n(n({},c),t);var o=function(e){return e.trim().split(/\s+/)}(e);if(o.length>(t.seconds?6:5)||o.length<5)return!1;var i=[];if(6===o.length){var p=o.shift();p&&i.push(function(e){return a(e,0,59)}(p))}var u=o[0],d=o[1],g=o[2],f=o[3],h=o[4];return i.push(function(e){return a(e,0,59)}(u)),i.push(function(e){return a(e,0,23)}(d)),i.push(function(e,t){return t&&r(e)||a(e,1,31)}(g,t.allowBlankDay)),i.push(function(e,t){if(-1!==e.search(/\/[a-zA-Z]/))return!1;if(t){var n=e.toLowerCase().replace(/[a-z]{3}/g,(function(e){return void 0===s[e]?e:s[e]}));return a(n,1,12)}return a(e,1,12)}(f,t.alias)),i.push(function(e,t,n,o){if(n&&r(e))return!0;if(!n&&r(e))return!1;if(-1!==e.search(/\/[a-zA-Z]/))return!1;if(t){var i=e.toLowerCase().replace(/[a-z]{3}/g,(function(e){return void 0===l[e]?e:l[e]}));return a(i,0,o?7:6)}return a(e,0,o?7:6)}(h,t.alias,t.allowBlankDay,t.allowSevenAsSunday)),i.push(function(e,t,n){return!(n&&r(e)&&r(t))}(g,h,t.allowBlankDay)),i.every(Boolean)}},64929:(e,t,n)=>{"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":o(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var o=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(o++,"%c"===e&&(r=o))})),t.splice(r,0,n)}},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(97350)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},97350:(e,t,n)=>{"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n{"use strict";"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(64929):e.exports=n(70935)},70935:(e,t,n)=>{"use strict";var o=n(76224),r=n(73837);t.init=function(e){e.inspectOpts={};for(var n=Object.keys(t.inspectOpts),o=0;o=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((function(e){return/^debug_/i.test(e)})).reduce((function(e,t){var n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,t){return t.toUpperCase()})),o=process.env[t];return o=!!/^(yes|on|true|enabled)$/i.test(o)||!/^(no|off|false|disabled)$/i.test(o)&&("null"===o?null:Number(o)),e[n]=o,e}),{}),e.exports=n(97350)(t);var a=e.exports.formatters;a.o=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},a.O=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts)}},57302:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(o++,"%c"===e&&(r=o))})),t.splice(r,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(23065)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},23065:(e,t,n)=>{e.exports=function(e){function t(e){let n,r,i,a=null;function s(...e){if(!s.enabled)return;const o=s,r=Number(new Date),i=r-(n||r);o.diff=i,o.prev=n,o.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,r)=>{if("%%"===n)return"%";a++;const i=t.formatters[r];if("function"==typeof i){const t=e[a];n=i.call(o,t),e.splice(a,1),a--}return n})),t.formatArgs.call(o,e),(o.log||t.log).apply(o,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=o,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(r!==t.namespaces&&(r=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function o(e,n){const o=t(this.namespace+(void 0===n?":":n)+e);return o.log=this.log,o}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const o=("string"==typeof e?e:"").split(/[\s,]+/),r=o.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(57302):e.exports=n(3236)},3236:(e,t,n)=>{const o=n(76224),r=n(73837);t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let o=0;o{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=n(77612);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let o=process.env[t];return o=!!/^(yes|on|true|enabled)$/i.test(o)||!/^(no|off|false|disabled)$/i.test(o)&&("null"===o?null:Number(o)),e[n]=o,e}),{}),e.exports=n(23065)(t);const{formatters:i}=e.exports;i.o=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},i.O=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts)}},65239:(e,t,n)=>{var o=n(12781).Stream,r=n(73837);function i(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=i,r.inherits(i,o),i.create=function(e,t){var n=new this;for(var o in t=t||{})n[o]=t[o];n.source=e;var r=e.emit;return e.emit=function(){return n._handleEmit(arguments),r.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(i.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),i.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},i.prototype.resume=function(){this._released||this.release(),this.source.resume()},i.prototype.pause=function(){this.source.pause()},i.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},i.prototype.pipe=function(){var e=o.prototype.pipe.apply(this,arguments);return this.resume(),e},i.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},i.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}},29266:(e,t,n)=>{var o=n(74282),r=n(59806),i=n(44236),a=n(64801),s=Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from([0]):new Buffer([0]),l=function(e,t){e._corked?e.once("uncork",t):t()},c=function(e,t){return function(n){n?function(e,t){e._autoDestroy&&e.destroy(t)}(e,"premature close"===n.message?null:n):t&&!e._ended&&e.end()}},p=function(){},u=function(e,t,n){if(!(this instanceof u))return new u(e,t,n);o.Duplex.call(this,n),this._writable=null,this._readable=null,this._readable2=null,this._autoDestroy=!n||!1!==n.autoDestroy,this._forwardDestroy=!n||!1!==n.destroy,this._forwardEnd=!n||!1!==n.end,this._corked=1,this._ondrain=null,this._drained=!1,this._forwarding=!1,this._unwrite=null,this._unread=null,this._ended=!1,this.destroyed=!1,e&&this.setWritable(e),t&&this.setReadable(t)};i(u,o.Duplex),u.obj=function(e,t,n){return n||(n={}),n.objectMode=!0,n.highWaterMark=16,new u(e,t,n)},u.prototype.cork=function(){1==++this._corked&&this.emit("cork")},u.prototype.uncork=function(){this._corked&&0==--this._corked&&this.emit("uncork")},u.prototype.setWritable=function(e){if(this._unwrite&&this._unwrite(),this.destroyed)e&&e.destroy&&e.destroy();else if(null!==e&&!1!==e){var t=this,n=r(e,{writable:!0,readable:!1},c(this,this._forwardEnd)),o=function(){var e=t._ondrain;t._ondrain=null,e&&e()};this._unwrite&&process.nextTick(o),this._writable=e,this._writable.on("drain",o),this._unwrite=function(){t._writable.removeListener("drain",o),n()},this.uncork()}else this.end()},u.prototype.setReadable=function(e){if(this._unread&&this._unread(),this.destroyed)e&&e.destroy&&e.destroy();else{if(null===e||!1===e)return this.push(null),void this.resume();var t,n=this,i=r(e,{writable:!1,readable:!0},c(this)),a=function(){n._forward()},s=function(){n.push(null)};this._drained=!0,this._readable=e,this._readable2=e._readableState?e:(t=e,new o.Readable({objectMode:!0,highWaterMark:16}).wrap(t)),this._readable2.on("readable",a),this._readable2.on("end",s),this._unread=function(){n._readable2.removeListener("readable",a),n._readable2.removeListener("end",s),i()},this._forward()}},u.prototype._read=function(){this._drained=!0,this._forward()},u.prototype._forward=function(){if(!this._forwarding&&this._readable2&&this._drained){var e;for(this._forwarding=!0;this._drained&&null!==(e=a(this._readable2));)this.destroyed||(this._drained=this.push(e));this._forwarding=!1}},u.prototype.destroy=function(e,t){if(t||(t=p),this.destroyed)return t(null);this.destroyed=!0;var n=this;process.nextTick((function(){n._destroy(e),t(null)}))},u.prototype._destroy=function(e){if(e){var t=this._ondrain;this._ondrain=null,t?t(e):this.emit("error",e)}this._forwardDestroy&&(this._readable&&this._readable.destroy&&this._readable.destroy(),this._writable&&this._writable.destroy&&this._writable.destroy()),this.emit("close")},u.prototype._write=function(e,t,n){if(!this.destroyed)return this._corked?l(this,this._write.bind(this,e,t,n)):e===s?this._finish(n):this._writable?void(!1===this._writable.write(e)?this._ondrain=n:this.destroyed||n()):n()},u.prototype._finish=function(e){var t=this;this.emit("preend"),l(this,(function(){var n,o;o=function(){!1===t._writableState.prefinished&&(t._writableState.prefinished=!0),t.emit("prefinish"),l(t,e)},(n=t._forwardEnd&&t._writable)?n._writableState&&n._writableState.finished?o():n._writableState?n.end(o):(n.end(),o()):o()}))},u.prototype.end=function(e,t,n){return"function"==typeof e?this.end(null,null,e):"function"==typeof t?this.end(e,null,t):(this._ended=!0,e&&this.write(e),this._writableState.ending||this._writableState.destroyed||this.write(s),o.Writable.prototype.end.call(this,n))},e.exports=u},27356:(e,t,n)=>{"use strict";var o=n(21607).Buffer,r=n(29267);function i(e){if(o.isBuffer(e))return e;if("string"==typeof e)return o.from(e,"base64");throw new TypeError("ECDSA signature must be a Base64 string or a Buffer")}function a(e,t,n){for(var o=0;t+o=128&&--o,o}e.exports={derToJose:function(e,t){e=i(e);var n=r(t),a=n+1,s=e.length,l=0;if(48!==e[l++])throw new Error('Could not find expected "seq"');var c=e[l++];if(129===c&&(c=e[l++]),s-l{"use strict";function t(e){return(e/8|0)+(e%8==0?0:1)}var n={ES256:t(256),ES384:t(384),ES512:t(521)};e.exports=function(e){var t=n[e];if(t)return t;throw new Error('Unknown algorithm "'+e+'"')}},59806:(e,t,n)=>{var o=n(36219),r=function(){},i=function(e,t,n){if("function"==typeof t)return i(e,null,t);t||(t={}),n=o(n||r);var a=e._writableState,s=e._readableState,l=t.readable||!1!==t.readable&&e.readable,c=t.writable||!1!==t.writable&&e.writable,p=!1,u=function(){e.writable||d()},d=function(){c=!1,l||n.call(e)},g=function(){l=!1,c||n.call(e)},f=function(t){n.call(e,t?new Error("exited with error code: "+t):null)},h=function(t){n.call(e,t)},m=function(){process.nextTick(y)},y=function(){if(!p)return(!l||s&&s.ended&&!s.destroyed)&&(!c||a&&a.ended&&!a.destroyed)?void 0:n.call(e,new Error("premature close"))},v=function(){e.req.on("finish",d)};return function(e){return e.setHeader&&"function"==typeof e.abort}(e)?(e.on("complete",d),e.on("abort",m),e.req?v():e.on("request",v)):c&&!a&&(e.on("end",u),e.on("close",u)),function(e){return e.stdio&&Array.isArray(e.stdio)&&3===e.stdio.length}(e)&&e.on("exit",f),e.on("end",g),e.on("finish",d),!1!==t.error&&e.on("error",h),e.on("close",m),function(){p=!0,e.removeListener("complete",d),e.removeListener("abort",m),e.removeListener("request",v),e.req&&e.req.removeListener("finish",d),e.removeListener("end",u),e.removeListener("close",u),e.removeListener("finish",d),e.removeListener("exit",f),e.removeListener("end",g),e.removeListener("error",h),e.removeListener("close",m)}};e.exports=i},34659:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=new WeakMap,o=new WeakMap;function r(e){const t=n.get(e);return console.assert(null!=t,"'this' is expected an Event object, but got",e),t}function i(e){null==e.passiveListener?e.event.cancelable&&(e.canceled=!0,"function"==typeof e.event.preventDefault&&e.event.preventDefault()):"undefined"!=typeof console&&"function"==typeof console.error&&console.error("Unable to preventDefault inside passive event listener invocation.",e.passiveListener)}function a(e,t){n.set(this,{eventTarget:e,event:t,eventPhase:2,currentTarget:e,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:t.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});const o=Object.keys(t);for(let e=0;e0){const e=new Array(arguments.length);for(let t=0;t{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,o=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var o,r=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!i)return!1;for(o in e);return void 0===o||t.call(e,o)},s=function(e,t){o&&"__proto__"===t.name?o(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(r)return r(e,n).value}return e[n]};e.exports=function e(){var t,n,o,r,c,p,u=arguments[0],d=1,g=arguments.length,f=!1;for("boolean"==typeof u&&(f=u,u=arguments[1]||{},d=2),(null==u||"object"!=typeof u&&"function"!=typeof u)&&(u={});d=n-1){var s=o.subarray(0,i);if(r.push(String.fromCharCode.apply(null,s)),!a)return r.join("");e=e.subarray(t),t=0,i=0}var l=e[t++];if(0==(128&l))o[i++]=l;else if(192==(224&l)){var c=63&e[t++];o[i++]=(31&l)<<6|c}else if(224==(240&l)){c=63&e[t++];var p=63&e[t++];o[i++]=(31&l)<<12|c<<6|p}else if(240==(248&l)){var u=(7&l)<<18|(c=63&e[t++])<<12|(p=63&e[t++])<<6|63&e[t++];u>65535&&(u-=65536,o[i++]=u>>>10&1023|55296,u=56320|1023&u),o[i++]=u}}}var n="Failed to ",o=function(e,t,o){if(e)throw new Error("".concat(n).concat(t,": the '").concat(o,"' option is unsupported."))},r="function"==typeof Buffer&&Buffer.from,i=r?function(e){return Buffer.from(e)}:function(e){for(var t=0,n=e.length,o=0,r=Math.max(32,n+(n>>>1)+7),i=new Uint8Array(r>>>3<<3);t=55296&&a<=56319){if(t=55296&&a<=56319)continue}if(o+4>i.length){r+=8,r=(r*=1+t/e.length*2)>>>3<<3;var l=new Uint8Array(r);l.set(i),i=l}if(0!=(4294967168&a)){if(0==(4294965248&a))i[o++]=a>>>6&31|192;else if(0==(4294901760&a))i[o++]=a>>>12&15|224,i[o++]=a>>>6&63|128;else{if(0!=(4292870144&a))continue;i[o++]=a>>>18&7|240,i[o++]=a>>>12&63|128,i[o++]=a>>>6&63|128}i[o++]=63&a|128}else i[o++]=a}return i.slice?i.slice(0,o):i.subarray(0,o)};function a(){this.encoding="utf-8"}a.prototype.encode=function(e,t){return o(t&&t.stream,"encode","stream"),i(e)};var s=!r&&"function"==typeof Blob&&"function"==typeof URL&&"function"==typeof URL.createObjectURL,l=["utf-8","utf8","unicode-1-1-utf-8"],c=t;r?c=function(e,t){return(e instanceof Buffer?e:Buffer.from(e.buffer,e.byteOffset,e.byteLength)).toString(t)}:s&&(c=function(e){try{return function(e){var t;try{var n=new Blob([e],{type:"text/plain;charset=UTF-8"});t=URL.createObjectURL(n);var o=new XMLHttpRequest;return o.open("GET",t,!1),o.send(),o.responseText}finally{t&&URL.revokeObjectURL(t)}}(e)}catch(n){return t(e)}});var p="construct 'TextDecoder'",u="".concat(n," ").concat(p,": the ");function d(e,t){if(o(t&&t.fatal,p,"fatal"),e=e||"utf-8",!(r?Buffer.isEncoding(e):-1!==l.indexOf(e.toLowerCase())))throw new RangeError("".concat(u," encoding label provided ('").concat(e,"') is invalid."));this.encoding=e,this.fatal=!1,this.ignoreBOM=!1}d.prototype.decode=function(e,t){var n;return o(t&&t.stream,"decode","stream"),n=e instanceof Uint8Array?e:e.buffer instanceof ArrayBuffer?new Uint8Array(e.buffer):new Uint8Array(e),c(n,this.encoding)},e.TextEncoder=e.TextEncoder||a,e.TextDecoder=e.TextDecoder||d}("undefined"!=typeof window?window:"undefined"!=typeof global?global:this)},32002:(e,t,n)=>{var o;e.exports=function(){if(!o){try{o=n(71053)("follow-redirects")}catch(e){}"function"!=typeof o&&(o=function(){})}o.apply(null,arguments)}},72679:(e,t,n)=>{var o=n(57310),r=o.URL,i=n(13685),a=n(95687),s=n(12781).Writable,l=n(39491),c=n(32002),p=["abort","aborted","connect","error","socket","timeout"],u=Object.create(null);p.forEach((function(e){u[e]=function(t,n,o){this._redirectable.emit(e,t,n,o)}}));var d=P("ERR_INVALID_URL","Invalid URL",TypeError),g=P("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),f=P("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),h=P("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),m=P("ERR_STREAM_WRITE_AFTER_END","write after end");function y(e,t){s.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){n._processResponse(e)},this._performRequest()}function v(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(i){var a=i+":",s=n[a]=e[i],p=t[i]=Object.create(s);Object.defineProperties(p,{request:{value:function(e,i,s){if(S(e)){var p;try{p=O(new r(e))}catch(t){p=o.parse(e)}if(!S(p.protocol))throw new d({input:e});e=p}else r&&e instanceof r?e=O(e):(s=i,i=e,e={protocol:a});return T(i)&&(s=i,i=null),(i=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,i)).nativeProtocols=n,S(i.host)||S(i.hostname)||(i.hostname="::1"),l.equal(i.protocol,a,"protocol mismatch"),c("options",i),new y(i,s)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var o=p.request(e,t,n);return o.end(),o},configurable:!0,enumerable:!0,writable:!0}})})),t}function b(){}function O(e){var t={protocol:e.protocol,hostname:e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,hash:e.hash,search:e.search,pathname:e.pathname,path:e.pathname+e.search,href:e.href};return""!==e.port&&(t.port=Number(e.port)),t}function w(e,t){var n;for(var o in t)e.test(o)&&(n=t[o],delete t[o]);return null==n?void 0:String(n).trim()}function P(e,t,n){function o(n){Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return o.prototype=new(n||Error),o.prototype.constructor=o,o.prototype.name="Error ["+e+"]",o}function x(e){for(var t of p)e.removeListener(t,u[t]);e.on("error",b),e.abort()}function S(e){return"string"==typeof e||e instanceof String}function T(e){return"function"==typeof e}y.prototype=Object.create(s.prototype),y.prototype.abort=function(){x(this._currentRequest),this.emit("abort")},y.prototype.write=function(e,t,n){if(this._ending)throw new m;if(!(S(e)||"object"==typeof(o=e)&&"length"in o))throw new TypeError("data should be a string, Buffer or Uint8Array");var o;T(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new h),this.abort()):n&&n()},y.prototype.end=function(e,t,n){if(T(e)?(n=e,e=t=null):T(t)&&(n=t,t=null),e){var o=this,r=this._currentRequest;this.write(e,t,(function(){o._ended=!0,r.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},y.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},y.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},y.prototype.setTimeout=function(e,t){var n=this;function o(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function r(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),i()}),e),o(t)}function i(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",i),n.removeListener("error",i),n.removeListener("response",i),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",r)}return t&&this.on("timeout",t),this.socket?r(this.socket):this._currentRequest.once("socket",r),this.on("socket",o),this.on("abort",i),this.on("error",i),this.on("response",i),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){y.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(y.prototype,e,{get:function(){return this._currentRequest[e]}})})),y.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},y.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(t){if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var r=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var i of(r._redirectable=this,p))r.on(i,u[i]);if(this._currentUrl=/^\//.test(this._options.path)?o.format(this._options):this._options.path,this._isRedirect){var a=0,s=this,l=this._requestBodyBuffers;!function e(t){if(r===s._currentRequest)if(t)s.emit("error",t);else if(a=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(x(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)this.emit("error",new f);else{var r,i=this._options.beforeRedirect;i&&(r=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var a=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],w(/^content-/i,this._options.headers));var s,p=w(/^host$/i,this._options.headers),u=o.parse(this._currentUrl),d=p||u.host,h=/^\w+:/.test(n)?this._currentUrl:o.format(Object.assign(u,{host:d}));try{s=o.resolve(h,n)}catch(e){return void this.emit("error",new g({cause:e}))}c("redirecting to",s),this._isRedirect=!0;var m=o.parse(s);if(Object.assign(this._options,m),(m.protocol!==u.protocol&&"https:"!==m.protocol||m.host!==d&&!function(e,t){l(S(e)&&S(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(m.host,d))&&w(/^(?:authorization|cookie)$/i,this._options.headers),T(i)){var y={headers:e.headers,statusCode:t},v={url:h,method:a,headers:r};try{i(this._options,y,v)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){this.emit("error",new g({cause:e}))}}},e.exports=v({http:i,https:a}),e.exports.wrap=v},90504:(e,t,n)=>{var o=n(14598),r=n(73837),i=n(71017),a=n(13685),s=n(95687),l=n(57310).parse,c=n(57147),p=n(69335),u=n(62720),d=n(91117);function g(e){if(!(this instanceof g))return new g;for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],o.call(this),e=e||{})this[t]=e[t]}e.exports=g,r.inherits(g,o),g.LINE_BREAK="\r\n",g.DEFAULT_CONTENT_TYPE="application/octet-stream",g.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var i=o.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),r.isArray(t))this._error(new Error("Arrays are not supported."));else{var a=this._multiPartHeader(e,t,n),s=this._multiPartFooter();i(a),i(t),i(s),this._trackLength(a,t,n)}},g.prototype._trackLength=function(e,t,n){var o=0;null!=n.knownLength?o+=+n.knownLength:Buffer.isBuffer(t)?o=t.length:"string"==typeof t&&(o=Buffer.byteLength(t)),this._valueLength+=o,this._overheadLength+=Buffer.byteLength(e)+g.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion"))&&(n.knownLength||this._valuesToMeasure.push(t))},g.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):c.stat(e.path,(function(n,o){var r;n?t(n):(r=o.size-(e.start?e.start:0),t(null,r))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(n){e.pause(),t(null,+n.headers["content-length"])})),e.resume()):t("Unknown stream")},g.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var o,r=this._getContentDisposition(t,n),i=this._getContentType(t,n),a="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(r||[]),"Content-Type":[].concat(i||[])};for(var l in"object"==typeof n.header&&d(s,n.header),s)s.hasOwnProperty(l)&&null!=(o=s[l])&&(Array.isArray(o)||(o=[o]),o.length&&(a+=l+": "+o.join("; ")+g.LINE_BREAK));return"--"+this.getBoundary()+g.LINE_BREAK+a+g.LINE_BREAK},g.prototype._getContentDisposition=function(e,t){var n,o;return"string"==typeof t.filepath?n=i.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=i.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=i.basename(e.client._httpMessage.path||"")),n&&(o='filename="'+n+'"'),o},g.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=p.lookup(e.name)),!n&&e.path&&(n=p.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=p.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=g.DEFAULT_CONTENT_TYPE),n},g.prototype._multiPartFooter=function(){return function(e){var t=g.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},g.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+g.LINE_BREAK},g.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},g.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},g.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,o=this._streams.length;n{e.exports=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}},87534:(e,t,n)=>{var o=n(14598),r=n(73837),i=n(71017),a=n(13685),s=n(95687),l=n(57310).parse,c=n(57147),p=n(12781).Stream,u=n(69335),d=n(62720),g=n(39049);function f(e){if(!(this instanceof f))return new f(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],o.call(this),e=e||{})this[t]=e[t]}e.exports=f,r.inherits(f,o),f.LINE_BREAK="\r\n",f.DEFAULT_CONTENT_TYPE="application/octet-stream",f.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var i=o.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),r.isArray(t))this._error(new Error("Arrays are not supported."));else{var a=this._multiPartHeader(e,t,n),s=this._multiPartFooter();i(a),i(t),i(s),this._trackLength(a,t,n)}},f.prototype._trackLength=function(e,t,n){var o=0;null!=n.knownLength?o+=+n.knownLength:Buffer.isBuffer(t)?o=t.length:"string"==typeof t&&(o=Buffer.byteLength(t)),this._valueLength+=o,this._overheadLength+=Buffer.byteLength(e)+f.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof p)&&(n.knownLength||this._valuesToMeasure.push(t))},f.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):c.stat(e.path,(function(n,o){var r;n?t(n):(r=o.size-(e.start?e.start:0),t(null,r))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(n){e.pause(),t(null,+n.headers["content-length"])})),e.resume()):t("Unknown stream")},f.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var o,r=this._getContentDisposition(t,n),i=this._getContentType(t,n),a="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(r||[]),"Content-Type":[].concat(i||[])};for(var l in"object"==typeof n.header&&g(s,n.header),s)s.hasOwnProperty(l)&&null!=(o=s[l])&&(Array.isArray(o)||(o=[o]),o.length&&(a+=l+": "+o.join("; ")+f.LINE_BREAK));return"--"+this.getBoundary()+f.LINE_BREAK+a+f.LINE_BREAK},f.prototype._getContentDisposition=function(e,t){var n,o;return"string"==typeof t.filepath?n=i.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=i.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=i.basename(e.client._httpMessage.path||"")),n&&(o='filename="'+n+'"'),o},f.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=u.lookup(e.name)),!n&&e.path&&(n=u.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=u.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=f.DEFAULT_CONTENT_TYPE),n},f.prototype._multiPartFooter=function(){return function(e){var t=f.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},f.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+f.LINE_BREAK},f.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},f.prototype.setBoundary=function(e){this._boundary=e},f.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},f.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,o=this._streams.length;n{e.exports=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}},56692:(e,t,n)=>{global.GENTLY&&GENTLY.hijack(n(68350));var o=n(73837),r=n(57147),i=n(82361).EventEmitter,a=n(6113);function s(e){for(var t in i.call(this),this.size=0,this.path=null,this.name=null,this.type=null,this.hash=null,this.lastModifiedDate=null,this._writeStream=null,e)this[t]=e[t];"string"==typeof this.hash?this.hash=a.createHash(e.hash):this.hash=null}e.exports=s,o.inherits(s,i),s.prototype.open=function(){this._writeStream=new r.WriteStream(this.path)},s.prototype.toJSON=function(){var e={size:this.size,path:this.path,name:this.name,type:this.type,mtime:this.lastModifiedDate,length:this.length,filename:this.filename,mime:this.mime};return this.hash&&""!=this.hash&&(e.hash=this.hash),e},s.prototype.write=function(e,t){var n=this;if(n.hash&&n.hash.update(e),this._writeStream.closed)return t();this._writeStream.write(e,(function(){n.lastModifiedDate=new Date,n.size+=e.length,n.emit("progress",n.size),t()}))},s.prototype.end=function(e){var t=this;t.hash&&(t.hash=t.hash.digest("hex")),this._writeStream.end((function(){t.emit("end"),e()}))}},43573:(e,t,n)=>{global.GENTLY&&GENTLY.hijack(n(68350));var o=n(6113),r=n(57147),i=n(73837),a=n(71017),s=n(56692),l=n(65820).MultipartParser,c=n(44788).l,p=n(12014).h,u=n(4340).c,d=n(71576).StringDecoder,g=n(82361).EventEmitter,f=n(12781).Stream,h=n(22037);function m(e){return this instanceof m?(g.call(this),e=e||{},this.error=null,this.ended=!1,this.maxFields=e.maxFields||1e3,this.maxFieldsSize=e.maxFieldsSize||20971520,this.maxFileSize=e.maxFileSize||209715200,this.keepExtensions=e.keepExtensions||!1,this.uploadDir=e.uploadDir||h.tmpdir&&h.tmpdir()||h.tmpDir(),this.encoding=e.encoding||"utf-8",this.headers=null,this.type=null,this.hash=e.hash||!1,this.multiples=e.multiples||!1,this.bytesReceived=null,this.bytesExpected=null,this._parser=null,this._flushing=0,this._fieldsSize=0,this._fileSize=0,this.openedFiles=[],this):new m(e)}i.inherits(m,g),t.c=m,m.prototype.parse=function(e,t){if(this.pause=function(){try{e.pause()}catch(e){return this.ended||this._error(e),!1}return!0},this.resume=function(){try{e.resume()}catch(e){return this.ended||this._error(e),!1}return!0},t){var n={},o={};this.on("field",(function(e,t){n[e]=t})).on("file",(function(e,t){this.multiples&&o[e]?(Array.isArray(o[e])||(o[e]=[o[e]]),o[e].push(t)):o[e]=t})).on("error",(function(e){t(e,n,o)})).on("end",(function(){t(null,n,o)}))}this.writeHeaders(e.headers);var r=this;return e.on("error",(function(e){r._error(e)})).on("aborted",(function(){r.emit("aborted"),r._error(new Error("Request aborted"))})).on("data",(function(e){r.write(e)})).on("end",(function(){if(!r.error){var e=r._parser.end();e&&r._error(e)}})),this},m.prototype.writeHeaders=function(e){this.headers=e,this._parseContentLength(),this._parseContentType()},m.prototype.write=function(e){if(!this.error)if(this._parser){if("function"==typeof this._parser.write){this.bytesReceived+=e.length,this.emit("progress",this.bytesReceived,this.bytesExpected);var t=this._parser.write(e);return t!==e.length&&this._error(new Error("parser error, "+t+" of "+e.length+" bytes parsed")),t}this._error(new Error("did not expect data"))}else this._error(new Error("uninitialized parser"))},m.prototype.pause=function(){return!1},m.prototype.resume=function(){return!1},m.prototype.onPart=function(e){this.handlePart(e)},m.prototype.handlePart=function(e){var t=this;if(void 0===e.filename){var n="",o=new d(this.encoding);return e.on("data",(function(e){t._fieldsSize+=e.length,t._fieldsSize>t.maxFieldsSize?t._error(new Error("maxFieldsSize exceeded, received "+t._fieldsSize+" bytes of field data")):n+=o.write(e)})),void e.on("end",(function(){t.emit("field",e.name,n)}))}this._flushing++;var r=new s({path:this._uploadPath(e.filename),name:e.filename,type:e.mime,hash:t.hash});this.emit("fileBegin",e.name,r),r.open(),this.openedFiles.push(r),e.on("data",(function(e){t._fileSize+=e.length,t._fileSize>t.maxFileSize?t._error(new Error("maxFileSize exceeded, received "+t._fileSize+" bytes of file data")):0!=e.length&&(t.pause(),r.write(e,(function(){t.resume()})))})),e.on("end",(function(){r.end((function(){t._flushing--,t.emit("file",e.name,r),t._maybeEnd()}))}))},m.prototype._parseContentType=function(){if(0!==this.bytesExpected)if(this.headers["content-type"])if(this.headers["content-type"].match(/octet-stream/i))this._initOctetStream();else if(this.headers["content-type"].match(/urlencoded/i))this._initUrlencoded();else if(this.headers["content-type"].match(/multipart/i)){var e=this.headers["content-type"].match(/boundary=(?:"([^"]+)"|([^;]+))/i);e?this._initMultipart(e[1]||e[2]):this._error(new Error("bad content-type header, no multipart boundary"))}else this.headers["content-type"].match(/json/i)?this._initJSONencoded():this._error(new Error("bad content-type header, unknown content-type: "+this.headers["content-type"]));else this._error(new Error("bad content-type header, no content-type"));else this._parser=function(e){return{end:function(){return e.ended=!0,e._maybeEnd(),null}}}(this)},m.prototype._error=function(e){this.error||this.ended||(this.error=e,this.emit("error",e),Array.isArray(this.openedFiles)&&this.openedFiles.forEach((function(e){e._writeStream.on("error",(function(){})).destroy(),setTimeout(r.unlink,0,e.path,(function(e){}))})))},m.prototype._parseContentLength=function(){this.bytesReceived=0,this.headers["content-length"]?this.bytesExpected=parseInt(this.headers["content-length"],10):void 0===this.headers["transfer-encoding"]&&(this.bytesExpected=0),null!==this.bytesExpected&&this.emit("progress",this.bytesReceived,this.bytesExpected)},m.prototype._newParser=function(){return new l},m.prototype._initMultipart=function(e){this.type="multipart";var t,n,o,r=new l,i=this;r.initWithBoundary(e),r.onPartBegin=function(){(o=new f).readable=!0,o.headers={},o.name=null,o.filename=null,o.mime=null,o.transferEncoding="binary",o.transferBuffer="",t="",n=""},r.onHeaderField=function(e,n,o){t+=e.toString(i.encoding,n,o)},r.onHeaderValue=function(e,t,o){n+=e.toString(i.encoding,t,o)},r.onHeaderEnd=function(){t=t.toLowerCase(),o.headers[t]=n;var e=n.match(/\bname=("([^"]*)"|([^\(\)<>@,;:\\"\/\[\]\?=\{\}\s\t/]+))/i);"content-disposition"==t?(e&&(o.name=e[2]||e[3]||""),o.filename=i._fileName(n)):"content-type"==t?o.mime=n:"content-transfer-encoding"==t&&(o.transferEncoding=n.toLowerCase()),t="",n=""},r.onHeadersEnd=function(){switch(o.transferEncoding){case"binary":case"7bit":case"8bit":r.onPartData=function(e,t,n){o.emit("data",e.slice(t,n))},r.onPartEnd=function(){o.emit("end")};break;case"base64":r.onPartData=function(e,t,n){o.transferBuffer+=e.slice(t,n).toString("ascii");var r=4*parseInt(o.transferBuffer.length/4,10);o.emit("data",new Buffer(o.transferBuffer.substring(0,r),"base64")),o.transferBuffer=o.transferBuffer.substring(r)},r.onPartEnd=function(){o.emit("data",new Buffer(o.transferBuffer,"base64")),o.emit("end")};break;default:return i._error(new Error("unknown transfer-encoding"))}i.onPart(o)},r.onEnd=function(){i.ended=!0,i._maybeEnd()},this._parser=r},m.prototype._fileName=function(e){var t=e.match(/\bfilename=("(.*?)"|([^\(\)<>@,;:\\"\/\[\]\?=\{\}\s\t/]+))($|;\s)/i);if(t){var n=t[2]||t[3]||"",o=n.substr(n.lastIndexOf("\\")+1);return(o=o.replace(/%22/g,'"')).replace(/&#([\d]{4});/g,(function(e,t){return String.fromCharCode(t)}))}},m.prototype._initUrlencoded=function(){this.type="urlencoded";var e=new c(this.maxFields),t=this;e.onField=function(e,n){t.emit("field",e,n)},e.onEnd=function(){t.ended=!0,t._maybeEnd()},this._parser=e},m.prototype._initOctetStream=function(){this.type="octet-stream";var e=this.headers["x-file-name"],t=this.headers["content-type"],n=new s({path:this._uploadPath(e),name:e,type:t});this.emit("fileBegin",e,n),n.open(),this.openedFiles.push(n),this._flushing++;var o=this;o._parser=new p;var r=0;o._parser.on("data",(function(e){o.pause(),r++,n.write(e,(function(){r--,o.resume(),o.ended&&o._parser.emit("doneWritingFile")}))})),o._parser.on("end",(function(){o._flushing--,o.ended=!0;var e=function(){n.end((function(){o.emit("file","file",n),o._maybeEnd()}))};0===r?e():o._parser.once("doneWritingFile",e)}))},m.prototype._initJSONencoded=function(){this.type="json";var e=new u(this),t=this;e.onField=function(e,n){t.emit("field",e,n)},e.onEnd=function(){t.ended=!0,t._maybeEnd()},this._parser=e},m.prototype._uploadPath=function(e){var t="upload_"+o.randomBytes(16).toString("hex");if(this.keepExtensions){var n=a.extname(e);t+=n=n.replace(/(\.[a-z0-9]+).*/i,"$1")}return a.join(this.uploadDir,t)},m.prototype._maybeEnd=function(){!this.ended||this._flushing||this.error||this.emit("end")}},46425:(e,t,n)=>{var o=n(43573).c;o.IncomingForm=o,e.exports=o},4340:(e,t,n)=>{global.GENTLY&&GENTLY.hijack(n(68350));var o=n(14300).Buffer;function r(e){this.parent=e,this.chunks=[],this.bytesWritten=0}t.c=r,r.prototype.write=function(e){return this.bytesWritten+=e.length,this.chunks.push(e),e.length},r.prototype.end=function(){try{var e=JSON.parse(o.concat(this.chunks));for(var t in e)this.onField(t,e[t])}catch(e){this.parent.emit("error",e)}this.data=null,this.onEnd()}},65820:(e,t,n)=>{var o=n(14300).Buffer,r=0,i={PARSER_UNINITIALIZED:r++,START:r++,START_BOUNDARY:r++,HEADER_FIELD_START:r++,HEADER_FIELD:r++,HEADER_VALUE_START:r++,HEADER_VALUE:r++,HEADER_VALUE_ALMOST_DONE:r++,HEADERS_ALMOST_DONE:r++,PART_DATA_START:r++,PART_DATA:r++,PART_END:r++,END:r++},a=1,s=a,l=a*=2,c=function(e){return 32|e};for(r in i)t[r]=i[r];function p(){this.boundary=null,this.boundaryChars=null,this.lookbehind=null,this.state=i.PARSER_UNINITIALIZED,this.index=null,this.flags=0}t.MultipartParser=p,p.stateToString=function(e){for(var t in i)if(i[t]===e)return t},p.prototype.initWithBoundary=function(e){this.boundary=new o(e.length+4),this.boundary.write("\r\n--",0),this.boundary.write(e,4),this.lookbehind=new o(this.boundary.length+8),this.state=i.START,this.boundaryChars={};for(var t=0;t122)return r;break;case i.HEADER_VALUE_START:if(32==t)break;O("headerValue"),d=i.HEADER_VALUE;case i.HEADER_VALUE:13==t&&(P("headerValue",!0),w("headerEnd"),d=i.HEADER_VALUE_ALMOST_DONE);break;case i.HEADER_VALUE_ALMOST_DONE:if(10!=t)return r;d=i.HEADER_FIELD_START;break;case i.HEADERS_ALMOST_DONE:if(10!=t)return r;w("headersEnd"),d=i.PART_DATA_START;break;case i.PART_DATA_START:d=i.PART_DATA,O("partData");case i.PART_DATA:if(p=u,0===u){for(r+=v;r0?f[u-1]=t:p>0&&(w("partData",f,0,p),p=0,O("partData"),r--);break;case i.END:break;default:return r}return P("headerField"),P("headerValue"),P("partData"),this.index=u,this.state=d,this.flags=g,a},p.prototype.end=function(){var e=function(e,t){var n="on"+t.substr(0,1).toUpperCase()+t.substr(1);n in e&&e[n]()};if(this.state==i.HEADER_FIELD_START&&0===this.index||this.state==i.PART_DATA&&this.index==this.boundary.length)e(this,"partEnd"),e(this,"end");else if(this.state!=i.END)return new Error("MultipartParser.end(): stream ended unexpectedly: "+this.explain())},p.prototype.explain=function(){return"state = "+p.stateToString(this.state)}},12014:(e,t,n)=>{var o=n(82361).EventEmitter;function r(e){if(!(this instanceof r))return new r(e);o.call(this)}n(73837).inherits(r,o),t.h=r,r.prototype.write=function(e){return this.emit("data",e),e.length},r.prototype.end=function(){this.emit("end")}},44788:(e,t,n)=>{global.GENTLY&&GENTLY.hijack(n(68350));var o=n(63477);function r(e){this.maxKeys=e,this.buffer=""}t.l=r,r.prototype.write=function(e){return this.buffer+=e.toString("ascii"),e.length},r.prototype.end=function(){var e=o.parse(this.buffer,"&","=",{maxKeys:this.maxKeys});for(var t in e)this.onField(t,e[t]);this.buffer="",this.onEnd()}},68350:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=68350,e.exports=t},59748:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,r="[object Function]";e.exports=function(e){var i=this;if("function"!=typeof i||o.call(i)!==r)throw new TypeError(t+i);for(var a,s=n.call(arguments,1),l=function(){if(this instanceof a){var t=i.apply(this,s.concat(n.call(arguments)));return Object(t)===t?t:this}return i.apply(e,s.concat(n.call(arguments)))},c=Math.max(0,i.length-s.length),p=[],u=0;u{"use strict";var o=n(59748);e.exports=Function.prototype.bind||o},38156:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GaxiosError=void 0;class n extends Error{constructor(e,t,n){super(e),this.response=n,this.config=t,this.code=n.status.toString()}}t.GaxiosError=n},6446:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Gaxios=void 0;const r=o(n(93405)),i=n(95687),a=o(n(54250)),s=o(n(63477)),l=o(n(57983)),c=n(57310),p=n(38156),u=n(68524),d="undefined"!=typeof window&&window&&window.fetch?window.fetch:a.default;function g(e,t){return!!f(e,t)}function f(e,t){t=t.toLowerCase();for(const n of Object.keys((null==e?void 0:e.headers)||{}))if(t===n.toLowerCase())return e.headers[n]}let h;function m(){var e,t,o,r;const i=(null===(e=null===process||void 0===process?void 0:process.env)||void 0===e?void 0:e.HTTPS_PROXY)||(null===(t=null===process||void 0===process?void 0:process.env)||void 0===t?void 0:t.https_proxy)||(null===(o=null===process||void 0===process?void 0:process.env)||void 0===o?void 0:o.HTTP_PROXY)||(null===(r=null===process||void 0===process?void 0:process.env)||void 0===r?void 0:r.http_proxy);return i&&(h=n(54792)),i}m(),t.Gaxios=class{constructor(e){this.agentCache=new Map,this.defaults=e||{}}async request(e={}){return e=this.validateOpts(e),this._request(e)}async _defaultAdapter(e){const t=e.fetchImplementation||d,n=await t(e.url,e),o=await this.getResponseData(e,n);return this.translateResponse(e,n,o)}async _request(e={}){try{let t;if(t=e.adapter?await e.adapter(e,this._defaultAdapter.bind(this)):await this._defaultAdapter(e),!e.validateStatus(t.status))throw new p.GaxiosError(`Request failed with status code ${t.status}`,e,t);return t}catch(t){const n=t;n.config=e;const{shouldRetry:o,config:r}=await(0,u.getRetryConfig)(n);if(o&&r)return n.config.retryConfig.currentRetryAttempt=r.retryConfig.currentRetryAttempt,this._request(n.config);throw n}}async getResponseData(e,t){switch(e.responseType){case"stream":return t.body;case"json":{let e=await t.text();try{e=JSON.parse(e)}catch(e){}return e}case"arraybuffer":return t.arrayBuffer();case"blob":return t.blob();default:return t.text()}}validateOpts(e){const t=(0,r.default)(!0,{},this.defaults,e);if(!t.url)throw new Error("URL is required.");const n=t.baseUrl||t.baseURL;if(n&&(t.url=n+t.url),t.paramsSerializer=t.paramsSerializer||this.paramsSerializer,t.params&&Object.keys(t.params).length>0){let e=t.paramsSerializer(t.params);e.startsWith("?")&&(e=e.slice(1));const n=t.url.includes("?")?"&":"?";t.url=t.url+n+e}if("number"==typeof e.maxContentLength&&(t.size=e.maxContentLength),"number"==typeof e.maxRedirects&&(t.follow=e.maxRedirects),t.headers=t.headers||{},t.data){const e="undefined"!=typeof FormData&&(null==t?void 0:t.data)instanceof FormData;l.default.readable(t.data)?t.body=t.data:"undefined"!=typeof Buffer&&Buffer.isBuffer(t.data)?(t.body=t.data,g(t,"Content-Type")||(t.headers["Content-Type"]="application/json")):"object"==typeof t.data?e||("application/x-www-form-urlencoded"===f(t,"content-type")?t.body=t.paramsSerializer(t.data):(g(t,"Content-Type")||(t.headers["Content-Type"]="application/json"),t.body=JSON.stringify(t.data))):t.body=t.data}t.validateStatus=t.validateStatus||this.validateStatus,t.responseType=t.responseType||"json",t.headers.Accept||"json"!==t.responseType||(t.headers.Accept="application/json"),t.method=t.method||"GET";const o=function(e){var t;const n=null!==(t=process.env.NO_PROXY)&&void 0!==t?t:process.env.no_proxy;if(!n)return!1;const o=n.split(","),r=new c.URL(e);return!!o.find((e=>e.startsWith("*.")||e.startsWith(".")?(e=e.replace(/^\*\./,"."),r.hostname.endsWith(e)):e===r.origin||e===r.hostname))}(t.url)?void 0:m();if(o)if(this.agentCache.has(o))t.agent=this.agentCache.get(o);else{if(t.cert&&t.key){const e=new c.URL(o);t.agent=new h({port:e.port,host:e.host,protocol:e.protocol,cert:t.cert,key:t.key})}else t.agent=new h(o);this.agentCache.set(o,t.agent)}else t.cert&&t.key&&(this.agentCache.has(t.key)?t.agent=this.agentCache.get(t.key):(t.agent=new i.Agent({cert:t.cert,key:t.key}),this.agentCache.set(t.key,t.agent)));return t}validateStatus(e){return e>=200&&e<300}paramsSerializer(e){return s.default.stringify(e)}translateResponse(e,t,n){const o={};return t.headers.forEach(((e,t)=>{o[t]=e})),{config:e,data:n,headers:o,status:t.status,statusText:t.statusText,request:{responseURL:t.url}}}}},3830:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.request=t.instance=t.Gaxios=t.GaxiosError=void 0;const o=n(6446);Object.defineProperty(t,"Gaxios",{enumerable:!0,get:function(){return o.Gaxios}});var r=n(38156);Object.defineProperty(t,"GaxiosError",{enumerable:!0,get:function(){return r.GaxiosError}}),t.instance=new o.Gaxios,t.request=async function(e){return t.instance.request(e)}},68524:(e,t)=>{"use strict";function n(e){const t=o(e);if("AbortError"===e.name)return!1;if(!t||0===t.retry)return!1;if(!e.response&&(t.currentRetryAttempt||0)>=t.noResponseRetries)return!1;if(!e.config.method||t.httpMethodsToRetry.indexOf(e.config.method.toUpperCase())<0)return!1;if(e.response&&e.response.status){let n=!1;for(const[o,r]of t.statusCodesToRetry){const t=e.response.status;if(t>=o&&t<=r){n=!0;break}}if(!n)return!1}return t.currentRetryAttempt=t.currentRetryAttempt||0,!(t.currentRetryAttempt>=t.retry)}function o(e){if(e&&e.config&&e.config.retryConfig)return e.config.retryConfig}Object.defineProperty(t,"__esModule",{value:!0}),t.getRetryConfig=void 0,t.getRetryConfig=async function(e){var t;let r=o(e);if(!e||!e.config||!r&&!e.config.retry)return{shouldRetry:!1};r=r||{},r.currentRetryAttempt=r.currentRetryAttempt||0,r.retry=void 0===r.retry||null===r.retry?3:r.retry,r.httpMethodsToRetry=r.httpMethodsToRetry||["GET","HEAD","PUT","OPTIONS","DELETE"],r.noResponseRetries=void 0===r.noResponseRetries||null===r.noResponseRetries?2:r.noResponseRetries,r.statusCodesToRetry=r.statusCodesToRetry||[[100,199],[429,429],[500,599]],e.config.retryConfig=r;const i=r.shouldRetry||n;if(!await i(e))return{shouldRetry:!1,config:e.config};const a=(r.currentRetryAttempt?0:null!==(t=r.retryDelay)&&void 0!==t?t:100)+(Math.pow(2,r.currentRetryAttempt)-1)/2*1e3;e.config.retryConfig.currentRetryAttempt+=1;const s=new Promise((e=>{setTimeout(e,a)}));return r.onRetryAttempt&&r.onRetryAttempt(e),await s,{shouldRetry:!0,config:e.config}}},39335:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectGCPResidency=t.isGoogleComputeEngine=t.isGoogleComputeEngineMACAddress=t.isGoogleComputeEngineLinux=t.isGoogleCloudServerless=t.GCE_LINUX_BIOS_PATHS=void 0;const o=n(57147),r=n(22037);t.GCE_LINUX_BIOS_PATHS={BIOS_DATE:"/sys/class/dmi/id/bios_date",BIOS_VENDOR:"/sys/class/dmi/id/bios_vendor"};const i=/^42:01/;function a(){return!!(process.env.CLOUD_RUN_JOB||process.env.FUNCTION_NAME||process.env.K_SERVICE)}function s(){if("linux"!==(0,r.platform)())return!1;try{(0,o.statSync)(t.GCE_LINUX_BIOS_PATHS.BIOS_DATE);const e=(0,o.readFileSync)(t.GCE_LINUX_BIOS_PATHS.BIOS_VENDOR,"utf8");return/Google/.test(e)}catch(e){return!1}}function l(){const e=(0,r.networkInterfaces)();for(const t of Object.values(e))if(t)for(const{mac:e}of t)if(i.test(e))return!0;return!1}function c(){return s()||l()}t.isGoogleCloudServerless=a,t.isGoogleComputeEngineLinux=s,t.isGoogleComputeEngineMACAddress=l,t.isGoogleComputeEngine=c,t.detectGCPResidency=function(){return a()||c()}},64338:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.requestTimeout=t.setGCPResidency=t.gcpResidencyCache=t.resetIsAvailableCache=t.isAvailable=t.project=t.instance=t.HEADERS=t.HEADER_VALUE=t.HEADER_NAME=t.SECONDARY_HOST_ADDRESS=t.HOST_ADDRESS=t.BASE_PATH=void 0;const i=n(3830),a=n(93342),s=n(39335);function l(e){return e||(e=process.env.GCE_METADATA_IP||process.env.GCE_METADATA_HOST||t.HOST_ADDRESS),/^https?:\/\//.test(e)||(e=`http://${e}`),new URL(t.BASE_PATH,e).href}async function c(e,n,o=3,r=!1){"string"==typeof(n=n||{})&&(n={property:n});let s="";"object"==typeof n&&n.property&&(s="/"+n.property),function(e){Object.keys(e).forEach((e=>{switch(e){case"params":case"property":case"headers":break;case"qs":throw new Error("'qs' is not a valid configuration option. Please use 'params' instead.");default:throw new Error(`'${e}' is not a valid configuration option.`)}}))}(n);try{const c=r?p:i.request,u=await c({url:`${l()}/${e}${s}`,headers:Object.assign({},t.HEADERS,n.headers),retryConfig:{noResponseRetries:o},params:n.params,responseType:"text",timeout:d()});if(u.headers[t.HEADER_NAME.toLowerCase()]!==t.HEADER_VALUE)throw new Error(`Invalid response from metadata service: incorrect ${t.HEADER_NAME} header.`);if(!u.data)throw new Error("Invalid response from the metadata service");if("string"==typeof u.data)try{return a.parse(u.data)}catch(e){}return u.data}catch(e){const t=e;throw t.response&&200!==t.response.status&&(t.message=`Unsuccessful response status code. ${t.message}`),e}}async function p(e){const n={...e,url:e.url.replace(l(),l(t.SECONDARY_HOST_ADDRESS))};let o=!1;const r=(0,i.request)(e).then((e=>(o=!0,e))).catch((e=>{if(o)return a;throw o=!0,e})),a=(0,i.request)(n).then((e=>(o=!0,e))).catch((e=>{if(o)return r;throw o=!0,e}));return Promise.race([r,a])}let u;function d(){return null===t.gcpResidencyCache&&(t.gcpResidencyCache=(0,s.detectGCPResidency)()),t.gcpResidencyCache?0:3e3}t.BASE_PATH="/computeMetadata/v1",t.HOST_ADDRESS="http://169.254.169.254",t.SECONDARY_HOST_ADDRESS="http://metadata.google.internal.",t.HEADER_NAME="Metadata-Flavor",t.HEADER_VALUE="Google",t.HEADERS=Object.freeze({[t.HEADER_NAME]:t.HEADER_VALUE}),t.instance=function(e){return c("instance",e)},t.project=function(e){return c("project",e)},t.isAvailable=async function(){try{return void 0===u&&(u=c("instance",void 0,process.env.DETECT_GCP_RETRIES?Number(process.env.DETECT_GCP_RETRIES):0,!(process.env.GCE_METADATA_IP||process.env.GCE_METADATA_HOST))),await u,!0}catch(e){const t=e;if(process.env.DEBUG_AUTH&&console.info(t),"request-timeout"===t.type)return!1;if(t.response&&404===t.response.status)return!1;if(!(t.response&&404===t.response.status||t.code&&["EHOSTDOWN","EHOSTUNREACH","ENETUNREACH","ENOENT","ENOTFOUND","ECONNREFUSED"].includes(t.code))){let e="UNKNOWN";t.code&&(e=t.code),process.emitWarning(`received unexpected error = ${t.message} code = ${e}`,"MetadataLookupWarning")}return!1}},t.resetIsAvailableCache=function(){u=void 0},t.gcpResidencyCache=null,t.setGCPResidency=function(e=null){t.gcpResidencyCache=null!==e?e:(0,s.detectGCPResidency)()},t.requestTimeout=d,r(n(39335),t)},28487:(e,t,n)=>{"use strict";var o,r=SyntaxError,i=Function,a=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var c=function(){throw new a},p=l?function(){try{return c}catch(e){try{return l(arguments,"callee").get}catch(e){return c}}}():c,u=n(72770)(),d=Object.getPrototypeOf||function(e){return e.__proto__},g={},f="undefined"==typeof Uint8Array?o:d(Uint8Array),h={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":u?d([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":g,"%AsyncGenerator%":g,"%AsyncGeneratorFunction%":g,"%AsyncIteratorPrototype%":g,"%Atomics%":"undefined"==typeof Atomics?o:Atomics,"%BigInt%":"undefined"==typeof BigInt?o:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?o:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?o:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?o:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?o:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":g,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?d(d([][Symbol.iterator]())):o,"%JSON%":"object"==typeof JSON?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u?d((new Map)[Symbol.iterator]()):o,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?o:Promise,"%Proxy%":"undefined"==typeof Proxy?o:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?o:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?o:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u?d((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?d(""[Symbol.iterator]()):o,"%Symbol%":u?Symbol:o,"%SyntaxError%":r,"%ThrowTypeError%":p,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?o:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?o:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?o:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?o:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?o:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?o:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?o:WeakSet},m=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var o=e("%AsyncGeneratorFunction%");o&&(n=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var r=e("%AsyncGenerator%");r&&(n=d(r.prototype))}return h[t]=n,n},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=n(22698),b=n(22786),O=v.call(Function.call,Array.prototype.concat),w=v.call(Function.apply,Array.prototype.splice),P=v.call(Function.call,String.prototype.replace),x=v.call(Function.call,String.prototype.slice),S=v.call(Function.call,RegExp.prototype.exec),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g,E=function(e){var t=x(e,0,1),n=x(e,-1);if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var o=[];return P(e,T,(function(e,t,n,r){o[o.length]=n?P(r,A,"$1"):t||e})),o},j=function(e,t){var n,o=e;if(b(y,o)&&(o="%"+(n=y[o])[0]+"%"),b(h,o)){var i=h[o];if(i===g&&(i=m(o)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:i}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===S(/^%?[^%]*%?$/,e))throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=E(e),o=n.length>0?n[0]:"",i=j("%"+o+"%",t),s=i.name,c=i.value,p=!1,u=i.alias;u&&(o=u[0],w(n,O([0,1],u)));for(var d=1,g=!0;d=n.length){var v=l(c,f);c=(g=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:c[f]}else g=b(c,f),c=c[f];g&&!p&&(h[s]=c)}}return c}},78478:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthClient=void 0;const o=n(82361),r=n(66484);class i extends o.EventEmitter{constructor(){super(...arguments),this.transporter=new r.DefaultTransporter,this.credentials={},this.eagerRefreshThresholdMillis=3e5,this.forceRefreshOnFailure=!1}setCredentials(e){this.credentials=e}addSharedMetadataHeaders(e){return!e["x-goog-user-project"]&&this.quotaProjectId&&(e["x-goog-user-project"]=this.quotaProjectId),e}}t.AuthClient=i},30011:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwsClient=void 0;const o=n(14815),r=n(36045);class i extends r.BaseExternalAccountClient{constructor(e,t){super(e,t),this.environmentId=e.credential_source.environment_id,this.regionUrl=e.credential_source.region_url,this.securityCredentialsUrl=e.credential_source.url,this.regionalCredVerificationUrl=e.credential_source.regional_cred_verification_url,this.imdsV2SessionTokenUrl=e.credential_source.imdsv2_session_token_url,this.awsRequestSigner=null,this.region="",this.validateEnvironmentId(),this.validateMetadataServerURLs()}validateEnvironmentId(){var e;const t=null===(e=this.environmentId)||void 0===e?void 0:e.match(/^(aws)(\d+)$/);if(!t||!this.regionalCredVerificationUrl)throw new Error('No valid AWS "credential_source" provided');if(1!==parseInt(t[2],10))throw new Error(`aws version "${t[2]}" is not supported in the current build.`)}validateMetadataServerURLs(){this.validateMetadataURL(this.regionUrl,"region_url"),this.validateMetadataURL(this.securityCredentialsUrl,"url"),this.validateMetadataURL(this.imdsV2SessionTokenUrl,"imdsv2_session_token_url")}validateMetadataURL(e,t){if(!e)return;const n=new URL(e);if(n.hostname!==i.AWS_EC2_METADATA_IPV4_ADDRESS&&n.hostname!==`[${i.AWS_EC2_METADATA_IPV6_ADDRESS}]`)throw new RangeError(`Invalid host "${n.hostname}" for "${t}". Expecting ${i.AWS_EC2_METADATA_IPV4_ADDRESS} or ${i.AWS_EC2_METADATA_IPV6_ADDRESS}.`)}async retrieveSubjectToken(){if(!this.awsRequestSigner){const e={};this.imdsV2SessionTokenUrl&&(e["x-aws-ec2-metadata-token"]=await this.getImdsV2SessionToken()),this.region=await this.getAwsRegion(e),this.awsRequestSigner=new o.AwsRequestSigner((async()=>{if(process.env.AWS_ACCESS_KEY_ID&&process.env.AWS_SECRET_ACCESS_KEY)return{accessKeyId:process.env.AWS_ACCESS_KEY_ID,secretAccessKey:process.env.AWS_SECRET_ACCESS_KEY,token:process.env.AWS_SESSION_TOKEN};const t=await this.getAwsRoleName(e),n=await this.getAwsSecurityCredentials(t,e);return{accessKeyId:n.AccessKeyId,secretAccessKey:n.SecretAccessKey,token:n.Token}}),this.region)}const e=await this.awsRequestSigner.getRequestOptions({url:this.regionalCredVerificationUrl.replace("{region}",this.region),method:"POST"}),t=[],n=Object.assign({"x-goog-cloud-target-resource":this.audience},e.headers);for(const e in n)t.push({key:e,value:n[e]});return encodeURIComponent(JSON.stringify({url:e.url,method:e.method,headers:t}))}async getImdsV2SessionToken(){const e={url:this.imdsV2SessionTokenUrl,method:"PUT",responseType:"text",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"300"}};return(await this.transporter.request(e)).data}async getAwsRegion(e){if(process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION)return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION;if(!this.regionUrl)throw new Error('Unable to determine AWS region due to missing "options.credential_source.region_url"');const t={url:this.regionUrl,method:"GET",responseType:"text",headers:e},n=await this.transporter.request(t);return n.data.substr(0,n.data.length-1)}async getAwsRoleName(e){if(!this.securityCredentialsUrl)throw new Error('Unable to determine AWS role name due to missing "options.credential_source.url"');const t={url:this.securityCredentialsUrl,method:"GET",responseType:"text",headers:e};return(await this.transporter.request(t)).data}async getAwsSecurityCredentials(e,t){return(await this.transporter.request({url:`${this.securityCredentialsUrl}/${e}`,responseType:"json",headers:t})).data}}t.AwsClient=i,i.AWS_EC2_METADATA_IPV4_ADDRESS="169.254.169.254",i.AWS_EC2_METADATA_IPV6_ADDRESS="fd00:ec2::254"},14815:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwsRequestSigner=void 0;const o=n(57489),r="AWS4-HMAC-SHA256";async function i(e,t,n){return await e.signWithHmacSha256(t,n)}t.AwsRequestSigner=class{constructor(e,t){this.getCredentials=e,this.region=t,this.crypto=(0,o.createCrypto)()}async getRequestOptions(e){if(!e.url)throw new Error('"url" is required in "amzOptions"');const t="object"==typeof e.data?JSON.stringify(e.data):e.data,n=e.url,a=e.method||"GET",s=e.body||t,l=e.headers,c=await this.getCredentials(),p=new URL(n),u=await async function(e){const t=e.additionalAmzHeaders||{},n=e.requestPayload||"",a=e.host.split(".")[0],s=new Date,l=s.toISOString().replace(/[-:]/g,"").replace(/\.[0-9]+/,""),c=s.toISOString().replace(/[-]/g,"").replace(/T.*/,""),p={};Object.keys(t).forEach((e=>{p[e.toLowerCase()]=t[e]})),e.securityCredentials.token&&(p["x-amz-security-token"]=e.securityCredentials.token);const u=Object.assign({host:e.host},p.date?{}:{"x-amz-date":l},p);let d="";const g=Object.keys(u).sort();g.forEach((e=>{d+=`${e}:${u[e]}\n`}));const f=g.join(";"),h=await e.crypto.sha256DigestHex(n),m=`${e.method}\n${e.canonicalUri}\n${e.canonicalQuerystring}\n${d}\n${f}\n${h}`,y=`${c}/${e.region}/${a}/aws4_request`,v=`${r}\n${l}\n${y}\n`+await e.crypto.sha256DigestHex(m),b=await async function(e,t,n,o,r){const a=await i(e,`AWS4${t}`,n),s=await i(e,a,o),l=await i(e,s,r);return await i(e,l,"aws4_request")}(e.crypto,e.securityCredentials.secretAccessKey,c,e.region,a),O=await i(e.crypto,b,v),w=`${r} Credential=${e.securityCredentials.accessKeyId}/${y}, SignedHeaders=${f}, Signature=${(0,o.fromArrayBufferToHex)(O)}`;return{amzDate:p.date?void 0:l,authorizationHeader:w,canonicalQuerystring:e.canonicalQuerystring}}({crypto:this.crypto,host:p.host,canonicalUri:p.pathname,canonicalQuerystring:p.search.substr(1),method:a,region:this.region,securityCredentials:c,requestPayload:s,additionalAmzHeaders:l}),d=Object.assign(u.amzDate?{"x-amz-date":u.amzDate}:{},{Authorization:u.authorizationHeader,host:p.host},l||{});c.token&&Object.assign(d,{"x-amz-security-token":c.token});const g={url:n,method:a,headers:d};return void 0!==s&&(g.body=s),g}}},36045:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseExternalAccountClient=t.CLOUD_RESOURCE_MANAGER=t.EXTERNAL_ACCOUNT_TYPE=t.EXPIRATION_TIME_OFFSET=void 0;const o=n(12781),r=n(78478),i=n(46185),a="https://www.googleapis.com/auth/cloud-platform",s="\\.googleapis\\.com$",l="[^\\.\\s\\/\\\\]+";t.EXPIRATION_TIME_OFFSET=3e5,t.EXTERNAL_ACCOUNT_TYPE="external_account",t.CLOUD_RESOURCE_MANAGER="https://cloudresourcemanager.googleapis.com/v1/projects/";class c extends r.AuthClient{constructor(e,n){var o,r;if(super(),e.type!==t.EXTERNAL_ACCOUNT_TYPE)throw new Error(`Expected "${t.EXTERNAL_ACCOUNT_TYPE}" type but received "${e.type}"`);if(this.clientAuth=e.client_id?{confidentialClientType:"basic",clientId:e.client_id,clientSecret:e.client_secret}:void 0,!this.validateGoogleAPIsUrl("sts",e.token_url))throw new Error(`"${e.token_url}" is not a valid token url.`);this.stsCredential=new i.StsCredentials(e.token_url,this.clientAuth),this.scopes=[a],this.cachedAccessToken=null,this.audience=e.audience,this.subjectTokenType=e.subject_token_type,this.quotaProjectId=e.quota_project_id,this.workforcePoolUserProject=e.workforce_pool_user_project;const s=new RegExp("//iam.googleapis.com/locations/[^/]+/workforcePools/[^/]+/providers/.+");if(this.workforcePoolUserProject&&!this.audience.match(s))throw new Error("workforcePoolUserProject should not be set for non-workforce pool credentials.");if(void 0!==e.service_account_impersonation_url&&!this.validateGoogleAPIsUrl("iamcredentials",e.service_account_impersonation_url))throw new Error(`"${e.service_account_impersonation_url}" is not a valid service account impersonation url.`);this.serviceAccountImpersonationUrl=e.service_account_impersonation_url,this.serviceAccountImpersonationLifetime=null!==(r=null===(o=e.service_account_impersonation)||void 0===o?void 0:o.token_lifetime_seconds)&&void 0!==r?r:3600,"number"!=typeof(null==n?void 0:n.eagerRefreshThresholdMillis)?this.eagerRefreshThresholdMillis=t.EXPIRATION_TIME_OFFSET:this.eagerRefreshThresholdMillis=n.eagerRefreshThresholdMillis,this.forceRefreshOnFailure=!!(null==n?void 0:n.forceRefreshOnFailure),this.projectId=null,this.projectNumber=this.getProjectNumber(this.audience)}getServiceAccountEmail(){var e;if(this.serviceAccountImpersonationUrl){const t=/serviceAccounts\/(?[^:]+):generateAccessToken$/.exec(this.serviceAccountImpersonationUrl);return(null===(e=null==t?void 0:t.groups)||void 0===e?void 0:e.email)||null}return null}setCredentials(e){super.setCredentials(e),this.cachedAccessToken=e}async getAccessToken(){return this.cachedAccessToken&&!this.isExpired(this.cachedAccessToken)||await this.refreshAccessTokenAsync(),{token:this.cachedAccessToken.access_token,res:this.cachedAccessToken.res}}async getRequestHeaders(){const e={Authorization:`Bearer ${(await this.getAccessToken()).token}`};return this.addSharedMetadataHeaders(e)}request(e,t){if(!t)return this.requestAsync(e);this.requestAsync(e).then((e=>t(null,e)),(e=>t(e,e.response)))}async getProjectId(){const e=this.projectNumber||this.workforcePoolUserProject;if(this.projectId)return this.projectId;if(e){const n=await this.getRequestHeaders(),o=await this.transporter.request({headers:n,url:`${t.CLOUD_RESOURCE_MANAGER}${e}`,responseType:"json"});return this.projectId=o.data.projectId,this.projectId}return null}async requestAsync(e,t=!1){let n;try{const t=await this.getRequestHeaders();e.headers=e.headers||{},t&&t["x-goog-user-project"]&&(e.headers["x-goog-user-project"]=t["x-goog-user-project"]),t&&t.Authorization&&(e.headers.Authorization=t.Authorization),n=await this.transporter.request(e)}catch(n){const r=n.response;if(r){const n=r.status,i=r.config.data instanceof o.Readable;if(!t&&(401===n||403===n)&&!i&&this.forceRefreshOnFailure)return await this.refreshAccessTokenAsync(),await this.requestAsync(e,!0)}throw n}return n}async refreshAccessTokenAsync(){const e=await this.retrieveSubjectToken(),t={grantType:"urn:ietf:params:oauth:grant-type:token-exchange",audience:this.audience,requestedTokenType:"urn:ietf:params:oauth:token-type:access_token",subjectToken:e,subjectTokenType:this.subjectTokenType,scope:this.serviceAccountImpersonationUrl?[a]:this.getScopesArray()},n=!this.clientAuth&&this.workforcePoolUserProject?{userProject:this.workforcePoolUserProject}:void 0,o=await this.stsCredential.exchangeToken(t,void 0,n);return this.serviceAccountImpersonationUrl?this.cachedAccessToken=await this.getImpersonatedAccessToken(o.access_token):o.expires_in?this.cachedAccessToken={access_token:o.access_token,expiry_date:(new Date).getTime()+1e3*o.expires_in,res:o.res}:this.cachedAccessToken={access_token:o.access_token,res:o.res},this.credentials={},Object.assign(this.credentials,this.cachedAccessToken),delete this.credentials.res,this.emit("tokens",{refresh_token:null,expiry_date:this.cachedAccessToken.expiry_date,access_token:this.cachedAccessToken.access_token,token_type:"Bearer",id_token:null}),this.cachedAccessToken}getProjectNumber(e){const t=e.match(/\/projects\/([^/]+)/);return t?t[1]:null}async getImpersonatedAccessToken(e){const t={url:this.serviceAccountImpersonationUrl,method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${e}`},data:{scope:this.getScopesArray(),lifetime:this.serviceAccountImpersonationLifetime+"s"},responseType:"json"},n=await this.transporter.request(t),o=n.data;return{access_token:o.accessToken,expiry_date:new Date(o.expireTime).getTime(),res:n}}isExpired(e){const t=(new Date).getTime();return!!e.expiry_date&&t>=e.expiry_date-this.eagerRefreshThresholdMillis}getScopesArray(){return"string"==typeof this.scopes?[this.scopes]:void 0===this.scopes?[a]:this.scopes}validateGoogleAPIsUrl(e,t){let n;try{n=new URL(t)}catch(e){return!1}const o=n.hostname;if("https:"!==n.protocol)return!1;const r=[new RegExp("^"+l+"\\."+e+s),new RegExp("^"+e+s),new RegExp("^"+e+"\\."+l+s),new RegExp("^"+l+"\\-"+e+s),new RegExp("^"+e+"\\-"+l+"\\.p"+s)];for(const e of r)if(o.match(e))return!0;return!1}}t.BaseExternalAccountClient=c},80349:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Compute=void 0;const o=n(27858),r=n(3830),i=n(64338),a=n(7057);class s extends a.OAuth2Client{constructor(e={}){super(e),this.credentials={expiry_date:1,refresh_token:"compute-placeholder"},this.serviceAccountEmail=e.serviceAccountEmail||"default",this.scopes=o(e.scopes)}async refreshTokenNoCache(e){const t=`service-accounts/${this.serviceAccountEmail}/token`;let n;try{const e={property:t};this.scopes.length>0&&(e.params={scopes:this.scopes.join(",")}),n=await i.instance(e)}catch(e){throw e instanceof r.GaxiosError&&(e.message=`Could not refresh access token: ${e.message}`,this.wrapError(e)),e}const o=n;return n&&n.expires_in&&(o.expiry_date=(new Date).getTime()+1e3*n.expires_in,delete o.expires_in),this.emit("tokens",o),{tokens:o,res:null}}async fetchIdToken(e){const t=`service-accounts/${this.serviceAccountEmail}/identity?format=full&audience=${e}`;let n;try{const e={property:t};n=await i.instance(e)}catch(e){throw e instanceof Error&&(e.message=`Could not fetch ID token: ${e.message}`),e}return n}wrapError(e){const t=e.response;t&&t.status&&(e.code=t.status.toString(),403===t.status?e.message="A Forbidden error was returned while attempting to retrieve an access token for the Compute Engine built-in service account. This may be because the Compute Engine instance does not have the correct permission scopes specified: "+e.message:404===t.status&&(e.message="A Not Found error was returned while attempting to retrieve an accesstoken for the Compute Engine built-in service account. This may be because the Compute Engine instance does not have any permission scopes specified: "+e.message))}}t.Compute=s},75620:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DownscopedClient=t.EXPIRATION_TIME_OFFSET=t.MAX_ACCESS_BOUNDARY_RULES_COUNT=void 0;const o=n(12781),r=n(78478),i=n(46185);t.MAX_ACCESS_BOUNDARY_RULES_COUNT=10,t.EXPIRATION_TIME_OFFSET=3e5;class a extends r.AuthClient{constructor(e,n,o,r){if(super(),this.authClient=e,this.credentialAccessBoundary=n,0===n.accessBoundary.accessBoundaryRules.length)throw new Error("At least one access boundary rule needs to be defined.");if(n.accessBoundary.accessBoundaryRules.length>t.MAX_ACCESS_BOUNDARY_RULES_COUNT)throw new Error(`The provided access boundary has more than ${t.MAX_ACCESS_BOUNDARY_RULES_COUNT} access boundary rules.`);for(const e of n.accessBoundary.accessBoundaryRules)if(0===e.availablePermissions.length)throw new Error("At least one permission should be defined in access boundary rules.");this.stsCredential=new i.StsCredentials("https://sts.googleapis.com/v1/token"),this.cachedDownscopedAccessToken=null,"number"!=typeof(null==o?void 0:o.eagerRefreshThresholdMillis)?this.eagerRefreshThresholdMillis=t.EXPIRATION_TIME_OFFSET:this.eagerRefreshThresholdMillis=o.eagerRefreshThresholdMillis,this.forceRefreshOnFailure=!!(null==o?void 0:o.forceRefreshOnFailure),this.quotaProjectId=r}setCredentials(e){if(!e.expiry_date)throw new Error("The access token expiry_date field is missing in the provided credentials.");super.setCredentials(e),this.cachedDownscopedAccessToken=e}async getAccessToken(){return this.cachedDownscopedAccessToken&&!this.isExpired(this.cachedDownscopedAccessToken)||await this.refreshAccessTokenAsync(),{token:this.cachedDownscopedAccessToken.access_token,expirationTime:this.cachedDownscopedAccessToken.expiry_date,res:this.cachedDownscopedAccessToken.res}}async getRequestHeaders(){const e={Authorization:`Bearer ${(await this.getAccessToken()).token}`};return this.addSharedMetadataHeaders(e)}request(e,t){if(!t)return this.requestAsync(e);this.requestAsync(e).then((e=>t(null,e)),(e=>t(e,e.response)))}async requestAsync(e,t=!1){let n;try{const t=await this.getRequestHeaders();e.headers=e.headers||{},t&&t["x-goog-user-project"]&&(e.headers["x-goog-user-project"]=t["x-goog-user-project"]),t&&t.Authorization&&(e.headers.Authorization=t.Authorization),n=await this.transporter.request(e)}catch(n){const r=n.response;if(r){const n=r.status,i=r.config.data instanceof o.Readable;if(!t&&(401===n||403===n)&&!i&&this.forceRefreshOnFailure)return await this.refreshAccessTokenAsync(),await this.requestAsync(e,!0)}throw n}return n}async refreshAccessTokenAsync(){var e;const t={grantType:"urn:ietf:params:oauth:grant-type:token-exchange",requestedTokenType:"urn:ietf:params:oauth:token-type:access_token",subjectToken:(await this.authClient.getAccessToken()).token,subjectTokenType:"urn:ietf:params:oauth:token-type:access_token"},n=await this.stsCredential.exchangeToken(t,void 0,this.credentialAccessBoundary),o=(null===(e=this.authClient.credentials)||void 0===e?void 0:e.expiry_date)||null,r=n.expires_in?(new Date).getTime()+1e3*n.expires_in:o;return this.cachedDownscopedAccessToken={access_token:n.access_token,expiry_date:r,res:n.res},this.credentials={},Object.assign(this.credentials,this.cachedDownscopedAccessToken),delete this.credentials.res,this.emit("tokens",{refresh_token:null,expiry_date:this.cachedDownscopedAccessToken.expiry_date,access_token:this.cachedDownscopedAccessToken.access_token,token_type:"Bearer",id_token:null}),this.cachedDownscopedAccessToken}isExpired(e){const t=(new Date).getTime();return!!e.expiry_date&&t>=e.expiry_date-this.eagerRefreshThresholdMillis}}t.DownscopedClient=a},48103:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEnv=t.clear=t.GCPEnv=void 0;const o=n(64338);var r;let i;!function(e){e.APP_ENGINE="APP_ENGINE",e.KUBERNETES_ENGINE="KUBERNETES_ENGINE",e.CLOUD_FUNCTIONS="CLOUD_FUNCTIONS",e.COMPUTE_ENGINE="COMPUTE_ENGINE",e.CLOUD_RUN="CLOUD_RUN",e.NONE="NONE"}(r=t.GCPEnv||(t.GCPEnv={})),t.clear=function(){i=void 0},t.getEnv=async function(){return i||(i=async function(){let e=r.NONE;return e=process.env.GAE_SERVICE||process.env.GAE_MODULE_NAME?r.APP_ENGINE:process.env.FUNCTION_NAME||process.env.FUNCTION_TARGET?r.CLOUD_FUNCTIONS:await async function(){return o.isAvailable()}()?await async function(){try{return await o.instance("attributes/cluster-name"),!0}catch(e){return!1}}()?r.KUBERNETES_ENGINE:process.env.K_CONFIGURATION?r.CLOUD_RUN:r.COMPUTE_ENGINE:r.NONE,e}(),i)}},11331:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidSubjectTokenError=t.InvalidMessageFieldError=t.InvalidCodeFieldError=t.InvalidTokenTypeFieldError=t.InvalidExpirationTimeFieldError=t.InvalidSuccessFieldError=t.InvalidVersionFieldError=t.ExecutableResponseError=t.ExecutableResponse=void 0;const n="urn:ietf:params:oauth:token-type:saml2",o="urn:ietf:params:oauth:token-type:id_token",r="urn:ietf:params:oauth:token-type:jwt";t.ExecutableResponse=class{constructor(e){if(!e.version)throw new a("Executable response must contain a 'version' field.");if(void 0===e.success)throw new s("Executable response must contain a 'success' field.");if(this.version=e.version,this.success=e.success,this.success){if(this.expirationTime=e.expiration_time,this.tokenType=e.token_type,this.tokenType!==n&&this.tokenType!==o&&this.tokenType!==r)throw new l(`Executable response must contain a 'token_type' field when successful and it must be one of ${o}, ${r}, or ${n}.`);if(this.tokenType===n){if(!e.saml_response)throw new u(`Executable response must contain a 'saml_response' field when token_type=${n}.`);this.subjectToken=e.saml_response}else{if(!e.id_token)throw new u(`Executable response must contain a 'id_token' field when token_type=${o} or ${r}.`);this.subjectToken=e.id_token}}else{if(!e.code)throw new c("Executable response must contain a 'code' field when unsuccessful.");if(!e.message)throw new p("Executable response must contain a 'message' field when unsuccessful.");this.errorCode=e.code,this.errorMessage=e.message}}isValid(){return!this.isExpired()&&this.success}isExpired(){return void 0!==this.expirationTime&&this.expirationTime{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExternalAccountClient=void 0;const o=n(36045),r=n(60695),i=n(30011),a=n(45001);t.ExternalAccountClient=class{constructor(){throw new Error("ExternalAccountClients should be initialized via: ExternalAccountClient.fromJSON(), directly via explicit constructors, eg. new AwsClient(options), new IdentityPoolClient(options), newPluggableAuthClientOptions, or via new GoogleAuth(options).getClient()")}static fromJSON(e,t){var n,s;return e&&e.type===o.EXTERNAL_ACCOUNT_TYPE?(null===(n=e.credential_source)||void 0===n?void 0:n.environment_id)?new i.AwsClient(e,t):(null===(s=e.credential_source)||void 0===s?void 0:s.executable)?new a.PluggableAuthClient(e,t):new r.IdentityPoolClient(e,t):null}}},53576:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAuth=t.CLOUD_SDK_CLIENT_ID=void 0;const o=n(32081),r=n(57147),i=n(64338),a=n(22037),s=n(71017),l=n(57489),c=n(66484),p=n(80349),u=n(73729),d=n(48103),g=n(14342),f=n(3625),h=n(88060),m=n(30228),y=n(36045);t.CLOUD_SDK_CLIENT_ID="764086051850-6qr4p6gpi6hn506pt8ejuq83di341hur.apps.googleusercontent.com";const v="Unable to detect a Project Id in the current environment. \nTo learn more about authentication and Google APIs, visit: \nhttps://cloud.google.com/docs/authentication/getting-started";class b{constructor(e){this.checkIsGCE=void 0,this.jsonContent=null,this.cachedCredential=null,e=e||{},this._cachedProjectId=e.projectId||null,this.cachedCredential=e.authClient||null,this.keyFilename=e.keyFilename||e.keyFile,this.scopes=e.scopes,this.jsonContent=e.credentials||null,this.clientOptions=e.clientOptions}get isGCE(){return this.checkIsGCE}setGapicJWTValues(e){e.defaultServicePath=this.defaultServicePath,e.useJWTAccessWithScope=this.useJWTAccessWithScope,e.defaultScopes=this.defaultScopes}getProjectId(e){if(!e)return this.getProjectIdAsync();this.getProjectIdAsync().then((t=>e(null,t)),e)}async getProjectIdOptional(){try{return await this.getProjectId()}catch(e){if(e instanceof Error&&e.message===v)return null;throw e}}async findAndCacheProjectId(){let e=null;if(e||(e=await this.getProductionProjectId()),e||(e=await this.getFileProjectId()),e||(e=await this.getDefaultServiceProjectId()),e||(e=await this.getGCEProjectId()),e||(e=await this.getExternalAccountClientProjectId()),e)return this._cachedProjectId=e,e;throw new Error(v)}async getProjectIdAsync(){return this._cachedProjectId?this._cachedProjectId:(this._findProjectIdPromise||(this._findProjectIdPromise=this.findAndCacheProjectId()),this._findProjectIdPromise)}getAnyScopes(){return this.scopes||this.defaultScopes}getApplicationDefault(e={},t){let n;if("function"==typeof e?t=e:n=e,!t)return this.getApplicationDefaultAsync(n);this.getApplicationDefaultAsync(n).then((e=>t(null,e.credential,e.projectId)),t)}async getApplicationDefaultAsync(e={}){if(this.cachedCredential)return await this.prepareAndCacheADC(this.cachedCredential);const t=process.env.GOOGLE_CLOUD_QUOTA_PROJECT;let n,o;if(n=await this._tryGetApplicationCredentialsFromEnvironmentVariable(e),n)return n instanceof g.JWT?n.scopes=this.scopes:n instanceof y.BaseExternalAccountClient&&(n.scopes=this.getAnyScopes()),await this.prepareAndCacheADC(n,t);if(n=await this._tryGetApplicationCredentialsFromWellKnownFile(e),n)return n instanceof g.JWT?n.scopes=this.scopes:n instanceof y.BaseExternalAccountClient&&(n.scopes=this.getAnyScopes()),await this.prepareAndCacheADC(n,t);try{o=await this._checkIsGCE()}catch(e){throw e instanceof Error&&(e.message=`Unexpected error determining execution environment: ${e.message}`),e}if(!o)throw new Error("Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information.");return e.scopes=this.getAnyScopes(),await this.prepareAndCacheADC(new p.Compute(e),t)}async prepareAndCacheADC(e,t){const n=await this.getProjectIdOptional();return t&&(e.quotaProjectId=t),this.cachedCredential=e,{credential:e,projectId:n}}async _checkIsGCE(){return void 0===this.checkIsGCE&&(this.checkIsGCE=await i.isAvailable()),this.checkIsGCE}async _tryGetApplicationCredentialsFromEnvironmentVariable(e){const t=process.env.GOOGLE_APPLICATION_CREDENTIALS||process.env.google_application_credentials;if(!t||0===t.length)return null;try{return this._getApplicationCredentialsFromFilePath(t,e)}catch(e){throw e instanceof Error&&(e.message=`Unable to read the credential file specified by the GOOGLE_APPLICATION_CREDENTIALS environment variable: ${e.message}`),e}}async _tryGetApplicationCredentialsFromWellKnownFile(e){let t=null;if(this._isWindows())t=process.env.APPDATA;else{const e=process.env.HOME;e&&(t=s.join(e,".config"))}return t&&(t=s.join(t,"gcloud","application_default_credentials.json"),r.existsSync(t)||(t=null)),t?await this._getApplicationCredentialsFromFilePath(t,e):null}async _getApplicationCredentialsFromFilePath(e,t={}){if(!e||0===e.length)throw new Error("The file path is invalid.");try{if(e=r.realpathSync(e),!r.lstatSync(e).isFile())throw new Error}catch(t){throw t instanceof Error&&(t.message=`The file at ${e} does not exist, or it is not a file. ${t.message}`),t}const n=r.createReadStream(e);return this.fromStream(n,t)}fromImpersonatedJSON(e){var t,n,o,r;if(!e)throw new Error("Must pass in a JSON object containing an impersonated refresh token");if(e.type!==h.IMPERSONATED_ACCOUNT_TYPE)throw new Error(`The incoming JSON object does not have the "${h.IMPERSONATED_ACCOUNT_TYPE}" type`);if(!e.source_credentials)throw new Error("The incoming JSON object does not contain a source_credentials field");if(!e.service_account_impersonation_url)throw new Error("The incoming JSON object does not contain a service_account_impersonation_url field");const i=new f.UserRefreshClient(e.source_credentials.client_id,e.source_credentials.client_secret,e.source_credentials.refresh_token),a=null===(n=null===(t=/(?[^/]+):generateAccessToken$/.exec(e.service_account_impersonation_url))||void 0===t?void 0:t.groups)||void 0===n?void 0:n.target;if(!a)throw new RangeError(`Cannot extract target principal from ${e.service_account_impersonation_url}`);const s=null!==(o=this.getAnyScopes())&&void 0!==o?o:[];return new h.Impersonated({delegates:null!==(r=e.delegates)&&void 0!==r?r:[],sourceClient:i,targetPrincipal:a,targetScopes:Array.isArray(s)?s:[s]})}fromJSON(e,t){let n;if(!e)throw new Error("Must pass in a JSON object containing the Google auth settings.");return t=t||{},"authorized_user"===e.type?(n=new f.UserRefreshClient(t),n.fromJSON(e)):e.type===h.IMPERSONATED_ACCOUNT_TYPE?n=this.fromImpersonatedJSON(e):e.type===y.EXTERNAL_ACCOUNT_TYPE?(n=m.ExternalAccountClient.fromJSON(e,t),n.scopes=this.getAnyScopes()):(t.scopes=this.scopes,n=new g.JWT(t),this.setGapicJWTValues(n),n.fromJSON(e)),n}_cacheClientFromJSON(e,t){let n;return t=t||{},"authorized_user"===e.type?(n=new f.UserRefreshClient(t),n.fromJSON(e)):e.type===h.IMPERSONATED_ACCOUNT_TYPE?n=this.fromImpersonatedJSON(e):e.type===y.EXTERNAL_ACCOUNT_TYPE?(n=m.ExternalAccountClient.fromJSON(e,t),n.scopes=this.getAnyScopes()):(t.scopes=this.scopes,n=new g.JWT(t),this.setGapicJWTValues(n),n.fromJSON(e)),this.jsonContent=e,this.cachedCredential=n,n}fromStream(e,t={},n){let o={};if("function"==typeof t?n=t:o=t,!n)return this.fromStreamAsync(e,o);this.fromStreamAsync(e,o).then((e=>n(null,e)),n)}fromStreamAsync(e,t){return new Promise(((n,o)=>{if(!e)throw new Error("Must pass in a stream containing the Google auth settings.");let r="";e.setEncoding("utf8").on("error",o).on("data",(e=>r+=e)).on("end",(()=>{try{try{const e=JSON.parse(r),o=this._cacheClientFromJSON(e,t);return n(o)}catch(e){if(!this.keyFilename)throw e;const t=new g.JWT({...this.clientOptions,keyFile:this.keyFilename});return this.cachedCredential=t,this.setGapicJWTValues(t),n(t)}}catch(e){return o(e)}}))}))}fromAPIKey(e,t){t=t||{};const n=new g.JWT(t);return n.fromAPIKey(e),n}_isWindows(){const e=a.platform();return!!(e&&e.length>=3&&"win"===e.substring(0,3).toLowerCase())}async getDefaultServiceProjectId(){return new Promise((e=>{(0,o.exec)("gcloud config config-helper --format json",((t,n)=>{if(!t&&n)try{const t=JSON.parse(n).configuration.properties.core.project;return void e(t)}catch(e){}e(null)}))}))}getProductionProjectId(){return process.env.GCLOUD_PROJECT||process.env.GOOGLE_CLOUD_PROJECT||process.env.gcloud_project||process.env.google_cloud_project}async getFileProjectId(){if(this.cachedCredential)return this.cachedCredential.projectId;if(this.keyFilename){const e=await this.getClient();if(e&&e.projectId)return e.projectId}const e=await this._tryGetApplicationCredentialsFromEnvironmentVariable();return e?e.projectId:null}async getExternalAccountClientProjectId(){if(!this.jsonContent||this.jsonContent.type!==y.EXTERNAL_ACCOUNT_TYPE)return null;const e=await this.getClient();return await e.getProjectId()}async getGCEProjectId(){try{return await i.project("project-id")}catch(e){return null}}getCredentials(e){if(!e)return this.getCredentialsAsync();this.getCredentialsAsync().then((t=>e(null,t)),e)}async getCredentialsAsync(){const e=await this.getClient();if(e instanceof y.BaseExternalAccountClient){const t=e.getServiceAccountEmail();if(t)return{client_email:t}}if(this.jsonContent)return{client_email:this.jsonContent.client_email,private_key:this.jsonContent.private_key};if(!await this._checkIsGCE())throw new Error("Unknown error.");const t=await i.instance({property:"service-accounts/",params:{recursive:"true"}});if(!t||!t.default||!t.default.email)throw new Error("Failure from metadata server.");return{client_email:t.default.email}}async getClient(){if(!this.cachedCredential)if(this.jsonContent)this._cacheClientFromJSON(this.jsonContent,this.clientOptions);else if(this.keyFilename){const e=s.resolve(this.keyFilename),t=r.createReadStream(e);await this.fromStreamAsync(t,this.clientOptions)}else await this.getApplicationDefaultAsync(this.clientOptions);return this.cachedCredential}async getIdTokenClient(e){const t=await this.getClient();if(!("fetchIdToken"in t))throw new Error("Cannot fetch ID token in this environment, use GCE or set the GOOGLE_APPLICATION_CREDENTIALS environment variable to a service account credentials JSON file.");return new u.IdTokenClient({targetAudience:e,idTokenProvider:t})}async getAccessToken(){const e=await this.getClient();return(await e.getAccessToken()).token}async getRequestHeaders(e){return(await this.getClient()).getRequestHeaders(e)}async authorizeRequest(e){const t=(e=e||{}).url||e.uri,n=await this.getClient(),o=await n.getRequestHeaders(t);return e.headers=Object.assign(e.headers||{},o),e}async request(e){return(await this.getClient()).request(e)}getEnv(){return(0,d.getEnv)()}async sign(e){const t=await this.getClient(),n=(0,l.createCrypto)();if(t instanceof g.JWT&&t.key)return await n.sign(t.key,e);const o=await this.getCredentials();if(!o.client_email)throw new Error("Cannot sign data without `client_email`.");return this.signBlob(n,o.client_email,e)}async signBlob(e,t,n){const o=`https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/${t}:signBlob`;return(await this.request({method:"POST",url:o,data:{payload:e.encodeBase64StringUtf8(n)}})).data.signedBlob}}t.GoogleAuth=b,b.DefaultTransporter=c.DefaultTransporter},88691:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IAMAuth=void 0,t.IAMAuth=class{constructor(e,t){this.selector=e,this.token=t,this.selector=e,this.token=t}getRequestHeaders(){return{"x-goog-iam-authority-selector":this.selector,"x-goog-iam-authorization-token":this.token}}}},60695:(e,t,n)=>{"use strict";var o,r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.IdentityPoolClient=void 0;const a=n(57147),s=n(73837),l=n(36045),c=(0,s.promisify)(null!==(o=a.readFile)&&void 0!==o?o:()=>{}),p=(0,s.promisify)(null!==(r=a.realpath)&&void 0!==r?r:()=>{}),u=(0,s.promisify)(null!==(i=a.lstat)&&void 0!==i?i:()=>{});class d extends l.BaseExternalAccountClient{constructor(e,t){var n,o;if(super(e,t),this.file=e.credential_source.file,this.url=e.credential_source.url,this.headers=e.credential_source.headers,!this.file&&!this.url)throw new Error('No valid Identity Pool "credential_source" provided');if(this.formatType=(null===(n=e.credential_source.format)||void 0===n?void 0:n.type)||"text",this.formatSubjectTokenFieldName=null===(o=e.credential_source.format)||void 0===o?void 0:o.subject_token_field_name,"json"!==this.formatType&&"text"!==this.formatType)throw new Error(`Invalid credential_source format "${this.formatType}"`);if("json"===this.formatType&&!this.formatSubjectTokenFieldName)throw new Error("Missing subject_token_field_name for JSON credential_source format")}async retrieveSubjectToken(){return this.file?await this.getTokenFromFile(this.file,this.formatType,this.formatSubjectTokenFieldName):await this.getTokenFromUrl(this.url,this.formatType,this.formatSubjectTokenFieldName,this.headers)}async getTokenFromFile(e,t,n){try{if(e=await p(e),!(await u(e)).isFile())throw new Error}catch(t){throw t instanceof Error&&(t.message=`The file at ${e} does not exist, or it is not a file. ${t.message}`),t}let o;const r=await c(e,{encoding:"utf8"});if("text"===t?o=r:"json"===t&&n&&(o=JSON.parse(r)[n]),!o)throw new Error("Unable to parse the subject_token from the credential_source file");return o}async getTokenFromUrl(e,t,n,o){const r={url:e,method:"GET",headers:o,responseType:t};let i;if("text"===t?i=(await this.transporter.request(r)).data:"json"===t&&n&&(i=(await this.transporter.request(r)).data[n]),!i)throw new Error("Unable to parse the subject_token from the credential_source URL");return i}}t.IdentityPoolClient=d},73729:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IdTokenClient=void 0;const o=n(7057);class r extends o.OAuth2Client{constructor(e){super(),this.targetAudience=e.targetAudience,this.idTokenProvider=e.idTokenProvider}async getRequestMetadataAsync(e){if(!this.credentials.id_token||(this.credentials.expiry_date||0){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Impersonated=t.IMPERSONATED_ACCOUNT_TYPE=void 0;const o=n(7057),r=n(3830);t.IMPERSONATED_ACCOUNT_TYPE="impersonated_service_account";class i extends o.OAuth2Client{constructor(e={}){var t,n,r,i,a,s;super(e),this.credentials={expiry_date:1,refresh_token:"impersonated-placeholder"},this.sourceClient=null!==(t=e.sourceClient)&&void 0!==t?t:new o.OAuth2Client,this.targetPrincipal=null!==(n=e.targetPrincipal)&&void 0!==n?n:"",this.delegates=null!==(r=e.delegates)&&void 0!==r?r:[],this.targetScopes=null!==(i=e.targetScopes)&&void 0!==i?i:[],this.lifetime=null!==(a=e.lifetime)&&void 0!==a?a:3600,this.endpoint=null!==(s=e.endpoint)&&void 0!==s?s:"https://iamcredentials.googleapis.com"}async refreshToken(e){var t,n,o,i,a,s;try{await this.sourceClient.getAccessToken();const e="projects/-/serviceAccounts/"+this.targetPrincipal,t=`${this.endpoint}/v1/${e}:generateAccessToken`,n={delegates:this.delegates,scope:this.targetScopes,lifetime:this.lifetime+"s"},o=await this.sourceClient.request({url:t,data:n,method:"POST"}),r=o.data;return this.credentials.access_token=r.accessToken,this.credentials.expiry_date=Date.parse(r.expireTime),{tokens:this.credentials,res:o}}catch(e){if(!(e instanceof Error))throw e;let l=0,c="";throw e instanceof r.GaxiosError&&(l=null===(o=null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.error)||void 0===o?void 0:o.status,c=null===(s=null===(a=null===(i=null==e?void 0:e.response)||void 0===i?void 0:i.data)||void 0===a?void 0:a.error)||void 0===s?void 0:s.message),l&&c?(e.message=`${l}: unable to impersonate: ${c}`,e):(e.message=`unable to impersonate: ${e}`,e)}}async fetchIdToken(e,t){var n;await this.sourceClient.getAccessToken();const o=`projects/-/serviceAccounts/${this.targetPrincipal}`,r=`${this.endpoint}/v1/${o}:generateIdToken`,i={delegates:this.delegates,audience:e,includeEmail:null===(n=null==t?void 0:t.includeEmail)||void 0===n||n};return(await this.sourceClient.request({url:r,data:i,method:"POST"})).data.token}}t.Impersonated=i},48333:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JWTAccess=void 0;const o=n(36291),r=n(29416),i={alg:"RS256",typ:"JWT"};class a{constructor(e,t,n,o){this.cache=new r({max:500,maxAge:36e5}),this.email=e,this.key=t,this.keyId=n,this.eagerRefreshThresholdMillis=null!=o?o:3e5}getCachedKey(e,t){let n=e;if(t&&Array.isArray(t)&&t.length?n=e?`${e}_${t.join("_")}`:`${t.join("_")}`:"string"==typeof t&&(n=e?`${e}_${t}`:t),!n)throw Error("Scopes or url must be provided");return n}getRequestHeaders(e,t,n){const r=this.getCachedKey(e,n),s=this.cache.get(r),l=Date.now();if(s&&s.expiration-l>this.eagerRefreshThresholdMillis)return s.headers;const c=Math.floor(Date.now()/1e3),p=a.getExpirationTime(c);let u;if(Array.isArray(n)&&(n=n.join(" ")),u=n?{iss:this.email,sub:this.email,scope:n,exp:p,iat:c}:{iss:this.email,sub:this.email,aud:e,exp:p,iat:c},t)for(const e in u)if(t[e])throw new Error(`The '${e}' property is not allowed when passing additionalClaims. This claim is included in the JWT by default.`);const d=this.keyId?{...i,kid:this.keyId}:i,g=Object.assign(u,t),f={Authorization:`Bearer ${o.sign({header:d,payload:g,secret:this.key})}`};return this.cache.set(r,{expiration:1e3*p,headers:f}),f}static getExpirationTime(e){return e+3600}fromJSON(e){if(!e)throw new Error("Must pass in a JSON object containing the service account auth settings.");if(!e.client_email)throw new Error("The incoming JSON object does not contain a client_email field");if(!e.private_key)throw new Error("The incoming JSON object does not contain a private_key field");this.email=e.client_email,this.key=e.private_key,this.keyId=e.private_key_id,this.projectId=e.project_id}fromStream(e,t){if(!t)return this.fromStreamAsync(e);this.fromStreamAsync(e).then((()=>t()),t)}fromStreamAsync(e){return new Promise(((t,n)=>{e||n(new Error("Must pass in a stream containing the service account auth settings."));let o="";e.setEncoding("utf8").on("data",(e=>o+=e)).on("error",n).on("end",(()=>{try{const e=JSON.parse(o);this.fromJSON(e),t()}catch(e){n(e)}}))}))}}t.JWTAccess=a},14342:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JWT=void 0;const o=n(67494),r=n(48333),i=n(7057);class a extends i.OAuth2Client{constructor(e,t,n,o,r,i){const a=e&&"object"==typeof e?e:{email:e,keyFile:t,key:n,keyId:i,scopes:o,subject:r};super({eagerRefreshThresholdMillis:a.eagerRefreshThresholdMillis,forceRefreshOnFailure:a.forceRefreshOnFailure}),this.email=a.email,this.keyFile=a.keyFile,this.key=a.key,this.keyId=a.keyId,this.scopes=a.scopes,this.subject=a.subject,this.additionalClaims=a.additionalClaims,this.credentials={refresh_token:"jwt-placeholder",expiry_date:1}}createScoped(e){return new a({email:this.email,keyFile:this.keyFile,key:this.key,keyId:this.keyId,scopes:e,subject:this.subject,additionalClaims:this.additionalClaims})}async getRequestMetadataAsync(e){e=this.defaultServicePath?`https://${this.defaultServicePath}/`:e;const t=!this.hasUserScopes()&&e||this.useJWTAccessWithScope&&this.hasAnyScopes();if(!this.apiKey&&t){if(this.additionalClaims&&this.additionalClaims.target_audience){const{tokens:e}=await this.refreshToken();return{headers:this.addSharedMetadataHeaders({Authorization:`Bearer ${e.id_token}`})}}{let t;this.access||(this.access=new r.JWTAccess(this.email,this.key,this.keyId,this.eagerRefreshThresholdMillis)),this.hasUserScopes()?t=this.scopes:e||(t=this.defaultScopes);const n=await this.access.getRequestHeaders(null!=e?e:void 0,this.additionalClaims,this.useJWTAccessWithScope?t:void 0);return{headers:this.addSharedMetadataHeaders(n)}}}return this.hasAnyScopes()||this.apiKey?super.getRequestMetadataAsync(e):{headers:{}}}async fetchIdToken(e){const t=new o.GoogleToken({iss:this.email,sub:this.subject,scope:this.scopes||this.defaultScopes,keyFile:this.keyFile,key:this.key,additionalClaims:{target_audience:e},transporter:this.transporter});if(await t.getToken({forceRefresh:!0}),!t.idToken)throw new Error("Unknown error: Failed to fetch ID token");return t.idToken}hasUserScopes(){return!!this.scopes&&this.scopes.length>0}hasAnyScopes(){return!!(this.scopes&&this.scopes.length>0)||!!(this.defaultScopes&&this.defaultScopes.length>0)}authorize(e){if(!e)return this.authorizeAsync();this.authorizeAsync().then((t=>e(null,t)),e)}async authorizeAsync(){const e=await this.refreshToken();if(!e)throw new Error("No result returned");return this.credentials=e.tokens,this.credentials.refresh_token="jwt-placeholder",this.key=this.gtoken.key,this.email=this.gtoken.iss,e.tokens}async refreshTokenNoCache(e){const t=this.createGToken(),n={access_token:(await t.getToken({forceRefresh:this.isTokenExpiring()})).access_token,token_type:"Bearer",expiry_date:t.expiresAt,id_token:t.idToken};return this.emit("tokens",n),{res:null,tokens:n}}createGToken(){return this.gtoken||(this.gtoken=new o.GoogleToken({iss:this.email,sub:this.subject,scope:this.scopes||this.defaultScopes,keyFile:this.keyFile,key:this.key,additionalClaims:this.additionalClaims,transporter:this.transporter})),this.gtoken}fromJSON(e){if(!e)throw new Error("Must pass in a JSON object containing the service account auth settings.");if(!e.client_email)throw new Error("The incoming JSON object does not contain a client_email field");if(!e.private_key)throw new Error("The incoming JSON object does not contain a private_key field");this.email=e.client_email,this.key=e.private_key,this.keyId=e.private_key_id,this.projectId=e.project_id,this.quotaProjectId=e.quota_project_id}fromStream(e,t){if(!t)return this.fromStreamAsync(e);this.fromStreamAsync(e).then((()=>t()),t)}fromStreamAsync(e){return new Promise(((t,n)=>{if(!e)throw new Error("Must pass in a stream containing the service account auth settings.");let o="";e.setEncoding("utf8").on("error",n).on("data",(e=>o+=e)).on("end",(()=>{try{const e=JSON.parse(o);this.fromJSON(e),t()}catch(e){n(e)}}))}))}fromAPIKey(e){if("string"!=typeof e)throw new Error("Must provide an API Key string.");this.apiKey=e}async getCredentials(){if(this.key)return{private_key:this.key,client_email:this.email};if(this.keyFile){const e=this.createGToken(),t=await e.getCredentials(this.keyFile);return{private_key:t.privateKey,client_email:t.clientEmail}}throw new Error("A key or a keyFile must be provided to getCredentials.")}}t.JWT=a},1984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoginTicket=void 0,t.LoginTicket=class{constructor(e,t){this.envelope=e,this.payload=t}getEnvelope(){return this.envelope}getPayload(){return this.payload}getUserId(){const e=this.getPayload();return e&&e.sub?e.sub:null}getAttributes(){return{envelope:this.getEnvelope(),payload:this.getPayload()}}}},7057:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OAuth2Client=t.CertificateFormat=t.CodeChallengeMethod=void 0;const o=n(3830),r=n(63477),i=n(12781),a=n(27356),s=n(57489),l=n(78478),c=n(1984);var p,u;(u=t.CodeChallengeMethod||(t.CodeChallengeMethod={})).Plain="plain",u.S256="S256",function(e){e.PEM="PEM",e.JWK="JWK"}(p=t.CertificateFormat||(t.CertificateFormat={}));class d extends l.AuthClient{constructor(e,t,n){super(),this.certificateCache={},this.certificateExpiry=null,this.certificateCacheFormat=p.PEM,this.refreshTokenPromises=new Map;const o=e&&"object"==typeof e?e:{clientId:e,clientSecret:t,redirectUri:n};this._clientId=o.clientId,this._clientSecret=o.clientSecret,this.redirectUri=o.redirectUri,this.eagerRefreshThresholdMillis=o.eagerRefreshThresholdMillis||3e5,this.forceRefreshOnFailure=!!o.forceRefreshOnFailure}generateAuthUrl(e={}){if(e.code_challenge_method&&!e.code_challenge)throw new Error("If a code_challenge_method is provided, code_challenge must be included.");return e.response_type=e.response_type||"code",e.client_id=e.client_id||this._clientId,e.redirect_uri=e.redirect_uri||this.redirectUri,Array.isArray(e.scope)&&(e.scope=e.scope.join(" ")),d.GOOGLE_OAUTH2_AUTH_BASE_URL_+"?"+r.stringify(e)}generateCodeVerifier(){throw new Error("generateCodeVerifier is removed, please use generateCodeVerifierAsync instead.")}async generateCodeVerifierAsync(){const e=(0,s.createCrypto)(),t=e.randomBytesBase64(96).replace(/\+/g,"~").replace(/=/g,"_").replace(/\//g,"-");return{codeVerifier:t,codeChallenge:(await e.sha256DigestBase64(t)).split("=")[0].replace(/\+/g,"-").replace(/\//g,"_")}}getToken(e,t){const n="string"==typeof e?{code:e}:e;if(!t)return this.getTokenAsync(n);this.getTokenAsync(n).then((e=>t(null,e.tokens,e.res)),(e=>t(e,null,e.response)))}async getTokenAsync(e){const t=d.GOOGLE_OAUTH2_TOKEN_URL_,n={code:e.code,client_id:e.client_id||this._clientId,client_secret:this._clientSecret,redirect_uri:e.redirect_uri||this.redirectUri,grant_type:"authorization_code",code_verifier:e.codeVerifier},o=await this.transporter.request({method:"POST",url:t,data:r.stringify(n),headers:{"Content-Type":"application/x-www-form-urlencoded"}}),i=o.data;return o.data&&o.data.expires_in&&(i.expiry_date=(new Date).getTime()+1e3*o.data.expires_in,delete i.expires_in),this.emit("tokens",i),{tokens:i,res:o}}async refreshToken(e){if(!e)return this.refreshTokenNoCache(e);if(this.refreshTokenPromises.has(e))return this.refreshTokenPromises.get(e);const t=this.refreshTokenNoCache(e).then((t=>(this.refreshTokenPromises.delete(e),t)),(t=>{throw this.refreshTokenPromises.delete(e),t}));return this.refreshTokenPromises.set(e,t),t}async refreshTokenNoCache(e){var t;if(!e)throw new Error("No refresh token is set.");const n=d.GOOGLE_OAUTH2_TOKEN_URL_,i={refresh_token:e,client_id:this._clientId,client_secret:this._clientSecret,grant_type:"refresh_token"};let a;try{a=await this.transporter.request({method:"POST",url:n,data:r.stringify(i),headers:{"Content-Type":"application/x-www-form-urlencoded"}})}catch(e){throw e instanceof o.GaxiosError&&"invalid_grant"===e.message&&(null===(t=e.response)||void 0===t?void 0:t.data)&&/ReAuth/i.test(e.response.data.error_description)&&(e.message=JSON.stringify(e.response.data)),e}const s=a.data;return a.data&&a.data.expires_in&&(s.expiry_date=(new Date).getTime()+1e3*a.data.expires_in,delete s.expires_in),this.emit("tokens",s),{tokens:s,res:a}}refreshAccessToken(e){if(!e)return this.refreshAccessTokenAsync();this.refreshAccessTokenAsync().then((t=>e(null,t.credentials,t.res)),e)}async refreshAccessTokenAsync(){const e=await this.refreshToken(this.credentials.refresh_token),t=e.tokens;return t.refresh_token=this.credentials.refresh_token,this.credentials=t,{credentials:this.credentials,res:e.res}}getAccessToken(e){if(!e)return this.getAccessTokenAsync();this.getAccessTokenAsync().then((t=>e(null,t.token,t.res)),e)}async getAccessTokenAsync(){if(!this.credentials.access_token||this.isTokenExpiring()){if(!this.credentials.refresh_token){if(!this.refreshHandler)throw new Error("No refresh token or refresh handler callback is set.");{const e=await this.processAndValidateRefreshHandler();if(null==e?void 0:e.access_token)return this.setCredentials(e),{token:this.credentials.access_token}}}const e=await this.refreshAccessTokenAsync();if(!e.credentials||e.credentials&&!e.credentials.access_token)throw new Error("Could not refresh access token.");return{token:e.credentials.access_token,res:e.res}}return{token:this.credentials.access_token}}async getRequestHeaders(e){return(await this.getRequestMetadataAsync(e)).headers}async getRequestMetadataAsync(e){const t=this.credentials;if(!(t.access_token||t.refresh_token||this.apiKey||this.refreshHandler))throw new Error("No access, refresh token, API key or refresh handler callback is set.");if(t.access_token&&!this.isTokenExpiring()){t.token_type=t.token_type||"Bearer";const e={Authorization:t.token_type+" "+t.access_token};return{headers:this.addSharedMetadataHeaders(e)}}if(this.refreshHandler){const e=await this.processAndValidateRefreshHandler();if(null==e?void 0:e.access_token){this.setCredentials(e);const t={Authorization:"Bearer "+this.credentials.access_token};return{headers:this.addSharedMetadataHeaders(t)}}}if(this.apiKey)return{headers:{"X-Goog-Api-Key":this.apiKey}};let n=null,o=null;try{n=await this.refreshToken(t.refresh_token),o=n.tokens}catch(e){const t=e;throw!t.response||403!==t.response.status&&404!==t.response.status||(t.message=`Could not refresh access token: ${t.message}`),t}const r=this.credentials;r.token_type=r.token_type||"Bearer",o.refresh_token=r.refresh_token,this.credentials=o;const i={Authorization:r.token_type+" "+o.access_token};return{headers:this.addSharedMetadataHeaders(i),res:n.res}}static getRevokeTokenUrl(e){const t=r.stringify({token:e});return`${d.GOOGLE_OAUTH2_REVOKE_URL_}?${t}`}revokeToken(e,t){const n={url:d.getRevokeTokenUrl(e),method:"POST"};if(!t)return this.transporter.request(n);this.transporter.request(n).then((e=>t(null,e)),t)}revokeCredentials(e){if(!e)return this.revokeCredentialsAsync();this.revokeCredentialsAsync().then((t=>e(null,t)),e)}async revokeCredentialsAsync(){const e=this.credentials.access_token;if(this.credentials={},e)return this.revokeToken(e);throw new Error("No access token to revoke.")}request(e,t){if(!t)return this.requestAsync(e);this.requestAsync(e).then((e=>t(null,e)),(e=>t(e,e.response)))}async requestAsync(e,t=!1){let n;try{const t=await this.getRequestMetadataAsync(e.url);e.headers=e.headers||{},t.headers&&t.headers["x-goog-user-project"]&&(e.headers["x-goog-user-project"]=t.headers["x-goog-user-project"]),t.headers&&t.headers.Authorization&&(e.headers.Authorization=t.headers.Authorization),this.apiKey&&(e.headers["X-Goog-Api-Key"]=this.apiKey),n=await this.transporter.request(e)}catch(n){const o=n.response;if(o){const n=o.status,r=this.credentials&&this.credentials.access_token&&this.credentials.refresh_token&&(!this.credentials.expiry_date||this.forceRefreshOnFailure),a=this.credentials&&this.credentials.access_token&&!this.credentials.refresh_token&&(!this.credentials.expiry_date||this.forceRefreshOnFailure)&&this.refreshHandler,s=o.config.data instanceof i.Readable,l=401===n||403===n;if(!t&&l&&!s&&r)return await this.refreshAccessTokenAsync(),this.requestAsync(e,!0);if(!t&&l&&!s&&a){const t=await this.processAndValidateRefreshHandler();return(null==t?void 0:t.access_token)&&this.setCredentials(t),this.requestAsync(e,!0)}}throw n}return n}verifyIdToken(e,t){if(t&&"function"!=typeof t)throw new Error("This method accepts an options object as the first parameter, which includes the idToken, audience, and maxExpiry.");if(!t)return this.verifyIdTokenAsync(e);this.verifyIdTokenAsync(e).then((e=>t(null,e)),t)}async verifyIdTokenAsync(e){if(!e.idToken)throw new Error("The verifyIdToken method requires an ID Token");const t=await this.getFederatedSignonCertsAsync();return await this.verifySignedJwtWithCertsAsync(e.idToken,t.certs,e.audience,d.ISSUERS_,e.maxExpiry)}async getTokenInfo(e){const{data:t}=await this.transporter.request({method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:`Bearer ${e}`},url:d.GOOGLE_TOKEN_INFO_URL}),n=Object.assign({expiry_date:(new Date).getTime()+1e3*t.expires_in,scopes:t.scope.split(" ")},t);return delete n.expires_in,delete n.scope,n}getFederatedSignonCerts(e){if(!e)return this.getFederatedSignonCertsAsync();this.getFederatedSignonCertsAsync().then((t=>e(null,t.certs,t.res)),e)}async getFederatedSignonCertsAsync(){const e=(new Date).getTime(),t=(0,s.hasBrowserCrypto)()?p.JWK:p.PEM;if(this.certificateExpiry&&ee(null,t.pubkeys,t.res)),e)}async getIapPublicKeysAsync(){let e;const t=d.GOOGLE_OAUTH2_IAP_PUBLIC_KEY_URL_;try{e=await this.transporter.request({url:t})}catch(e){throw e instanceof Error&&(e.message=`Failed to retrieve verification certificates: ${e.message}`),e}return{pubkeys:e.data,res:e}}verifySignedJwtWithCerts(){throw new Error("verifySignedJwtWithCerts is removed, please use verifySignedJwtWithCertsAsync instead.")}async verifySignedJwtWithCertsAsync(e,t,n,o,r){const i=(0,s.createCrypto)();r||(r=d.MAX_TOKEN_LIFETIME_SECS_);const l=e.split(".");if(3!==l.length)throw new Error("Wrong number of segments in token: "+e);const p=l[0]+"."+l[1];let u,g,f=l[2];try{u=JSON.parse(i.decodeBase64StringUtf8(l[0]))}catch(e){throw e instanceof Error&&(e.message=`Can't parse token envelope: ${l[0]}': ${e.message}`),e}if(!u)throw new Error("Can't parse token envelope: "+l[0]);try{g=JSON.parse(i.decodeBase64StringUtf8(l[1]))}catch(e){throw e instanceof Error&&(e.message=`Can't parse token payload '${l[0]}`),e}if(!g)throw new Error("Can't parse token payload: "+l[1]);if(!Object.prototype.hasOwnProperty.call(t,u.kid))throw new Error("No pem found for envelope: "+JSON.stringify(u));const h=t[u.kid];if("ES256"===u.alg&&(f=a.joseToDer(f,"ES256").toString("base64")),!await i.verify(h,p,f))throw new Error("Invalid token signature: "+e);if(!g.iat)throw new Error("No issue time in token: "+JSON.stringify(g));if(!g.exp)throw new Error("No expiration time in token: "+JSON.stringify(g));const m=Number(g.iat);if(isNaN(m))throw new Error("iat field using invalid format");const y=Number(g.exp);if(isNaN(y))throw new Error("exp field using invalid format");const v=(new Date).getTime()/1e3;if(y>=v+r)throw new Error("Expiration time too far in future: "+JSON.stringify(g));const b=m-d.CLOCK_SKEW_SECS_,O=y+d.CLOCK_SKEW_SECS_;if(vO)throw new Error("Token used too late, "+v+" > "+O+": "+JSON.stringify(g));if(o&&o.indexOf(g.iss)<0)throw new Error("Invalid issuer, expected one of ["+o+"], but got "+g.iss);if(null!=n){const e=g.aud;let t=!1;if(t=n.constructor===Array?n.indexOf(e)>-1:e===n,!t)throw new Error("Wrong recipient, payload audience != requiredAudience")}return new c.LoginTicket(u,g)}async processAndValidateRefreshHandler(){if(this.refreshHandler){const e=await this.refreshHandler();if(!e.access_token)throw new Error("No access token is returned by the refreshHandler callback.");return e}}isTokenExpiring(){const e=this.credentials.expiry_date;return!!e&&e<=(new Date).getTime()+this.eagerRefreshThresholdMillis}}t.OAuth2Client=d,d.GOOGLE_TOKEN_INFO_URL="https://oauth2.googleapis.com/tokeninfo",d.GOOGLE_OAUTH2_AUTH_BASE_URL_="https://accounts.google.com/o/oauth2/v2/auth",d.GOOGLE_OAUTH2_TOKEN_URL_="https://oauth2.googleapis.com/token",d.GOOGLE_OAUTH2_REVOKE_URL_="https://oauth2.googleapis.com/revoke",d.GOOGLE_OAUTH2_FEDERATED_SIGNON_PEM_CERTS_URL_="https://www.googleapis.com/oauth2/v1/certs",d.GOOGLE_OAUTH2_FEDERATED_SIGNON_JWK_CERTS_URL_="https://www.googleapis.com/oauth2/v3/certs",d.GOOGLE_OAUTH2_IAP_PUBLIC_KEY_URL_="https://www.gstatic.com/iap/verify/public_key",d.CLOCK_SKEW_SECS_=300,d.MAX_TOKEN_LIFETIME_SECS_=86400,d.ISSUERS_=["accounts.google.com","https://accounts.google.com"]},77863:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorFromOAuthErrorResponse=t.OAuthClientAuthHandler=void 0;const o=n(63477),r=n(57489),i=["PUT","POST","PATCH"];t.OAuthClientAuthHandler=class{constructor(e){this.clientAuthentication=e,this.crypto=(0,r.createCrypto)()}applyClientAuthenticationOptions(e,t){this.injectAuthenticatedHeaders(e,t),t||this.injectAuthenticatedRequestBody(e)}injectAuthenticatedHeaders(e,t){var n;if(t)e.headers=e.headers||{},Object.assign(e.headers,{Authorization:`Bearer ${t}}`});else if("basic"===(null===(n=this.clientAuthentication)||void 0===n?void 0:n.confidentialClientType)){e.headers=e.headers||{};const t=this.clientAuthentication.clientId,n=this.clientAuthentication.clientSecret||"",o=this.crypto.encodeBase64StringUtf8(`${t}:${n}`);Object.assign(e.headers,{Authorization:`Basic ${o}`})}}injectAuthenticatedRequestBody(e){var t;if("request-body"===(null===(t=this.clientAuthentication)||void 0===t?void 0:t.confidentialClientType)){const t=(e.method||"GET").toUpperCase();if(-1===i.indexOf(t))throw new Error(`${t} HTTP method does not support ${this.clientAuthentication.confidentialClientType} client authentication`);{let t;const n=e.headers||{};for(const e in n)if("content-type"===e.toLowerCase()&&n[e]){t=n[e].toLowerCase();break}if("application/x-www-form-urlencoded"===t){e.data=e.data||"";const t=o.parse(e.data);Object.assign(t,{client_id:this.clientAuthentication.clientId,client_secret:this.clientAuthentication.clientSecret||""}),e.data=o.stringify(t)}else{if("application/json"!==t)throw new Error(`${t} content-types are not supported with ${this.clientAuthentication.confidentialClientType} client authentication`);e.data=e.data||{},Object.assign(e.data,{client_id:this.clientAuthentication.clientId,client_secret:this.clientAuthentication.clientSecret||""})}}}}},t.getErrorFromOAuthErrorResponse=function(e,t){const n=e.error,o=e.error_description,r=e.error_uri;let i=`Error code ${n}`;void 0!==o&&(i+=`: ${o}`),void 0!==r&&(i+=` - ${r}`);const a=new Error(i);if(t){const e=Object.keys(t);t.stack&&e.push("stack"),e.forEach((e=>{"message"!==e&&Object.defineProperty(a,e,{value:t[e],writable:!1,enumerable:!0})}))}return a}},45001:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PluggableAuthClient=t.ExecutableError=void 0;const o=n(36045),r=n(11331),i=n(34439);class a extends Error{constructor(e,t){super(`The executable failed with exit code: ${t} and error message: ${e}.`),this.code=t,Object.setPrototypeOf(this,new.target.prototype)}}t.ExecutableError=a;class s extends o.BaseExternalAccountClient{constructor(e,t){if(super(e,t),!e.credential_source.executable)throw new Error('No valid Pluggable Auth "credential_source" provided.');if(this.command=e.credential_source.executable.command,!this.command)throw new Error('No valid Pluggable Auth "credential_source" provided.');if(void 0===e.credential_source.executable.timeout_millis)this.timeoutMillis=3e4;else if(this.timeoutMillis=e.credential_source.executable.timeout_millis,this.timeoutMillis<5e3||this.timeoutMillis>12e4)throw new Error("Timeout must be between 5000 and 120000 milliseconds.");this.outputFile=e.credential_source.executable.output_file,this.handler=new i.PluggableAuthHandler({command:this.command,timeoutMillis:this.timeoutMillis,outputFile:this.outputFile})}async retrieveSubjectToken(){if("1"!==process.env.GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES)throw new Error("Pluggable Auth executables need to be explicitly allowed to run by setting the GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES environment Variable to 1.");let e;if(this.outputFile&&(e=await this.handler.retrieveCachedResponse()),!e){const t=new Map;t.set("GOOGLE_EXTERNAL_ACCOUNT_AUDIENCE",this.audience),t.set("GOOGLE_EXTERNAL_ACCOUNT_TOKEN_TYPE",this.subjectTokenType),t.set("GOOGLE_EXTERNAL_ACCOUNT_INTERACTIVE","0"),this.outputFile&&t.set("GOOGLE_EXTERNAL_ACCOUNT_OUTPUT_FILE",this.outputFile);const n=this.getServiceAccountEmail();n&&t.set("GOOGLE_EXTERNAL_ACCOUNT_IMPERSONATED_EMAIL",n),e=await this.handler.retrieveResponseFromExecutable(t)}if(e.version>1)throw new Error("Version of executable is not currently supported, maximum supported version is 1.");if(!e.success)throw new a(e.errorMessage,e.errorCode);if(this.outputFile&&!e.expirationTime)throw new r.InvalidExpirationTimeFieldError("The executable response must contain the `expiration_time` field for successful responses when an output_file has been specified in the configuration.");if(e.isExpired())throw new Error("Executable response is expired.");return e.subjectToken}}t.PluggableAuthClient=s},34439:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PluggableAuthHandler=void 0;const o=n(45001),r=n(11331),i=n(32081),a=n(57147);class s{constructor(e){if(!e.command)throw new Error("No command provided.");if(this.commandComponents=s.parseCommand(e.command),this.timeoutMillis=e.timeoutMillis,!this.timeoutMillis)throw new Error("No timeoutMillis provided.");this.outputFile=e.outputFile}retrieveResponseFromExecutable(e){return new Promise(((t,n)=>{const a=i.spawn(this.commandComponents[0],this.commandComponents.slice(1),{env:{...process.env,...Object.fromEntries(e)}});let s="";a.stdout.on("data",(e=>{s+=e})),a.stderr.on("data",(e=>{s+=e}));const l=setTimeout((()=>(a.removeAllListeners(),a.kill(),n(new Error("The executable failed to finish within the timeout specified.")))),this.timeoutMillis);a.on("close",(e=>{if(clearTimeout(l),0!==e)return n(new o.ExecutableError(s,e.toString()));try{const e=JSON.parse(s),n=new r.ExecutableResponse(e);return t(n)}catch(e){return e instanceof r.ExecutableResponseError?n(e):n(new r.ExecutableResponseError(`The executable returned an invalid response: ${s}`))}}))}))}async retrieveCachedResponse(){if(!this.outputFile||0===this.outputFile.length)return;let e;try{e=await a.promises.realpath(this.outputFile)}catch(e){return}if(!(await a.promises.lstat(e)).isFile())return;const t=await a.promises.readFile(e,{encoding:"utf8"});if(""!==t)try{const e=JSON.parse(t);return new r.ExecutableResponse(e).isValid()?new r.ExecutableResponse(e):void 0}catch(e){if(e instanceof r.ExecutableResponseError)throw e;throw new r.ExecutableResponseError(`The output file contained an invalid response: ${t}`)}}static parseCommand(e){const t=e.match(/(?:[^\s"]+|"[^"]*")+/g);if(!t)throw new Error(`Provided command: "${e}" could not be parsed.`);for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserRefreshClient=void 0;const o=n(7057);class r extends o.OAuth2Client{constructor(e,t,n,o,r){const i=e&&"object"==typeof e?e:{clientId:e,clientSecret:t,refreshToken:n,eagerRefreshThresholdMillis:o,forceRefreshOnFailure:r};super({clientId:i.clientId,clientSecret:i.clientSecret,eagerRefreshThresholdMillis:i.eagerRefreshThresholdMillis,forceRefreshOnFailure:i.forceRefreshOnFailure}),this._refreshToken=i.refreshToken,this.credentials.refresh_token=i.refreshToken}async refreshTokenNoCache(e){return super.refreshTokenNoCache(this._refreshToken)}fromJSON(e){if(!e)throw new Error("Must pass in a JSON object containing the user refresh token");if("authorized_user"!==e.type)throw new Error('The incoming JSON object does not have the "authorized_user" type');if(!e.client_id)throw new Error("The incoming JSON object does not contain a client_id field");if(!e.client_secret)throw new Error("The incoming JSON object does not contain a client_secret field");if(!e.refresh_token)throw new Error("The incoming JSON object does not contain a refresh_token field");this._clientId=e.client_id,this._clientSecret=e.client_secret,this._refreshToken=e.refresh_token,this.credentials.refresh_token=e.refresh_token,this.quotaProjectId=e.quota_project_id}fromStream(e,t){if(!t)return this.fromStreamAsync(e);this.fromStreamAsync(e).then((()=>t()),t)}async fromStreamAsync(e){return new Promise(((t,n)=>{if(!e)return n(new Error("Must pass in a stream containing the user refresh token."));let o="";e.setEncoding("utf8").on("error",n).on("data",(e=>o+=e)).on("end",(()=>{try{const e=JSON.parse(o);return this.fromJSON(e),t()}catch(e){return n(e)}}))}))}}t.UserRefreshClient=r},46185:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StsCredentials=void 0;const o=n(3830),r=n(63477),i=n(66484),a=n(77863);class s extends a.OAuthClientAuthHandler{constructor(e,t){super(t),this.tokenExchangeEndpoint=e,this.transporter=new i.DefaultTransporter}async exchangeToken(e,t,n){var i,s,l;const c={grant_type:e.grantType,resource:e.resource,audience:e.audience,scope:null===(i=e.scope)||void 0===i?void 0:i.join(" "),requested_token_type:e.requestedTokenType,subject_token:e.subjectToken,subject_token_type:e.subjectTokenType,actor_token:null===(s=e.actingParty)||void 0===s?void 0:s.actorToken,actor_token_type:null===(l=e.actingParty)||void 0===l?void 0:l.actorTokenType,options:n&&JSON.stringify(n)};Object.keys(c).forEach((e=>{void 0===c[e]&&delete c[e]}));const p={"Content-Type":"application/x-www-form-urlencoded"};Object.assign(p,t||{});const u={url:this.tokenExchangeEndpoint,method:"POST",headers:p,data:r.stringify(c),responseType:"json"};this.applyClientAuthenticationOptions(u);try{const e=await this.transporter.request(u),t=e.data;return t.res=e,t}catch(e){if(e instanceof o.GaxiosError&&e.response)throw(0,a.getErrorFromOAuthErrorResponse)(e.response.data,e);throw e}}}t.StsCredentials=s},58245:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserCrypto=void 0;const o=n(26446);"undefined"==typeof process&&"undefined"==typeof TextEncoder&&n(99707);const r=n(57489);class i{constructor(){if("undefined"==typeof window||void 0===window.crypto||void 0===window.crypto.subtle)throw new Error("SubtleCrypto not found. Make sure it's an https:// website.")}async sha256DigestBase64(e){const t=(new TextEncoder).encode(e),n=await window.crypto.subtle.digest("SHA-256",t);return o.fromByteArray(new Uint8Array(n))}randomBytesBase64(e){const t=new Uint8Array(e);return window.crypto.getRandomValues(t),o.fromByteArray(t)}static padBase64(e){for(;e.length%4!=0;)e+="=";return e}async verify(e,t,n){const r={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},a=(new TextEncoder).encode(t),s=o.toByteArray(i.padBase64(n)),l=await window.crypto.subtle.importKey("jwk",e,r,!0,["verify"]);return await window.crypto.subtle.verify(r,l,s,a)}async sign(e,t){const n={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},r=(new TextEncoder).encode(t),i=await window.crypto.subtle.importKey("jwk",e,n,!0,["sign"]),a=await window.crypto.subtle.sign(n,i,r);return o.fromByteArray(new Uint8Array(a))}decodeBase64StringUtf8(e){const t=o.toByteArray(i.padBase64(e));return(new TextDecoder).decode(t)}encodeBase64StringUtf8(e){const t=(new TextEncoder).encode(e);return o.fromByteArray(t)}async sha256DigestHex(e){const t=(new TextEncoder).encode(e),n=await window.crypto.subtle.digest("SHA-256",t);return(0,r.fromArrayBufferToHex)(n)}async signWithHmacSha256(e,t){const n="string"==typeof e?e:String.fromCharCode(...new Uint16Array(e)),o=new TextEncoder,r=await window.crypto.subtle.importKey("raw",o.encode(n),{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]);return window.crypto.subtle.sign("HMAC",r,o.encode(t))}}t.BrowserCrypto=i},57489:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromArrayBufferToHex=t.hasBrowserCrypto=t.createCrypto=void 0;const o=n(58245),r=n(26967);function i(){return"undefined"!=typeof window&&void 0!==window.crypto&&void 0!==window.crypto.subtle}t.createCrypto=function(){return i()?new o.BrowserCrypto:new r.NodeCrypto},t.hasBrowserCrypto=i,t.fromArrayBufferToHex=function(e){return Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")}},26967:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeCrypto=void 0;const o=n(6113);t.NodeCrypto=class{async sha256DigestBase64(e){return o.createHash("sha256").update(e).digest("base64")}randomBytesBase64(e){return o.randomBytes(e).toString("base64")}async verify(e,t,n){const r=o.createVerify("sha256");return r.update(t),r.end(),r.verify(e,n,"base64")}async sign(e,t){const n=o.createSign("RSA-SHA256");return n.update(t),n.end(),n.sign(e,"base64")}decodeBase64StringUtf8(e){return Buffer.from(e,"base64").toString("utf-8")}encodeBase64StringUtf8(e){return Buffer.from(e,"utf-8").toString("base64")}async sha256DigestHex(e){return o.createHash("sha256").update(e).digest("hex")}async signWithHmacSha256(e,t){const n="string"==typeof e?e:(r=e,Buffer.from(r));var r,i;return(i=o.createHmac("sha256",n).update(t).digest()).buffer.slice(i.byteOffset,i.byteOffset+i.byteLength)}}},81173:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAuth=t.auth=t.DefaultTransporter=t.PluggableAuthClient=t.DownscopedClient=t.BaseExternalAccountClient=t.ExternalAccountClient=t.IdentityPoolClient=t.AwsClient=t.UserRefreshClient=t.LoginTicket=t.OAuth2Client=t.CodeChallengeMethod=t.Impersonated=t.JWT=t.JWTAccess=t.IdTokenClient=t.IAMAuth=t.GCPEnv=t.Compute=t.AuthClient=void 0;const o=n(53576);Object.defineProperty(t,"GoogleAuth",{enumerable:!0,get:function(){return o.GoogleAuth}});var r=n(78478);Object.defineProperty(t,"AuthClient",{enumerable:!0,get:function(){return r.AuthClient}});var i=n(80349);Object.defineProperty(t,"Compute",{enumerable:!0,get:function(){return i.Compute}});var a=n(48103);Object.defineProperty(t,"GCPEnv",{enumerable:!0,get:function(){return a.GCPEnv}});var s=n(88691);Object.defineProperty(t,"IAMAuth",{enumerable:!0,get:function(){return s.IAMAuth}});var l=n(73729);Object.defineProperty(t,"IdTokenClient",{enumerable:!0,get:function(){return l.IdTokenClient}});var c=n(48333);Object.defineProperty(t,"JWTAccess",{enumerable:!0,get:function(){return c.JWTAccess}});var p=n(14342);Object.defineProperty(t,"JWT",{enumerable:!0,get:function(){return p.JWT}});var u=n(88060);Object.defineProperty(t,"Impersonated",{enumerable:!0,get:function(){return u.Impersonated}});var d=n(7057);Object.defineProperty(t,"CodeChallengeMethod",{enumerable:!0,get:function(){return d.CodeChallengeMethod}}),Object.defineProperty(t,"OAuth2Client",{enumerable:!0,get:function(){return d.OAuth2Client}});var g=n(1984);Object.defineProperty(t,"LoginTicket",{enumerable:!0,get:function(){return g.LoginTicket}});var f=n(3625);Object.defineProperty(t,"UserRefreshClient",{enumerable:!0,get:function(){return f.UserRefreshClient}});var h=n(30011);Object.defineProperty(t,"AwsClient",{enumerable:!0,get:function(){return h.AwsClient}});var m=n(60695);Object.defineProperty(t,"IdentityPoolClient",{enumerable:!0,get:function(){return m.IdentityPoolClient}});var y=n(30228);Object.defineProperty(t,"ExternalAccountClient",{enumerable:!0,get:function(){return y.ExternalAccountClient}});var v=n(36045);Object.defineProperty(t,"BaseExternalAccountClient",{enumerable:!0,get:function(){return v.BaseExternalAccountClient}});var b=n(75620);Object.defineProperty(t,"DownscopedClient",{enumerable:!0,get:function(){return b.DownscopedClient}});var O=n(45001);Object.defineProperty(t,"PluggableAuthClient",{enumerable:!0,get:function(){return O.PluggableAuthClient}});var w=n(66484);Object.defineProperty(t,"DefaultTransporter",{enumerable:!0,get:function(){return w.DefaultTransporter}});const P=new o.GoogleAuth;t.auth=P},53693:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validate=void 0,t.validate=function(e){const t=[{invalid:"uri",expected:"url"},{invalid:"json",expected:"data"},{invalid:"qs",expected:"params"}];for(const n of t)if(e[n.invalid]){const e=`'${n.invalid}' is not a valid configuration option. Please use '${n.expected}' instead. This library is using Axios for requests. Please see https://github.com/axios/axios to learn more about the valid request options.`;throw new Error(e)}}},66484:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultTransporter=void 0;const o=n(3830),r=n(53693),i=n(39665),a="google-api-nodejs-client";class s{configure(e={}){if(e.headers=e.headers||{},"undefined"==typeof window){const t=e.headers["User-Agent"];t?t.includes(`${a}/`)||(e.headers["User-Agent"]=`${t} ${s.USER_AGENT}`):e.headers["User-Agent"]=s.USER_AGENT;const n=`auth/${i.version}`;if(e.headers["x-goog-api-client"]&&!e.headers["x-goog-api-client"].includes(n))e.headers["x-goog-api-client"]=`${e.headers["x-goog-api-client"]} ${n}`;else if(!e.headers["x-goog-api-client"]){const t=process.version.replace(/^v/,"");e.headers["x-goog-api-client"]=`gl-node/${t} ${n}`}}return e}request(e,t){e=this.configure(e);try{(0,r.validate)(e)}catch(e){if(t)return t(e);throw e}if(!t)return(0,o.request)(e).catch((e=>{throw this.processError(e)}));(0,o.request)(e).then((e=>{t(null,e)}),(e=>{t(this.processError(e))}))}processError(e){const t=e.response,n=e,o=t?t.data:null;return t&&o&&o.error&&200!==t.status?"string"==typeof o.error?(n.message=o.error,n.code=t.status.toString()):Array.isArray(o.error.errors)?(n.message=o.error.errors.map((e=>e.message)).join("\n"),n.code=o.error.code,n.errors=o.error.errors):(n.message=o.error.message,n.code=o.error.code||t.status):t&&t.status>=400&&(n.message=o,n.code=t.status.toString()),n}}t.DefaultTransporter=s,s.USER_AGENT=`${a}/${i.version}`},89255:function(e,t,n){var o,r,i;r=[n(1740)],void 0===(i="function"==typeof(o=function(e){"use strict";var t,n,o,r,i,a,s,l,c,p=e.Reader,u=e.Writer,d=e.util,g=e.roots.iam_protos||(e.roots.iam_protos={});return g.google=((c={}).iam=((o={}).v1=((n={}).IAMPolicy=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.setIamPolicy=function e(t,n){return this.rpcCall(e,g.google.iam.v1.SetIamPolicyRequest,g.google.iam.v1.Policy,t,n)},"name",{value:"SetIamPolicy"}),Object.defineProperty(t.prototype.getIamPolicy=function e(t,n){return this.rpcCall(e,g.google.iam.v1.GetIamPolicyRequest,g.google.iam.v1.Policy,t,n)},"name",{value:"GetIamPolicy"}),Object.defineProperty(t.prototype.testIamPermissions=function e(t,n){return this.rpcCall(e,g.google.iam.v1.TestIamPermissionsRequest,g.google.iam.v1.TestIamPermissionsResponse,t,n)},"name",{value:"TestIamPermissions"}),t}(),n.SetIamPolicyRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.resource=e.string();break;case 2:o.policy=g.google.iam.v1.Policy.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.resource&&e.hasOwnProperty("resource")&&!d.isString(e.resource))return"resource: string expected";if(null!=e.policy&&e.hasOwnProperty("policy")){var t=g.google.iam.v1.Policy.verify(e.policy);if(t)return"policy."+t}return null},t.fromObject=function(e){if(e instanceof g.google.iam.v1.SetIamPolicyRequest)return e;var t=new g.google.iam.v1.SetIamPolicyRequest;if(null!=e.resource&&(t.resource=String(e.resource)),null!=e.policy){if("object"!=typeof e.policy)throw TypeError(".google.iam.v1.SetIamPolicyRequest.policy: object expected");t.policy=g.google.iam.v1.Policy.fromObject(e.policy)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.resource="",n.policy=null),null!=e.resource&&e.hasOwnProperty("resource")&&(n.resource=e.resource),null!=e.policy&&e.hasOwnProperty("policy")&&(n.policy=g.google.iam.v1.Policy.toObject(e.policy,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),n.GetIamPolicyRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.resource=e.string();break;case 2:o.options=g.google.iam.v1.GetPolicyOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.resource&&e.hasOwnProperty("resource")&&!d.isString(e.resource))return"resource: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=g.google.iam.v1.GetPolicyOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof g.google.iam.v1.GetIamPolicyRequest)return e;var t=new g.google.iam.v1.GetIamPolicyRequest;if(null!=e.resource&&(t.resource=String(e.resource)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.iam.v1.GetIamPolicyRequest.options: object expected");t.options=g.google.iam.v1.GetPolicyOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.resource="",n.options=null),null!=e.resource&&e.hasOwnProperty("resource")&&(n.resource=e.resource),null!=e.options&&e.hasOwnProperty("options")&&(n.options=g.google.iam.v1.GetPolicyOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),n.TestIamPermissionsRequest=function(){function t(e){if(this.permissions=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.resource=e.string();break;case 2:o.permissions&&o.permissions.length||(o.permissions=[]),o.permissions.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.resource&&e.hasOwnProperty("resource")&&!d.isString(e.resource))return"resource: string expected";if(null!=e.permissions&&e.hasOwnProperty("permissions")){if(!Array.isArray(e.permissions))return"permissions: array expected";for(var t=0;t>>3==1?(o.permissions&&o.permissions.length||(o.permissions=[]),o.permissions.push(e.string())):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.permissions&&e.hasOwnProperty("permissions")){if(!Array.isArray(e.permissions))return"permissions: array expected";for(var t=0;t>>3==1?o.requestedPolicyVersion=e.int32():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.requestedPolicyVersion&&e.hasOwnProperty("requestedPolicyVersion")&&!d.isInteger(e.requestedPolicyVersion)?"requestedPolicyVersion: integer expected":null},t.fromObject=function(e){if(e instanceof g.google.iam.v1.GetPolicyOptions)return e;var t=new g.google.iam.v1.GetPolicyOptions;return null!=e.requestedPolicyVersion&&(t.requestedPolicyVersion=0|e.requestedPolicyVersion),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.requestedPolicyVersion=0),null!=e.requestedPolicyVersion&&e.hasOwnProperty("requestedPolicyVersion")&&(n.requestedPolicyVersion=e.requestedPolicyVersion),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),n.Policy=function(){function t(e){if(this.bindings=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.version=e.int32();break;case 4:o.bindings&&o.bindings.length||(o.bindings=[]),o.bindings.push(g.google.iam.v1.Binding.decode(e,e.uint32()));break;case 3:o.etag=e.bytes();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.version&&e.hasOwnProperty("version")&&!d.isInteger(e.version))return"version: integer expected";if(null!=e.bindings&&e.hasOwnProperty("bindings")){if(!Array.isArray(e.bindings))return"bindings: array expected";for(var t=0;t>>3){case 1:o.role=e.string();break;case 2:o.members&&o.members.length||(o.members=[]),o.members.push(e.string());break;case 3:o.condition=g.google.type.Expr.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.role&&e.hasOwnProperty("role")&&!d.isString(e.role))return"role: string expected";if(null!=e.members&&e.hasOwnProperty("members")){if(!Array.isArray(e.members))return"members: array expected";for(var t=0;t>>3){case 1:o.bindingDeltas&&o.bindingDeltas.length||(o.bindingDeltas=[]),o.bindingDeltas.push(g.google.iam.v1.BindingDelta.decode(e,e.uint32()));break;case 2:o.auditConfigDeltas&&o.auditConfigDeltas.length||(o.auditConfigDeltas=[]),o.auditConfigDeltas.push(g.google.iam.v1.AuditConfigDelta.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.bindingDeltas&&e.hasOwnProperty("bindingDeltas")){if(!Array.isArray(e.bindingDeltas))return"bindingDeltas: array expected";for(var t=0;t>>3){case 1:o.action=e.int32();break;case 2:o.role=e.string();break;case 3:o.member=e.string();break;case 4:o.condition=g.google.type.Expr.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.action&&e.hasOwnProperty("action"))switch(e.action){default:return"action: enum value expected";case 0:case 1:case 2:}if(null!=e.role&&e.hasOwnProperty("role")&&!d.isString(e.role))return"role: string expected";if(null!=e.member&&e.hasOwnProperty("member")&&!d.isString(e.member))return"member: string expected";if(null!=e.condition&&e.hasOwnProperty("condition")){var t=g.google.type.Expr.verify(e.condition);if(t)return"condition."+t}return null},t.fromObject=function(e){if(e instanceof g.google.iam.v1.BindingDelta)return e;var t=new g.google.iam.v1.BindingDelta;switch(e.action){case"ACTION_UNSPECIFIED":case 0:t.action=0;break;case"ADD":case 1:t.action=1;break;case"REMOVE":case 2:t.action=2}if(null!=e.role&&(t.role=String(e.role)),null!=e.member&&(t.member=String(e.member)),null!=e.condition){if("object"!=typeof e.condition)throw TypeError(".google.iam.v1.BindingDelta.condition: object expected");t.condition=g.google.type.Expr.fromObject(e.condition)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.action=t.enums===String?"ACTION_UNSPECIFIED":0,n.role="",n.member="",n.condition=null),null!=e.action&&e.hasOwnProperty("action")&&(n.action=t.enums===String?g.google.iam.v1.BindingDelta.Action[e.action]:e.action),null!=e.role&&e.hasOwnProperty("role")&&(n.role=e.role),null!=e.member&&e.hasOwnProperty("member")&&(n.member=e.member),null!=e.condition&&e.hasOwnProperty("condition")&&(n.condition=g.google.type.Expr.toObject(e.condition,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.Action=(n={},(o=Object.create(n))[n[0]="ACTION_UNSPECIFIED"]=0,o[n[1]="ADD"]=1,o[n[2]="REMOVE"]=2,o),t}(),n.AuditConfigDelta=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.action=e.int32();break;case 2:o.service=e.string();break;case 3:o.exemptedMember=e.string();break;case 4:o.logType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.action&&e.hasOwnProperty("action"))switch(e.action){default:return"action: enum value expected";case 0:case 1:case 2:}return null!=e.service&&e.hasOwnProperty("service")&&!d.isString(e.service)?"service: string expected":null!=e.exemptedMember&&e.hasOwnProperty("exemptedMember")&&!d.isString(e.exemptedMember)?"exemptedMember: string expected":null!=e.logType&&e.hasOwnProperty("logType")&&!d.isString(e.logType)?"logType: string expected":null},t.fromObject=function(e){if(e instanceof g.google.iam.v1.AuditConfigDelta)return e;var t=new g.google.iam.v1.AuditConfigDelta;switch(e.action){case"ACTION_UNSPECIFIED":case 0:t.action=0;break;case"ADD":case 1:t.action=1;break;case"REMOVE":case 2:t.action=2}return null!=e.service&&(t.service=String(e.service)),null!=e.exemptedMember&&(t.exemptedMember=String(e.exemptedMember)),null!=e.logType&&(t.logType=String(e.logType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.action=t.enums===String?"ACTION_UNSPECIFIED":0,n.service="",n.exemptedMember="",n.logType=""),null!=e.action&&e.hasOwnProperty("action")&&(n.action=t.enums===String?g.google.iam.v1.AuditConfigDelta.Action[e.action]:e.action),null!=e.service&&e.hasOwnProperty("service")&&(n.service=e.service),null!=e.exemptedMember&&e.hasOwnProperty("exemptedMember")&&(n.exemptedMember=e.exemptedMember),null!=e.logType&&e.hasOwnProperty("logType")&&(n.logType=e.logType),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.Action=(n={},(o=Object.create(n))[n[0]="ACTION_UNSPECIFIED"]=0,o[n[1]="ADD"]=1,o[n[2]="REMOVE"]=2,o),t}(),n.logging=((t={}).AuditData=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==2?o.policyDelta=g.google.iam.v1.PolicyDelta.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.policyDelta&&e.hasOwnProperty("policyDelta")){var t=g.google.iam.v1.PolicyDelta.verify(e.policyDelta);if(t)return"policyDelta."+t}return null},t.fromObject=function(e){if(e instanceof g.google.iam.v1.logging.AuditData)return e;var t=new g.google.iam.v1.logging.AuditData;if(null!=e.policyDelta){if("object"!=typeof e.policyDelta)throw TypeError(".google.iam.v1.logging.AuditData.policyDelta: object expected");t.policyDelta=g.google.iam.v1.PolicyDelta.fromObject(e.policyDelta)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.policyDelta=null),null!=e.policyDelta&&e.hasOwnProperty("policyDelta")&&(n.policyDelta=g.google.iam.v1.PolicyDelta.toObject(e.policyDelta,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t),n),o),c.api=((a={}).Http=function(){function t(e){if(this.rules=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.rules&&o.rules.length||(o.rules=[]),o.rules.push(g.google.api.HttpRule.decode(e,e.uint32()));break;case 2:o.fullyDecodeReservedExpansion=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.rules&&e.hasOwnProperty("rules")){if(!Array.isArray(e.rules))return"rules: array expected";for(var t=0;t>>3){case 1:o.selector=e.string();break;case 2:o.get=e.string();break;case 3:o.put=e.string();break;case 4:o.post=e.string();break;case 5:o.delete=e.string();break;case 6:o.patch=e.string();break;case 8:o.custom=g.google.api.CustomHttpPattern.decode(e,e.uint32());break;case 7:o.body=e.string();break;case 12:o.responseBody=e.string();break;case 11:o.additionalBindings&&o.additionalBindings.length||(o.additionalBindings=[]),o.additionalBindings.push(g.google.api.HttpRule.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t={};if(null!=e.selector&&e.hasOwnProperty("selector")&&!d.isString(e.selector))return"selector: string expected";if(null!=e.get&&e.hasOwnProperty("get")&&(t.pattern=1,!d.isString(e.get)))return"get: string expected";if(null!=e.put&&e.hasOwnProperty("put")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!d.isString(e.put))return"put: string expected"}if(null!=e.post&&e.hasOwnProperty("post")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!d.isString(e.post))return"post: string expected"}if(null!=e.delete&&e.hasOwnProperty("delete")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!d.isString(e.delete))return"delete: string expected"}if(null!=e.patch&&e.hasOwnProperty("patch")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!d.isString(e.patch))return"patch: string expected"}if(null!=e.custom&&e.hasOwnProperty("custom")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,o=g.google.api.CustomHttpPattern.verify(e.custom))return"custom."+o}if(null!=e.body&&e.hasOwnProperty("body")&&!d.isString(e.body))return"body: string expected";if(null!=e.responseBody&&e.hasOwnProperty("responseBody")&&!d.isString(e.responseBody))return"responseBody: string expected";if(null!=e.additionalBindings&&e.hasOwnProperty("additionalBindings")){if(!Array.isArray(e.additionalBindings))return"additionalBindings: array expected";for(var n=0;n>>3){case 1:o.kind=e.string();break;case 2:o.path=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.kind&&e.hasOwnProperty("kind")&&!d.isString(e.kind)?"kind: string expected":null!=e.path&&e.hasOwnProperty("path")&&!d.isString(e.path)?"path: string expected":null},t.fromObject=function(e){if(e instanceof g.google.api.CustomHttpPattern)return e;var t=new g.google.api.CustomHttpPattern;return null!=e.kind&&(t.kind=String(e.kind)),null!=e.path&&(t.path=String(e.path)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.kind="",n.path=""),null!=e.kind&&e.hasOwnProperty("kind")&&(n.kind=e.kind),null!=e.path&&e.hasOwnProperty("path")&&(n.path=e.path),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),a.FieldBehavior=(r={},(i=Object.create(r))[r[0]="FIELD_BEHAVIOR_UNSPECIFIED"]=0,i[r[1]="OPTIONAL"]=1,i[r[2]="REQUIRED"]=2,i[r[3]="OUTPUT_ONLY"]=3,i[r[4]="INPUT_ONLY"]=4,i[r[5]="IMMUTABLE"]=5,i),a.ResourceDescriptor=function(){function t(e){if(this.pattern=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.string();break;case 2:o.pattern&&o.pattern.length||(o.pattern=[]),o.pattern.push(e.string());break;case 3:o.nameField=e.string();break;case 4:o.history=e.int32();break;case 5:o.plural=e.string();break;case 6:o.singular=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type")&&!d.isString(e.type))return"type: string expected";if(null!=e.pattern&&e.hasOwnProperty("pattern")){if(!Array.isArray(e.pattern))return"pattern: array expected";for(var t=0;t>>3){case 1:o.type=e.string();break;case 2:o.childType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.type&&e.hasOwnProperty("type")&&!d.isString(e.type)?"type: string expected":null!=e.childType&&e.hasOwnProperty("childType")&&!d.isString(e.childType)?"childType: string expected":null},t.fromObject=function(e){if(e instanceof g.google.api.ResourceReference)return e;var t=new g.google.api.ResourceReference;return null!=e.type&&(t.type=String(e.type)),null!=e.childType&&(t.childType=String(e.childType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type="",n.childType=""),null!=e.type&&e.hasOwnProperty("type")&&(n.type=e.type),null!=e.childType&&e.hasOwnProperty("childType")&&(n.childType=e.childType),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),a),c.protobuf=((s={}).FileDescriptorSet=function(){function t(e){if(this.file=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.file&&o.file.length||(o.file=[]),o.file.push(g.google.protobuf.FileDescriptorProto.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.file&&e.hasOwnProperty("file")){if(!Array.isArray(e.file))return"file: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.package=e.string();break;case 3:o.dependency&&o.dependency.length||(o.dependency=[]),o.dependency.push(e.string());break;case 10:if(o.publicDependency&&o.publicDependency.length||(o.publicDependency=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.name=e.string();break;case 2:o.field&&o.field.length||(o.field=[]),o.field.push(g.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 6:o.extension&&o.extension.length||(o.extension=[]),o.extension.push(g.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 3:o.nestedType&&o.nestedType.length||(o.nestedType=[]),o.nestedType.push(g.google.protobuf.DescriptorProto.decode(e,e.uint32()));break;case 4:o.enumType&&o.enumType.length||(o.enumType=[]),o.enumType.push(g.google.protobuf.EnumDescriptorProto.decode(e,e.uint32()));break;case 5:o.extensionRange&&o.extensionRange.length||(o.extensionRange=[]),o.extensionRange.push(g.google.protobuf.DescriptorProto.ExtensionRange.decode(e,e.uint32()));break;case 8:o.oneofDecl&&o.oneofDecl.length||(o.oneofDecl=[]),o.oneofDecl.push(g.google.protobuf.OneofDescriptorProto.decode(e,e.uint32()));break;case 7:o.options=g.google.protobuf.MessageOptions.decode(e,e.uint32());break;case 9:o.reservedRange&&o.reservedRange.length||(o.reservedRange=[]),o.reservedRange.push(g.google.protobuf.DescriptorProto.ReservedRange.decode(e,e.uint32()));break;case 10:o.reservedName&&o.reservedName.length||(o.reservedName=[]),o.reservedName.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!d.isString(e.name))return"name: string expected";if(null!=e.field&&e.hasOwnProperty("field")){if(!Array.isArray(e.field))return"field: array expected";for(var t=0;t>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;case 3:o.options=g.google.protobuf.ExtensionRangeOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.start&&e.hasOwnProperty("start")&&!d.isInteger(e.start))return"start: integer expected";if(null!=e.end&&e.hasOwnProperty("end")&&!d.isInteger(e.end))return"end: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=g.google.protobuf.ExtensionRangeOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof g.google.protobuf.DescriptorProto.ExtensionRange)return e;var t=new g.google.protobuf.DescriptorProto.ExtensionRange;if(null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.DescriptorProto.ExtensionRange.options: object expected");t.options=g.google.protobuf.ExtensionRangeOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0,n.options=null),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),null!=e.options&&e.hasOwnProperty("options")&&(n.options=g.google.protobuf.ExtensionRangeOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.ReservedRange=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!d.isInteger(e.start)?"start: integer expected":null!=e.end&&e.hasOwnProperty("end")&&!d.isInteger(e.end)?"end: integer expected":null},t.fromObject=function(e){if(e instanceof g.google.protobuf.DescriptorProto.ReservedRange)return e;var t=new g.google.protobuf.DescriptorProto.ReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),s.ExtensionRangeOptions=function(){function t(e){if(this.uninterpretedOption=[],e)for(var t=Object.keys(e),n=0;n>>3==999?(o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 3:o.number=e.int32();break;case 4:o.label=e.int32();break;case 5:o.type=e.int32();break;case 6:o.typeName=e.string();break;case 2:o.extendee=e.string();break;case 7:o.defaultValue=e.string();break;case 9:o.oneofIndex=e.int32();break;case 10:o.jsonName=e.string();break;case 8:o.options=g.google.protobuf.FieldOptions.decode(e,e.uint32());break;case 17:o.proto3Optional=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!d.isString(e.name))return"name: string expected";if(null!=e.number&&e.hasOwnProperty("number")&&!d.isInteger(e.number))return"number: integer expected";if(null!=e.label&&e.hasOwnProperty("label"))switch(e.label){default:return"label: enum value expected";case 1:case 2:case 3:}if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:}if(null!=e.typeName&&e.hasOwnProperty("typeName")&&!d.isString(e.typeName))return"typeName: string expected";if(null!=e.extendee&&e.hasOwnProperty("extendee")&&!d.isString(e.extendee))return"extendee: string expected";if(null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&!d.isString(e.defaultValue))return"defaultValue: string expected";if(null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&!d.isInteger(e.oneofIndex))return"oneofIndex: integer expected";if(null!=e.jsonName&&e.hasOwnProperty("jsonName")&&!d.isString(e.jsonName))return"jsonName: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=g.google.protobuf.FieldOptions.verify(e.options);if(t)return"options."+t}return null!=e.proto3Optional&&e.hasOwnProperty("proto3Optional")&&"boolean"!=typeof e.proto3Optional?"proto3Optional: boolean expected":null},t.fromObject=function(e){if(e instanceof g.google.protobuf.FieldDescriptorProto)return e;var t=new g.google.protobuf.FieldDescriptorProto;switch(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),e.label){case"LABEL_OPTIONAL":case 1:t.label=1;break;case"LABEL_REQUIRED":case 2:t.label=2;break;case"LABEL_REPEATED":case 3:t.label=3}switch(e.type){case"TYPE_DOUBLE":case 1:t.type=1;break;case"TYPE_FLOAT":case 2:t.type=2;break;case"TYPE_INT64":case 3:t.type=3;break;case"TYPE_UINT64":case 4:t.type=4;break;case"TYPE_INT32":case 5:t.type=5;break;case"TYPE_FIXED64":case 6:t.type=6;break;case"TYPE_FIXED32":case 7:t.type=7;break;case"TYPE_BOOL":case 8:t.type=8;break;case"TYPE_STRING":case 9:t.type=9;break;case"TYPE_GROUP":case 10:t.type=10;break;case"TYPE_MESSAGE":case 11:t.type=11;break;case"TYPE_BYTES":case 12:t.type=12;break;case"TYPE_UINT32":case 13:t.type=13;break;case"TYPE_ENUM":case 14:t.type=14;break;case"TYPE_SFIXED32":case 15:t.type=15;break;case"TYPE_SFIXED64":case 16:t.type=16;break;case"TYPE_SINT32":case 17:t.type=17;break;case"TYPE_SINT64":case 18:t.type=18}if(null!=e.typeName&&(t.typeName=String(e.typeName)),null!=e.extendee&&(t.extendee=String(e.extendee)),null!=e.defaultValue&&(t.defaultValue=String(e.defaultValue)),null!=e.oneofIndex&&(t.oneofIndex=0|e.oneofIndex),null!=e.jsonName&&(t.jsonName=String(e.jsonName)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");t.options=g.google.protobuf.FieldOptions.fromObject(e.options)}return null!=e.proto3Optional&&(t.proto3Optional=Boolean(e.proto3Optional)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.extendee="",n.number=0,n.label=t.enums===String?"LABEL_OPTIONAL":1,n.type=t.enums===String?"TYPE_DOUBLE":1,n.typeName="",n.defaultValue="",n.options=null,n.oneofIndex=0,n.jsonName="",n.proto3Optional=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.extendee&&e.hasOwnProperty("extendee")&&(n.extendee=e.extendee),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.label&&e.hasOwnProperty("label")&&(n.label=t.enums===String?g.google.protobuf.FieldDescriptorProto.Label[e.label]:e.label),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?g.google.protobuf.FieldDescriptorProto.Type[e.type]:e.type),null!=e.typeName&&e.hasOwnProperty("typeName")&&(n.typeName=e.typeName),null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&(n.defaultValue=e.defaultValue),null!=e.options&&e.hasOwnProperty("options")&&(n.options=g.google.protobuf.FieldOptions.toObject(e.options,t)),null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&(n.oneofIndex=e.oneofIndex),null!=e.jsonName&&e.hasOwnProperty("jsonName")&&(n.jsonName=e.jsonName),null!=e.proto3Optional&&e.hasOwnProperty("proto3Optional")&&(n.proto3Optional=e.proto3Optional),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.Type=function(){var e={},t=Object.create(e);return t[e[1]="TYPE_DOUBLE"]=1,t[e[2]="TYPE_FLOAT"]=2,t[e[3]="TYPE_INT64"]=3,t[e[4]="TYPE_UINT64"]=4,t[e[5]="TYPE_INT32"]=5,t[e[6]="TYPE_FIXED64"]=6,t[e[7]="TYPE_FIXED32"]=7,t[e[8]="TYPE_BOOL"]=8,t[e[9]="TYPE_STRING"]=9,t[e[10]="TYPE_GROUP"]=10,t[e[11]="TYPE_MESSAGE"]=11,t[e[12]="TYPE_BYTES"]=12,t[e[13]="TYPE_UINT32"]=13,t[e[14]="TYPE_ENUM"]=14,t[e[15]="TYPE_SFIXED32"]=15,t[e[16]="TYPE_SFIXED64"]=16,t[e[17]="TYPE_SINT32"]=17,t[e[18]="TYPE_SINT64"]=18,t}(),t.Label=function(){var e={},t=Object.create(e);return t[e[1]="LABEL_OPTIONAL"]=1,t[e[2]="LABEL_REQUIRED"]=2,t[e[3]="LABEL_REPEATED"]=3,t}(),t}(),s.OneofDescriptorProto=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.options=g.google.protobuf.OneofOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!d.isString(e.name))return"name: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=g.google.protobuf.OneofOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof g.google.protobuf.OneofDescriptorProto)return e;var t=new g.google.protobuf.OneofDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.OneofDescriptorProto.options: object expected");t.options=g.google.protobuf.OneofOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.options&&e.hasOwnProperty("options")&&(n.options=g.google.protobuf.OneofOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),s.EnumDescriptorProto=function(){function t(e){if(this.value=[],this.reservedRange=[],this.reservedName=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value&&o.value.length||(o.value=[]),o.value.push(g.google.protobuf.EnumValueDescriptorProto.decode(e,e.uint32()));break;case 3:o.options=g.google.protobuf.EnumOptions.decode(e,e.uint32());break;case 4:o.reservedRange&&o.reservedRange.length||(o.reservedRange=[]),o.reservedRange.push(g.google.protobuf.EnumDescriptorProto.EnumReservedRange.decode(e,e.uint32()));break;case 5:o.reservedName&&o.reservedName.length||(o.reservedName=[]),o.reservedName.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!d.isString(e.name))return"name: string expected";if(null!=e.value&&e.hasOwnProperty("value")){if(!Array.isArray(e.value))return"value: array expected";for(var t=0;t>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!d.isInteger(e.start)?"start: integer expected":null!=e.end&&e.hasOwnProperty("end")&&!d.isInteger(e.end)?"end: integer expected":null},t.fromObject=function(e){if(e instanceof g.google.protobuf.EnumDescriptorProto.EnumReservedRange)return e;var t=new g.google.protobuf.EnumDescriptorProto.EnumReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),s.EnumValueDescriptorProto=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.number=e.int32();break;case 3:o.options=g.google.protobuf.EnumValueOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!d.isString(e.name))return"name: string expected";if(null!=e.number&&e.hasOwnProperty("number")&&!d.isInteger(e.number))return"number: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=g.google.protobuf.EnumValueOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof g.google.protobuf.EnumValueDescriptorProto)return e;var t=new g.google.protobuf.EnumValueDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.EnumValueDescriptorProto.options: object expected");t.options=g.google.protobuf.EnumValueOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.number=0,n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.options&&e.hasOwnProperty("options")&&(n.options=g.google.protobuf.EnumValueOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),s.ServiceDescriptorProto=function(){function t(e){if(this.method=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.method&&o.method.length||(o.method=[]),o.method.push(g.google.protobuf.MethodDescriptorProto.decode(e,e.uint32()));break;case 3:o.options=g.google.protobuf.ServiceOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!d.isString(e.name))return"name: string expected";if(null!=e.method&&e.hasOwnProperty("method")){if(!Array.isArray(e.method))return"method: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.inputType=e.string();break;case 3:o.outputType=e.string();break;case 4:o.options=g.google.protobuf.MethodOptions.decode(e,e.uint32());break;case 5:o.clientStreaming=e.bool();break;case 6:o.serverStreaming=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!d.isString(e.name))return"name: string expected";if(null!=e.inputType&&e.hasOwnProperty("inputType")&&!d.isString(e.inputType))return"inputType: string expected";if(null!=e.outputType&&e.hasOwnProperty("outputType")&&!d.isString(e.outputType))return"outputType: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=g.google.protobuf.MethodOptions.verify(e.options);if(t)return"options."+t}return null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&"boolean"!=typeof e.clientStreaming?"clientStreaming: boolean expected":null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&"boolean"!=typeof e.serverStreaming?"serverStreaming: boolean expected":null},t.fromObject=function(e){if(e instanceof g.google.protobuf.MethodDescriptorProto)return e;var t=new g.google.protobuf.MethodDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.inputType&&(t.inputType=String(e.inputType)),null!=e.outputType&&(t.outputType=String(e.outputType)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.MethodDescriptorProto.options: object expected");t.options=g.google.protobuf.MethodOptions.fromObject(e.options)}return null!=e.clientStreaming&&(t.clientStreaming=Boolean(e.clientStreaming)),null!=e.serverStreaming&&(t.serverStreaming=Boolean(e.serverStreaming)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.inputType="",n.outputType="",n.options=null,n.clientStreaming=!1,n.serverStreaming=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.inputType&&e.hasOwnProperty("inputType")&&(n.inputType=e.inputType),null!=e.outputType&&e.hasOwnProperty("outputType")&&(n.outputType=e.outputType),null!=e.options&&e.hasOwnProperty("options")&&(n.options=g.google.protobuf.MethodOptions.toObject(e.options,t)),null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&(n.clientStreaming=e.clientStreaming),null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&(n.serverStreaming=e.serverStreaming),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),s.FileOptions=function(){function t(e){if(this.uninterpretedOption=[],this[".google.api.resourceDefinition"]=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.javaPackage=e.string();break;case 8:o.javaOuterClassname=e.string();break;case 10:o.javaMultipleFiles=e.bool();break;case 20:o.javaGenerateEqualsAndHash=e.bool();break;case 27:o.javaStringCheckUtf8=e.bool();break;case 9:o.optimizeFor=e.int32();break;case 11:o.goPackage=e.string();break;case 16:o.ccGenericServices=e.bool();break;case 17:o.javaGenericServices=e.bool();break;case 18:o.pyGenericServices=e.bool();break;case 42:o.phpGenericServices=e.bool();break;case 23:o.deprecated=e.bool();break;case 31:o.ccEnableArenas=e.bool();break;case 36:o.objcClassPrefix=e.string();break;case 37:o.csharpNamespace=e.string();break;case 39:o.swiftPrefix=e.string();break;case 40:o.phpClassPrefix=e.string();break;case 41:o.phpNamespace=e.string();break;case 44:o.phpMetadataNamespace=e.string();break;case 45:o.rubyPackage=e.string();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1053:o[".google.api.resourceDefinition"]&&o[".google.api.resourceDefinition"].length||(o[".google.api.resourceDefinition"]=[]),o[".google.api.resourceDefinition"].push(g.google.api.ResourceDescriptor.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.javaPackage&&e.hasOwnProperty("javaPackage")&&!d.isString(e.javaPackage))return"javaPackage: string expected";if(null!=e.javaOuterClassname&&e.hasOwnProperty("javaOuterClassname")&&!d.isString(e.javaOuterClassname))return"javaOuterClassname: string expected";if(null!=e.javaMultipleFiles&&e.hasOwnProperty("javaMultipleFiles")&&"boolean"!=typeof e.javaMultipleFiles)return"javaMultipleFiles: boolean expected";if(null!=e.javaGenerateEqualsAndHash&&e.hasOwnProperty("javaGenerateEqualsAndHash")&&"boolean"!=typeof e.javaGenerateEqualsAndHash)return"javaGenerateEqualsAndHash: boolean expected";if(null!=e.javaStringCheckUtf8&&e.hasOwnProperty("javaStringCheckUtf8")&&"boolean"!=typeof e.javaStringCheckUtf8)return"javaStringCheckUtf8: boolean expected";if(null!=e.optimizeFor&&e.hasOwnProperty("optimizeFor"))switch(e.optimizeFor){default:return"optimizeFor: enum value expected";case 1:case 2:case 3:}if(null!=e.goPackage&&e.hasOwnProperty("goPackage")&&!d.isString(e.goPackage))return"goPackage: string expected";if(null!=e.ccGenericServices&&e.hasOwnProperty("ccGenericServices")&&"boolean"!=typeof e.ccGenericServices)return"ccGenericServices: boolean expected";if(null!=e.javaGenericServices&&e.hasOwnProperty("javaGenericServices")&&"boolean"!=typeof e.javaGenericServices)return"javaGenericServices: boolean expected";if(null!=e.pyGenericServices&&e.hasOwnProperty("pyGenericServices")&&"boolean"!=typeof e.pyGenericServices)return"pyGenericServices: boolean expected";if(null!=e.phpGenericServices&&e.hasOwnProperty("phpGenericServices")&&"boolean"!=typeof e.phpGenericServices)return"phpGenericServices: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.ccEnableArenas&&e.hasOwnProperty("ccEnableArenas")&&"boolean"!=typeof e.ccEnableArenas)return"ccEnableArenas: boolean expected";if(null!=e.objcClassPrefix&&e.hasOwnProperty("objcClassPrefix")&&!d.isString(e.objcClassPrefix))return"objcClassPrefix: string expected";if(null!=e.csharpNamespace&&e.hasOwnProperty("csharpNamespace")&&!d.isString(e.csharpNamespace))return"csharpNamespace: string expected";if(null!=e.swiftPrefix&&e.hasOwnProperty("swiftPrefix")&&!d.isString(e.swiftPrefix))return"swiftPrefix: string expected";if(null!=e.phpClassPrefix&&e.hasOwnProperty("phpClassPrefix")&&!d.isString(e.phpClassPrefix))return"phpClassPrefix: string expected";if(null!=e.phpNamespace&&e.hasOwnProperty("phpNamespace")&&!d.isString(e.phpNamespace))return"phpNamespace: string expected";if(null!=e.phpMetadataNamespace&&e.hasOwnProperty("phpMetadataNamespace")&&!d.isString(e.phpMetadataNamespace))return"phpMetadataNamespace: string expected";if(null!=e.rubyPackage&&e.hasOwnProperty("rubyPackage")&&!d.isString(e.rubyPackage))return"rubyPackage: string expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.messageSetWireFormat=e.bool();break;case 2:o.noStandardDescriptorAccessor=e.bool();break;case 3:o.deprecated=e.bool();break;case 7:o.mapEntry=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1053:o[".google.api.resource"]=g.google.api.ResourceDescriptor.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.messageSetWireFormat&&e.hasOwnProperty("messageSetWireFormat")&&"boolean"!=typeof e.messageSetWireFormat)return"messageSetWireFormat: boolean expected";if(null!=e.noStandardDescriptorAccessor&&e.hasOwnProperty("noStandardDescriptorAccessor")&&"boolean"!=typeof e.noStandardDescriptorAccessor)return"noStandardDescriptorAccessor: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.mapEntry&&e.hasOwnProperty("mapEntry")&&"boolean"!=typeof e.mapEntry)return"mapEntry: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.ctype=e.int32();break;case 2:o.packed=e.bool();break;case 6:o.jstype=e.int32();break;case 5:o.lazy=e.bool();break;case 3:o.deprecated=e.bool();break;case 10:o.weak=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1052:if(o[".google.api.fieldBehavior"]&&o[".google.api.fieldBehavior"].length||(o[".google.api.fieldBehavior"]=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==999?(o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 2:o.allowAlias=e.bool();break;case 3:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.allowAlias&&e.hasOwnProperty("allowAlias")&&"boolean"!=typeof e.allowAlias)return"allowAlias: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 33:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1049:o[".google.api.defaultHost"]=e.string();break;case 1050:o[".google.api.oauthScopes"]=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 33:o.deprecated=e.bool();break;case 34:o.idempotencyLevel=e.int32();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 72295728:o[".google.api.http"]=g.google.api.HttpRule.decode(e,e.uint32());break;case 1051:o[".google.api.methodSignature"]&&o[".google.api.methodSignature"].length||(o[".google.api.methodSignature"]=[]),o[".google.api.methodSignature"].push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.idempotencyLevel&&e.hasOwnProperty("idempotencyLevel"))switch(e.idempotencyLevel){default:return"idempotencyLevel: enum value expected";case 0:case 1:case 2:}if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 2:o.name&&o.name.length||(o.name=[]),o.name.push(g.google.protobuf.UninterpretedOption.NamePart.decode(e,e.uint32()));break;case 3:o.identifierValue=e.string();break;case 4:o.positiveIntValue=e.uint64();break;case 5:o.negativeIntValue=e.int64();break;case 6:o.doubleValue=e.double();break;case 7:o.stringValue=e.bytes();break;case 8:o.aggregateValue=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")){if(!Array.isArray(e.name))return"name: array expected";for(var t=0;t>>0,e.positiveIntValue.high>>>0).toNumber(!0))),null!=e.negativeIntValue&&(d.Long?(t.negativeIntValue=d.Long.fromValue(e.negativeIntValue)).unsigned=!1:"string"==typeof e.negativeIntValue?t.negativeIntValue=parseInt(e.negativeIntValue,10):"number"==typeof e.negativeIntValue?t.negativeIntValue=e.negativeIntValue:"object"==typeof e.negativeIntValue&&(t.negativeIntValue=new d.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber())),null!=e.doubleValue&&(t.doubleValue=Number(e.doubleValue)),null!=e.stringValue&&("string"==typeof e.stringValue?d.base64.decode(e.stringValue,t.stringValue=d.newBuffer(d.base64.length(e.stringValue)),0):e.stringValue.length&&(t.stringValue=e.stringValue)),null!=e.aggregateValue&&(t.aggregateValue=String(e.aggregateValue)),t},t.toObject=function(e,t){t||(t={});var n={};if((t.arrays||t.defaults)&&(n.name=[]),t.defaults){if(n.identifierValue="",d.Long){var o=new d.Long(0,0,!0);n.positiveIntValue=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.positiveIntValue=t.longs===String?"0":0;d.Long?(o=new d.Long(0,0,!1),n.negativeIntValue=t.longs===String?o.toString():t.longs===Number?o.toNumber():o):n.negativeIntValue=t.longs===String?"0":0,n.doubleValue=0,t.bytes===String?n.stringValue="":(n.stringValue=[],t.bytes!==Array&&(n.stringValue=d.newBuffer(n.stringValue))),n.aggregateValue=""}if(e.name&&e.name.length){n.name=[];for(var r=0;r>>0,e.positiveIntValue.high>>>0).toNumber(!0):e.positiveIntValue),null!=e.negativeIntValue&&e.hasOwnProperty("negativeIntValue")&&("number"==typeof e.negativeIntValue?n.negativeIntValue=t.longs===String?String(e.negativeIntValue):e.negativeIntValue:n.negativeIntValue=t.longs===String?d.Long.prototype.toString.call(e.negativeIntValue):t.longs===Number?new d.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber():e.negativeIntValue),null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(n.doubleValue=t.json&&!isFinite(e.doubleValue)?String(e.doubleValue):e.doubleValue),null!=e.stringValue&&e.hasOwnProperty("stringValue")&&(n.stringValue=t.bytes===String?d.base64.encode(e.stringValue,0,e.stringValue.length):t.bytes===Array?Array.prototype.slice.call(e.stringValue):e.stringValue),null!=e.aggregateValue&&e.hasOwnProperty("aggregateValue")&&(n.aggregateValue=e.aggregateValue),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.NamePart=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.namePart=e.string();break;case 2:o.isExtension=e.bool();break;default:e.skipType(7&r)}}if(!o.hasOwnProperty("namePart"))throw d.ProtocolError("missing required 'namePart'",{instance:o});if(!o.hasOwnProperty("isExtension"))throw d.ProtocolError("missing required 'isExtension'",{instance:o});return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":d.isString(e.namePart)?"boolean"!=typeof e.isExtension?"isExtension: boolean expected":null:"namePart: string expected"},t.fromObject=function(e){if(e instanceof g.google.protobuf.UninterpretedOption.NamePart)return e;var t=new g.google.protobuf.UninterpretedOption.NamePart;return null!=e.namePart&&(t.namePart=String(e.namePart)),null!=e.isExtension&&(t.isExtension=Boolean(e.isExtension)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.namePart="",n.isExtension=!1),null!=e.namePart&&e.hasOwnProperty("namePart")&&(n.namePart=e.namePart),null!=e.isExtension&&e.hasOwnProperty("isExtension")&&(n.isExtension=e.isExtension),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),s.SourceCodeInfo=function(){function t(e){if(this.location=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.location&&o.location.length||(o.location=[]),o.location.push(g.google.protobuf.SourceCodeInfo.Location.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.location&&e.hasOwnProperty("location")){if(!Array.isArray(e.location))return"location: array expected";for(var t=0;t>>3){case 1:if(o.path&&o.path.length||(o.path=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==1?(o.annotation&&o.annotation.length||(o.annotation=[]),o.annotation.push(g.google.protobuf.GeneratedCodeInfo.Annotation.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.annotation&&e.hasOwnProperty("annotation")){if(!Array.isArray(e.annotation))return"annotation: array expected";for(var t=0;t>>3){case 1:if(o.path&&o.path.length||(o.path=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.expression=e.string();break;case 2:o.title=e.string();break;case 3:o.description=e.string();break;case 4:o.location=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.expression&&e.hasOwnProperty("expression")&&!d.isString(e.expression)?"expression: string expected":null!=e.title&&e.hasOwnProperty("title")&&!d.isString(e.title)?"title: string expected":null!=e.description&&e.hasOwnProperty("description")&&!d.isString(e.description)?"description: string expected":null!=e.location&&e.hasOwnProperty("location")&&!d.isString(e.location)?"location: string expected":null},t.fromObject=function(e){if(e instanceof g.google.type.Expr)return e;var t=new g.google.type.Expr;return null!=e.expression&&(t.expression=String(e.expression)),null!=e.title&&(t.title=String(e.title)),null!=e.description&&(t.description=String(e.description)),null!=e.location&&(t.location=String(e.location)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.expression="",n.title="",n.description="",n.location=""),null!=e.expression&&e.hasOwnProperty("expression")&&(n.expression=e.expression),null!=e.title&&e.hasOwnProperty("title")&&(n.title=e.title),null!=e.description&&e.hasOwnProperty("description")&&(n.description=e.description),null!=e.location&&e.hasOwnProperty("location")&&(n.location=e.location),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),l),c),g})?o.apply(t,r):o)||(e.exports=i)},51419:function(e,t,n){var o,r,i;r=[n(1740)],void 0===(i="function"==typeof(o=function(e){"use strict";var t,n,o,r,i,a=e.Reader,s=e.Writer,l=e.util,c=e.roots.locations_protos||(e.roots.locations_protos={});return c.google=((i={}).cloud=((n={}).location=((t={}).Locations=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.listLocations=function e(t,n){return this.rpcCall(e,c.google.cloud.location.ListLocationsRequest,c.google.cloud.location.ListLocationsResponse,t,n)},"name",{value:"ListLocations"}),Object.defineProperty(t.prototype.getLocation=function e(t,n){return this.rpcCall(e,c.google.cloud.location.GetLocationRequest,c.google.cloud.location.Location,t,n)},"name",{value:"GetLocation"}),t}(),t.ListLocationsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.filter=e.string();break;case 3:o.pageSize=e.int32();break;case 4:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name)?"name: string expected":null!=e.filter&&e.hasOwnProperty("filter")&&!l.isString(e.filter)?"filter: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!l.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!l.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof c.google.cloud.location.ListLocationsRequest)return e;var t=new c.google.cloud.location.ListLocationsRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.filter&&(t.filter=String(e.filter)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.filter="",n.pageSize=0,n.pageToken=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.filter&&e.hasOwnProperty("filter")&&(n.filter=e.filter),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.ListLocationsResponse=function(){function t(e){if(this.locations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.locations&&o.locations.length||(o.locations=[]),o.locations.push(c.google.cloud.location.Location.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.locations&&e.hasOwnProperty("locations")){if(!Array.isArray(e.locations))return"locations: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof c.google.cloud.location.GetLocationRequest)return e;var t=new c.google.cloud.location.GetLocationRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.Location=function(){function t(e){if(this.labels={},e)for(var t=Object.keys(e),n=0;n>>3){case 1:i.name=e.string();break;case 4:i.locationId=e.string();break;case 5:i.displayName=e.string();break;case 2:i.labels===l.emptyObject&&(i.labels={});var p=e.uint32()+e.pos;for(n="",o="";e.pos>>3){case 1:n=e.string();break;case 2:o=e.string();break;default:e.skipType(7&u)}}i.labels[n]=o;break;case 3:i.metadata=c.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&s)}}return i},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.locationId&&e.hasOwnProperty("locationId")&&!l.isString(e.locationId))return"locationId: string expected";if(null!=e.displayName&&e.hasOwnProperty("displayName")&&!l.isString(e.displayName))return"displayName: string expected";if(null!=e.labels&&e.hasOwnProperty("labels")){if(!l.isObject(e.labels))return"labels: object expected";for(var t=Object.keys(e.labels),n=0;n>>3){case 1:o.rules&&o.rules.length||(o.rules=[]),o.rules.push(c.google.api.HttpRule.decode(e,e.uint32()));break;case 2:o.fullyDecodeReservedExpansion=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.rules&&e.hasOwnProperty("rules")){if(!Array.isArray(e.rules))return"rules: array expected";for(var t=0;t>>3){case 1:o.selector=e.string();break;case 2:o.get=e.string();break;case 3:o.put=e.string();break;case 4:o.post=e.string();break;case 5:o.delete=e.string();break;case 6:o.patch=e.string();break;case 8:o.custom=c.google.api.CustomHttpPattern.decode(e,e.uint32());break;case 7:o.body=e.string();break;case 12:o.responseBody=e.string();break;case 11:o.additionalBindings&&o.additionalBindings.length||(o.additionalBindings=[]),o.additionalBindings.push(c.google.api.HttpRule.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t={};if(null!=e.selector&&e.hasOwnProperty("selector")&&!l.isString(e.selector))return"selector: string expected";if(null!=e.get&&e.hasOwnProperty("get")&&(t.pattern=1,!l.isString(e.get)))return"get: string expected";if(null!=e.put&&e.hasOwnProperty("put")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!l.isString(e.put))return"put: string expected"}if(null!=e.post&&e.hasOwnProperty("post")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!l.isString(e.post))return"post: string expected"}if(null!=e.delete&&e.hasOwnProperty("delete")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!l.isString(e.delete))return"delete: string expected"}if(null!=e.patch&&e.hasOwnProperty("patch")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!l.isString(e.patch))return"patch: string expected"}if(null!=e.custom&&e.hasOwnProperty("custom")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,o=c.google.api.CustomHttpPattern.verify(e.custom))return"custom."+o}if(null!=e.body&&e.hasOwnProperty("body")&&!l.isString(e.body))return"body: string expected";if(null!=e.responseBody&&e.hasOwnProperty("responseBody")&&!l.isString(e.responseBody))return"responseBody: string expected";if(null!=e.additionalBindings&&e.hasOwnProperty("additionalBindings")){if(!Array.isArray(e.additionalBindings))return"additionalBindings: array expected";for(var n=0;n>>3){case 1:o.kind=e.string();break;case 2:o.path=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.kind&&e.hasOwnProperty("kind")&&!l.isString(e.kind)?"kind: string expected":null!=e.path&&e.hasOwnProperty("path")&&!l.isString(e.path)?"path: string expected":null},t.fromObject=function(e){if(e instanceof c.google.api.CustomHttpPattern)return e;var t=new c.google.api.CustomHttpPattern;return null!=e.kind&&(t.kind=String(e.kind)),null!=e.path&&(t.path=String(e.path)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.kind="",n.path=""),null!=e.kind&&e.hasOwnProperty("kind")&&(n.kind=e.kind),null!=e.path&&e.hasOwnProperty("path")&&(n.path=e.path),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),o),i.protobuf=((r={}).FileDescriptorSet=function(){function t(e){if(this.file=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.file&&o.file.length||(o.file=[]),o.file.push(c.google.protobuf.FileDescriptorProto.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.file&&e.hasOwnProperty("file")){if(!Array.isArray(e.file))return"file: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.package=e.string();break;case 3:o.dependency&&o.dependency.length||(o.dependency=[]),o.dependency.push(e.string());break;case 10:if(o.publicDependency&&o.publicDependency.length||(o.publicDependency=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.name=e.string();break;case 2:o.field&&o.field.length||(o.field=[]),o.field.push(c.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 6:o.extension&&o.extension.length||(o.extension=[]),o.extension.push(c.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 3:o.nestedType&&o.nestedType.length||(o.nestedType=[]),o.nestedType.push(c.google.protobuf.DescriptorProto.decode(e,e.uint32()));break;case 4:o.enumType&&o.enumType.length||(o.enumType=[]),o.enumType.push(c.google.protobuf.EnumDescriptorProto.decode(e,e.uint32()));break;case 5:o.extensionRange&&o.extensionRange.length||(o.extensionRange=[]),o.extensionRange.push(c.google.protobuf.DescriptorProto.ExtensionRange.decode(e,e.uint32()));break;case 8:o.oneofDecl&&o.oneofDecl.length||(o.oneofDecl=[]),o.oneofDecl.push(c.google.protobuf.OneofDescriptorProto.decode(e,e.uint32()));break;case 7:o.options=c.google.protobuf.MessageOptions.decode(e,e.uint32());break;case 9:o.reservedRange&&o.reservedRange.length||(o.reservedRange=[]),o.reservedRange.push(c.google.protobuf.DescriptorProto.ReservedRange.decode(e,e.uint32()));break;case 10:o.reservedName&&o.reservedName.length||(o.reservedName=[]),o.reservedName.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.field&&e.hasOwnProperty("field")){if(!Array.isArray(e.field))return"field: array expected";for(var t=0;t>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;case 3:o.options=c.google.protobuf.ExtensionRangeOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.start&&e.hasOwnProperty("start")&&!l.isInteger(e.start))return"start: integer expected";if(null!=e.end&&e.hasOwnProperty("end")&&!l.isInteger(e.end))return"end: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.ExtensionRangeOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof c.google.protobuf.DescriptorProto.ExtensionRange)return e;var t=new c.google.protobuf.DescriptorProto.ExtensionRange;if(null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.DescriptorProto.ExtensionRange.options: object expected");t.options=c.google.protobuf.ExtensionRangeOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0,n.options=null),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.ExtensionRangeOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.ReservedRange=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!l.isInteger(e.start)?"start: integer expected":null!=e.end&&e.hasOwnProperty("end")&&!l.isInteger(e.end)?"end: integer expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.DescriptorProto.ReservedRange)return e;var t=new c.google.protobuf.DescriptorProto.ReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),r.ExtensionRangeOptions=function(){function t(e){if(this.uninterpretedOption=[],e)for(var t=Object.keys(e),n=0;n>>3==999?(o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 3:o.number=e.int32();break;case 4:o.label=e.int32();break;case 5:o.type=e.int32();break;case 6:o.typeName=e.string();break;case 2:o.extendee=e.string();break;case 7:o.defaultValue=e.string();break;case 9:o.oneofIndex=e.int32();break;case 10:o.jsonName=e.string();break;case 8:o.options=c.google.protobuf.FieldOptions.decode(e,e.uint32());break;case 17:o.proto3Optional=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.number&&e.hasOwnProperty("number")&&!l.isInteger(e.number))return"number: integer expected";if(null!=e.label&&e.hasOwnProperty("label"))switch(e.label){default:return"label: enum value expected";case 1:case 2:case 3:}if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:}if(null!=e.typeName&&e.hasOwnProperty("typeName")&&!l.isString(e.typeName))return"typeName: string expected";if(null!=e.extendee&&e.hasOwnProperty("extendee")&&!l.isString(e.extendee))return"extendee: string expected";if(null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&!l.isString(e.defaultValue))return"defaultValue: string expected";if(null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&!l.isInteger(e.oneofIndex))return"oneofIndex: integer expected";if(null!=e.jsonName&&e.hasOwnProperty("jsonName")&&!l.isString(e.jsonName))return"jsonName: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.FieldOptions.verify(e.options);if(t)return"options."+t}return null!=e.proto3Optional&&e.hasOwnProperty("proto3Optional")&&"boolean"!=typeof e.proto3Optional?"proto3Optional: boolean expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.FieldDescriptorProto)return e;var t=new c.google.protobuf.FieldDescriptorProto;switch(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),e.label){case"LABEL_OPTIONAL":case 1:t.label=1;break;case"LABEL_REQUIRED":case 2:t.label=2;break;case"LABEL_REPEATED":case 3:t.label=3}switch(e.type){case"TYPE_DOUBLE":case 1:t.type=1;break;case"TYPE_FLOAT":case 2:t.type=2;break;case"TYPE_INT64":case 3:t.type=3;break;case"TYPE_UINT64":case 4:t.type=4;break;case"TYPE_INT32":case 5:t.type=5;break;case"TYPE_FIXED64":case 6:t.type=6;break;case"TYPE_FIXED32":case 7:t.type=7;break;case"TYPE_BOOL":case 8:t.type=8;break;case"TYPE_STRING":case 9:t.type=9;break;case"TYPE_GROUP":case 10:t.type=10;break;case"TYPE_MESSAGE":case 11:t.type=11;break;case"TYPE_BYTES":case 12:t.type=12;break;case"TYPE_UINT32":case 13:t.type=13;break;case"TYPE_ENUM":case 14:t.type=14;break;case"TYPE_SFIXED32":case 15:t.type=15;break;case"TYPE_SFIXED64":case 16:t.type=16;break;case"TYPE_SINT32":case 17:t.type=17;break;case"TYPE_SINT64":case 18:t.type=18}if(null!=e.typeName&&(t.typeName=String(e.typeName)),null!=e.extendee&&(t.extendee=String(e.extendee)),null!=e.defaultValue&&(t.defaultValue=String(e.defaultValue)),null!=e.oneofIndex&&(t.oneofIndex=0|e.oneofIndex),null!=e.jsonName&&(t.jsonName=String(e.jsonName)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");t.options=c.google.protobuf.FieldOptions.fromObject(e.options)}return null!=e.proto3Optional&&(t.proto3Optional=Boolean(e.proto3Optional)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.extendee="",n.number=0,n.label=t.enums===String?"LABEL_OPTIONAL":1,n.type=t.enums===String?"TYPE_DOUBLE":1,n.typeName="",n.defaultValue="",n.options=null,n.oneofIndex=0,n.jsonName="",n.proto3Optional=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.extendee&&e.hasOwnProperty("extendee")&&(n.extendee=e.extendee),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.label&&e.hasOwnProperty("label")&&(n.label=t.enums===String?c.google.protobuf.FieldDescriptorProto.Label[e.label]:e.label),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?c.google.protobuf.FieldDescriptorProto.Type[e.type]:e.type),null!=e.typeName&&e.hasOwnProperty("typeName")&&(n.typeName=e.typeName),null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&(n.defaultValue=e.defaultValue),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.FieldOptions.toObject(e.options,t)),null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&(n.oneofIndex=e.oneofIndex),null!=e.jsonName&&e.hasOwnProperty("jsonName")&&(n.jsonName=e.jsonName),null!=e.proto3Optional&&e.hasOwnProperty("proto3Optional")&&(n.proto3Optional=e.proto3Optional),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.Type=(n={},(o=Object.create(n))[n[1]="TYPE_DOUBLE"]=1,o[n[2]="TYPE_FLOAT"]=2,o[n[3]="TYPE_INT64"]=3,o[n[4]="TYPE_UINT64"]=4,o[n[5]="TYPE_INT32"]=5,o[n[6]="TYPE_FIXED64"]=6,o[n[7]="TYPE_FIXED32"]=7,o[n[8]="TYPE_BOOL"]=8,o[n[9]="TYPE_STRING"]=9,o[n[10]="TYPE_GROUP"]=10,o[n[11]="TYPE_MESSAGE"]=11,o[n[12]="TYPE_BYTES"]=12,o[n[13]="TYPE_UINT32"]=13,o[n[14]="TYPE_ENUM"]=14,o[n[15]="TYPE_SFIXED32"]=15,o[n[16]="TYPE_SFIXED64"]=16,o[n[17]="TYPE_SINT32"]=17,o[n[18]="TYPE_SINT64"]=18,o),t.Label=function(){var e={},t=Object.create(e);return t[e[1]="LABEL_OPTIONAL"]=1,t[e[2]="LABEL_REQUIRED"]=2,t[e[3]="LABEL_REPEATED"]=3,t}(),t}(),r.OneofDescriptorProto=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.options=c.google.protobuf.OneofOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.OneofOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof c.google.protobuf.OneofDescriptorProto)return e;var t=new c.google.protobuf.OneofDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.OneofDescriptorProto.options: object expected");t.options=c.google.protobuf.OneofOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.OneofOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),r.EnumDescriptorProto=function(){function t(e){if(this.value=[],this.reservedRange=[],this.reservedName=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value&&o.value.length||(o.value=[]),o.value.push(c.google.protobuf.EnumValueDescriptorProto.decode(e,e.uint32()));break;case 3:o.options=c.google.protobuf.EnumOptions.decode(e,e.uint32());break;case 4:o.reservedRange&&o.reservedRange.length||(o.reservedRange=[]),o.reservedRange.push(c.google.protobuf.EnumDescriptorProto.EnumReservedRange.decode(e,e.uint32()));break;case 5:o.reservedName&&o.reservedName.length||(o.reservedName=[]),o.reservedName.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.value&&e.hasOwnProperty("value")){if(!Array.isArray(e.value))return"value: array expected";for(var t=0;t>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!l.isInteger(e.start)?"start: integer expected":null!=e.end&&e.hasOwnProperty("end")&&!l.isInteger(e.end)?"end: integer expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.EnumDescriptorProto.EnumReservedRange)return e;var t=new c.google.protobuf.EnumDescriptorProto.EnumReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),r.EnumValueDescriptorProto=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.number=e.int32();break;case 3:o.options=c.google.protobuf.EnumValueOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.number&&e.hasOwnProperty("number")&&!l.isInteger(e.number))return"number: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.EnumValueOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof c.google.protobuf.EnumValueDescriptorProto)return e;var t=new c.google.protobuf.EnumValueDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.EnumValueDescriptorProto.options: object expected");t.options=c.google.protobuf.EnumValueOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.number=0,n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.EnumValueOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),r.ServiceDescriptorProto=function(){function t(e){if(this.method=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.method&&o.method.length||(o.method=[]),o.method.push(c.google.protobuf.MethodDescriptorProto.decode(e,e.uint32()));break;case 3:o.options=c.google.protobuf.ServiceOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.method&&e.hasOwnProperty("method")){if(!Array.isArray(e.method))return"method: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.inputType=e.string();break;case 3:o.outputType=e.string();break;case 4:o.options=c.google.protobuf.MethodOptions.decode(e,e.uint32());break;case 5:o.clientStreaming=e.bool();break;case 6:o.serverStreaming=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.inputType&&e.hasOwnProperty("inputType")&&!l.isString(e.inputType))return"inputType: string expected";if(null!=e.outputType&&e.hasOwnProperty("outputType")&&!l.isString(e.outputType))return"outputType: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.MethodOptions.verify(e.options);if(t)return"options."+t}return null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&"boolean"!=typeof e.clientStreaming?"clientStreaming: boolean expected":null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&"boolean"!=typeof e.serverStreaming?"serverStreaming: boolean expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.MethodDescriptorProto)return e;var t=new c.google.protobuf.MethodDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.inputType&&(t.inputType=String(e.inputType)),null!=e.outputType&&(t.outputType=String(e.outputType)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.MethodDescriptorProto.options: object expected");t.options=c.google.protobuf.MethodOptions.fromObject(e.options)}return null!=e.clientStreaming&&(t.clientStreaming=Boolean(e.clientStreaming)),null!=e.serverStreaming&&(t.serverStreaming=Boolean(e.serverStreaming)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.inputType="",n.outputType="",n.options=null,n.clientStreaming=!1,n.serverStreaming=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.inputType&&e.hasOwnProperty("inputType")&&(n.inputType=e.inputType),null!=e.outputType&&e.hasOwnProperty("outputType")&&(n.outputType=e.outputType),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.MethodOptions.toObject(e.options,t)),null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&(n.clientStreaming=e.clientStreaming),null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&(n.serverStreaming=e.serverStreaming),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),r.FileOptions=function(){function t(e){if(this.uninterpretedOption=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.javaPackage=e.string();break;case 8:o.javaOuterClassname=e.string();break;case 10:o.javaMultipleFiles=e.bool();break;case 20:o.javaGenerateEqualsAndHash=e.bool();break;case 27:o.javaStringCheckUtf8=e.bool();break;case 9:o.optimizeFor=e.int32();break;case 11:o.goPackage=e.string();break;case 16:o.ccGenericServices=e.bool();break;case 17:o.javaGenericServices=e.bool();break;case 18:o.pyGenericServices=e.bool();break;case 42:o.phpGenericServices=e.bool();break;case 23:o.deprecated=e.bool();break;case 31:o.ccEnableArenas=e.bool();break;case 36:o.objcClassPrefix=e.string();break;case 37:o.csharpNamespace=e.string();break;case 39:o.swiftPrefix=e.string();break;case 40:o.phpClassPrefix=e.string();break;case 41:o.phpNamespace=e.string();break;case 44:o.phpMetadataNamespace=e.string();break;case 45:o.rubyPackage=e.string();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.javaPackage&&e.hasOwnProperty("javaPackage")&&!l.isString(e.javaPackage))return"javaPackage: string expected";if(null!=e.javaOuterClassname&&e.hasOwnProperty("javaOuterClassname")&&!l.isString(e.javaOuterClassname))return"javaOuterClassname: string expected";if(null!=e.javaMultipleFiles&&e.hasOwnProperty("javaMultipleFiles")&&"boolean"!=typeof e.javaMultipleFiles)return"javaMultipleFiles: boolean expected";if(null!=e.javaGenerateEqualsAndHash&&e.hasOwnProperty("javaGenerateEqualsAndHash")&&"boolean"!=typeof e.javaGenerateEqualsAndHash)return"javaGenerateEqualsAndHash: boolean expected";if(null!=e.javaStringCheckUtf8&&e.hasOwnProperty("javaStringCheckUtf8")&&"boolean"!=typeof e.javaStringCheckUtf8)return"javaStringCheckUtf8: boolean expected";if(null!=e.optimizeFor&&e.hasOwnProperty("optimizeFor"))switch(e.optimizeFor){default:return"optimizeFor: enum value expected";case 1:case 2:case 3:}if(null!=e.goPackage&&e.hasOwnProperty("goPackage")&&!l.isString(e.goPackage))return"goPackage: string expected";if(null!=e.ccGenericServices&&e.hasOwnProperty("ccGenericServices")&&"boolean"!=typeof e.ccGenericServices)return"ccGenericServices: boolean expected";if(null!=e.javaGenericServices&&e.hasOwnProperty("javaGenericServices")&&"boolean"!=typeof e.javaGenericServices)return"javaGenericServices: boolean expected";if(null!=e.pyGenericServices&&e.hasOwnProperty("pyGenericServices")&&"boolean"!=typeof e.pyGenericServices)return"pyGenericServices: boolean expected";if(null!=e.phpGenericServices&&e.hasOwnProperty("phpGenericServices")&&"boolean"!=typeof e.phpGenericServices)return"phpGenericServices: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.ccEnableArenas&&e.hasOwnProperty("ccEnableArenas")&&"boolean"!=typeof e.ccEnableArenas)return"ccEnableArenas: boolean expected";if(null!=e.objcClassPrefix&&e.hasOwnProperty("objcClassPrefix")&&!l.isString(e.objcClassPrefix))return"objcClassPrefix: string expected";if(null!=e.csharpNamespace&&e.hasOwnProperty("csharpNamespace")&&!l.isString(e.csharpNamespace))return"csharpNamespace: string expected";if(null!=e.swiftPrefix&&e.hasOwnProperty("swiftPrefix")&&!l.isString(e.swiftPrefix))return"swiftPrefix: string expected";if(null!=e.phpClassPrefix&&e.hasOwnProperty("phpClassPrefix")&&!l.isString(e.phpClassPrefix))return"phpClassPrefix: string expected";if(null!=e.phpNamespace&&e.hasOwnProperty("phpNamespace")&&!l.isString(e.phpNamespace))return"phpNamespace: string expected";if(null!=e.phpMetadataNamespace&&e.hasOwnProperty("phpMetadataNamespace")&&!l.isString(e.phpMetadataNamespace))return"phpMetadataNamespace: string expected";if(null!=e.rubyPackage&&e.hasOwnProperty("rubyPackage")&&!l.isString(e.rubyPackage))return"rubyPackage: string expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.messageSetWireFormat=e.bool();break;case 2:o.noStandardDescriptorAccessor=e.bool();break;case 3:o.deprecated=e.bool();break;case 7:o.mapEntry=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.messageSetWireFormat&&e.hasOwnProperty("messageSetWireFormat")&&"boolean"!=typeof e.messageSetWireFormat)return"messageSetWireFormat: boolean expected";if(null!=e.noStandardDescriptorAccessor&&e.hasOwnProperty("noStandardDescriptorAccessor")&&"boolean"!=typeof e.noStandardDescriptorAccessor)return"noStandardDescriptorAccessor: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.mapEntry&&e.hasOwnProperty("mapEntry")&&"boolean"!=typeof e.mapEntry)return"mapEntry: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.ctype=e.int32();break;case 2:o.packed=e.bool();break;case 6:o.jstype=e.int32();break;case 5:o.lazy=e.bool();break;case 3:o.deprecated=e.bool();break;case 10:o.weak=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.ctype&&e.hasOwnProperty("ctype"))switch(e.ctype){default:return"ctype: enum value expected";case 0:case 1:case 2:}if(null!=e.packed&&e.hasOwnProperty("packed")&&"boolean"!=typeof e.packed)return"packed: boolean expected";if(null!=e.jstype&&e.hasOwnProperty("jstype"))switch(e.jstype){default:return"jstype: enum value expected";case 0:case 1:case 2:}if(null!=e.lazy&&e.hasOwnProperty("lazy")&&"boolean"!=typeof e.lazy)return"lazy: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.weak&&e.hasOwnProperty("weak")&&"boolean"!=typeof e.weak)return"weak: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3==999?(o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 2:o.allowAlias=e.bool();break;case 3:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.allowAlias&&e.hasOwnProperty("allowAlias")&&"boolean"!=typeof e.allowAlias)return"allowAlias: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 33:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1049:o[".google.api.defaultHost"]=e.string();break;case 1050:o[".google.api.oauthScopes"]=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 33:o.deprecated=e.bool();break;case 34:o.idempotencyLevel=e.int32();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 72295728:o[".google.api.http"]=c.google.api.HttpRule.decode(e,e.uint32());break;case 1051:o[".google.api.methodSignature"]&&o[".google.api.methodSignature"].length||(o[".google.api.methodSignature"]=[]),o[".google.api.methodSignature"].push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.idempotencyLevel&&e.hasOwnProperty("idempotencyLevel"))switch(e.idempotencyLevel){default:return"idempotencyLevel: enum value expected";case 0:case 1:case 2:}if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 2:o.name&&o.name.length||(o.name=[]),o.name.push(c.google.protobuf.UninterpretedOption.NamePart.decode(e,e.uint32()));break;case 3:o.identifierValue=e.string();break;case 4:o.positiveIntValue=e.uint64();break;case 5:o.negativeIntValue=e.int64();break;case 6:o.doubleValue=e.double();break;case 7:o.stringValue=e.bytes();break;case 8:o.aggregateValue=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")){if(!Array.isArray(e.name))return"name: array expected";for(var t=0;t>>0,e.positiveIntValue.high>>>0).toNumber(!0))),null!=e.negativeIntValue&&(l.Long?(t.negativeIntValue=l.Long.fromValue(e.negativeIntValue)).unsigned=!1:"string"==typeof e.negativeIntValue?t.negativeIntValue=parseInt(e.negativeIntValue,10):"number"==typeof e.negativeIntValue?t.negativeIntValue=e.negativeIntValue:"object"==typeof e.negativeIntValue&&(t.negativeIntValue=new l.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber())),null!=e.doubleValue&&(t.doubleValue=Number(e.doubleValue)),null!=e.stringValue&&("string"==typeof e.stringValue?l.base64.decode(e.stringValue,t.stringValue=l.newBuffer(l.base64.length(e.stringValue)),0):e.stringValue.length&&(t.stringValue=e.stringValue)),null!=e.aggregateValue&&(t.aggregateValue=String(e.aggregateValue)),t},t.toObject=function(e,t){t||(t={});var n={};if((t.arrays||t.defaults)&&(n.name=[]),t.defaults){if(n.identifierValue="",l.Long){var o=new l.Long(0,0,!0);n.positiveIntValue=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.positiveIntValue=t.longs===String?"0":0;l.Long?(o=new l.Long(0,0,!1),n.negativeIntValue=t.longs===String?o.toString():t.longs===Number?o.toNumber():o):n.negativeIntValue=t.longs===String?"0":0,n.doubleValue=0,t.bytes===String?n.stringValue="":(n.stringValue=[],t.bytes!==Array&&(n.stringValue=l.newBuffer(n.stringValue))),n.aggregateValue=""}if(e.name&&e.name.length){n.name=[];for(var r=0;r>>0,e.positiveIntValue.high>>>0).toNumber(!0):e.positiveIntValue),null!=e.negativeIntValue&&e.hasOwnProperty("negativeIntValue")&&("number"==typeof e.negativeIntValue?n.negativeIntValue=t.longs===String?String(e.negativeIntValue):e.negativeIntValue:n.negativeIntValue=t.longs===String?l.Long.prototype.toString.call(e.negativeIntValue):t.longs===Number?new l.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber():e.negativeIntValue),null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(n.doubleValue=t.json&&!isFinite(e.doubleValue)?String(e.doubleValue):e.doubleValue),null!=e.stringValue&&e.hasOwnProperty("stringValue")&&(n.stringValue=t.bytes===String?l.base64.encode(e.stringValue,0,e.stringValue.length):t.bytes===Array?Array.prototype.slice.call(e.stringValue):e.stringValue),null!=e.aggregateValue&&e.hasOwnProperty("aggregateValue")&&(n.aggregateValue=e.aggregateValue),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.NamePart=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.namePart=e.string();break;case 2:o.isExtension=e.bool();break;default:e.skipType(7&r)}}if(!o.hasOwnProperty("namePart"))throw l.ProtocolError("missing required 'namePart'",{instance:o});if(!o.hasOwnProperty("isExtension"))throw l.ProtocolError("missing required 'isExtension'",{instance:o});return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":l.isString(e.namePart)?"boolean"!=typeof e.isExtension?"isExtension: boolean expected":null:"namePart: string expected"},t.fromObject=function(e){if(e instanceof c.google.protobuf.UninterpretedOption.NamePart)return e;var t=new c.google.protobuf.UninterpretedOption.NamePart;return null!=e.namePart&&(t.namePart=String(e.namePart)),null!=e.isExtension&&(t.isExtension=Boolean(e.isExtension)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.namePart="",n.isExtension=!1),null!=e.namePart&&e.hasOwnProperty("namePart")&&(n.namePart=e.namePart),null!=e.isExtension&&e.hasOwnProperty("isExtension")&&(n.isExtension=e.isExtension),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),r.SourceCodeInfo=function(){function t(e){if(this.location=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.location&&o.location.length||(o.location=[]),o.location.push(c.google.protobuf.SourceCodeInfo.Location.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.location&&e.hasOwnProperty("location")){if(!Array.isArray(e.location))return"location: array expected";for(var t=0;t>>3){case 1:if(o.path&&o.path.length||(o.path=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==1?(o.annotation&&o.annotation.length||(o.annotation=[]),o.annotation.push(c.google.protobuf.GeneratedCodeInfo.Annotation.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.annotation&&e.hasOwnProperty("annotation")){if(!Array.isArray(e.annotation))return"annotation: array expected";for(var t=0;t>>3){case 1:if(o.path&&o.path.length||(o.path=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.type_url=e.string();break;case 2:o.value=e.bytes();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.type_url&&e.hasOwnProperty("type_url")&&!l.isString(e.type_url)?"type_url: string expected":null!=e.value&&e.hasOwnProperty("value")&&!(e.value&&"number"==typeof e.value.length||l.isString(e.value))?"value: buffer expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.Any)return e;var t=new c.google.protobuf.Any;return null!=e.type_url&&(t.type_url=String(e.type_url)),null!=e.value&&("string"==typeof e.value?l.base64.decode(e.value,t.value=l.newBuffer(l.base64.length(e.value)),0):e.value.length&&(t.value=e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type_url="",t.bytes===String?n.value="":(n.value=[],t.bytes!==Array&&(n.value=l.newBuffer(n.value)))),null!=e.type_url&&e.hasOwnProperty("type_url")&&(n.type_url=e.type_url),null!=e.value&&e.hasOwnProperty("value")&&(n.value=t.bytes===String?l.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),r),i),c})?o.apply(t,r):o)||(e.exports=i)},42268:function(e,t,n){var o,r,i;r=[n(1740)],void 0===(i="function"==typeof(o=function(e){"use strict";var t,n,o,r,i,a=e.Reader,s=e.Writer,l=e.util,c=e.roots.operations_protos||(e.roots.operations_protos={});return c.google=((i={}).longrunning=((t={}).Operations=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.listOperations=function e(t,n){return this.rpcCall(e,c.google.longrunning.ListOperationsRequest,c.google.longrunning.ListOperationsResponse,t,n)},"name",{value:"ListOperations"}),Object.defineProperty(t.prototype.getOperation=function e(t,n){return this.rpcCall(e,c.google.longrunning.GetOperationRequest,c.google.longrunning.Operation,t,n)},"name",{value:"GetOperation"}),Object.defineProperty(t.prototype.deleteOperation=function e(t,n){return this.rpcCall(e,c.google.longrunning.DeleteOperationRequest,c.google.protobuf.Empty,t,n)},"name",{value:"DeleteOperation"}),Object.defineProperty(t.prototype.cancelOperation=function e(t,n){return this.rpcCall(e,c.google.longrunning.CancelOperationRequest,c.google.protobuf.Empty,t,n)},"name",{value:"CancelOperation"}),Object.defineProperty(t.prototype.waitOperation=function e(t,n){return this.rpcCall(e,c.google.longrunning.WaitOperationRequest,c.google.longrunning.Operation,t,n)},"name",{value:"WaitOperation"}),t}(),t.Operation=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.metadata=c.google.protobuf.Any.decode(e,e.uint32());break;case 3:o.done=e.bool();break;case 4:o.error=c.google.rpc.Status.decode(e,e.uint32());break;case 5:o.response=c.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t={};if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.metadata&&e.hasOwnProperty("metadata")&&(n=c.google.protobuf.Any.verify(e.metadata)))return"metadata."+n;if(null!=e.done&&e.hasOwnProperty("done")&&"boolean"!=typeof e.done)return"done: boolean expected";if(null!=e.error&&e.hasOwnProperty("error")&&(t.result=1,n=c.google.rpc.Status.verify(e.error)))return"error."+n;if(null!=e.response&&e.hasOwnProperty("response")){if(1===t.result)return"result: multiple values";var n;if(t.result=1,n=c.google.protobuf.Any.verify(e.response))return"response."+n}return null},t.fromObject=function(e){if(e instanceof c.google.longrunning.Operation)return e;var t=new c.google.longrunning.Operation;if(null!=e.name&&(t.name=String(e.name)),null!=e.metadata){if("object"!=typeof e.metadata)throw TypeError(".google.longrunning.Operation.metadata: object expected");t.metadata=c.google.protobuf.Any.fromObject(e.metadata)}if(null!=e.done&&(t.done=Boolean(e.done)),null!=e.error){if("object"!=typeof e.error)throw TypeError(".google.longrunning.Operation.error: object expected");t.error=c.google.rpc.Status.fromObject(e.error)}if(null!=e.response){if("object"!=typeof e.response)throw TypeError(".google.longrunning.Operation.response: object expected");t.response=c.google.protobuf.Any.fromObject(e.response)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.metadata=null,n.done=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.metadata&&e.hasOwnProperty("metadata")&&(n.metadata=c.google.protobuf.Any.toObject(e.metadata,t)),null!=e.done&&e.hasOwnProperty("done")&&(n.done=e.done),null!=e.error&&e.hasOwnProperty("error")&&(n.error=c.google.rpc.Status.toObject(e.error,t),t.oneofs&&(n.result="error")),null!=e.response&&e.hasOwnProperty("response")&&(n.response=c.google.protobuf.Any.toObject(e.response,t),t.oneofs&&(n.result="response")),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.GetOperationRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof c.google.longrunning.GetOperationRequest)return e;var t=new c.google.longrunning.GetOperationRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.ListOperationsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 4:o.name=e.string();break;case 1:o.filter=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name)?"name: string expected":null!=e.filter&&e.hasOwnProperty("filter")&&!l.isString(e.filter)?"filter: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!l.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!l.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof c.google.longrunning.ListOperationsRequest)return e;var t=new c.google.longrunning.ListOperationsRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.filter&&(t.filter=String(e.filter)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.filter="",n.pageSize=0,n.pageToken="",n.name=""),null!=e.filter&&e.hasOwnProperty("filter")&&(n.filter=e.filter),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.ListOperationsResponse=function(){function t(e){if(this.operations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.operations&&o.operations.length||(o.operations=[]),o.operations.push(c.google.longrunning.Operation.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.operations&&e.hasOwnProperty("operations")){if(!Array.isArray(e.operations))return"operations: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof c.google.longrunning.CancelOperationRequest)return e;var t=new c.google.longrunning.CancelOperationRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.DeleteOperationRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof c.google.longrunning.DeleteOperationRequest)return e;var t=new c.google.longrunning.DeleteOperationRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.WaitOperationRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.timeout=c.google.protobuf.Duration.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.timeout&&e.hasOwnProperty("timeout")){var t=c.google.protobuf.Duration.verify(e.timeout);if(t)return"timeout."+t}return null},t.fromObject=function(e){if(e instanceof c.google.longrunning.WaitOperationRequest)return e;var t=new c.google.longrunning.WaitOperationRequest;if(null!=e.name&&(t.name=String(e.name)),null!=e.timeout){if("object"!=typeof e.timeout)throw TypeError(".google.longrunning.WaitOperationRequest.timeout: object expected");t.timeout=c.google.protobuf.Duration.fromObject(e.timeout)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.timeout=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.timeout&&e.hasOwnProperty("timeout")&&(n.timeout=c.google.protobuf.Duration.toObject(e.timeout,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.OperationInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.responseType=e.string();break;case 2:o.metadataType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.responseType&&e.hasOwnProperty("responseType")&&!l.isString(e.responseType)?"responseType: string expected":null!=e.metadataType&&e.hasOwnProperty("metadataType")&&!l.isString(e.metadataType)?"metadataType: string expected":null},t.fromObject=function(e){if(e instanceof c.google.longrunning.OperationInfo)return e;var t=new c.google.longrunning.OperationInfo;return null!=e.responseType&&(t.responseType=String(e.responseType)),null!=e.metadataType&&(t.metadataType=String(e.metadataType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.responseType="",n.metadataType=""),null!=e.responseType&&e.hasOwnProperty("responseType")&&(n.responseType=e.responseType),null!=e.metadataType&&e.hasOwnProperty("metadataType")&&(n.metadataType=e.metadataType),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t),i.api=((n={}).Http=function(){function t(e){if(this.rules=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.rules&&o.rules.length||(o.rules=[]),o.rules.push(c.google.api.HttpRule.decode(e,e.uint32()));break;case 2:o.fullyDecodeReservedExpansion=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.rules&&e.hasOwnProperty("rules")){if(!Array.isArray(e.rules))return"rules: array expected";for(var t=0;t>>3){case 1:o.selector=e.string();break;case 2:o.get=e.string();break;case 3:o.put=e.string();break;case 4:o.post=e.string();break;case 5:o.delete=e.string();break;case 6:o.patch=e.string();break;case 8:o.custom=c.google.api.CustomHttpPattern.decode(e,e.uint32());break;case 7:o.body=e.string();break;case 12:o.responseBody=e.string();break;case 11:o.additionalBindings&&o.additionalBindings.length||(o.additionalBindings=[]),o.additionalBindings.push(c.google.api.HttpRule.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t={};if(null!=e.selector&&e.hasOwnProperty("selector")&&!l.isString(e.selector))return"selector: string expected";if(null!=e.get&&e.hasOwnProperty("get")&&(t.pattern=1,!l.isString(e.get)))return"get: string expected";if(null!=e.put&&e.hasOwnProperty("put")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!l.isString(e.put))return"put: string expected"}if(null!=e.post&&e.hasOwnProperty("post")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!l.isString(e.post))return"post: string expected"}if(null!=e.delete&&e.hasOwnProperty("delete")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!l.isString(e.delete))return"delete: string expected"}if(null!=e.patch&&e.hasOwnProperty("patch")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!l.isString(e.patch))return"patch: string expected"}if(null!=e.custom&&e.hasOwnProperty("custom")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,o=c.google.api.CustomHttpPattern.verify(e.custom))return"custom."+o}if(null!=e.body&&e.hasOwnProperty("body")&&!l.isString(e.body))return"body: string expected";if(null!=e.responseBody&&e.hasOwnProperty("responseBody")&&!l.isString(e.responseBody))return"responseBody: string expected";if(null!=e.additionalBindings&&e.hasOwnProperty("additionalBindings")){if(!Array.isArray(e.additionalBindings))return"additionalBindings: array expected";for(var n=0;n>>3){case 1:o.kind=e.string();break;case 2:o.path=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.kind&&e.hasOwnProperty("kind")&&!l.isString(e.kind)?"kind: string expected":null!=e.path&&e.hasOwnProperty("path")&&!l.isString(e.path)?"path: string expected":null},t.fromObject=function(e){if(e instanceof c.google.api.CustomHttpPattern)return e;var t=new c.google.api.CustomHttpPattern;return null!=e.kind&&(t.kind=String(e.kind)),null!=e.path&&(t.path=String(e.path)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.kind="",n.path=""),null!=e.kind&&e.hasOwnProperty("kind")&&(n.kind=e.kind),null!=e.path&&e.hasOwnProperty("path")&&(n.path=e.path),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),n),i.protobuf=((o={}).FileDescriptorSet=function(){function t(e){if(this.file=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.file&&o.file.length||(o.file=[]),o.file.push(c.google.protobuf.FileDescriptorProto.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.file&&e.hasOwnProperty("file")){if(!Array.isArray(e.file))return"file: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.package=e.string();break;case 3:o.dependency&&o.dependency.length||(o.dependency=[]),o.dependency.push(e.string());break;case 10:if(o.publicDependency&&o.publicDependency.length||(o.publicDependency=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.name=e.string();break;case 2:o.field&&o.field.length||(o.field=[]),o.field.push(c.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 6:o.extension&&o.extension.length||(o.extension=[]),o.extension.push(c.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 3:o.nestedType&&o.nestedType.length||(o.nestedType=[]),o.nestedType.push(c.google.protobuf.DescriptorProto.decode(e,e.uint32()));break;case 4:o.enumType&&o.enumType.length||(o.enumType=[]),o.enumType.push(c.google.protobuf.EnumDescriptorProto.decode(e,e.uint32()));break;case 5:o.extensionRange&&o.extensionRange.length||(o.extensionRange=[]),o.extensionRange.push(c.google.protobuf.DescriptorProto.ExtensionRange.decode(e,e.uint32()));break;case 8:o.oneofDecl&&o.oneofDecl.length||(o.oneofDecl=[]),o.oneofDecl.push(c.google.protobuf.OneofDescriptorProto.decode(e,e.uint32()));break;case 7:o.options=c.google.protobuf.MessageOptions.decode(e,e.uint32());break;case 9:o.reservedRange&&o.reservedRange.length||(o.reservedRange=[]),o.reservedRange.push(c.google.protobuf.DescriptorProto.ReservedRange.decode(e,e.uint32()));break;case 10:o.reservedName&&o.reservedName.length||(o.reservedName=[]),o.reservedName.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.field&&e.hasOwnProperty("field")){if(!Array.isArray(e.field))return"field: array expected";for(var t=0;t>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;case 3:o.options=c.google.protobuf.ExtensionRangeOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.start&&e.hasOwnProperty("start")&&!l.isInteger(e.start))return"start: integer expected";if(null!=e.end&&e.hasOwnProperty("end")&&!l.isInteger(e.end))return"end: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.ExtensionRangeOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof c.google.protobuf.DescriptorProto.ExtensionRange)return e;var t=new c.google.protobuf.DescriptorProto.ExtensionRange;if(null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.DescriptorProto.ExtensionRange.options: object expected");t.options=c.google.protobuf.ExtensionRangeOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0,n.options=null),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.ExtensionRangeOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.ReservedRange=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!l.isInteger(e.start)?"start: integer expected":null!=e.end&&e.hasOwnProperty("end")&&!l.isInteger(e.end)?"end: integer expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.DescriptorProto.ReservedRange)return e;var t=new c.google.protobuf.DescriptorProto.ReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),o.ExtensionRangeOptions=function(){function t(e){if(this.uninterpretedOption=[],e)for(var t=Object.keys(e),n=0;n>>3==999?(o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 3:o.number=e.int32();break;case 4:o.label=e.int32();break;case 5:o.type=e.int32();break;case 6:o.typeName=e.string();break;case 2:o.extendee=e.string();break;case 7:o.defaultValue=e.string();break;case 9:o.oneofIndex=e.int32();break;case 10:o.jsonName=e.string();break;case 8:o.options=c.google.protobuf.FieldOptions.decode(e,e.uint32());break;case 17:o.proto3Optional=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.number&&e.hasOwnProperty("number")&&!l.isInteger(e.number))return"number: integer expected";if(null!=e.label&&e.hasOwnProperty("label"))switch(e.label){default:return"label: enum value expected";case 1:case 2:case 3:}if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:}if(null!=e.typeName&&e.hasOwnProperty("typeName")&&!l.isString(e.typeName))return"typeName: string expected";if(null!=e.extendee&&e.hasOwnProperty("extendee")&&!l.isString(e.extendee))return"extendee: string expected";if(null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&!l.isString(e.defaultValue))return"defaultValue: string expected";if(null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&!l.isInteger(e.oneofIndex))return"oneofIndex: integer expected";if(null!=e.jsonName&&e.hasOwnProperty("jsonName")&&!l.isString(e.jsonName))return"jsonName: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.FieldOptions.verify(e.options);if(t)return"options."+t}return null!=e.proto3Optional&&e.hasOwnProperty("proto3Optional")&&"boolean"!=typeof e.proto3Optional?"proto3Optional: boolean expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.FieldDescriptorProto)return e;var t=new c.google.protobuf.FieldDescriptorProto;switch(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),e.label){case"LABEL_OPTIONAL":case 1:t.label=1;break;case"LABEL_REQUIRED":case 2:t.label=2;break;case"LABEL_REPEATED":case 3:t.label=3}switch(e.type){case"TYPE_DOUBLE":case 1:t.type=1;break;case"TYPE_FLOAT":case 2:t.type=2;break;case"TYPE_INT64":case 3:t.type=3;break;case"TYPE_UINT64":case 4:t.type=4;break;case"TYPE_INT32":case 5:t.type=5;break;case"TYPE_FIXED64":case 6:t.type=6;break;case"TYPE_FIXED32":case 7:t.type=7;break;case"TYPE_BOOL":case 8:t.type=8;break;case"TYPE_STRING":case 9:t.type=9;break;case"TYPE_GROUP":case 10:t.type=10;break;case"TYPE_MESSAGE":case 11:t.type=11;break;case"TYPE_BYTES":case 12:t.type=12;break;case"TYPE_UINT32":case 13:t.type=13;break;case"TYPE_ENUM":case 14:t.type=14;break;case"TYPE_SFIXED32":case 15:t.type=15;break;case"TYPE_SFIXED64":case 16:t.type=16;break;case"TYPE_SINT32":case 17:t.type=17;break;case"TYPE_SINT64":case 18:t.type=18}if(null!=e.typeName&&(t.typeName=String(e.typeName)),null!=e.extendee&&(t.extendee=String(e.extendee)),null!=e.defaultValue&&(t.defaultValue=String(e.defaultValue)),null!=e.oneofIndex&&(t.oneofIndex=0|e.oneofIndex),null!=e.jsonName&&(t.jsonName=String(e.jsonName)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");t.options=c.google.protobuf.FieldOptions.fromObject(e.options)}return null!=e.proto3Optional&&(t.proto3Optional=Boolean(e.proto3Optional)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.extendee="",n.number=0,n.label=t.enums===String?"LABEL_OPTIONAL":1,n.type=t.enums===String?"TYPE_DOUBLE":1,n.typeName="",n.defaultValue="",n.options=null,n.oneofIndex=0,n.jsonName="",n.proto3Optional=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.extendee&&e.hasOwnProperty("extendee")&&(n.extendee=e.extendee),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.label&&e.hasOwnProperty("label")&&(n.label=t.enums===String?c.google.protobuf.FieldDescriptorProto.Label[e.label]:e.label),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?c.google.protobuf.FieldDescriptorProto.Type[e.type]:e.type),null!=e.typeName&&e.hasOwnProperty("typeName")&&(n.typeName=e.typeName),null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&(n.defaultValue=e.defaultValue),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.FieldOptions.toObject(e.options,t)),null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&(n.oneofIndex=e.oneofIndex),null!=e.jsonName&&e.hasOwnProperty("jsonName")&&(n.jsonName=e.jsonName),null!=e.proto3Optional&&e.hasOwnProperty("proto3Optional")&&(n.proto3Optional=e.proto3Optional),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.Type=(n={},(o=Object.create(n))[n[1]="TYPE_DOUBLE"]=1,o[n[2]="TYPE_FLOAT"]=2,o[n[3]="TYPE_INT64"]=3,o[n[4]="TYPE_UINT64"]=4,o[n[5]="TYPE_INT32"]=5,o[n[6]="TYPE_FIXED64"]=6,o[n[7]="TYPE_FIXED32"]=7,o[n[8]="TYPE_BOOL"]=8,o[n[9]="TYPE_STRING"]=9,o[n[10]="TYPE_GROUP"]=10,o[n[11]="TYPE_MESSAGE"]=11,o[n[12]="TYPE_BYTES"]=12,o[n[13]="TYPE_UINT32"]=13,o[n[14]="TYPE_ENUM"]=14,o[n[15]="TYPE_SFIXED32"]=15,o[n[16]="TYPE_SFIXED64"]=16,o[n[17]="TYPE_SINT32"]=17,o[n[18]="TYPE_SINT64"]=18,o),t.Label=function(){var e={},t=Object.create(e);return t[e[1]="LABEL_OPTIONAL"]=1,t[e[2]="LABEL_REQUIRED"]=2,t[e[3]="LABEL_REPEATED"]=3,t}(),t}(),o.OneofDescriptorProto=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.options=c.google.protobuf.OneofOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.OneofOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof c.google.protobuf.OneofDescriptorProto)return e;var t=new c.google.protobuf.OneofDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.OneofDescriptorProto.options: object expected");t.options=c.google.protobuf.OneofOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.OneofOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),o.EnumDescriptorProto=function(){function t(e){if(this.value=[],this.reservedRange=[],this.reservedName=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value&&o.value.length||(o.value=[]),o.value.push(c.google.protobuf.EnumValueDescriptorProto.decode(e,e.uint32()));break;case 3:o.options=c.google.protobuf.EnumOptions.decode(e,e.uint32());break;case 4:o.reservedRange&&o.reservedRange.length||(o.reservedRange=[]),o.reservedRange.push(c.google.protobuf.EnumDescriptorProto.EnumReservedRange.decode(e,e.uint32()));break;case 5:o.reservedName&&o.reservedName.length||(o.reservedName=[]),o.reservedName.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.value&&e.hasOwnProperty("value")){if(!Array.isArray(e.value))return"value: array expected";for(var t=0;t>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!l.isInteger(e.start)?"start: integer expected":null!=e.end&&e.hasOwnProperty("end")&&!l.isInteger(e.end)?"end: integer expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.EnumDescriptorProto.EnumReservedRange)return e;var t=new c.google.protobuf.EnumDescriptorProto.EnumReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),o.EnumValueDescriptorProto=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.number=e.int32();break;case 3:o.options=c.google.protobuf.EnumValueOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.number&&e.hasOwnProperty("number")&&!l.isInteger(e.number))return"number: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.EnumValueOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof c.google.protobuf.EnumValueDescriptorProto)return e;var t=new c.google.protobuf.EnumValueDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.EnumValueDescriptorProto.options: object expected");t.options=c.google.protobuf.EnumValueOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.number=0,n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.EnumValueOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),o.ServiceDescriptorProto=function(){function t(e){if(this.method=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.method&&o.method.length||(o.method=[]),o.method.push(c.google.protobuf.MethodDescriptorProto.decode(e,e.uint32()));break;case 3:o.options=c.google.protobuf.ServiceOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.method&&e.hasOwnProperty("method")){if(!Array.isArray(e.method))return"method: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.inputType=e.string();break;case 3:o.outputType=e.string();break;case 4:o.options=c.google.protobuf.MethodOptions.decode(e,e.uint32());break;case 5:o.clientStreaming=e.bool();break;case 6:o.serverStreaming=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.inputType&&e.hasOwnProperty("inputType")&&!l.isString(e.inputType))return"inputType: string expected";if(null!=e.outputType&&e.hasOwnProperty("outputType")&&!l.isString(e.outputType))return"outputType: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.MethodOptions.verify(e.options);if(t)return"options."+t}return null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&"boolean"!=typeof e.clientStreaming?"clientStreaming: boolean expected":null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&"boolean"!=typeof e.serverStreaming?"serverStreaming: boolean expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.MethodDescriptorProto)return e;var t=new c.google.protobuf.MethodDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.inputType&&(t.inputType=String(e.inputType)),null!=e.outputType&&(t.outputType=String(e.outputType)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.MethodDescriptorProto.options: object expected");t.options=c.google.protobuf.MethodOptions.fromObject(e.options)}return null!=e.clientStreaming&&(t.clientStreaming=Boolean(e.clientStreaming)),null!=e.serverStreaming&&(t.serverStreaming=Boolean(e.serverStreaming)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.inputType="",n.outputType="",n.options=null,n.clientStreaming=!1,n.serverStreaming=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.inputType&&e.hasOwnProperty("inputType")&&(n.inputType=e.inputType),null!=e.outputType&&e.hasOwnProperty("outputType")&&(n.outputType=e.outputType),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.MethodOptions.toObject(e.options,t)),null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&(n.clientStreaming=e.clientStreaming),null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&(n.serverStreaming=e.serverStreaming),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),o.FileOptions=function(){function t(e){if(this.uninterpretedOption=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.javaPackage=e.string();break;case 8:o.javaOuterClassname=e.string();break;case 10:o.javaMultipleFiles=e.bool();break;case 20:o.javaGenerateEqualsAndHash=e.bool();break;case 27:o.javaStringCheckUtf8=e.bool();break;case 9:o.optimizeFor=e.int32();break;case 11:o.goPackage=e.string();break;case 16:o.ccGenericServices=e.bool();break;case 17:o.javaGenericServices=e.bool();break;case 18:o.pyGenericServices=e.bool();break;case 42:o.phpGenericServices=e.bool();break;case 23:o.deprecated=e.bool();break;case 31:o.ccEnableArenas=e.bool();break;case 36:o.objcClassPrefix=e.string();break;case 37:o.csharpNamespace=e.string();break;case 39:o.swiftPrefix=e.string();break;case 40:o.phpClassPrefix=e.string();break;case 41:o.phpNamespace=e.string();break;case 44:o.phpMetadataNamespace=e.string();break;case 45:o.rubyPackage=e.string();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.javaPackage&&e.hasOwnProperty("javaPackage")&&!l.isString(e.javaPackage))return"javaPackage: string expected";if(null!=e.javaOuterClassname&&e.hasOwnProperty("javaOuterClassname")&&!l.isString(e.javaOuterClassname))return"javaOuterClassname: string expected";if(null!=e.javaMultipleFiles&&e.hasOwnProperty("javaMultipleFiles")&&"boolean"!=typeof e.javaMultipleFiles)return"javaMultipleFiles: boolean expected";if(null!=e.javaGenerateEqualsAndHash&&e.hasOwnProperty("javaGenerateEqualsAndHash")&&"boolean"!=typeof e.javaGenerateEqualsAndHash)return"javaGenerateEqualsAndHash: boolean expected";if(null!=e.javaStringCheckUtf8&&e.hasOwnProperty("javaStringCheckUtf8")&&"boolean"!=typeof e.javaStringCheckUtf8)return"javaStringCheckUtf8: boolean expected";if(null!=e.optimizeFor&&e.hasOwnProperty("optimizeFor"))switch(e.optimizeFor){default:return"optimizeFor: enum value expected";case 1:case 2:case 3:}if(null!=e.goPackage&&e.hasOwnProperty("goPackage")&&!l.isString(e.goPackage))return"goPackage: string expected";if(null!=e.ccGenericServices&&e.hasOwnProperty("ccGenericServices")&&"boolean"!=typeof e.ccGenericServices)return"ccGenericServices: boolean expected";if(null!=e.javaGenericServices&&e.hasOwnProperty("javaGenericServices")&&"boolean"!=typeof e.javaGenericServices)return"javaGenericServices: boolean expected";if(null!=e.pyGenericServices&&e.hasOwnProperty("pyGenericServices")&&"boolean"!=typeof e.pyGenericServices)return"pyGenericServices: boolean expected";if(null!=e.phpGenericServices&&e.hasOwnProperty("phpGenericServices")&&"boolean"!=typeof e.phpGenericServices)return"phpGenericServices: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.ccEnableArenas&&e.hasOwnProperty("ccEnableArenas")&&"boolean"!=typeof e.ccEnableArenas)return"ccEnableArenas: boolean expected";if(null!=e.objcClassPrefix&&e.hasOwnProperty("objcClassPrefix")&&!l.isString(e.objcClassPrefix))return"objcClassPrefix: string expected";if(null!=e.csharpNamespace&&e.hasOwnProperty("csharpNamespace")&&!l.isString(e.csharpNamespace))return"csharpNamespace: string expected";if(null!=e.swiftPrefix&&e.hasOwnProperty("swiftPrefix")&&!l.isString(e.swiftPrefix))return"swiftPrefix: string expected";if(null!=e.phpClassPrefix&&e.hasOwnProperty("phpClassPrefix")&&!l.isString(e.phpClassPrefix))return"phpClassPrefix: string expected";if(null!=e.phpNamespace&&e.hasOwnProperty("phpNamespace")&&!l.isString(e.phpNamespace))return"phpNamespace: string expected";if(null!=e.phpMetadataNamespace&&e.hasOwnProperty("phpMetadataNamespace")&&!l.isString(e.phpMetadataNamespace))return"phpMetadataNamespace: string expected";if(null!=e.rubyPackage&&e.hasOwnProperty("rubyPackage")&&!l.isString(e.rubyPackage))return"rubyPackage: string expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.messageSetWireFormat=e.bool();break;case 2:o.noStandardDescriptorAccessor=e.bool();break;case 3:o.deprecated=e.bool();break;case 7:o.mapEntry=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.messageSetWireFormat&&e.hasOwnProperty("messageSetWireFormat")&&"boolean"!=typeof e.messageSetWireFormat)return"messageSetWireFormat: boolean expected";if(null!=e.noStandardDescriptorAccessor&&e.hasOwnProperty("noStandardDescriptorAccessor")&&"boolean"!=typeof e.noStandardDescriptorAccessor)return"noStandardDescriptorAccessor: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.mapEntry&&e.hasOwnProperty("mapEntry")&&"boolean"!=typeof e.mapEntry)return"mapEntry: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.ctype=e.int32();break;case 2:o.packed=e.bool();break;case 6:o.jstype=e.int32();break;case 5:o.lazy=e.bool();break;case 3:o.deprecated=e.bool();break;case 10:o.weak=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.ctype&&e.hasOwnProperty("ctype"))switch(e.ctype){default:return"ctype: enum value expected";case 0:case 1:case 2:}if(null!=e.packed&&e.hasOwnProperty("packed")&&"boolean"!=typeof e.packed)return"packed: boolean expected";if(null!=e.jstype&&e.hasOwnProperty("jstype"))switch(e.jstype){default:return"jstype: enum value expected";case 0:case 1:case 2:}if(null!=e.lazy&&e.hasOwnProperty("lazy")&&"boolean"!=typeof e.lazy)return"lazy: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.weak&&e.hasOwnProperty("weak")&&"boolean"!=typeof e.weak)return"weak: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3==999?(o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 2:o.allowAlias=e.bool();break;case 3:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.allowAlias&&e.hasOwnProperty("allowAlias")&&"boolean"!=typeof e.allowAlias)return"allowAlias: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 33:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1049:o[".google.api.defaultHost"]=e.string();break;case 1050:o[".google.api.oauthScopes"]=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 33:o.deprecated=e.bool();break;case 34:o.idempotencyLevel=e.int32();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1049:o[".google.longrunning.operationInfo"]=c.google.longrunning.OperationInfo.decode(e,e.uint32());break;case 72295728:o[".google.api.http"]=c.google.api.HttpRule.decode(e,e.uint32());break;case 1051:o[".google.api.methodSignature"]&&o[".google.api.methodSignature"].length||(o[".google.api.methodSignature"]=[]),o[".google.api.methodSignature"].push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.idempotencyLevel&&e.hasOwnProperty("idempotencyLevel"))switch(e.idempotencyLevel){default:return"idempotencyLevel: enum value expected";case 0:case 1:case 2:}if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 2:o.name&&o.name.length||(o.name=[]),o.name.push(c.google.protobuf.UninterpretedOption.NamePart.decode(e,e.uint32()));break;case 3:o.identifierValue=e.string();break;case 4:o.positiveIntValue=e.uint64();break;case 5:o.negativeIntValue=e.int64();break;case 6:o.doubleValue=e.double();break;case 7:o.stringValue=e.bytes();break;case 8:o.aggregateValue=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")){if(!Array.isArray(e.name))return"name: array expected";for(var t=0;t>>0,e.positiveIntValue.high>>>0).toNumber(!0))),null!=e.negativeIntValue&&(l.Long?(t.negativeIntValue=l.Long.fromValue(e.negativeIntValue)).unsigned=!1:"string"==typeof e.negativeIntValue?t.negativeIntValue=parseInt(e.negativeIntValue,10):"number"==typeof e.negativeIntValue?t.negativeIntValue=e.negativeIntValue:"object"==typeof e.negativeIntValue&&(t.negativeIntValue=new l.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber())),null!=e.doubleValue&&(t.doubleValue=Number(e.doubleValue)),null!=e.stringValue&&("string"==typeof e.stringValue?l.base64.decode(e.stringValue,t.stringValue=l.newBuffer(l.base64.length(e.stringValue)),0):e.stringValue.length&&(t.stringValue=e.stringValue)),null!=e.aggregateValue&&(t.aggregateValue=String(e.aggregateValue)),t},t.toObject=function(e,t){t||(t={});var n={};if((t.arrays||t.defaults)&&(n.name=[]),t.defaults){if(n.identifierValue="",l.Long){var o=new l.Long(0,0,!0);n.positiveIntValue=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.positiveIntValue=t.longs===String?"0":0;l.Long?(o=new l.Long(0,0,!1),n.negativeIntValue=t.longs===String?o.toString():t.longs===Number?o.toNumber():o):n.negativeIntValue=t.longs===String?"0":0,n.doubleValue=0,t.bytes===String?n.stringValue="":(n.stringValue=[],t.bytes!==Array&&(n.stringValue=l.newBuffer(n.stringValue))),n.aggregateValue=""}if(e.name&&e.name.length){n.name=[];for(var r=0;r>>0,e.positiveIntValue.high>>>0).toNumber(!0):e.positiveIntValue),null!=e.negativeIntValue&&e.hasOwnProperty("negativeIntValue")&&("number"==typeof e.negativeIntValue?n.negativeIntValue=t.longs===String?String(e.negativeIntValue):e.negativeIntValue:n.negativeIntValue=t.longs===String?l.Long.prototype.toString.call(e.negativeIntValue):t.longs===Number?new l.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber():e.negativeIntValue),null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(n.doubleValue=t.json&&!isFinite(e.doubleValue)?String(e.doubleValue):e.doubleValue),null!=e.stringValue&&e.hasOwnProperty("stringValue")&&(n.stringValue=t.bytes===String?l.base64.encode(e.stringValue,0,e.stringValue.length):t.bytes===Array?Array.prototype.slice.call(e.stringValue):e.stringValue),null!=e.aggregateValue&&e.hasOwnProperty("aggregateValue")&&(n.aggregateValue=e.aggregateValue),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.NamePart=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.namePart=e.string();break;case 2:o.isExtension=e.bool();break;default:e.skipType(7&r)}}if(!o.hasOwnProperty("namePart"))throw l.ProtocolError("missing required 'namePart'",{instance:o});if(!o.hasOwnProperty("isExtension"))throw l.ProtocolError("missing required 'isExtension'",{instance:o});return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":l.isString(e.namePart)?"boolean"!=typeof e.isExtension?"isExtension: boolean expected":null:"namePart: string expected"},t.fromObject=function(e){if(e instanceof c.google.protobuf.UninterpretedOption.NamePart)return e;var t=new c.google.protobuf.UninterpretedOption.NamePart;return null!=e.namePart&&(t.namePart=String(e.namePart)),null!=e.isExtension&&(t.isExtension=Boolean(e.isExtension)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.namePart="",n.isExtension=!1),null!=e.namePart&&e.hasOwnProperty("namePart")&&(n.namePart=e.namePart),null!=e.isExtension&&e.hasOwnProperty("isExtension")&&(n.isExtension=e.isExtension),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),o.SourceCodeInfo=function(){function t(e){if(this.location=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.location&&o.location.length||(o.location=[]),o.location.push(c.google.protobuf.SourceCodeInfo.Location.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.location&&e.hasOwnProperty("location")){if(!Array.isArray(e.location))return"location: array expected";for(var t=0;t>>3){case 1:if(o.path&&o.path.length||(o.path=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==1?(o.annotation&&o.annotation.length||(o.annotation=[]),o.annotation.push(c.google.protobuf.GeneratedCodeInfo.Annotation.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.annotation&&e.hasOwnProperty("annotation")){if(!Array.isArray(e.annotation))return"annotation: array expected";for(var t=0;t>>3){case 1:if(o.path&&o.path.length||(o.path=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.type_url=e.string();break;case 2:o.value=e.bytes();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.type_url&&e.hasOwnProperty("type_url")&&!l.isString(e.type_url)?"type_url: string expected":null!=e.value&&e.hasOwnProperty("value")&&!(e.value&&"number"==typeof e.value.length||l.isString(e.value))?"value: buffer expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.Any)return e;var t=new c.google.protobuf.Any;return null!=e.type_url&&(t.type_url=String(e.type_url)),null!=e.value&&("string"==typeof e.value?l.base64.decode(e.value,t.value=l.newBuffer(l.base64.length(e.value)),0):e.value.length&&(t.value=e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type_url="",t.bytes===String?n.value="":(n.value=[],t.bytes!==Array&&(n.value=l.newBuffer(n.value)))),null!=e.type_url&&e.hasOwnProperty("type_url")&&(n.type_url=e.type_url),null!=e.value&&e.hasOwnProperty("value")&&(n.value=t.bytes===String?l.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),o.Duration=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.seconds=e.int64();break;case 2:o.nanos=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.seconds&&e.hasOwnProperty("seconds")&&!(l.isInteger(e.seconds)||e.seconds&&l.isInteger(e.seconds.low)&&l.isInteger(e.seconds.high))?"seconds: integer|Long expected":null!=e.nanos&&e.hasOwnProperty("nanos")&&!l.isInteger(e.nanos)?"nanos: integer expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.Duration)return e;var t=new c.google.protobuf.Duration;return null!=e.seconds&&(l.Long?(t.seconds=l.Long.fromValue(e.seconds)).unsigned=!1:"string"==typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"==typeof e.seconds?t.seconds=e.seconds:"object"==typeof e.seconds&&(t.seconds=new l.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(l.Long){var o=new l.Long(0,0,!1);n.seconds=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.seconds=t.longs===String?"0":0;n.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"==typeof e.seconds?n.seconds=t.longs===String?String(e.seconds):e.seconds:n.seconds=t.longs===String?l.Long.prototype.toString.call(e.seconds):t.longs===Number?new l.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(n.nanos=e.nanos),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),o.Empty=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.code=e.int32();break;case 2:o.message=e.string();break;case 3:o.details&&o.details.length||(o.details=[]),o.details.push(c.google.protobuf.Any.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.code&&e.hasOwnProperty("code")&&!l.isInteger(e.code))return"code: integer expected";if(null!=e.message&&e.hasOwnProperty("message")&&!l.isString(e.message))return"message: string expected";if(null!=e.details&&e.hasOwnProperty("details")){if(!Array.isArray(e.details))return"details: array expected";for(var t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAPICaller=void 0;const o=n(45435);t.createAPICaller=function(e,t){return t?t.getApiCaller(e):new o.NormalApiCaller}},44532:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BundleApiCaller=void 0;const o=n(70314),r=n(87834);t.BundleApiCaller=class{constructor(e){this.bundler=e}init(e){return e?new o.OngoingCall(e):new o.OngoingCallPromise}wrap(e){return e}call(e,t,n,o){if(!n.isBundling)throw new r.GoogleError("Bundling enabled with no isBundling!");o.call(((t,n)=>(this.bundler.schedule(e,t,n),o)),t)}fail(e,t){e.callback(t)}result(e){return e.promise}}},49805:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BundleDescriptor=void 0;const o=n(45435),r=n(44532),i=n(17005),a=n(6668);t.BundleDescriptor=class{constructor(e,t,n,o){o||"function"!=typeof n||(o=n,n=null),this.bundledField=e,this.requestDiscriminatorFields=t.map(a.toCamelCase),this.subresponseField=n,this.byteLengthFunction=o}getApiCaller(e){return!1===e.isBundling?new o.NormalApiCaller:new r.BundleApiCaller(new i.BundleExecutor(e.bundleOptions,this))}}},17005:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BundleExecutor=void 0;const o=n(59751),r=n(87834),i=n(85059),a=n(298),s=n(80321);function l(){}t.BundleExecutor=class{constructor(e,t){this._options=e,this._descriptor=t,this._tasks={},this._timers={},this._invocations={},this._invocationId=0}schedule(e,t,n){const c=(0,a.computeBundleId)(t,this._descriptor.requestDiscriminatorFields);if(n=n||l,void 0===c)return(0,i.warn)("bundling_schedule_bundleid_undefined",`The request does not have enough information for request bundling. Invoking immediately. Request: ${JSON.stringify(t)} discriminator fields: ${this._descriptor.requestDiscriminatorFields}`),e(t,n);if(void 0===t[this._descriptor.bundledField])return(0,i.warn)("bundling_no_bundled_field",`Request does not contain field ${this._descriptor.bundledField} that must present for bundling. Invoking immediately. Request: ${JSON.stringify(t)}`),e(t,n);c in this._tasks||(this._tasks[c]=new s.Task(e,t,this._descriptor.bundledField,this._descriptor.subresponseField));let p=this._tasks[c];n.id=String(this._invocationId++),this._invocations[n.id]=c;const u=t[this._descriptor.bundledField],d=u.length;let g=0;const f=this;u.forEach((e=>{g+=this._descriptor.byteLengthFunction(e)}));const h=this._options.elementCountLimit||0,m=this._options.requestByteLimit||0;if(h>0&&d>h||m>0&&g>=m){let e;e=h>0&&d>h?"The number of elements "+d+" exceeds the limit "+this._options.elementCountLimit:"The required bytes "+g+" exceeds the limit "+this._options.requestByteLimit;const t=new r.GoogleError(e);return t.code=o.Status.INVALID_ARGUMENT,n(t),{cancel:l}}const y=p.getElementCount(),v=p.getRequestByteSize();(h>0&&d+y>=h||m>0&&g+v>=m)&&(this._runNow(c),this._tasks[c]=new s.Task(e,t,this._descriptor.bundledField,this._descriptor.subresponseField),p=this._tasks[c]),p.extend(u,g,n);const b={cancel(){f._cancel(n.id)}},O=this._options.elementCountThreshold||0,w=this._options.requestByteThreshold||0;return O>0&&p.getElementCount()>=O||w>0&&p.getRequestByteSize()>=w?(this._runNow(c),b):(!(c in this._timers)&&this._options.delayThreshold>0&&(this._timers[c]=setTimeout((()=>{delete this._timers[c],this._runNow(c)}),this._options.delayThreshold)),b)}_maybeClearTimeout(e){if(e in this._timers){const t=this._timers[e];delete this._timers[e],clearTimeout(t)}}_cancel(e){if(!(e in this._invocations))return;const t=this._invocations[e];if(!(t in this._tasks))return;const n=this._tasks[t];delete this._invocations[e],n.cancel(e)&&(this._maybeClearTimeout(t),delete this._tasks[t])}_runNow(e){if(!(e in this._tasks))return void(0,i.warn)("bundle_runnow_bundleid_unknown",`No such bundleid: ${e}`);this._maybeClearTimeout(e);const t=this._tasks[e];delete this._tasks[e],t.run().forEach((e=>{delete this._invocations[e]}))}}},298:(e,t)=>{"use strict";function n(e,t){const n=t.split(".");let o=e;for(const e of n)o=null==o?void 0:o[e];return o}Object.defineProperty(t,"__esModule",{value:!0}),t.computeBundleId=void 0,t.computeBundleId=function(e,t){const o=[];let r=!1;for(const i of t){const t=n(e,i);void 0===t?o.push(null):(r=!0,o.push(t))}if(r)return JSON.stringify(o)}},80321:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Task=t.deepCopyForResponse=void 0;const o=n(59751),r=n(87834);function i(e,t){let n;return null===e?null:void 0!==e?Array.isArray(e)?(n=[],e.forEach((e=>{n.push(i(e,null))})),n):void 0!==e.copy?e.copy():e instanceof ArrayBuffer?e.slice(0):"object"==typeof e?(n={},Object.keys(e).forEach((o=>{t&&o===t.field&&Array.isArray(e[o])?n[o]=e[o].slice(t.start,t.end):n[o]=i(e[o],null)})),n):e:void 0}t.deepCopyForResponse=i,t.Task=class{constructor(e,t,n,o){this._apiCall=e,this._request=t,this._bundledField=n,this._subresponseField=o,this._data=[]}getElementCount(){let e=0;for(let t=0;t{const n=[];if(e)a._data.forEach((()=>{n.push(void 0)}));else{let e=null;a._subresponseField&&(e={field:a._subresponseField,start:0}),a._data.forEach((o=>{e&&(e.end=e.start+o.elements.length),n.push(i(t,e)),e&&(e.start=e.end)}))}for(let t=0;t{n.callback.id===e&&(n.cancelled=!0),n.cancelled||(t=!1)})),t&&this.callCanceller.cancel(),t}for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OngoingCallPromise=t.OngoingCall=void 0;const o=n(59751),r=n(87834);class i{constructor(e){this.callback=e,this.completed=!1}cancel(){if(!this.completed)if(this.completed=!0,this.cancelFunc)this.cancelFunc();else{const e=new r.GoogleError("cancelled");e.code=o.Status.CANCELLED,this.callback(e)}}call(e,t){if(this.completed)return;const n=e(t,((e,t,n,o)=>{this.completed=!0,setImmediate(this.callback,e,t,n,o)}));n instanceof Promise&&n.catch((e=>{setImmediate(this.callback,new r.GoogleError(e),null,null,null)})),this.cancelFunc=()=>n.cancel()}}t.OngoingCall=i,t.OngoingCallPromise=class extends i{constructor(){let e,t;const n=new Promise(((n,o)=>{e=n,t=o}));super(((n,o,i,a)=>{if(n)n.metadata?t(r.GoogleError.parseGRPCStatusDetails(n)):t(n);else{if(void 0===o)throw new r.GoogleError("Neither error nor response are defined");e([o,i||null,a||null])}})),this.promise=n,this.promise.cancel=()=>{this.cancel()}}}},21691:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createApiCall=void 0;const o=n(72520),r=n(24876),i=n(43267);t.createApiCall=function(e,t,n,a){const s="function"==typeof e?Promise.resolve(e):e,l=(0,o.createAPICaller)(t,n);return(e,n,a)=>{const c=t.merge(n);let p=l;t.isBundling&&!c.isBundling&&(p=(0,o.createAPICaller)(t,void 0));const u=p.init(a);return s.then((e=>{var t;e=p.wrap(e);const n=null===(t=p.descriptor)||void 0===t?void 0:t.streaming,o=c.retry;return!n&&o&&o.retryCodes&&o.retryCodes.length>0?(o.backoffSettings.initialRpcTimeoutMillis=o.backoffSettings.initialRpcTimeoutMillis||c.timeout,(0,r.retryable)(e,c.retry,c.otherArgs,c.apiName)):(0,i.addTimeoutArg)(e,c.timeout,c.otherArgs)})).then((t=>{p.call(t,e,c,u)})).catch((e=>{p.fail(u,e)})),p.result(u)}}},84823:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BundleDescriptor=t.StreamDescriptor=t.PageDescriptor=t.LongrunningDescriptor=void 0;var o=n(63186);Object.defineProperty(t,"LongrunningDescriptor",{enumerable:!0,get:function(){return o.LongRunningDescriptor}});var r=n(17792);Object.defineProperty(t,"PageDescriptor",{enumerable:!0,get:function(){return r.PageDescriptor}});var i=n(34747);Object.defineProperty(t,"StreamDescriptor",{enumerable:!0,get:function(){return i.StreamDescriptor}});var a=n(49805);Object.defineProperty(t,"BundleDescriptor",{enumerable:!0,get:function(){return a.BundleDescriptor}})},86936:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fallback=t.GoogleError=t.operation=t.Operation=t.warn=t.protobufMinimal=t.protobuf=t.createApiCall=t.LocationProtos=t.IamProtos=t.operationsProtos=t.lro=t.GrpcClient=t.defaultToObjectOptions=t.LocationsClient=t.IamClient=t.OperationsClient=t.StreamType=t.StreamDescriptor=t.PageDescriptor=t.LongrunningDescriptor=t.BundleDescriptor=t.version=t.createDefaultBackoffSettings=t.RetryOptions=t.constructSettings=t.CallSettings=t.routingHeader=t.PathTemplate=void 0;const o=n(62319),r=n(1747);t.protobuf=r;const i=n(34085),a=n(10499);t.routingHeader=a;const s=n(59751),l=n(81173),c=n(65171),p=n(21691),u=n(96577),d=n(61723),g=n(84221),f=n(7768),h=n(80707),m=n(6668),y=n(89255);t.IamProtos=y;const v=n(51419);t.LocationProtos=v;const b=n(42268);t.operationsProtos=b;var O=n(6318);Object.defineProperty(t,"PathTemplate",{enumerable:!0,get:function(){return O.PathTemplate}});var w=n(34085);Object.defineProperty(t,"CallSettings",{enumerable:!0,get:function(){return w.CallSettings}}),Object.defineProperty(t,"constructSettings",{enumerable:!0,get:function(){return w.constructSettings}}),Object.defineProperty(t,"RetryOptions",{enumerable:!0,get:function(){return w.RetryOptions}}),Object.defineProperty(t,"createDefaultBackoffSettings",{enumerable:!0,get:function(){return w.createDefaultBackoffSettings}}),t.version=n(54357).version+"-fallback";var P=n(84823);Object.defineProperty(t,"BundleDescriptor",{enumerable:!0,get:function(){return P.BundleDescriptor}}),Object.defineProperty(t,"LongrunningDescriptor",{enumerable:!0,get:function(){return P.LongrunningDescriptor}}),Object.defineProperty(t,"PageDescriptor",{enumerable:!0,get:function(){return P.PageDescriptor}}),Object.defineProperty(t,"StreamDescriptor",{enumerable:!0,get:function(){return P.StreamDescriptor}});var x=n(80707);Object.defineProperty(t,"StreamType",{enumerable:!0,get:function(){return x.StreamType}});var S=n(65171);Object.defineProperty(t,"OperationsClient",{enumerable:!0,get:function(){return S.OperationsClient}});var T=n(55443);Object.defineProperty(t,"IamClient",{enumerable:!0,get:function(){return T.IamClient}});var A=n(36397);Object.defineProperty(t,"LocationsClient",{enumerable:!0,get:function(){return A.LocationsClient}}),t.defaultToObjectOptions={keepCase:!1,longs:String,enums:String,defaults:!0,oneofs:!0};const E="x-goog-api-client";class j{constructor(e={}){var t;if((0,g.isNodeJS)())this.auth=e.auth||new l.GoogleAuth(e);else{if(!e.auth)throw new Error(JSON.stringify(e)+"You need to pass auth instance to use gRPC-fallback client in browser or other non-Node.js environments. Use OAuth2Client from google-auth-library.");this.auth=e.auth}this.fallback="rest"!==e.fallback?"proto":"rest",this.grpcVersion=n(54357).version,this.httpRules=e.httpRules,this.numericEnums=null!==(t=e.numericEnums)&&void 0!==t&&t}static clearProtoCache(){j.protoCache.clear()}loadProto(e){return r.Root.fromJSON(e)}loadProtoJSON(e,t=!1){const n=o(JSON.stringify(e)).toString(),i=j.protoCache.get(n);if(i&&!t)return i;const a=r.Root.fromJSON(e);return j.protoCache.set(n,a),a}static getServiceMethods(e){const t={};for(const[n,o]of Object.entries(e.methods))t[(0,m.toLowerCamelCase)(n)]=o;return t}constructSettings(e,n,o,r){return i.constructSettings(e,n,o,s.Status,{metadataBuilder:function(e,n){const o={};r||(r={});for(const e in r)o[e]=Array.isArray(r[e])?r[e]:[r[e]];const i=[];if(o[E]&&o[E][0]&&i.push(...o[E][0].split(" ")),i.push(`grpc-web/${t.version}`),o[E]=[i.join(" ")],!n)return o;for(const e in n)if(e.toLowerCase()!==E){const t=n[e];if(Array.isArray(t))if(void 0===o[e])o[e]=t;else{if(!Array.isArray(o[e]))throw new Error(`Can not add value ${t} to the call metadata.`);o[e].push(...t)}else o[e]=[t]}return o}})}async createStub(e,t,n){if(this.authClient||(this.auth&&"getClient"in this.auth?this.authClient=await this.auth.getClient():this.auth&&"getRequestHeaders"in this.auth&&(this.authClient=this.auth)),!this.authClient)throw new Error("No authentication was provided");e.resolveAll();const o=j.getServiceMethods(e),r=t.protocol||"https";let i,a=t.servicePath;if(!a&&e.options&&e.options["(google.api.default_host)"]&&(a=e.options["(google.api.default_host)"]),!a)throw new Error(`Cannot determine service API path for service ${e.name}.`);const s=a.match(/^(.*):(\d+)$/);s&&(a=s[1],i=parseInt(s[2])),t.port?i=t.port:i||(i=443);const l="rest"===this.fallback?d.encodeRequest:u.encodeRequest,c="rest"===this.fallback?d.decodeResponse:u.decodeResponse;return(0,f.generateServiceStub)(o,r,a,i,this.authClient,l,c,this.numericEnums)}static createByteLengthFunction(e){return i.createByteLengthFunction(e)}}t.GrpcClient=j,j.protoCache=new Map,t.lro=function(e){(e=Object.assign({scopes:[]},e)).protoJson&&(e=Object.assign(e,{fallback:"rest"}));const t=new j(e);return new c.OperationsClientBuilder(t,e.protoJson)},t.createApiCall=function(e,t,n,o){return o&&"rest"!==o||!n||!("streaming"in n)||n.type===h.StreamType.SERVER_STREAMING?("proto"===o||!0===o)&&n&&"streaming"in n?()=>{throw new Error("The gRPC-fallback (proto over HTTP) transport currently does not support streaming calls.")}:(0,p.createApiCall)(e,t,n):()=>{throw new Error("The REST transport currently does not support client-streaming or bidi-stream calls.")}},t.protobufMinimal=n(1740);var k=n(85059);Object.defineProperty(t,"warn",{enumerable:!0,get:function(){return k.warn}});var _=n(87091);Object.defineProperty(t,"Operation",{enumerable:!0,get:function(){return _.Operation}}),Object.defineProperty(t,"operation",{enumerable:!0,get:function(){return _.operation}});var C=n(87834);Object.defineProperty(t,"GoogleError",{enumerable:!0,get:function(){return C.GoogleError}});const I=e.exports;t.fallback=I},96577:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeResponse=t.encodeRequest=void 0;const o=n(86936),r=n(87834);t.encodeRequest=function(e,t,n,o,r){const i=[];let a=e.parent;for(;""!==a.name;)i.unshift(a.name),a=a.parent;const s=i.join("."),l=e.name,c=e.resolvedRequestType.fromObject(r);return{method:"POST",url:`${t}://${n}:${o}/$rpc/${s}/${l}`,headers:{"Content-Type":"application/x-protobuf"},body:e.resolvedRequestType.encode(c).finish()}},t.decodeResponse=function(e,t,n){if(!t)throw(new r.GoogleErrorDecoder).decodeErrorFromBuffer(n);const i=n instanceof ArrayBuffer?new Uint8Array(n):n,a=e.resolvedResponseType.decode(i);return e.resolvedResponseType.toObject(a,o.defaultToObjectOptions)}},61723:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeResponse=t.encodeRequest=void 0;const o=n(95218),r=n(86936),i=n(84221),a=n(87834),s=n(66055);(0,i.hasTextEncoder)()&&(0,i.hasTextDecoder)()||n(99707),t.encodeRequest=function(e,t,n,r,i,a){const l=e.resolvedRequestType.fromObject(i),c=o.toProto3JSON(l,{numericEnums:a});if(!c)throw new Error(`Cannot send null request to RPC ${e.name}.`);if("object"!=typeof c||Array.isArray(c))throw new Error(`Request to RPC ${e.name} must be an object.`);const p=(0,s.transcode)(c,e.parsedOptions);if(!p)throw new Error(`Cannot build HTTP request for ${JSON.stringify(c)}, method: ${e.name}`);a&&(p.queryString=(p.queryString?"&":"")+"$alt=json%3Benum-encoding=int");const u=p.httpMethod.toUpperCase(),d=JSON.stringify(p.data);return{method:u,url:`${t}://${n}:${r}/${p.url.replace(/^\//,"")}?${p.queryString}`,headers:{"Content-Type":"application/json"},body:d}},t.decodeResponse=function(e,t,n){const i=(new TextDecoder).decode(n),s=JSON.parse(i);if(!t)throw a.GoogleError.parseHttpError(s);const l=o.fromProto3JSON(e.resolvedResponseType,s);if(!l)throw new Error(`Received null response from RPC ${e.name}`);return e.resolvedResponseType.toObject(l,r.defaultToObjectOptions)}},7768:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateServiceStub=void 0;const o=n(54250),r=n(3209),i=n(84221),a=n(34560),s=n(12781);t.generateServiceStub=function(e,t,n,l,c,p,u,d){const g=(0,i.hasWindowFetch)()?window.fetch:o.default,f={close:()=>({cancel:()=>{}})};for(const[o,h]of Object.entries(e))f[o]=(e,o,f,m)=>{let y;try{y=p(h,t,n,l,e,d)}catch(e){return m(e),{cancel(){}}}const v=(0,i.hasAbortController)()?new AbortController:new r.AbortController,b=v.signal;let O=!1;const w=y.url,P=y.headers;for(const e of Object.keys(o))P[e]=o[e][0];const x=new a.StreamArrayParser(h);return c.getRequestHeaders().then((e=>{const t={headers:{...e,...P},body:y.body,method:y.method,signal:b};return"GET"!==y.method&&"DELETE"!==y.method||delete t.body,g(w,t)})).then((e=>e.ok&&h.responseStream?void(0,s.pipeline)(e.body,x,(e=>{e&&(!O||e instanceof Error&&"AbortError"!==e.name)&&(m&&m(e),x.emit("error",e))})):Promise.all([Promise.resolve(e.ok),e.arrayBuffer()]).then((([e,t])=>{const n=u(h,e,t);m(null,n)})).catch((e=>{O&&"AbortError"===e.name||(h.responseStream?(m&&m(e),x.emit("error",e)):m(e))})))).catch((e=>m(e))),h.responseStream?x:{cancel:()=>{O=!0,v.abort()}}};return f}},84221:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.hasAbortController=t.isNodeJS=t.hasTextDecoder=t.hasTextEncoder=t.hasWindowFetch=void 0;const o={windowFetch:"undefined"!=typeof window&&(null===window||void 0===window?void 0:window.fetch)&&"function"==typeof(null===window||void 0===window?void 0:window.fetch),textEncoder:"undefined"!=typeof TextEncoder,textDecoder:"undefined"!=typeof TextDecoder,nodeJS:"undefined"!=typeof process&&(null===(n=null===process||void 0===process?void 0:process.versions)||void 0===n?void 0:n.node),abortController:"undefined"!=typeof AbortController};t.hasWindowFetch=function(){return o.windowFetch},t.hasTextEncoder=function(){return o.textEncoder},t.hasTextDecoder=function(){return o.textDecoder},t.isNodeJS=function(){return o.nodeJS},t.hasAbortController=function(){return o.abortController}},34085:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createByteLengthFunction=t.constructSettings=t.createBundleOptions=t.createMaxRetriesBackoffSettings=t.createDefaultBackoffSettings=t.createBackoffSettings=t.createRetryOptions=t.CallSettings=t.RetryOptions=void 0;const o=n(85059),r=n(6668);t.RetryOptions=class{constructor(e,t){this.retryCodes=e,this.backoffSettings=t}};class i{constructor(e){var t;e=e||{},this.timeout=e.timeout||3e4,this.retry=e.retry,this.autoPaginate=!("autoPaginate"in e)||e.autoPaginate,this.maxResults=e.maxResults,this.otherArgs=e.otherArgs||{},this.bundleOptions=e.bundleOptions,this.isBundling=!("isBundling"in e)||e.isBundling,this.longrunning="longrunning"in e?e.longrunning:void 0,this.apiName=null!==(t=e.apiName)&&void 0!==t?t:void 0,this.retryRequestOptions=e.retryRequestOptions}merge(e){if(!e)return new i(this);let t=this.timeout,n=this.retry,o=this.autoPaginate,r=this.maxResults,a=this.otherArgs,s=this.isBundling,l=this.longrunning,c=this.apiName,u=this.retryRequestOptions;if(null!=n&&null!==n.retryCodes&&n.retryCodes.length>0&&(n.backoffSettings.initialRpcTimeoutMillis=t,n.backoffSettings.maxRpcTimeoutMillis=t,n.backoffSettings.totalTimeoutMillis=t),"timeout"in e&&(t=e.timeout,null!=n&&n.retryCodes.length>0&&(n.backoffSettings.initialRpcTimeoutMillis=t,n.backoffSettings.maxRpcTimeoutMillis=t,n.backoffSettings.totalTimeoutMillis=t)),"retry"in e&&(n=p(n||{},e.retry)),"autoPaginate"in e&&!e.autoPaginate&&(o=!1),"maxResults"in e&&(r=e.maxResults),"otherArgs"in e){a={};for(const e in this.otherArgs)a[e]=this.otherArgs[e];for(const t in e.otherArgs)a[t]=e.otherArgs[t]}return"isBundling"in e&&(s=e.isBundling),"maxRetries"in e&&(n.backoffSettings.maxRetries=e.maxRetries,delete n.backoffSettings.totalTimeoutMillis),"longrunning"in e&&(l=e.longrunning),"apiName"in e&&(c=e.apiName),"retryRequestOptions"in e&&(u=e.retryRequestOptions),new i({timeout:t,retry:n,bundleOptions:this.bundleOptions,longrunning:l,autoPaginate:o,maxResults:r,otherArgs:a,isBundling:s,apiName:c,retryRequestOptions:u})}}function a(e,t){return{retryCodes:e,backoffSettings:t}}function s(e,t,n,o,r,i,a){return{initialRetryDelayMillis:e,retryDelayMultiplier:t,maxRetryDelayMillis:n,initialRpcTimeoutMillis:o,rpcTimeoutMultiplier:r,maxRpcTimeoutMillis:i,totalTimeoutMillis:a}}function l(e){["element_count_threshold","element_count_limit","request_byte_threshold","request_byte_limit","delay_threshold_millis"].forEach((t=>{if(t in e&&"number"!=typeof e[t])throw new Error(`${t} should be a number`)}));const t=e.element_count_threshold||0,n=e.element_count_limit||0,o=e.request_byte_threshold||0,r=e.request_byte_limit||0,i=e.delay_threshold_millis||0;if(0===t&&0===o&&0===i)throw new Error("one threshold should be > 0");return{elementCountThreshold:t,elementCountLimit:n,requestByteThreshold:o,requestByteLimit:r,delayThreshold:i}}function c(e,t,n,o){if(!e)return null;let r=null;t&&"retry_codes_name"in e&&(r=(t[e.retry_codes_name]||[]).map((e=>Number(o[e]))));let i=null;if(n&&"retry_params_name"in e){const t=n[e.retry_params_name];i=s(t.initial_retry_delay_millis,t.retry_delay_multiplier,t.max_retry_delay_millis,t.initial_rpc_timeout_millis,t.rpc_timeout_multiplier,t.max_rpc_timeout_millis,t.total_timeout_millis)}return a(r,i)}function p(e,t){return t?t.retryCodes||t.backoffSettings?a(t.retryCodes?t.retryCodes:e.retryCodes,t.backoffSettings?t.backoffSettings:e.backoffSettings):e:null}t.CallSettings=i,t.createRetryOptions=a,t.createBackoffSettings=s,t.createDefaultBackoffSettings=function(){return s(100,1.3,6e4,null,null,null,null)},t.createMaxRetriesBackoffSettings=function(e,t,n,o,r,i,a){return{initialRetryDelayMillis:e,retryDelayMultiplier:t,maxRetryDelayMillis:n,initialRpcTimeoutMillis:o,rpcTimeoutMultiplier:r,maxRpcTimeoutMillis:i,maxRetries:a}},t.createBundleOptions=l,t.constructSettings=function(e,t,n,o,a){a=a||{};const s={},u=(t.interfaces||{})[e];if(!u)return null;const d=(n.interfaces||{})[e]||{},g=u.methods,f=d.methods||{};for(const t in g){const n=g[t],h=(0,r.toLowerCamelCase)(t);let m=c(n,u.retry_codes,u.retry_params,o),y=n.bundling,v=n.timeout_millis;if(t in f){const e=f[t];e&&("bundling"in e&&(y=e.bundling),"timeout_millis"in e&&(v=e.timeout_millis)),m=p(m,c(e,d.retry_codes,d.retry_params,o))}const b=e;s[h]=new i({timeout:v,retry:m,bundleOptions:y?l(y):null,otherArgs:a,apiName:b})}return s},t.createByteLengthFunction=function(e){return function(t){try{return e.encode(t).finish().length}catch(e){const n=JSON.stringify(t);return(0,o.warn)("error_encoding_protobufjs_object",`Cannot encode protobuf.js object: ${n}: ${e}`),n.length}}}},87834:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleErrorDecoder=t.GoogleError=void 0;const o=n(59751),r=n(1747),i=n(95218),a=n(86936);class s extends Error{static parseGRPCStatusDetails(e){const t=new l;try{if(e.metadata&&e.metadata.get("grpc-status-details-bin")){const n=t.decodeGRPCStatusDetails(e.metadata.get("grpc-status-details-bin"));n&&n.details&&n.details.length>0&&(e.statusDetails=n.details),n&&n.errorInfo&&(e.reason=n.errorInfo.reason,e.domain=n.errorInfo.domain,e.errorInfoMetadata=n.errorInfo.metadata)}}catch(e){}return e}static parseHttpError(e){Array.isArray(e)&&(e=e.find((e=>"error"in e))),e.error||(e.error={},Object.keys(e).filter((e=>"error"!==e)).forEach((t=>{e.error[t]=e[t],delete e[t]})));const t=new l,n=t.decodeHTTPError(e.error),r=Object.assign(new s(e.error.message),n);if(e.error.code?r.code=(0,o.rpcCodeFromHttpStatusCode)(e.error.code):delete r.code,r.details)try{const e=t.decodeHttpStatusDetails(r.details);e&&e.details&&e.details.length>0&&(r.statusDetails=e.details),e&&e.errorInfo&&(r.reason=e.errorInfo.reason,r.domain=e.errorInfo.domain,r.errorInfoMetadata=e.errorInfo.metadata)}catch(e){}return r}}t.GoogleError=s;class l{constructor(){const e=n(58234);this.root=r.Root.fromJSON(e),this.anyType=this.root.lookupType("google.protobuf.Any"),this.statusType=this.root.lookupType("google.rpc.Status")}decodeProtobufAny(e){const t=e.type_url.match(/^type.googleapis.com\/(.*)/);if(!t)throw new Error(`Unknown type encoded in google.protobuf.any: ${e.type_url}`);const n=t[1],o=this.root.lookupType(n);if(!o)throw new Error(`Cannot lookup type ${n}`);return o.decode(e.value)}decodeRpcStatus(e){const t=new Uint8Array(e),n=this.statusType.decode(t),o=[];let r;for(const e of n.details)try{const t=this.decodeProtobufAny(e);o.push(t),"type.googleapis.com/google.rpc.ErrorInfo"===e.type_url&&(r=t)}catch(e){}return{code:n.code,message:n.message,statusDetails:o,reason:null==r?void 0:r.reason,domain:null==r?void 0:r.domain,errorInfoMetadata:null==r?void 0:r.metadata}}callErrorFromStatus(e){return e.message=`${e.code} ${o.Status[e.code]}: ${e.message}`,Object.assign(new s(e.message),e)}decodeErrorFromBuffer(e){return this.callErrorFromStatus(this.decodeRpcStatus(e))}decodeGRPCStatusDetails(e){const t=[];let n;return e.forEach((e=>{const o=new Uint8Array(e),r=this.statusType.decode(o);for(const e of r.details)try{const o=this.decodeProtobufAny(e);t.push(o),"type.googleapis.com/google.rpc.ErrorInfo"===e.type_url&&(n=o)}catch(e){}})),{details:t,errorInfo:n}}decodeHTTPError(e){const t=i.fromProto3JSON(this.statusType,e);if(!t)throw new Error(`Received error message ${e}, but failed to serialize as proto3 message`);return this.statusType.toObject(t,a.defaultToObjectOptions)}decodeHttpStatusDetails(e){const t=[];let n;for(const o of e)try{const e=this.decodeProtobufAny(o);t.push(e),"type.googleapis.com/google.rpc.ErrorInfo"===o.type_url&&(n=e)}catch(e){}return{details:t,errorInfo:n}}}t.GoogleErrorDecoder=l},88364:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleProtoFilesRoot=t.GrpcClient=t.ClientStub=void 0;const o=n(91779),r=n(32081),i=n(57147),a=n(81173),s=n(38268),l=n(22037),c=n(71017),p=n(71017),u=n(1747),d=n(62319),g=n(34085),f=p.join(__dirname,"..","..","build","protos"),h=[];h.push(f);const m=n(54249).map((e=>e.replace(/[/\\]/g,p.sep)));class y extends s.Client{}t.ClientStub=y;class v{constructor(e={}){var t;this.auth=e.auth||new a.GoogleAuth(e),this.fallback=!1;const o=Number(null===(t=process.version.match(/^v(\d+)/))||void 0===t?void 0:t[1]);if(Number.isNaN(o)||o<10)throw new Error("Node.js v10.0.0 is a minimum requirement. To learn about legacy version support visit: https://github.com/googleapis/google-cloud-node#supported-nodejs-versions");"grpc"in e?(this.grpc=e.grpc,this.grpcVersion=""):(this.grpc=s,this.grpcVersion=n(14167).i8)}static protoCacheKey(e,t){if(e&&(!Array.isArray(e)||0!==e.length&&e[0]))return JSON.stringify(e)+" "+JSON.stringify(t)}static clearProtoCache(){v.protoCache.clear()}async _getCredentials(e){if(e.sslCreds)return e.sslCreds;const t=this.grpc,n=e.cert&&e.key?t.credentials.createSsl(null,Buffer.from(e.key),Buffer.from(e.cert)):t.credentials.createSsl(),o=await this.auth.getClient();return t.credentials.combineChannelCredentials(n,t.credentials.createFromGoogleCredential(o))}static defaultOptions(){const e=h.slice();return{keepCase:!1,longs:String,enums:String,defaults:!0,oneofs:!0,includeDirs:e}}loadFromProto(e,t,n=!1){const r=v.protoCacheKey(e,t);let i=r?v.protoCache.get(r):void 0;if(n||!i){const n=o.loadSync(e,t);i=this.grpc.loadPackageDefinition(n),r&&v.protoCache.set(r,i)}return i}loadProto(e,t,n=!1){if(t||(t=p.basename(e),e=p.dirname(e)),Array.isArray(t)&&0===t.length)return{};const o=v.defaultOptions();return o.includeDirs.unshift(e),this.loadFromProto(t,o,n)}static _resolveFile(e,t){if(i.existsSync(p.join(e,t)))return p.join(e,t);if(m.indexOf(t)>-1)return p.join(f,t);throw new Error(t+" could not be found in "+e)}loadProtoJSON(e,t=!1){const n=d(JSON.stringify(e)).toString(),r=v.protoCache.get(n);if(r&&!t)return r;const i=v.defaultOptions(),a=o.fromJSON(e,i),s=this.grpc.loadPackageDefinition(a);return v.protoCache.set(n,s),s}metadataBuilder(e){const t=new(0,this.grpc.Metadata);for(const n in e){const o=e[n];Array.isArray(o)?o.forEach((e=>t.add(n,e))):t.set(n,`${o}`)}return function(e,n){let o=!1,r=t;if(n)for(const e in n)if("x-goog-api-client"!==e.toLowerCase()){o||(o=!0,r=r.clone());const t=n[e];Array.isArray(t)?t.forEach((t=>r.add(e,t))):r.set(e,`${t}`)}return r}}constructSettings(e,t,n,o){return g.constructSettings(e,t,n,this.grpc.status,{metadataBuilder:this.metadataBuilder(o)})}async createStub(e,t,n){const o=["grpc.callInvocationTransformer","grpc.channelFactoryOverride","grpc.gcpApiConfig"],[r,i]=await this._detectClientCertificate(t),a=this._mtlsServicePath(t.servicePath,n,r&&i),s=Object.assign({},t,{cert:r,key:i,servicePath:a}),l=a+":"+s.port,c=await this._getCredentials(s),p={"grpc.max_receive_message_length":-1,"grpc.max_send_message_length":-1,"grpc.initial_reconnect_backoff_ms":1e3};return Object.keys(s).forEach((e=>{const n=t[e];e.startsWith("grpc.grpc.")&&(e=e.replace(/^grpc\./,"")),e.startsWith("grpc.")&&(o.includes(e)&&(e=e.replace(/^grpc\./,"")),p[e]=n),e.startsWith("grpc-node.")&&(p[e]=n)})),new e(l,c,p)}async _detectClientCertificate(e){var t;const n=/(?-----BEGIN CERTIFICATE-----.*?-----END CERTIFICATE-----)/s,o=/(?-----BEGIN PRIVATE KEY-----.*?-----END PRIVATE KEY-----)/s;if("undefined"!=typeof process&&"true"===(null===(t=null===process||void 0===process?void 0:process.env)||void 0===t?void 0:t.GOOGLE_API_USE_CLIENT_CERTIFICATE)){if((null==e?void 0:e.cert)&&(null==e?void 0:e.key))return[e.cert,e.key];const t=(0,c.join)(l.homedir(),".secureConnect","context_aware_metadata.json"),a=JSON.parse(await async function(e){return new Promise(((t,n)=>{i.readFile(e,"utf8",((e,o)=>{if(e)return n(e);t(o)}))}))}(t));if(!a.cert_provider_command)throw Error("no cert_provider_command found");const s=await async function(e,t){return new Promise(((n,o)=>{(0,r.execFile)(e,t,((e,t)=>{if(e)return o(e);n(t)}))}))}(a.cert_provider_command[0],a.cert_provider_command.slice(1)),p=s.toString().match(n),u=s.toString().match(o);if((null==p?void 0:p.groups)&&(null==u?void 0:u.groups))return[p.groups.cert,u.groups.key];throw Error("unable to parse certificate and key")}return[void 0,void 0]}_mtlsServicePath(e,t,n){var o,r;return t||!e||"undefined"!=typeof process&&"never"===(null===(o=null===process||void 0===process?void 0:process.env)||void 0===o?void 0:o.GOOGLE_API_USE_MTLS_ENDPOINT)?e:"undefined"!=typeof process&&"always"===(null===(r=null===process||void 0===process?void 0:process.env)||void 0===r?void 0:r.GOOGLE_API_USE_MTLS_ENDPOINT)||n?e.replace("googleapis.com","mtls.googleapis.com"):e}static createByteLengthFunction(e){return g.createByteLengthFunction(e)}}t.GrpcClient=v,v.protoCache=new Map;class b extends u.Root{constructor(...e){super(...e)}resolvePath(e,t){if(e=p.normalize(e),t=p.normalize(t),p.isAbsolute(t)){if(!i.existsSync(t))throw new Error("The include `"+t+"` was not found.");return t}return m.indexOf(t)>-1?p.join(f,t):b._findIncludePath(e,t)}static _findIncludePath(e,t){e=p.normalize(e),t=p.normalize(t);let n=e,o=i.existsSync(p.join(n,t));for(;!o&&n.length>0;)n=n.substring(0,n.lastIndexOf(p.sep)),o=i.existsSync(p.join(n,t));if(!o)throw new Error("The include `"+t+"` was not found.");return p.join(n,t)}}t.GoogleProtoFilesRoot=b},55443:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IamClient=void 0;const o=n(21691),r=n(10499),i=n(9302),a=n(86936);let s=n(54357).version;const l=n(87451);t.IamClient=class{constructor(e,t){this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{}},this.innerApiCalls={},this.gaxGrpc=e;const n=Object.assign({servicePath:t.servicePath,port:t.port,clientConfig:t.clientConfig,apiEndpoint:t.apiEndpoint,fallback:t.fallback},t);s=n.fallback?a.version:s,n.scopes=this.constructor.scopes,this._opts=n,this.auth=e.auth;const o=[`gax/${s}`,`gapic/${s}`];"undefined"!=typeof process&&"versions"in process?o.push(`gl-node/${process.versions.node}`):o.push(`gl-web/${s}`),n.fallback||o.push(`grpc/${e.grpcVersion}`),n.libName&&n.libVersion&&o.push(`${n.libName}/${n.libVersion}`),this._protos=this.gaxGrpc.loadProtoJSON(l),this._defaults=e.constructSettings("google.iam.v1.IAMPolicy",i,n.clientConfig||{},{"x-goog-api-client":o.join(" ")}),this.innerApiCalls={}}initialize(){if(this.iamPolicyStub)return this.iamPolicyStub;this.iamPolicyStub=this.gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.iam.v1.IAMPolicy"):this._protos.google.iam.v1.IAMPolicy,this._opts);const e=["getIamPolicy","setIamPolicy","testIamPermissions"];for(const t of e){const e=this.iamPolicyStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e}));this.innerApiCalls[t]=(0,o.createApiCall)(e,this._defaults[t],this.descriptors.page[t])}return this.iamPolicyStub}static get servicePath(){return"cloudkms.googleapis.com"}static get apiEndpoint(){return"cloudkms.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloudkms"]}getProjectId(e){return this.auth&&"getProjectId"in this.auth?this.auth.getProjectId(e):e?void e(new Error("Cannot determine project ID.")):Promise.reject("Cannot determine project ID.")}getIamPolicy(e,t,n){let o;return t instanceof Function&&void 0===n?(n=t,o={}):o=t,e=e||{},o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},o.otherArgs.headers["x-goog-request-params"]=r.fromParams({resource:e.resource}),this.initialize(),this.innerApiCalls.getIamPolicy(e,o,n)}setIamPolicy(e,t,n){let o;return t instanceof Function&&void 0===n?(n=t,o={}):o=t,e=e||{},o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},o.otherArgs.headers["x-goog-request-params"]=r.fromParams({resource:e.resource}),this.initialize(),this.innerApiCalls.setIamPolicy(e,o,n)}testIamPermissions(e,t,n){let o;return t instanceof Function&&void 0===n?(n=t,o={}):o=t,e=e||{},o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},o.otherArgs.headers["x-goog-request-params"]=r.fromParams({resource:e.resource}),this.initialize(),this.innerApiCalls.testIamPermissions(e,o,n)}close(){return this.initialize(),this._terminated?Promise.resolve():this.iamPolicyStub.then((e=>{this._terminated=!0,e.close()}))}}},38845:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializer=t.warn=t.ChannelCredentials=t.fallback=t.protobufMinimal=t.protobuf=t.version=t.createByteLengthFunction=t.LocationsClient=t.IamClient=t.OperationsClient=t.LocationProtos=t.IamProtos=t.operationsProtos=t.lro=t.routingHeader=t.StreamType=t.Status=t.PathTemplate=t.operation=t.Operation=t.GrpcClient=t.GoogleProtoFilesRoot=t.ClientStub=t.GoogleError=t.createMaxRetriesBackoffSettings=t.createDefaultBackoffSettings=t.createBackoffSettings=t.createBundleOptions=t.createRetryOptions=t.RetryOptions=t.constructSettings=t.CallSettings=t.StreamDescriptor=t.PageDescriptor=t.LongrunningDescriptor=t.BundleDescriptor=t.createApiCall=t.OngoingCall=t.grpc=t.GoogleAuth=void 0;const o=n(38268);t.grpc=o;const r=n(88364),i=n(89255);t.IamProtos=i;const a=n(51419);t.LocationProtos=a;const s=n(42268);t.operationsProtos=s;const l=n(65171),c=n(10499);t.routingHeader=c;var p=n(81173);Object.defineProperty(t,"GoogleAuth",{enumerable:!0,get:function(){return p.GoogleAuth}});var u=n(70314);Object.defineProperty(t,"OngoingCall",{enumerable:!0,get:function(){return u.OngoingCall}});var d=n(21691);Object.defineProperty(t,"createApiCall",{enumerable:!0,get:function(){return d.createApiCall}});var g=n(84823);Object.defineProperty(t,"BundleDescriptor",{enumerable:!0,get:function(){return g.BundleDescriptor}}),Object.defineProperty(t,"LongrunningDescriptor",{enumerable:!0,get:function(){return g.LongrunningDescriptor}}),Object.defineProperty(t,"PageDescriptor",{enumerable:!0,get:function(){return g.PageDescriptor}}),Object.defineProperty(t,"StreamDescriptor",{enumerable:!0,get:function(){return g.StreamDescriptor}});var f=n(34085);Object.defineProperty(t,"CallSettings",{enumerable:!0,get:function(){return f.CallSettings}}),Object.defineProperty(t,"constructSettings",{enumerable:!0,get:function(){return f.constructSettings}}),Object.defineProperty(t,"RetryOptions",{enumerable:!0,get:function(){return f.RetryOptions}}),Object.defineProperty(t,"createRetryOptions",{enumerable:!0,get:function(){return f.createRetryOptions}}),Object.defineProperty(t,"createBundleOptions",{enumerable:!0,get:function(){return f.createBundleOptions}}),Object.defineProperty(t,"createBackoffSettings",{enumerable:!0,get:function(){return f.createBackoffSettings}}),Object.defineProperty(t,"createDefaultBackoffSettings",{enumerable:!0,get:function(){return f.createDefaultBackoffSettings}}),Object.defineProperty(t,"createMaxRetriesBackoffSettings",{enumerable:!0,get:function(){return f.createMaxRetriesBackoffSettings}});var h=n(87834);Object.defineProperty(t,"GoogleError",{enumerable:!0,get:function(){return h.GoogleError}});var m=n(88364);Object.defineProperty(t,"ClientStub",{enumerable:!0,get:function(){return m.ClientStub}}),Object.defineProperty(t,"GoogleProtoFilesRoot",{enumerable:!0,get:function(){return m.GoogleProtoFilesRoot}}),Object.defineProperty(t,"GrpcClient",{enumerable:!0,get:function(){return m.GrpcClient}});var y=n(87091);Object.defineProperty(t,"Operation",{enumerable:!0,get:function(){return y.Operation}}),Object.defineProperty(t,"operation",{enumerable:!0,get:function(){return y.operation}});var v=n(6318);Object.defineProperty(t,"PathTemplate",{enumerable:!0,get:function(){return v.PathTemplate}});var b=n(59751);Object.defineProperty(t,"Status",{enumerable:!0,get:function(){return b.Status}});var O=n(80707);function w(e){e=Object.assign({scopes:w.ALL_SCOPES},e);const t=new r.GrpcClient(e);return new l.OperationsClientBuilder(t)}Object.defineProperty(t,"StreamType",{enumerable:!0,get:function(){return O.StreamType}}),t.lro=w,w.SERVICE_ADDRESS=l.SERVICE_ADDRESS,w.ALL_SCOPES=l.ALL_SCOPES;var P=n(65171);Object.defineProperty(t,"OperationsClient",{enumerable:!0,get:function(){return P.OperationsClient}});var x=n(55443);Object.defineProperty(t,"IamClient",{enumerable:!0,get:function(){return x.IamClient}});var S=n(36397);Object.defineProperty(t,"LocationsClient",{enumerable:!0,get:function(){return S.LocationsClient}}),t.createByteLengthFunction=r.GrpcClient.createByteLengthFunction,t.version=n(54357).version;const T=n(1747);t.protobuf=T,t.protobufMinimal=n(1740);const A=n(86936);t.fallback=A;var E=n(38268);Object.defineProperty(t,"ChannelCredentials",{enumerable:!0,get:function(){return E.ChannelCredentials}});var j=n(85059);Object.defineProperty(t,"warn",{enumerable:!0,get:function(){return j.warn}});const k=n(95218);t.serializer=k},36397:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocationsClient=void 0;const o=n(34085),r=n(85059),i=n(21691),a=n(10499),s=n(17792),l=n(98676),c=n(93661),p=n(54357).version;t.LocationsClient=class{constructor(e,t){var n,o;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}},this.gaxGrpc=e;const i=this.constructor,a=(null==t?void 0:t.servicePath)||(null==t?void 0:t.apiEndpoint)||i.servicePath;this._providedCustomServicePath=!(!(null==t?void 0:t.servicePath)&&!(null==t?void 0:t.apiEndpoint));const u=(null==t?void 0:t.port)||i.port,d=null!==(n=null==t?void 0:t.clientConfig)&&void 0!==n?n:{},g=null!==(o=null==t?void 0:t.fallback)&&void 0!==o?o:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);t=Object.assign({servicePath:a,port:u,clientConfig:d,fallback:g},t),a===i.servicePath||"scopes"in t||(t.scopes=i.scopes),this._opts=t,this.auth=e.auth,a===i.servicePath&&(this.auth.defaultScopes=i.scopes);const f=[`gax/${p}`,`gapic/${p}`];"undefined"!=typeof process&&"versions"in process?f.push(`gl-node/${process.versions.node}`):f.push(`gl-web/${p}`),t.fallback?"rest"===t.fallback&&f.push(`rest/${e.grpcVersion}`):f.push(`grpc/${e.grpcVersion}`),t.libName&&t.libVersion&&f.push(`${t.libName}/${t.libVersion}`),this._protos=e.loadProtoJSON(l),this.descriptors.page={listLocations:new s.PageDescriptor("pageToken","nextPageToken","locations")},this._defaults=e.constructSettings("google.cloud.location.Locations",c,t.clientConfig||{},{"x-goog-api-client":f.join(" ")}),this.innerApiCalls={},this.warn=r.warn}initialize(){if(this.locationsStub)return this.locationsStub;this.locationsStub=this.gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.location.Locations"):this._protos.google.cloud.location.Locations,this._opts,this._providedCustomServicePath);const e=["listLocations","getLocation"];for(const t of e){const e=this.locationsStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=this.descriptors.page[t]||void 0,o=(0,i.createApiCall)(e,this._defaults[t],n);this.innerApiCalls[t]=o}return this.locationsStub}static get servicePath(){return"cloud.googleapis.com"}static get apiEndpoint(){return"cloud.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}getLocation(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},o.otherArgs.headers["x-goog-request-params"]=a.fromParams({name:e.name||""}),this.initialize(),this.innerApiCalls.getLocation(e,o,n)}listLocations(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},o.otherArgs.headers["x-goog-request-params"]=a.fromParams({name:e.name||""}),this.initialize(),this.innerApiCalls.listLocations(e,o,n)}listLocationsAsync(e,t){e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=a.fromParams({name:e.name||""}),t=t||{};const n=new o.CallSettings(t);return this.initialize(),this.descriptors.page.listLocations.asyncIterate(this.innerApiCalls.listLocations,e,n)}close(){return this.initialize(),this._terminated?Promise.resolve():this.locationsStub.then((e=>{this._terminated=!0,e.close()}))}}},63844:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LongrunningApiCaller=void 0;const o=n(70314),r=n(34085),i=n(87091);t.LongrunningApiCaller=class{constructor(e){this.longrunningDescriptor=e}init(e){return e?new o.OngoingCall(e):new o.OngoingCallPromise}wrap(e){return e}call(e,t,n,o){o.call(((t,o)=>this._wrapOperation(e,n,t,o)),t)}_wrapOperation(e,t,n,o){let a=t.longrunning;a||(a=(0,r.createDefaultBackoffSettings)());const s=this.longrunningDescriptor;return e(n,((e,n)=>{if(e)return void o(e,null,null,n);const r=new i.Operation(n,s,a,t);o(null,r,n)}))}fail(e,t){e.callback(t)}result(e){return e.promise}}},63186:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LongRunningDescriptor=void 0;const o=n(63844);t.LongRunningDescriptor=class{constructor(e,t,n){this.operationsClient=e,this.responseDecoder=t,this.metadataDecoder=n}getApiCaller(){return new o.LongrunningApiCaller(this)}}},87091:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.operation=t.Operation=void 0;const o=n(82361),r=n(59751),i=n(87834),a=n(42268);class s extends o.EventEmitter{constructor(e,t,n,o){super(),this.completeListeners=0,this.hasActiveListeners=!1,this.latestResponse=e,this.name=this.latestResponse.name,this.done=this.latestResponse.done,this.error=this.latestResponse.error,this.longrunningDescriptor=t,this.result=null,this.metadata=null,this.backoffSettings=n,this._unpackResponse(e),this._listenForEvents(),this._callOptions=o}_listenForEvents(){this.on("newListener",(e=>{"complete"===e&&(this.completeListeners++,this.hasActiveListeners||(this.hasActiveListeners=!0,this.startPolling_()))})),this.on("removeListener",(e=>{"complete"===e&&0==--this.completeListeners&&(this.hasActiveListeners=!1)}))}cancel(){this.currentCallPromise_&&this.currentCallPromise_.cancel();const e=this.longrunningDescriptor.operationsClient,t=new a.google.longrunning.CancelOperationRequest;return t.name=this.latestResponse.name,e.cancelOperation(t)}getOperation(e){const t=this,n=this.longrunningDescriptor.operationsClient;function o(){if(!e)return new Promise(((e,n)=>{if(t.latestResponse.error){const e=new i.GoogleError(t.latestResponse.error.message);e.code=t.latestResponse.error.code,n(e)}else e([t.result,t.metadata,t.latestResponse])}))}if(this.latestResponse.done)return this._unpackResponse(this.latestResponse,e),o();const r=new a.google.longrunning.GetOperationRequest;r.name=this.latestResponse.name,this.currentCallPromise_=n.getOperationInternal(r,this._callOptions);const s=this.currentCallPromise_.then((n=>(t.latestResponse=n[0],t._unpackResponse(n[0],e),o())),(t=>{if(!e)return Promise.reject(t);e(t)}));return e?void 0:s}_unpackResponse(e,t){const n=this.longrunningDescriptor.responseDecoder,o=this.longrunningDescriptor.metadataDecoder;let r,a;if(e.done){if("error"===e.result){const n=new i.GoogleError(e.error.message);return n.code=e.error.code,this.error=n,void(t&&t(n))}n&&e.response&&(this.response=e.response,r=n(e.response.value),this.result=r,this.done=!0)}o&&e.metadata&&(a=o(e.metadata.value),this.metadata=a),t&&t(null,r,a,e)}startPolling_(){const e=this;let t=new Date;const n=this.backoffSettings.retryDelayMultiplier,o=this.backoffSettings.maxRetryDelayMillis;let a,s=this.backoffSettings.initialRetryDelayMillis,l=1/0;function c(t,...n){e.emit(t,...n)}this.backoffSettings.totalTimeoutMillis&&(l=t.getTime()+this.backoffSettings.totalTimeoutMillis),this.latestResponse.metadata&&(a=this.latestResponse.metadata.value),function p(){if(e.hasActiveListeners){if(t.getTime()>=l){const e=new i.GoogleError("Total timeout exceeded before any response was received");return e.code=r.Status.DEADLINE_EXCEEDED,void setImmediate(c,"error",e)}e.getOperation(((e,r,i,l)=>{if(!e)return r?void setImmediate(c,"complete",r,i,l):(l.metadata&&(!a||l&&!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(let n=0;n{t=new Date,s=Math.min(s*n,o),p()}),s));setImmediate(c,"error",e)}))}}()}promise(){return new Promise(((e,t)=>{this.on("error",t).on("complete",((t,n,o)=>{e([t,n,o])}))}))}}t.Operation=s,t.operation=function(e,t,n,o){return new s(e,t,n,o)}},45435:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NormalApiCaller=void 0;const o=n(70314);t.NormalApiCaller=class{init(e){return e?new o.OngoingCall(e):new o.OngoingCallPromise}wrap(e){return e}call(e,t,n,o){o.call(e,t)}fail(e,t){e.callback(t)}result(e){return e.promise}}},24876:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retryable=void 0;const o=n(59751),r=n(87834),i=n(43267);t.retryable=function(e,t,n,a){const s=t.backoffSettings.retryDelayMultiplier,l=t.backoffSettings.maxRetryDelayMillis,c=t.backoffSettings.rpcTimeoutMultiplier,p=t.backoffSettings.maxRpcTimeoutMillis;let u=t.backoffSettings.initialRetryDelayMillis,d=t.backoffSettings.initialRpcTimeoutMillis;return(g,f)=>{let h,m,y,v=new Date;t.backoffSettings.totalTimeoutMillis&&(y=v.getTime()+t.backoffSettings.totalTimeoutMillis);let b=0;const O=t.backoffSettings.maxRetries;if(O&&y){const e=new r.GoogleError("Cannot set both totalTimeoutMillis and maxRetries in backoffSettings.");e.code=o.Status.INVALID_ARGUMENT,f(e)}else!function w(){if(m=null,y&&v.getTime()>=y){const e=new r.GoogleError(`Total timeout of API ${a} exceeded ${t.backoffSettings.totalTimeoutMillis} milliseconds before any response was received.`);return e.code=o.Status.DEADLINE_EXCEEDED,void f(e)}if(b&&b>=O){const e=new r.GoogleError("Exceeded maximum number of retries before any response was received");return e.code=o.Status.DEADLINE_EXCEEDED,void f(e)}b++;const P=(0,i.addTimeoutArg)(e,d,n);h=P(g,((e,n,o,r)=>{if(e)if(h=null,t.retryCodes.indexOf(e.code)<0)e.note="Exception occurred in retry method that was not classified as transient",f(e);else{const e=Math.random()*u;m=setTimeout((()=>{v=new Date,u=Math.min(u*s,l);const e=d&&c?d*c:0,t=p||0,n=y?y-v.getTime():0;d=Math.min(e,t,n),w()}),e)}else f(null,n,o,r)})),h instanceof Promise&&h.catch((e=>{f(new r.GoogleError(e))}))}();return{cancel(){if(m&&clearTimeout(m),h)h.cancel();else{const e=new r.GoogleError("cancelled");e.code=o.Status.CANCELLED,f(e)}}}}}},43267:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTimeoutArg=void 0,t.addTimeoutArg=function(e,t,n,o){return(r,i)=>{const a=new Date,s=n.options||{};s.deadline=new Date(a.getTime()+t);const l=n.metadataBuilder?n.metadataBuilder(o,n.headers||{}):null;return e(r,l,s,i)}}},65171:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OperationsClientBuilder=t.OperationsClient=t.ALL_SCOPES=t.SERVICE_ADDRESS=void 0;const o=n(21691),r=n(84823),i=n(34085),a=n(91739),s=n(37756),l=n(66055);t.SERVICE_ADDRESS="longrunning.googleapis.com";const c=n(54357).version;t.ALL_SCOPES=[];class p{constructor(e,n,i){const s=Object.assign({servicePath:t.SERVICE_ADDRESS,port:443,clientConfig:{}},i),l=["gl-node/"+process.versions.node];s.libName&&s.libVersion&&l.push(s.libName+"/"+s.libVersion),l.push("gapic/0.7.1","gax/"+c),s.fallback?l.push("gl-web/"+c):l.push("grpc/"+e.grpcVersion);const p=e.constructSettings("google.longrunning.Operations",a,s.clientConfig||{},{"x-goog-api-client":l.join(" ")});this.auth=e.auth,this.innerApiCalls={},this.descriptor={listOperations:new r.PageDescriptor("pageToken","nextPageToken","operations")},this.operationsStub=e.createStub(s.fallback?n.lookupService("google.longrunning.Operations"):n.google.longrunning.Operations,s);const u=["getOperation","listOperations","cancelOperation","deleteOperation"];for(const e of u){const t=this.operationsStub.then((t=>(...n)=>t[e].apply(t,n)),(e=>()=>{throw e}));this.innerApiCalls[e]=(0,o.createApiCall)(t,p[e],this.descriptor[e])}}close(){this.operationsStub.then((e=>e.close()))}getProjectId(e){return this.auth&&"getProjectId"in this.auth?this.auth.getProjectId(e):e?void e(new Error("Cannot determine project ID.")):Promise.reject("Cannot determine project ID.")}getOperationInternal(e,t,n){return e=e||{},t=t||{},this.innerApiCalls.getOperation(e,t,n)}getOperation(e,t,n){let o;return t instanceof Function&&void 0===n?(n=t,o={}):o=t,e=e||{},o=o||{},this.innerApiCalls.getOperation(e,o,n)}listOperations(e,t,n){let o;return t instanceof Function&&void 0===n?(n=t,o={}):o=t,e=e||{},o=o||{},this.innerApiCalls.listOperations(e,o,n)}listOperationsStream(e,t){const n=new i.CallSettings(t);return this.descriptor.listOperations.createStream(this.innerApiCalls.listOperations,e,n)}listOperationsAsync(e,t){e=e||{},t=t||{};const n=new i.CallSettings(t);return this.descriptor.listOperations.asyncIterate(this.innerApiCalls.listOperations,e,n)}cancelOperation(e,t,n){let o;return t instanceof Function&&void 0===n?(n=t,o={}):o=t,e=e||{},o=o||{},this.innerApiCalls.cancelOperation(e,o,n)}deleteOperation(e,t,n){let o;return t instanceof Function&&void 0===n?(n=t,o={}):o=t,e=e||{},o=o||{},this.innerApiCalls.deleteOperation(e,o,n)}}t.OperationsClient=p,t.OperationsClientBuilder=class{constructor(e,t){t&&e.httpRules&&(0,l.overrideHttpRules)(e.httpRules,t);const n=null!=t?t:e.loadProtoJSON(s);this.operationsClient=t=>(e.fallback&&(t.fallback=e.fallback),new p(e,n,t)),Object.assign(this.operationsClient,p)}}},17792:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageDescriptor=void 0;const o=n(40408),r=n(12781),i=n(45435),a=n(41629);t.PageDescriptor=class{constructor(e,t,n){this.requestPageTokenField=e,this.responsePageTokenField=t,this.resourceField=n}createStream(e,t,n){const i=new r.PassThrough({objectMode:!0}),a="maxResults"in(n=Object.assign({},n,{autoPaginate:!1}))?n.maxResults:-1;let s=0,l=!1;function c(r,p,u,d){if(r)i.emit("error",r);else{i.emit("response",d);for(let e=0;e{l||(l=!0,e(t,n,c))})),i}asyncIterate(e,t,n){return n=Object.assign({},n,{autoPaginate:!1}),this.createIterator(e,t,n)}createIterator(e,t,n){return{[Symbol.asyncIterator](){let o=t;const r=[];return{async next(){if(r.length>0)return Promise.resolve({done:!1,value:r.shift()});let t=0;for(;0===r.length&&o;){let i;if([i,o]=await e(o,n),i&&!Array.isArray(i))for(const[e,t]of Object.entries(i))r.push([e,t]);else r.push(...i);if(0===r.length&&(++t,t>10))break}return 0===r.length?Promise.resolve({done:!0,value:void 0}):Promise.resolve({done:!1,value:r.shift()})}}}}}getApiCaller(e){return e.autoPaginate?new a.PagedApiCaller(this):new i.NormalApiCaller}}},41629:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PagedApiCaller=void 0;const o=n(70314),r=n(87834),i=n(24384);t.PagedApiCaller=class{constructor(e){this.pageDescriptor=e}generateParseResponseCallback(e,t){const n=this.pageDescriptor.resourceField,o=this.pageDescriptor.responsePageTokenField,i=this.pageDescriptor.requestPageTokenField;return(a,s)=>{if(a)return void t(a);if(!e)return void t(new r.GoogleError("Undefined request in pagination method callback."));if(!s)return void t(new r.GoogleError("Undefined response in pagination method callback."));const l=s[n]||[],c=s[o];let p=null;c&&(p=Object.assign({},e),p[i]=c),t(a,l,p,s)}}wrap(e){const t=this;return function(n,o,r,i){return e(n,o,r,t.generateParseResponseCallback(n,i))}}init(e){return e?new o.OngoingCall(e):new o.OngoingCallPromise}call(e,t,n,o){if(t=Object.assign({},t),!n.autoPaginate)return void o.call(e,t);const r=n.maxResults||-1;new i.ResourceCollector(e,r).processAllPages(t).then((e=>o.callback(null,e)),(e=>o.callback(e)))}fail(e,t){e.callback(t)}result(e){return e.promise}}},24384:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResourceCollector=void 0,t.ResourceCollector=class{constructor(e,t=-1){this.apiCall=e,this.resources=[],this.maxResults=t}callback(e,t,n){if(e)this.rejectCallback(e);else{for(const e of t)if(this.resources.push(e),this.resources.length===this.maxResults){n=null;break}n?setImmediate(this.apiCall,n,((...e)=>this.callback(...e))):this.resolveCallback(this.resources)}}processAllPages(e){return new Promise(((t,n)=>{this.resolveCallback=t,this.rejectCallback=n,setImmediate(this.apiCall,e,((...e)=>this.callback(...e)))}))}}},6318:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PathTemplate=void 0,t.PathTemplate=class{constructor(e){this.bindings={},this.data=e,this.segments=this.parsePathTemplate(e),this.size=this.segments.length}match(e){let t=e.split("/");const n={};if(t.length!==this.segments.length){if(!this.data.includes("**"))throw new TypeError(`This path ${e} does not match path template ${this.data}, the number of parameters is not same.`);if(t.length!==this.segments.length+1)throw new TypeError(`This path ${e} does not match path template ${this.data}, the number of parameters is not same with one wildcard.`)}for(let e=0;e0;e++)if(this.segments[e]!==t[0]){if(!this.segments[e].includes("*"))throw new TypeError(`segment does not match, ${this.segments[e]} and ${t[e]}.`);{let o=this.segments[e];const r=o.match(/\{[$0-9a-zA-Z_]+=.*?\}/g);if(!r)throw new Error(`Error processing path template segment ${o}`);const i=r.map((e=>e.replace(/^\{/,"").replace(/=.*/,"")));if(o.includes("**"))n[i[0]]=t[0]+"/"+t[1],t=t.slice(2);else{if(1===i.length)n[i[0]]=t[0];else{const r=t[0].split(/[-_.~]/);if(r.length!==i.length)throw new Error(`segment ${o} does not match ${t[0]}`);for(const e of i)n[e]=r[0],o=o.replace(`{${e}=*}`,`${r[0]}`),r.shift();if(o!==t[0])throw new TypeError(`non slash resource pattern ${this.segments[e]} and ${t[0]} should have same separator`)}t.shift()}}}else t.shift();return n}render(e){if(Object.keys(e).length!==Object.keys(this.bindings).length)throw new TypeError(`The number of variables ${Object.keys(e).length} does not match the number of needed variables ${Object.keys(this.bindings).length}`);let t=this.inspect();for(const n of Object.keys(e)){const o=e[n].toString();if(!this.bindings[n])throw new TypeError(`render fails for not matching ${e[n]}`);const r=this.bindings[n];if("*"===r){if(!o.match(/[^/{}]+/))throw new TypeError(`render fails for not matching ${o}`);t=t.replace(`{${n}=*}`,`${o}`)}else if("**"===r){if(!o.match(/[^{}]+/))throw new TypeError(`render fails for not matching ${o}`);t=t.replace(`{${n}=**}`,`${o}`)}}return t}inspect(){return this.segments.join("/")}parsePathTemplate(e){const t=function(e){let t=0,n=0,o=0;const r=[];for(;n>=t&&n{if("*"===e||"**"===e)this.bindings[`$${n}`]=e,r.push(`{$${n}=${e}}`),n+=1,"**"===e&&++o;else if(i=e.match(/\{[0-9a-zA-Z-.~_]+(?:=.*?)?\}/g)){for(const t of i){const n=t.match(/^\{([0-9a-zA-Z-.~_]+)(?:=(.*?))?\}$/);if(!n)throw new Error(`Cannot process path template segment ${t}`);const r=n[1];let i=n[2];i?"*"===i?this.bindings[r]=i:"**"===i&&(++o,this.bindings[r]=i):(i="*",e=e.replace(r,r+"=*"),this.bindings[r]=i)}r.push(e)}else e.match(/[0-9a-zA-Z-.~_]+/)&&r.push(e)})),o>1)throw new TypeError("Can not have more than one wildcard.");return r}}},10499:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromParams=void 0;const o=n(63477);t.fromParams=function(e){return o.stringify(e)}},59751:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.rpcCodeFromHttpStatusCode=t.HttpCodeToRpcCodeMap=t.Status=void 0,function(e){e[e.OK=0]="OK",e[e.CANCELLED=1]="CANCELLED",e[e.UNKNOWN=2]="UNKNOWN",e[e.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",e[e.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",e[e.NOT_FOUND=5]="NOT_FOUND",e[e.ALREADY_EXISTS=6]="ALREADY_EXISTS",e[e.PERMISSION_DENIED=7]="PERMISSION_DENIED",e[e.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",e[e.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",e[e.ABORTED=10]="ABORTED",e[e.OUT_OF_RANGE=11]="OUT_OF_RANGE",e[e.UNIMPLEMENTED=12]="UNIMPLEMENTED",e[e.INTERNAL=13]="INTERNAL",e[e.UNAVAILABLE=14]="UNAVAILABLE",e[e.DATA_LOSS=15]="DATA_LOSS",e[e.UNAUTHENTICATED=16]="UNAUTHENTICATED"}(n=t.Status||(t.Status={})),t.HttpCodeToRpcCodeMap=new Map([[400,n.INVALID_ARGUMENT],[401,n.UNAUTHENTICATED],[403,n.PERMISSION_DENIED],[404,n.NOT_FOUND],[409,n.ABORTED],[416,n.OUT_OF_RANGE],[429,n.RESOURCE_EXHAUSTED],[499,n.CANCELLED],[501,n.UNIMPLEMENTED],[503,n.UNAVAILABLE],[504,n.DEADLINE_EXCEEDED]]),t.rpcCodeFromHttpStatusCode=function(e){return t.HttpCodeToRpcCodeMap.has(e)?t.HttpCodeToRpcCodeMap.get(e):e>=200&&e<300?n.OK:e>=400&&e<500?n.FAILED_PRECONDITION:e>=500&&e<600?n.INTERNAL:n.UNKNOWN}},34560:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreamArrayParser=void 0;const o=n(3209),r=n(12781),i=n(61723),a=n(84221);class s extends r.Transform{constructor(e,t){super(Object.assign({},t,{readableObjectMode:!0})),this._done=!1,this._prevBlock=Buffer.from(""),this._isInString=!1,this._isSkipped=!1,this._level=0,this.rpc=e,this.cancelController=(0,a.hasAbortController)()?new AbortController:new o.AbortController,this.cancelSignal=this.cancelController.signal,this.cancelRequested=!1}_transform(e,t,n){let o=0,r=0;for(0===this._level&&0===r&&("["!==String.fromCharCode(e[0])&&this.emit("error",new Error(`Internal Error: API service stream data must start with a '[' and close with the corresponding ']', but it start with ${String.fromCharCode(e[0])}`)),r++,this._level++);r1&&(this._prevBlock=Buffer.concat([this._prevBlock,e.slice(o,r)])),n()}_flush(e){e()}cancel(){this._done=!0,this.cancelRequested=!0,this.cancelController.abort(),this.end()}}t.StreamArrayParser=s},34747:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreamDescriptor=void 0;const o=n(4650);t.StreamDescriptor=class{constructor(e,t){this.type=e,this.streaming=!0,this.rest=t}getApiCaller(e){return e.retry=null,new o.StreamingApiCaller(this)}}},80707:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreamProxy=t.StreamType=void 0;const o=n(87834),r=n(29266),i=n(50129);var a;!function(e){e[e.SERVER_STREAMING=1]="SERVER_STREAMING",e[e.CLIENT_STREAMING=2]="CLIENT_STREAMING",e[e.BIDI_STREAMING=3]="BIDI_STREAMING"}(a=t.StreamType||(t.StreamType={})),t.StreamProxy=class extends r{constructor(e,t,n){super(void 0,void 0,{objectMode:!0,readable:e!==a.CLIENT_STREAMING,writable:e!==a.SERVER_STREAMING}),this.type=e,this._callback=t,this._isCancelCalled=!1,this._responseHasSent=!1,this.rest=n}cancel(){this.stream?this.stream.cancel():this._isCancelCalled=!0}forwardEvents(e){["metadata","response","status"].forEach((t=>{e.on(t,this.emit.bind(this,t))})),e.on("status",(()=>{this._responseHasSent||e.emit("response",{code:200,details:"",message:"OK"})})),e.on("metadata",(t=>{e.emit("response",{code:200,details:"",message:"OK",metadata:t}),this._responseHasSent=!0})),e.on("error",(e=>{o.GoogleError.parseGRPCStatusDetails(e)}))}setStream(e,t,n={}){if(this.type===a.SERVER_STREAMING){if(this.rest){const n=e(t,this._callback);this.stream=n,this.setReadable(n)}else{const o=i(null,{objectMode:!0,request:()=>{if(this._isCancelCalled)return void(this.stream&&this.stream.cancel());const n=e(t,this._callback);return this.stream=n,this.forwardEvents(n),n},retries:n.retries,currentRetryAttempt:n.currentRetryAttempt,noResponseRetries:n.noResponseRetries,shouldRetryFn:n.shouldRetryFn});this.setReadable(o)}return}const o=e(t,this._callback);this.stream=o,this.forwardEvents(o),this.type===a.CLIENT_STREAMING&&this.setWritable(o),this.type===a.BIDI_STREAMING&&(this.setReadable(o),this.setWritable(o)),this._isCancelCalled&&this.stream&&this.stream.cancel()}}},4650:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreamingApiCaller=void 0;const o=n(85059),r=n(80707);t.StreamingApiCaller=class{constructor(e){this.descriptor=e}init(e){return new r.StreamProxy(this.descriptor.type,e,this.descriptor.rest)}wrap(e){switch(this.descriptor.type){case r.StreamType.SERVER_STREAMING:return(t,n,o)=>e(t,n,o);case r.StreamType.CLIENT_STREAMING:return(t,n,o,r)=>e(n,o,r);case r.StreamType.BIDI_STREAMING:return(t,n,o)=>e(n,o);default:(0,o.warn)("streaming_wrap_unknown_stream_type",`Unknown stream type: ${this.descriptor.type}`)}return e}call(e,t,n,o){o.setStream(e,t,n.retryRequestOptions)}fail(e,t){e.emit("error",t)}result(e){return e}}},66055:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.overrideHttpRules=t.transcode=t.isProto3OptionalField=t.flattenObject=t.match=t.applyPattern=t.encodeWithoutSlashes=t.encodeWithSlashes=t.buildQueryStringComponents=t.deleteField=t.deepCopyWithoutMatchedFields=t.getField=void 0;const o=n(6668),r="(google.api.http)",i=["get","post","put","patch","delete"];function a(e,t,n=!1){const o=t.split(".");let r=e;for(const e of o){if("object"!=typeof r)return;r=r[e]}if(n||"object"!=typeof r||Array.isArray(r)||null===r)return r}function s(e,t,n=""){if("object"!=typeof e||null===e)return e;const o=Object.assign({},e);for(const e in o){if(t.has(`${n}${e}`)){delete o[e];continue}const r=`${n}${e}.`;Array.isArray(o[e])?o[e]=o[e].map((e=>s(e,new Set))):"object"==typeof o[e]&&null!==o[e]&&(o[e]=s(o[e],t,r))}return o}function l(e,t){const n=t.split(".");for(;n.length>1;){if("object"!=typeof e)return;e=e[n.shift()]}const o=n.shift();"object"==typeof e&&delete e[o]}function c(e,t=""){const n=[];for(const o in e)if(Array.isArray(e[o]))for(const r of e[o])n.push(`${t}${u(o)}=${u(r.toString())}`);else"object"==typeof e[o]&&null!==e[o]?n.push(...c(e[o],`${o}.`)):n.push(`${t}${u(o)}=${u(null===e[o]?"null":e[o].toString())}`);return n}function p(e){return e.split("").map((e=>e.match(/[-_.~0-9a-zA-Z]/)?e:encodeURIComponent(e))).join("")}function u(e){return e.split("").map((e=>e.match(/[-_.~0-9a-zA-Z/]/)?e:encodeURIComponent(e))).join("")}function d(e,t){if(!e||"*"===e)return p(t);if(!e.includes("*")&&e!==t)return;const n=new RegExp("^"+(o=e,o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).replace(/\\\*\\\*/g,"(.+)").replace(/\\\*/g,"([^/]+)")+"$");var o;return t.match(n)?u(t):void 0}function g(e){return e.split(".").map((e=>(0,o.toCamelCase)(e))).join(".")}function f(e,t){let n=t;const o=[];for(;;){const t=n.match(/^(.*)\{([^}=]+)(?:=([^}]*))?\}(.*)/);if(!t)break;const[,r,i,s,l]=t,c=g(i);o.push(g(c));const p=a(e,c);if(void 0===p)return;const u=d(s,null===p?"null":p.toString());if(void 0===u)return;n=r+u+l}return{matchedFields:o,url:n}}t.getField=a,t.deepCopyWithoutMatchedFields=s,t.deleteField=l,t.buildQueryStringComponents=c,t.encodeWithSlashes=p,t.encodeWithoutSlashes=u,t.applyPattern=d,t.match=f,t.flattenObject=function e(t){const n={};for(const o in t)if(void 0!==t[o])if(Array.isArray(t[o]))n[o]=t[o];else if("object"!=typeof t[o]||null===t[o])n[o]=t[o];else{const r=e(t[o]);for(const e in r)n[`${o}.${e}`]=r[e]}return n},t.isProto3OptionalField=function(e){return e&&e.options&&e.options.proto3_optional},t.transcode=function(e,t){const n=[];for(const e of t){if(!(r in e))continue;const t=e[r];if(n.push(t),null==t?void 0:t.additional_bindings){const e=Array.isArray(t.additional_bindings)?t.additional_bindings:[t.additional_bindings];n.push(...e)}}for(const t of n)for(const n of i){if(!(n in t))continue;const o=f(e,t[n]);if(void 0===o)continue;const{url:r,matchedFields:i}=o;let p=s(e,new Set(i));if("*"===t.body)return{httpMethod:n,url:r,queryString:"",data:p};const u=p;t.body?(p=a(u,g(t.body),!0),l(u,g(t.body))):p="";const d=c(u).join("&");return(!p||"object"==typeof p&&0===Object.keys(p).length)&&(p=""),{httpMethod:n,url:r,queryString:d,data:p}}},t.overrideHttpRules=function(e,t){for(const n of e){if(!n.selector)continue;const e=t.lookup(n.selector);if(e&&e.parsedOptions)for(const t of e.parsedOptions){if(!(r in t))continue;const e=t[r];for(const t in e){if(t in n){if("additional_bindings"===t)continue;e[t]=n[t]}n.additional_bindings&&(e.additional_bindings=e.additional_bindings?Array.isArray(e.additional_bindings)?e.additional_bindings:[e.additional_bindings]:[],e.additional_bindings.push(...n.additional_bindings))}}}}},6668:(e,t)=>{"use strict";function n(e,t=!1){return t&&(e=e.replace(/([A-Z])([A-Z]+)([A-Z])/g,(e=>e[0]+e.slice(1,e.length-1).toLowerCase()+e[e.length-1]))),e.split(/(?=[A-Z])|[^A-Za-z0-9.]+/).filter((e=>e.length>0)).map(((e,t)=>0===t?e:e.toLowerCase()))}function o(e){return 0===e.length?e:e[0].toLowerCase()+e.slice(1)}function r(e){const t=n(e,!0);if(0===t.length)return e;const o=[t[0]];return o.push(...t.slice(1).map((e=>e.match(/^\d+$/)?"_"+e:function(e){return 0===e.length?e:e[0].toUpperCase()+e.slice(1)}(e)))),o.join("")}Object.defineProperty(t,"__esModule",{value:!0}),t.toLowerCamelCase=t.toCamelCase=t.camelToSnakeCase=void 0,t.camelToSnakeCase=function(e){const t=n(e);if(0===t.length)return e;const r=[t[0]];return r.push(...t.slice(1).map(o)),r.join("_")},t.toCamelCase=r,t.toLowerCamelCase=function(e){const t=r(e);return 0===t.length?t:t[0].toLowerCase()+t.slice(1)}},85059:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.warn=void 0;const o=n(84221),r=new Set;t.warn=function(e,t,n){r.has(e)||(r.add(e),(0,o.isNodeJS)()?void 0!==n?process.emitWarning(t,{type:n}):process.emitWarning(t):console.warn(t))}},52638:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPem=void 0;const o=n(57147),r=n(3417),i=(0,n(73837).promisify)(o.readFile);function a(e){return i(e,{encoding:"base64"}).then((e=>function(e){const t=r.util.decode64(e),n=r.asn1.fromDer(t),o=r.pkcs12.pkcs12FromAsn1(n,"notasecret").getBags({friendlyName:"privatekey"});if(o.friendlyName){const e=o.friendlyName[0].key;return r.pki.privateKeyToPem(e).replace(/\r\n/g,"\n")}throw new Error("Unable to get friendly name.")}(e)))}t.getPem=function(e,t){if(!t)return a(e);a(e).then((e=>t(null,e))).catch((e=>t(e,null)))}},67494:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleToken=void 0;const o=n(57147),r=n(3830),i=n(36291),a=n(71017),s=n(73837),l=o.readFile?(0,s.promisify)(o.readFile):async()=>{throw new p("use key rather than keyFile.","MISSING_CREDENTIALS")},c="https://www.googleapis.com/oauth2/v4/token";class p extends Error{constructor(e,t){super(e),this.code=t}}let u;t.GoogleToken=class{constructor(e){this.transporter={request:e=>(0,r.request)(e)},this.configure(e)}get accessToken(){return this.rawToken?this.rawToken.access_token:void 0}get idToken(){return this.rawToken?this.rawToken.id_token:void 0}get tokenType(){return this.rawToken?this.rawToken.token_type:void 0}get refreshToken(){return this.rawToken?this.rawToken.refresh_token:void 0}hasExpired(){const e=(new Date).getTime();return!this.rawToken||!this.expiresAt||e>=this.expiresAt}isTokenExpiring(){var e;const t=(new Date).getTime(),n=null!==(e=this.eagerRefreshThresholdMillis)&&void 0!==e?e:0;return!this.rawToken||!this.expiresAt||this.expiresAt<=t+n}getToken(e,t={}){if("object"==typeof e&&(t=e,e=void 0),t=Object.assign({forceRefresh:!1},t),!e)return this.getTokenAsync(t);{const n=e;this.getTokenAsync(t).then((e=>n(null,e)),e)}}async getCredentials(e){switch(a.extname(e)){case".json":{const t=await l(e,"utf8"),n=JSON.parse(t),o=n.private_key,r=n.client_email;if(!o||!r)throw new p("private_key and client_email are required.","MISSING_CREDENTIALS");return{privateKey:o,clientEmail:r}}case".der":case".crt":case".pem":return{privateKey:await l(e,"utf8")};case".p12":case".pfx":return u||(u=(await Promise.resolve().then((()=>n(52638)))).getPem),{privateKey:await u(e)};default:throw new p("Unknown certificate type. Type is determined based on file extension. Current supported extensions are *.json, *.pem, and *.p12.","UNKNOWN_CERTIFICATE_TYPE")}}async getTokenAsync(e){if(this.inFlightRequest&&!e.forceRefresh)return this.inFlightRequest;try{return await(this.inFlightRequest=this.getTokenAsyncInner(e))}finally{this.inFlightRequest=void 0}}async getTokenAsyncInner(e){if(!1===this.isTokenExpiring()&&!1===e.forceRefresh)return Promise.resolve(this.rawToken);if(!this.key&&!this.keyFile)throw new Error("No key or keyFile set.");if(!this.key&&this.keyFile){const e=await this.getCredentials(this.keyFile);this.key=e.privateKey,this.iss=e.clientEmail||this.iss,e.clientEmail||this.ensureEmail()}return this.requestToken()}ensureEmail(){if(!this.iss)throw new p("email is required.","MISSING_CREDENTIALS")}revokeToken(e){if(!e)return this.revokeTokenAsync();this.revokeTokenAsync().then((()=>e()),e)}async revokeTokenAsync(){if(!this.accessToken)throw new Error("No token to revoke.");const e="https://accounts.google.com/o/oauth2/revoke?token="+this.accessToken;await this.transporter.request({url:e}),this.configure({email:this.iss,sub:this.sub,key:this.key,keyFile:this.keyFile,scope:this.scope,additionalClaims:this.additionalClaims})}configure(e={}){this.keyFile=e.keyFile,this.key=e.key,this.rawToken=void 0,this.iss=e.email||e.iss,this.sub=e.sub,this.additionalClaims=e.additionalClaims,"object"==typeof e.scope?this.scope=e.scope.join(" "):this.scope=e.scope,this.eagerRefreshThresholdMillis=e.eagerRefreshThresholdMillis,e.transporter&&(this.transporter=e.transporter)}async requestToken(){var e,t;const n=Math.floor((new Date).getTime()/1e3),o=this.additionalClaims||{},r=Object.assign({iss:this.iss,scope:this.scope,aud:c,exp:n+3600,iat:n,sub:this.sub},o),a=i.sign({header:{alg:"RS256"},payload:r,secret:this.key});try{const e=await this.transporter.request({method:"POST",url:c,data:{grant_type:"urn:ietf:params:oauth:grant-type:jwt-bearer",assertion:a},headers:{"Content-Type":"application/x-www-form-urlencoded"},responseType:"json"});return this.rawToken=e.data,this.expiresAt=null===e.data.expires_in||void 0===e.data.expires_in?void 0:1e3*(n+e.data.expires_in),this.rawToken}catch(n){this.rawToken=void 0,this.tokenExpires=void 0;const o=n.response&&(null===(e=n.response)||void 0===e?void 0:e.data)?null===(t=n.response)||void 0===t?void 0:t.data:{};if(o.error){const e=o.error_description?`: ${o.error_description}`:"";n.message=`${o.error}${e}`}throw n}}}},43966:e=>{"use strict";e.exports=(e,t)=>{t=t||process.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",o=t.indexOf(n+e),r=t.indexOf("--");return-1!==o&&(-1===r||o{"use strict";var o="undefined"!=typeof Symbol&&Symbol,r=n(69578);e.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"==typeof o("foo")&&"symbol"==typeof Symbol("bar")&&r()}},69578:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},22786:(e,t,n)=>{"use strict";var o=n(22698);e.exports=o.call(Function.call,Object.prototype.hasOwnProperty)},92572:function(e,t,n){"use strict";var o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(41808)),a=r(n(24404)),s=r(n(57310)),l=r(n(39491)),c=r(n(71053)),p=n(28214),u=r(n(72947)),d=c.default("https-proxy-agent:agent");class g extends p.Agent{constructor(e){let t;if(t="string"==typeof e?s.default.parse(e):e,!t)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");d("creating new HttpsProxyAgent instance: %o",t),super(t);const n=Object.assign({},t);var o;this.secureProxy=t.secureProxy||"string"==typeof(o=n.protocol)&&/^https:?$/i.test(o),n.host=n.hostname||n.host,"string"==typeof n.port&&(n.port=parseInt(n.port,10)),!n.port&&n.host&&(n.port=this.secureProxy?443:80),this.secureProxy&&!("ALPNProtocols"in n)&&(n.ALPNProtocols=["http 1.1"]),n.host&&n.path&&(delete n.path,delete n.pathname),this.proxy=n}callback(e,t){return o(this,void 0,void 0,(function*(){const{proxy:n,secureProxy:o}=this;let r;o?(d("Creating `tls.Socket`: %o",n),r=a.default.connect(n)):(d("Creating `net.Socket`: %o",n),r=i.default.connect(n));const s=Object.assign({},n.headers);let c=`CONNECT ${t.host}:${t.port} HTTP/1.1\r\n`;n.auth&&(s["Proxy-Authorization"]=`Basic ${Buffer.from(n.auth).toString("base64")}`);let{host:p,port:g,secureEndpoint:h}=t;(function(e,t){return Boolean(!t&&80===e||t&&443===e)})(g,h)||(p+=`:${g}`),s.Host=p,s.Connection="close";for(const e of Object.keys(s))c+=`${e}: ${s[e]}\r\n`;const m=u.default(r);r.write(`${c}\r\n`);const{statusCode:y,buffered:v}=yield m;if(200===y){if(e.once("socket",f),t.secureEndpoint){d("Upgrading socket connection to TLS");const e=t.servername||t.host;return a.default.connect(Object.assign(Object.assign({},function(e,...t){const n={};let o;for(o in e)t.includes(o)||(n[o]=e[o]);return n}(t,"host","hostname","path","port")),{socket:r,servername:e}))}return r}r.destroy();const b=new i.default.Socket({writable:!1});return b.readable=!0,e.once("socket",(e=>{d("replaying proxy buffer for failed request"),l.default(e.listenerCount("data")>0),e.push(v),e.push(null)})),b}))}}function f(e){e.resume()}t.default=g},54792:function(e,t,n){"use strict";const o=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(92572));function r(e){return new o.default(e)}!function(e){e.HttpsProxyAgent=o.default,e.prototype=o.default.prototype}(r||(r={})),e.exports=r},72947:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=o(n(71053)).default("https-proxy-agent:parse-proxy-response");t.default=function(e){return new Promise(((t,n)=>{let o=0;const i=[];function a(){const n=e.read();n?function(e){i.push(e),o+=e.length;const n=Buffer.concat(i,o);if(-1===n.indexOf("\r\n\r\n"))return r("have not received end of HTTP headers yet..."),void a();const s=n.toString("ascii",0,n.indexOf("\r\n")),l=+s.split(" ")[1];r("got proxy server response: %o",s),t({statusCode:l,buffered:n})}(n):e.once("readable",a)}function s(e){r("onclose had error %o",e)}function l(){r("onend")}e.on("error",(function t(o){e.removeListener("end",l),e.removeListener("error",t),e.removeListener("close",s),e.removeListener("readable",a),r("onerror %o",o),n(o)})),e.on("close",s),e.on("end",l),a()}))}},44236:(e,t,n)=>{try{var o=n(73837);if("function"!=typeof o.inherits)throw"";e.exports=o.inherits}catch(t){e.exports=n(67483)}},67483:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},40408:e=>{"use strict";e.exports=function(e){var t;return t=void 0!==e.ended?e.ended:e._readableState.ended,Boolean(t).valueOf()}},57983:e=>{"use strict";const t=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;t.writable=e=>t(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,t.readable=e=>t(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,t.duplex=e=>t.writable(e)&&t.readable(e),t.transform=e=>t.duplex(e)&&"function"==typeof e._transform,e.exports=t},49608:e=>{"use strict";var t,n,o=Object.prototype,r=o.hasOwnProperty,i=o.toString;"function"==typeof Symbol&&(t=Symbol.prototype.valueOf),"function"==typeof BigInt&&(n=BigInt.prototype.valueOf);var a=function(e){return e!=e},s={boolean:1,number:1,string:1,undefined:1},l=/^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$/,c=/^[A-Fa-f0-9]+$/,p={};p.a=p.type=function(e,t){return typeof e===t},p.defined=function(e){return void 0!==e},p.empty=function(e){var t,n=i.call(e);if("[object Array]"===n||"[object Arguments]"===n||"[object String]"===n)return 0===e.length;if("[object Object]"===n){for(t in e)if(r.call(e,t))return!1;return!0}return!e},p.equal=function(e,t){if(e===t)return!0;var n,o=i.call(e);if(o!==i.call(t))return!1;if("[object Object]"===o){for(n in e)if(!p.equal(e[n],t[n])||!(n in t))return!1;for(n in t)if(!p.equal(e[n],t[n])||!(n in e))return!1;return!0}if("[object Array]"===o){if((n=e.length)!==t.length)return!1;for(;n--;)if(!p.equal(e[n],t[n]))return!1;return!0}return"[object Function]"===o?e.prototype===t.prototype:"[object Date]"===o&&e.getTime()===t.getTime()},p.hosted=function(e,t){var n=typeof t[e];return"object"===n?!!t[e]:!s[n]},p.instance=p.instanceof=function(e,t){return e instanceof t},p.nil=p.null=function(e){return null===e},p.undef=p.undefined=function(e){return void 0===e},p.args=p.arguments=function(e){var t="[object Arguments]"===i.call(e),n=!p.array(e)&&p.arraylike(e)&&p.object(e)&&p.fn(e.callee);return t||n},p.array=Array.isArray||function(e){return"[object Array]"===i.call(e)},p.args.empty=function(e){return p.args(e)&&0===e.length},p.array.empty=function(e){return p.array(e)&&0===e.length},p.arraylike=function(e){return!!e&&!p.bool(e)&&r.call(e,"length")&&isFinite(e.length)&&p.number(e.length)&&e.length>=0},p.bool=p.boolean=function(e){return"[object Boolean]"===i.call(e)},p.false=function(e){return p.bool(e)&&!1===Boolean(Number(e))},p.true=function(e){return p.bool(e)&&!0===Boolean(Number(e))},p.date=function(e){return"[object Date]"===i.call(e)},p.date.valid=function(e){return p.date(e)&&!isNaN(Number(e))},p.element=function(e){return void 0!==e&&"undefined"!=typeof HTMLElement&&e instanceof HTMLElement&&1===e.nodeType},p.error=function(e){return"[object Error]"===i.call(e)},p.fn=p.function=function(e){if("undefined"!=typeof window&&e===window.alert)return!0;var t=i.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t||"[object AsyncFunction]"===t},p.number=function(e){return"[object Number]"===i.call(e)},p.infinite=function(e){return e===1/0||e===-1/0},p.decimal=function(e){return p.number(e)&&!a(e)&&!p.infinite(e)&&e%1!=0},p.divisibleBy=function(e,t){var n=p.infinite(e),o=p.infinite(t),r=p.number(e)&&!a(e)&&p.number(t)&&!a(t)&&0!==t;return n||o||r&&e%t==0},p.integer=p.int=function(e){return p.number(e)&&!a(e)&&e%1==0},p.maximum=function(e,t){if(a(e))throw new TypeError("NaN is not a valid value");if(!p.arraylike(t))throw new TypeError("second argument must be array-like");for(var n=t.length;--n>=0;)if(e=0;)if(e>t[n])return!1;return!0},p.nan=function(e){return!p.number(e)||e!=e},p.even=function(e){return p.infinite(e)||p.number(e)&&e==e&&e%2==0},p.odd=function(e){return p.infinite(e)||p.number(e)&&e==e&&e%2!=0},p.ge=function(e,t){if(a(e)||a(t))throw new TypeError("NaN is not a valid value");return!p.infinite(e)&&!p.infinite(t)&&e>=t},p.gt=function(e,t){if(a(e)||a(t))throw new TypeError("NaN is not a valid value");return!p.infinite(e)&&!p.infinite(t)&&e>t},p.le=function(e,t){if(a(e)||a(t))throw new TypeError("NaN is not a valid value");return!p.infinite(e)&&!p.infinite(t)&&e<=t},p.lt=function(e,t){if(a(e)||a(t))throw new TypeError("NaN is not a valid value");return!p.infinite(e)&&!p.infinite(t)&&e=t&&e<=n},p.object=function(e){return"[object Object]"===i.call(e)},p.primitive=function(e){return!e||!("object"==typeof e||p.object(e)||p.fn(e)||p.array(e))},p.hash=function(e){return p.object(e)&&e.constructor===Object&&!e.nodeType&&!e.setInterval},p.regexp=function(e){return"[object RegExp]"===i.call(e)},p.string=function(e){return"[object String]"===i.call(e)},p.base64=function(e){return p.string(e)&&(!e.length||l.test(e))},p.hex=function(e){return p.string(e)&&(!e.length||c.test(e))},p.symbol=function(e){return"function"==typeof Symbol&&"[object Symbol]"===i.call(e)&&"symbol"==typeof t.call(e)},p.bigint=function(e){return"function"==typeof BigInt&&"[object BigInt]"===i.call(e)&&"bigint"==typeof n.call(e)},e.exports=p},93342:(e,t,n)=>{var o=n(2914).stringify,r=n(15085);e.exports=function(e){return{parse:r(e),stringify:o}},e.exports.parse=r(),e.exports.stringify=o},15085:(e,t,n)=>{var o=null;const r=/(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/,i=/(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;e.exports=function(e){"use strict";var t={strict:!1,storeAsString:!1,alwaysParseAsBig:!1,useNativeBigInt:!1,protoAction:"error",constructorAction:"error"};if(null!=e){if(!0===e.strict&&(t.strict=!0),!0===e.storeAsString&&(t.storeAsString=!0),t.alwaysParseAsBig=!0===e.alwaysParseAsBig&&e.alwaysParseAsBig,t.useNativeBigInt=!0===e.useNativeBigInt&&e.useNativeBigInt,void 0!==e.constructorAction){if("error"!==e.constructorAction&&"ignore"!==e.constructorAction&&"preserve"!==e.constructorAction)throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${e.constructorAction}`);t.constructorAction=e.constructorAction}if(void 0!==e.protoAction){if("error"!==e.protoAction&&"ignore"!==e.protoAction&&"preserve"!==e.protoAction)throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${e.protoAction}`);t.protoAction=e.protoAction}}var a,s,l,c,p={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},u=function(e){throw{name:"SyntaxError",message:e,at:a,text:l}},d=function(e){return e&&e!==s&&u("Expected '"+e+"' instead of '"+s+"'"),s=l.charAt(a),a+=1,s},g=function(){var e,r="";for("-"===s&&(r="-",d("-"));s>="0"&&s<="9";)r+=s,d();if("."===s)for(r+=".";d()&&s>="0"&&s<="9";)r+=s;if("e"===s||"E"===s)for(r+=s,d(),"-"!==s&&"+"!==s||(r+=s,d());s>="0"&&s<="9";)r+=s,d();if(e=+r,isFinite(e))return null==o&&(o=n(32980)),r.length>15?t.storeAsString?r:t.useNativeBigInt?BigInt(r):new o(r):t.alwaysParseAsBig?t.useNativeBigInt?BigInt(e):new o(e):e;u("Bad number")},f=function(){var e,t,n,o="";if('"'===s)for(var r=a;d();){if('"'===s)return a-1>r&&(o+=l.substring(r,a-1)),d(),o;if("\\"===s){if(a-1>r&&(o+=l.substring(r,a-1)),d(),"u"===s){for(n=0,t=0;t<4&&(e=parseInt(d(),16),isFinite(e));t+=1)n=16*n+e;o+=String.fromCharCode(n)}else{if("string"!=typeof p[s])break;o+=p[s]}r=a}}u("Bad string")},h=function(){for(;s&&s<=" ";)d()};return c=function(){switch(h(),s){case"{":return function(){var e,n=Object.create(null);if("{"===s){if(d("{"),h(),"}"===s)return d("}"),n;for(;s;){if(e=f(),h(),d(":"),!0===t.strict&&Object.hasOwnProperty.call(n,e)&&u('Duplicate key "'+e+'"'),!0===r.test(e)?"error"===t.protoAction?u("Object contains forbidden prototype property"):"ignore"===t.protoAction?c():n[e]=c():!0===i.test(e)?"error"===t.constructorAction?u("Object contains forbidden constructor property"):"ignore"===t.constructorAction?c():n[e]=c():n[e]=c(),h(),"}"===s)return d("}"),n;d(","),h()}}u("Bad object")}();case"[":return function(){var e=[];if("["===s){if(d("["),h(),"]"===s)return d("]"),e;for(;s;){if(e.push(c()),h(),"]"===s)return d("]"),e;d(","),h()}}u("Bad array")}();case'"':return f();case"-":return g();default:return s>="0"&&s<="9"?g():function(){switch(s){case"t":return d("t"),d("r"),d("u"),d("e"),!0;case"f":return d("f"),d("a"),d("l"),d("s"),d("e"),!1;case"n":return d("n"),d("u"),d("l"),d("l"),null}u("Unexpected '"+s+"'")}()}},function(e,t){var n;return l=e+"",a=0,s=" ",n=c(),h(),s&&u("Syntax error"),"function"==typeof t?function e(n,o){var r,i=n[o];return i&&"object"==typeof i&&Object.keys(i).forEach((function(t){void 0!==(r=e(i,t))?i[t]=r:delete i[t]})),t.call(n,o,i)}({"":n},""):n}}},2914:(e,t,n)=>{var o=n(32980),r=e.exports;!function(){"use strict";var e,t,n,i=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,a={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function s(e){return i.lastIndex=0,i.test(e)?'"'+e.replace(i,(function(e){var t=a[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function l(r,i){var a,c,p,u,d,g=e,f=i[r],h=null!=f&&(f instanceof o||o.isBigNumber(f));switch(f&&"object"==typeof f&&"function"==typeof f.toJSON&&(f=f.toJSON(r)),"function"==typeof n&&(f=n.call(i,r,f)),typeof f){case"string":return h?f:s(f);case"number":return isFinite(f)?String(f):"null";case"boolean":case"null":case"bigint":return String(f);case"object":if(!f)return"null";if(e+=t,d=[],"[object Array]"===Object.prototype.toString.apply(f)){for(u=f.length,a=0;a{var o=n(84650),r=n(21607).Buffer,i=n(6113),a=n(27356),s=n(73837),l="secret must be a string or buffer",c="key must be a string or a buffer",p="function"==typeof i.createPublicKey;function u(e){if(!r.isBuffer(e)&&"string"!=typeof e){if(!p)throw h(c);if("object"!=typeof e)throw h(c);if("string"!=typeof e.type)throw h(c);if("string"!=typeof e.asymmetricKeyType)throw h(c);if("function"!=typeof e.export)throw h(c)}}function d(e){if(!r.isBuffer(e)&&"string"!=typeof e&&"object"!=typeof e)throw h("key must be a string, a buffer or an object")}function g(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function f(e){var t=4-(e=e.toString()).length%4;if(4!==t)for(var n=0;n{var o=n(59882),r=n(75729);t.ALGORITHMS=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"],t.sign=o.sign,t.verify=r.verify,t.decode=r.decode,t.isValid=r.isValid,t.createSign=function(e){return new o(e)},t.createVerify=function(e){return new r(e)}},43717:(e,t,n)=>{var o=n(21607).Buffer,r=n(12781);function i(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=o.alloc(0),this;if("function"==typeof e.pipe)return this.buffer=o.alloc(0),e.pipe(this),this;if(e.length||"object"==typeof e)return this.buffer=e,this.writable=!1,process.nextTick(function(){this.emit("end",e),this.readable=!1,this.emit("close")}.bind(this)),this;throw new TypeError("Unexpected data type ("+typeof e+")")}n(73837).inherits(i,r),i.prototype.write=function(e){this.buffer=o.concat([this.buffer,o.from(e)]),this.emit("data",e)},i.prototype.end=function(e){e&&this.write(e),this.emit("end",e),this.emit("close"),this.writable=!1,this.readable=!1},e.exports=i},59882:(e,t,n)=>{var o=n(21607).Buffer,r=n(43717),i=n(14476),a=n(12781),s=n(61397),l=n(73837);function c(e,t){return o.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function p(e){var t=e.header,n=e.payload,o=e.secret||e.privateKey,r=e.encoding,a=i(t.alg),p=function(e,t,n){n=n||"utf8";var o=c(s(e),"binary"),r=c(s(t),n);return l.format("%s.%s",o,r)}(t,n,r),u=a.sign(p,o);return l.format("%s.%s",p,u)}function u(e){var t=e.secret||e.privateKey||e.key,n=new r(t);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=n,this.payload=new r(e.payload),this.secret.once("close",function(){!this.payload.writable&&this.readable&&this.sign()}.bind(this)),this.payload.once("close",function(){!this.secret.writable&&this.readable&&this.sign()}.bind(this))}l.inherits(u,a),u.prototype.sign=function(){try{var e=p({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",e),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},u.sign=p,e.exports=u},61397:(e,t,n)=>{var o=n(14300).Buffer;e.exports=function(e){return"string"==typeof e?e:"number"==typeof e||o.isBuffer(e)?e.toString():JSON.stringify(e)}},75729:(e,t,n)=>{var o=n(21607).Buffer,r=n(43717),i=n(14476),a=n(12781),s=n(61397),l=n(73837),c=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function p(e){var t=e.split(".",1)[0];return function(e){if(function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e))return e;try{return JSON.parse(e)}catch(e){return}}(o.from(t,"base64").toString("binary"))}function u(e){return e.split(".")[2]}function d(e){return c.test(e)&&!!p(e)}function g(e,t,n){if(!t){var o=new Error("Missing algorithm parameter for jws.verify");throw o.code="MISSING_ALGORITHM",o}var r=u(e=s(e)),a=function(e){return e.split(".",2).join(".")}(e);return i(t).verify(a,r,n)}function f(e,t){if(t=t||{},!d(e=s(e)))return null;var n=p(e);if(!n)return null;var r=function(e,t){t=t||"utf8";var n=e.split(".")[1];return o.from(n,"base64").toString(t)}(e);return("JWT"===n.typ||t.json)&&(r=JSON.parse(r,t.encoding)),{header:n,payload:r,signature:u(e)}}function h(e){var t=(e=e||{}).secret||e.publicKey||e.key,n=new r(t);this.readable=!0,this.algorithm=e.algorithm,this.encoding=e.encoding,this.secret=this.publicKey=this.key=n,this.signature=new r(e.signature),this.secret.once("close",function(){!this.signature.writable&&this.readable&&this.verify()}.bind(this)),this.signature.once("close",function(){!this.secret.writable&&this.readable&&this.verify()}.bind(this))}l.inherits(h,a),h.prototype.verify=function(){try{var e=g(this.signature.buffer,this.algorithm,this.key.buffer),t=f(this.signature.buffer,this.encoding);return this.emit("done",e,t),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},h.decode=f,h.isValid=d,h.verify=g,e.exports=h},61012:e=>{var t,n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,r="\\ud800-\\udfff",i="\\u0300-\\u036f\\ufe20-\\ufe23",a="\\u20d0-\\u20f0",s="\\u2700-\\u27bf",l="a-z\\xdf-\\xf6\\xf8-\\xff",c="A-Z\\xc0-\\xd6\\xd8-\\xde",p="\\ufe0e\\ufe0f",u="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",d="["+r+"]",g="["+u+"]",f="["+i+a+"]",h="\\d+",m="["+s+"]",y="["+l+"]",v="[^"+r+u+h+s+l+c+"]",b="\\ud83c[\\udffb-\\udfff]",O="[^"+r+"]",w="(?:\\ud83c[\\udde6-\\uddff]){2}",P="[\\ud800-\\udbff][\\udc00-\\udfff]",x="["+c+"]",S="\\u200d",T="(?:"+y+"|"+v+")",A="(?:"+x+"|"+v+")",E="(?:['’](?:d|ll|m|re|s|t|ve))?",j="(?:['’](?:D|LL|M|RE|S|T|VE))?",k="(?:"+f+"|"+b+")?",_="["+p+"]?",C=_+k+"(?:"+S+"(?:"+[O,w,P].join("|")+")"+_+k+")*",I="(?:"+[m,w,P].join("|")+")"+C,R="(?:"+[O+f+"?",f,w,P,d].join("|")+")",N=RegExp("['’]","g"),D=RegExp(f,"g"),L=RegExp(b+"(?="+b+")|"+R+C,"g"),B=RegExp([x+"?"+y+"+"+E+"(?="+[g,x,"$"].join("|")+")",A+"+"+j+"(?="+[g,x+T,"$"].join("|")+")",x+"?"+T+"+"+E,x+"+"+j,h,I].join("|"),"g"),M=RegExp("["+S+r+i+a+p+"]"),F=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,U="object"==typeof global&&global&&global.Object===Object&&global,q="object"==typeof self&&self&&self.Object===Object&&self,V=U||q||Function("return this")(),H=(t={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"ss"},function(e){return null==t?void 0:t[e]});function G(e){return M.test(e)}var W=Object.prototype.toString,z=V.Symbol,J=z?z.prototype:void 0,K=J?J.toString:void 0;function Y(e){return null==e?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==W.call(e)}(e))return K?K.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}var $,Q=($=function(e,t,n){return t=t.toLowerCase(),e+(n?X(Y(t).toLowerCase()):t)},function(e){return function(e,t,n,o){for(var r=-1,i=e?e.length:0;++r=r?t:function(e,t,n){var o=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);++o"']/g,J=RegExp(W.source),K=RegExp(z.source),Y=/<%-([\s\S]+?)%>/g,$=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,X=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Z=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),oe=/^\s+/,re=/\s/,ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ae=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,le=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,de=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,fe=/^0b[01]+$/i,he=/^\[object .+?Constructor\]$/,me=/^0o[0-7]+$/i,ye=/^(?:0|[1-9]\d*)$/,ve=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,be=/($^)/,Oe=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",Pe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xe="\\u2700-\\u27bf",Se="a-z\\xdf-\\xf6\\xf8-\\xff",Te="A-Z\\xc0-\\xd6\\xd8-\\xde",Ae="\\ufe0e\\ufe0f",Ee="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",je="["+we+"]",ke="["+Ee+"]",_e="["+Pe+"]",Ce="\\d+",Ie="["+xe+"]",Re="["+Se+"]",Ne="[^"+we+Ee+Ce+xe+Se+Te+"]",De="\\ud83c[\\udffb-\\udfff]",Le="[^"+we+"]",Be="(?:\\ud83c[\\udde6-\\uddff]){2}",Me="[\\ud800-\\udbff][\\udc00-\\udfff]",Fe="["+Te+"]",Ue="\\u200d",qe="(?:"+Re+"|"+Ne+")",Ve="(?:"+Fe+"|"+Ne+")",He="(?:['’](?:d|ll|m|re|s|t|ve))?",Ge="(?:['’](?:D|LL|M|RE|S|T|VE))?",We="(?:"+_e+"|"+De+")?",ze="["+Ae+"]?",Je=ze+We+"(?:"+Ue+"(?:"+[Le,Be,Me].join("|")+")"+ze+We+")*",Ke="(?:"+[Ie,Be,Me].join("|")+")"+Je,Ye="(?:"+[Le+_e+"?",_e,Be,Me,je].join("|")+")",$e=RegExp("['’]","g"),Qe=RegExp(_e,"g"),Xe=RegExp(De+"(?="+De+")|"+Ye+Je,"g"),Ze=RegExp([Fe+"?"+Re+"+"+He+"(?="+[ke,Fe,"$"].join("|")+")",Ve+"+"+Ge+"(?="+[ke,Fe+qe,"$"].join("|")+")",Fe+"?"+qe+"+"+He,Fe+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ce,Ke].join("|"),"g"),et=RegExp("["+Ue+we+Pe+Ae+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ot=-1,rt={};rt[R]=rt[N]=rt[D]=rt[L]=rt[B]=rt[M]=rt[F]=rt[U]=rt[q]=!0,rt[h]=rt[m]=rt[C]=rt[y]=rt[I]=rt[v]=rt[b]=rt[O]=rt[P]=rt[x]=rt[S]=rt[A]=rt[E]=rt[j]=rt[_]=!1;var it={};it[h]=it[m]=it[C]=it[I]=it[y]=it[v]=it[R]=it[N]=it[D]=it[L]=it[B]=it[P]=it[x]=it[S]=it[A]=it[E]=it[j]=it[k]=it[M]=it[F]=it[U]=it[q]=!0,it[b]=it[O]=it[_]=!1;var at={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},st=parseFloat,lt=parseInt,ct="object"==typeof global&&global&&global.Object===Object&&global,pt="object"==typeof self&&self&&self.Object===Object&&self,ut=ct||pt||Function("return this")(),dt=t&&!t.nodeType&&t,gt=dt&&e&&!e.nodeType&&e,ft=gt&>.exports===dt,ht=ft&&ct.process,mt=function(){try{return gt&>.require&>.require("util").types||ht&&ht.binding&&ht.binding("util")}catch(e){}}(),yt=mt&&mt.isArrayBuffer,vt=mt&&mt.isDate,bt=mt&&mt.isMap,Ot=mt&&mt.isRegExp,wt=mt&&mt.isSet,Pt=mt&&mt.isTypedArray;function xt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function St(e,t,n,o){for(var r=-1,i=null==e?0:e.length;++r-1}function _t(e,t,n){for(var o=-1,r=null==e?0:e.length;++o-1;);return n}function Zt(e,t){for(var n=e.length;n--&&Ft(t,e[n],0)>-1;);return n}function en(e,t){for(var n=e.length,o=0;n--;)e[n]===t&&++o;return o}var tn=Gt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),nn=Gt({"&":"&","<":"<",">":">",'"':""","'":"'"});function on(e){return"\\"+at[e]}function rn(e){return et.test(e)}function an(e){var t=-1,n=Array(e.size);return e.forEach((function(e,o){n[++t]=[o,e]})),n}function sn(e,t){return function(n){return e(t(n))}}function ln(e,t){for(var n=-1,o=e.length,r=0,i=[];++n",""":'"',"'":"'"}),hn=function e(t){var n,o=(t=null==t?ut:hn.defaults(ut.Object(),t,hn.pick(ut,nt))).Array,re=t.Date,we=t.Error,Pe=t.Function,xe=t.Math,Se=t.Object,Te=t.RegExp,Ae=t.String,Ee=t.TypeError,je=o.prototype,ke=Pe.prototype,_e=Se.prototype,Ce=t["__core-js_shared__"],Ie=ke.toString,Re=_e.hasOwnProperty,Ne=0,De=(n=/[^.]+$/.exec(Ce&&Ce.keys&&Ce.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Le=_e.toString,Be=Ie.call(Se),Me=ut._,Fe=Te("^"+Ie.call(Re).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ue=ft?t.Buffer:r,qe=t.Symbol,Ve=t.Uint8Array,He=Ue?Ue.allocUnsafe:r,Ge=sn(Se.getPrototypeOf,Se),We=Se.create,ze=_e.propertyIsEnumerable,Je=je.splice,Ke=qe?qe.isConcatSpreadable:r,Ye=qe?qe.iterator:r,Xe=qe?qe.toStringTag:r,et=function(){try{var e=pi(Se,"defineProperty");return e({},"",{}),e}catch(e){}}(),at=t.clearTimeout!==ut.clearTimeout&&t.clearTimeout,ct=re&&re.now!==ut.Date.now&&re.now,pt=t.setTimeout!==ut.setTimeout&&t.setTimeout,dt=xe.ceil,gt=xe.floor,ht=Se.getOwnPropertySymbols,mt=Ue?Ue.isBuffer:r,Lt=t.isFinite,Gt=je.join,mn=sn(Se.keys,Se),yn=xe.max,vn=xe.min,bn=re.now,On=t.parseInt,wn=xe.random,Pn=je.reverse,xn=pi(t,"DataView"),Sn=pi(t,"Map"),Tn=pi(t,"Promise"),An=pi(t,"Set"),En=pi(t,"WeakMap"),jn=pi(Se,"create"),kn=En&&new En,_n={},Cn=Fi(xn),In=Fi(Sn),Rn=Fi(Tn),Nn=Fi(An),Dn=Fi(En),Ln=qe?qe.prototype:r,Bn=Ln?Ln.valueOf:r,Mn=Ln?Ln.toString:r;function Fn(e){if(ns(e)&&!Wa(e)&&!(e instanceof Hn)){if(e instanceof Vn)return e;if(Re.call(e,"__wrapped__"))return Ui(e)}return new Vn(e)}var Un=function(){function e(){}return function(t){if(!ts(t))return{};if(We)return We(t);e.prototype=t;var n=new e;return e.prototype=r,n}}();function qn(){}function Vn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function Hn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function so(e,t,n,o,i,a){var s,l=1&t,c=2&t,p=4&t;if(n&&(s=i?n(e,o,i,a):n(e)),s!==r)return s;if(!ts(e))return e;var u=Wa(e);if(u){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Re.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return jr(e,s)}else{var d=gi(e),g=d==O||d==w;if(Ya(e))return Pr(e,l);if(d==S||d==h||g&&!i){if(s=c||g?{}:hi(e),!l)return c?function(e,t){return kr(e,di(e),t)}(e,function(e,t){return e&&kr(t,Rs(t),e)}(s,e)):function(e,t){return kr(e,ui(e),t)}(e,oo(s,e))}else{if(!it[d])return i?e:{};s=function(e,t,n){var o,r=e.constructor;switch(t){case C:return xr(e);case y:case v:return new r(+e);case I:return function(e,t){var n=t?xr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case R:case N:case D:case L:case B:case M:case F:case U:case q:return Sr(e,n);case P:return new r;case x:case j:return new r(e);case A:return function(e){var t=new e.constructor(e.source,de.exec(e));return t.lastIndex=e.lastIndex,t}(e);case E:return new r;case k:return o=e,Bn?Se(Bn.call(o)):{}}}(e,d,l)}}a||(a=new Kn);var f=a.get(e);if(f)return f;a.set(e,s),ss(e)?e.forEach((function(o){s.add(so(o,t,n,o,e,a))})):os(e)&&e.forEach((function(o,r){s.set(r,so(o,t,n,r,e,a))}));var m=u?r:(p?c?oi:ni:c?Rs:Is)(e);return Tt(m||e,(function(o,r){m&&(o=e[r=o]),eo(s,r,so(o,t,n,r,e,a))})),s}function lo(e,t,n){var o=n.length;if(null==e)return!o;for(e=Se(e);o--;){var i=n[o],a=t[i],s=e[i];if(s===r&&!(i in e)||!a(s))return!1}return!0}function co(e,t,n){if("function"!=typeof e)throw new Ee(i);return _i((function(){e.apply(r,n)}),t)}function po(e,t,n,o){var r=-1,i=kt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Ct(t,Yt(n))),o?(i=_t,a=!1):t.length>=200&&(i=Qt,a=!1,t=new Jn(t));e:for(;++r-1},Wn.prototype.set=function(e,t){var n=this.__data__,o=to(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this},zn.prototype.clear=function(){this.size=0,this.__data__={hash:new Gn,map:new(Sn||Wn),string:new Gn}},zn.prototype.delete=function(e){var t=li(this,e).delete(e);return this.size-=t?1:0,t},zn.prototype.get=function(e){return li(this,e).get(e)},zn.prototype.has=function(e){return li(this,e).has(e)},zn.prototype.set=function(e,t){var n=li(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this},Jn.prototype.add=Jn.prototype.push=function(e){return this.__data__.set(e,a),this},Jn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.clear=function(){this.__data__=new Wn,this.size=0},Kn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Kn.prototype.get=function(e){return this.__data__.get(e)},Kn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Wn){var o=n.__data__;if(!Sn||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new zn(o)}return n.set(e,t),this.size=n.size,this};var uo=Ir(Oo),go=Ir(wo,!0);function fo(e,t){var n=!0;return uo(e,(function(e,o,r){return n=!!t(e,o,r)})),n}function ho(e,t,n){for(var o=-1,i=e.length;++o0&&n(s)?t>1?yo(s,t-1,n,o,r):It(r,s):o||(r[r.length]=s)}return r}var vo=Rr(),bo=Rr(!0);function Oo(e,t){return e&&vo(e,t,Is)}function wo(e,t){return e&&bo(e,t,Is)}function Po(e,t){return jt(t,(function(t){return Xa(e[t])}))}function xo(e,t){for(var n=0,o=(t=vr(t,e)).length;null!=e&&nt}function Eo(e,t){return null!=e&&Re.call(e,t)}function jo(e,t){return null!=e&&t in Se(e)}function ko(e,t,n){for(var i=n?_t:kt,a=e[0].length,s=e.length,l=s,c=o(s),p=1/0,u=[];l--;){var d=e[l];l&&t&&(d=Ct(d,Yt(t))),p=vn(d.length,p),c[l]=!n&&(t||a>=120&&d.length>=120)?new Jn(l&&d):r}d=e[0];var g=-1,f=c[0];e:for(;++g=s?l:l*("desc"==n[o]?-1:1)}return e.index-t.index}(e,t,n)}));o--;)e[o]=e[o].value;return e}(r)}function Go(e,t,n){for(var o=-1,r=t.length,i={};++o-1;)s!==e&&Je.call(s,l,1),Je.call(e,l,1);return e}function zo(e,t){for(var n=e?t.length:0,o=n-1;n--;){var r=t[n];if(n==o||r!==i){var i=r;yi(r)?Je.call(e,r,1):pr(e,r)}}return e}function Jo(e,t){return e+gt(wn()*(t-e+1))}function Ko(e,t){var n="";if(!e||t<1||t>u)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Yo(e,t){return Ci(Ti(e,t,rl),e+"")}function $o(e){return $n(qs(e))}function Qo(e,t){var n=qs(e);return Ni(n,ao(t,0,n.length))}function Xo(e,t,n,o){if(!ts(e))return e;for(var i=-1,a=(t=vr(t,e)).length,s=a-1,l=e;null!=l&&++ii?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=o(i);++r>>1,a=e[i];null!==a&&!cs(a)&&(n?a<=t:a=200){var c=t?null:Kr(e);if(c)return cn(c);a=!1,r=Qt,l=new Jn}else l=t?[]:s;e:for(;++o=o?e:nr(e,t,n)}var wr=at||function(e){return ut.clearTimeout(e)};function Pr(e,t){if(t)return e.slice();var n=e.length,o=He?He(n):new e.constructor(n);return e.copy(o),o}function xr(e){var t=new e.constructor(e.byteLength);return new Ve(t).set(new Ve(e)),t}function Sr(e,t){var n=t?xr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Tr(e,t){if(e!==t){var n=e!==r,o=null===e,i=e==e,a=cs(e),s=t!==r,l=null===t,c=t==t,p=cs(t);if(!l&&!p&&!a&&e>t||a&&s&&c&&!l&&!p||o&&s&&c||!n&&c||!i)return 1;if(!o&&!a&&!p&&e1?n[i-1]:r,s=i>2?n[2]:r;for(a=e.length>3&&"function"==typeof a?(i--,a):r,s&&vi(n[0],n[1],s)&&(a=i<3?r:a,i=1),t=Se(t);++o-1?i[a?t[s]:s]:r}}function Mr(e){return ti((function(t){var n=t.length,o=n,a=Vn.prototype.thru;for(e&&t.reverse();o--;){var s=t[o];if("function"!=typeof s)throw new Ee(i);if(a&&!l&&"wrapper"==ii(s))var l=new Vn([],!0)}for(o=l?o:n;++o1&&b.reverse(),g&&ul))return!1;var p=a.get(e),u=a.get(t);if(p&&u)return p==t&&u==e;var d=-1,g=!0,f=2&n?new Jn:r;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[o],t=t.join(n>2?", ":" "),e.replace(ie,"{\n/* [wrapped with "+t+"] */\n")}(o,function(e,t){return Tt(f,(function(n){var o="_."+n[0];t&n[1]&&!kt(e,o)&&e.push(o)})),e.sort()}(function(e){var t=e.match(ae);return t?t[1].split(se):[]}(o),n)))}function Ri(e){var t=0,n=0;return function(){var o=bn(),i=16-(o-n);if(n=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Ni(e,t){var n=-1,o=e.length,i=o-1;for(t=t===r?o:t;++n1?e[t-1]:r;return n="function"==typeof n?(e.pop(),n):r,aa(e,n)}));function ga(e){var t=Fn(e);return t.__chain__=!0,t}function fa(e,t){return t(e)}var ha=ti((function(e){var t=e.length,n=t?e[0]:0,o=this.__wrapped__,i=function(t){return io(t,e)};return!(t>1||this.__actions__.length)&&o instanceof Hn&&yi(n)?((o=o.slice(n,+n+(t?1:0))).__actions__.push({func:fa,args:[i],thisArg:r}),new Vn(o,this.__chain__).thru((function(e){return t&&!e.length&&e.push(r),e}))):this.thru(i)})),ma=_r((function(e,t,n){Re.call(e,n)?++e[n]:ro(e,n,1)})),ya=Br(Gi),va=Br(Wi);function ba(e,t){return(Wa(e)?Tt:uo)(e,si(t,3))}function Oa(e,t){return(Wa(e)?At:go)(e,si(t,3))}var wa=_r((function(e,t,n){Re.call(e,n)?e[n].push(t):ro(e,n,[t])})),Pa=Yo((function(e,t,n){var r=-1,i="function"==typeof t,a=Ja(e)?o(e.length):[];return uo(e,(function(e){a[++r]=i?xt(t,e,n):_o(e,t,n)})),a})),xa=_r((function(e,t,n){ro(e,n,t)}));function Sa(e,t){return(Wa(e)?Ct:Mo)(e,si(t,3))}var Ta=_r((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Aa=Yo((function(e,t){if(null==e)return[];var n=t.length;return n>1&&vi(e,t[0],t[1])?t=[]:n>2&&vi(t[0],t[1],t[2])&&(t=[t[0]]),Ho(e,yo(t,1),[])})),Ea=ct||function(){return ut.Date.now()};function ja(e,t,n){return t=n?r:t,t=e&&null==t?e.length:t,$r(e,c,r,r,r,r,t)}function ka(e,t){var n;if("function"!=typeof t)throw new Ee(i);return e=hs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var _a=Yo((function(e,t,n){var o=1;if(n.length){var r=ln(n,ai(_a));o|=l}return $r(e,o,t,n,r)})),Ca=Yo((function(e,t,n){var o=3;if(n.length){var r=ln(n,ai(Ca));o|=l}return $r(t,o,e,n,r)}));function Ia(e,t,n){var o,a,s,l,c,p,u=0,d=!1,g=!1,f=!0;if("function"!=typeof e)throw new Ee(i);function h(t){var n=o,i=a;return o=a=r,u=t,l=e.apply(i,n)}function m(e){return u=e,c=_i(v,t),d?h(e):l}function y(e){var n=e-p;return p===r||n>=t||n<0||g&&e-u>=s}function v(){var e=Ea();if(y(e))return b(e);c=_i(v,function(e){var n=t-(e-p);return g?vn(n,s-(e-u)):n}(e))}function b(e){return c=r,f&&o?h(e):(o=a=r,l)}function O(){var e=Ea(),n=y(e);if(o=arguments,a=this,p=e,n){if(c===r)return m(p);if(g)return wr(c),c=_i(v,t),h(p)}return c===r&&(c=_i(v,t)),l}return t=ys(t)||0,ts(n)&&(d=!!n.leading,s=(g="maxWait"in n)?yn(ys(n.maxWait)||0,t):s,f="trailing"in n?!!n.trailing:f),O.cancel=function(){c!==r&&wr(c),u=0,o=p=a=c=r},O.flush=function(){return c===r?l:b(Ea())},O}var Ra=Yo((function(e,t){return co(e,1,t)})),Na=Yo((function(e,t,n){return co(e,ys(t)||0,n)}));function Da(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ee(i);var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var a=e.apply(this,o);return n.cache=i.set(r,a)||i,a};return n.cache=new(Da.Cache||zn),n}function La(e){if("function"!=typeof e)throw new Ee(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Da.Cache=zn;var Ba=br((function(e,t){var n=(t=1==t.length&&Wa(t[0])?Ct(t[0],Yt(si())):Ct(yo(t,1),Yt(si()))).length;return Yo((function(o){for(var r=-1,i=vn(o.length,n);++r=t})),Ga=Co(function(){return arguments}())?Co:function(e){return ns(e)&&Re.call(e,"callee")&&!ze.call(e,"callee")},Wa=o.isArray,za=yt?Yt(yt):function(e){return ns(e)&&To(e)==C};function Ja(e){return null!=e&&es(e.length)&&!Xa(e)}function Ka(e){return ns(e)&&Ja(e)}var Ya=mt||yl,$a=vt?Yt(vt):function(e){return ns(e)&&To(e)==v};function Qa(e){if(!ns(e))return!1;var t=To(e);return t==b||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!is(e)}function Xa(e){if(!ts(e))return!1;var t=To(e);return t==O||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Za(e){return"number"==typeof e&&e==hs(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=u}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ns(e){return null!=e&&"object"==typeof e}var os=bt?Yt(bt):function(e){return ns(e)&&gi(e)==P};function rs(e){return"number"==typeof e||ns(e)&&To(e)==x}function is(e){if(!ns(e)||To(e)!=S)return!1;var t=Ge(e);if(null===t)return!0;var n=Re.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ie.call(n)==Be}var as=Ot?Yt(Ot):function(e){return ns(e)&&To(e)==A},ss=wt?Yt(wt):function(e){return ns(e)&&gi(e)==E};function ls(e){return"string"==typeof e||!Wa(e)&&ns(e)&&To(e)==j}function cs(e){return"symbol"==typeof e||ns(e)&&To(e)==k}var ps=Pt?Yt(Pt):function(e){return ns(e)&&es(e.length)&&!!rt[To(e)]},us=Wr(Bo),ds=Wr((function(e,t){return e<=t}));function gs(e){if(!e)return[];if(Ja(e))return ls(e)?dn(e):jr(e);if(Ye&&e[Ye])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ye]());var t=gi(e);return(t==P?an:t==E?cn:qs)(e)}function fs(e){return e?(e=ys(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function hs(e){var t=fs(e),n=t%1;return t==t?n?t-n:t:0}function ms(e){return e?ao(hs(e),0,g):0}function ys(e){if("number"==typeof e)return e;if(cs(e))return d;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Kt(e);var n=fe.test(e);return n||me.test(e)?lt(e.slice(2),n?2:8):ge.test(e)?d:+e}function vs(e){return kr(e,Rs(e))}function bs(e){return null==e?"":lr(e)}var Os=Cr((function(e,t){if(Pi(t)||Ja(t))kr(t,Is(t),e);else for(var n in t)Re.call(t,n)&&eo(e,n,t[n])})),ws=Cr((function(e,t){kr(t,Rs(t),e)})),Ps=Cr((function(e,t,n,o){kr(t,Rs(t),e,o)})),xs=Cr((function(e,t,n,o){kr(t,Is(t),e,o)})),Ss=ti(io),Ts=Yo((function(e,t){e=Se(e);var n=-1,o=t.length,i=o>2?t[2]:r;for(i&&vi(t[0],t[1],i)&&(o=1);++n1),t})),kr(e,oi(e),n),o&&(n=so(n,7,Zr));for(var r=t.length;r--;)pr(n,t[r]);return n})),Bs=ti((function(e,t){return null==e?{}:function(e,t){return Go(e,t,(function(t,n){return js(e,n)}))}(e,t)}));function Ms(e,t){if(null==e)return{};var n=Ct(oi(e),(function(e){return[e]}));return t=si(t),Go(e,n,(function(e,n){return t(e,n[0])}))}var Fs=Yr(Is),Us=Yr(Rs);function qs(e){return null==e?[]:$t(e,Is(e))}var Vs=Dr((function(e,t,n){return t=t.toLowerCase(),e+(n?Hs(t):t)}));function Hs(e){return Qs(bs(e).toLowerCase())}function Gs(e){return(e=bs(e))&&e.replace(ve,tn).replace(Qe,"")}var Ws=Dr((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),zs=Dr((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Js=Nr("toLowerCase"),Ks=Dr((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Ys=Dr((function(e,t,n){return e+(n?" ":"")+Qs(t)})),$s=Dr((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Qs=Nr("toUpperCase");function Xs(e,t,n){return e=bs(e),(t=n?r:t)===r?function(e){return tt.test(e)}(e)?function(e){return e.match(Ze)||[]}(e):function(e){return e.match(le)||[]}(e):e.match(t)||[]}var Zs=Yo((function(e,t){try{return xt(e,r,t)}catch(e){return Qa(e)?e:new we(e)}})),el=ti((function(e,t){return Tt(t,(function(t){t=Mi(t),ro(e,t,_a(e[t],e))})),e}));function tl(e){return function(){return e}}var nl=Mr(),ol=Mr(!0);function rl(e){return e}function il(e){return Do("function"==typeof e?e:so(e,1))}var al=Yo((function(e,t){return function(n){return _o(n,e,t)}})),sl=Yo((function(e,t){return function(n){return _o(e,n,t)}}));function ll(e,t,n){var o=Is(t),r=Po(t,o);null!=n||ts(t)&&(r.length||!o.length)||(n=t,t=e,e=this,r=Po(t,Is(t)));var i=!(ts(n)&&"chain"in n&&!n.chain),a=Xa(e);return Tt(r,(function(n){var o=t[n];e[n]=o,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),r=n.__actions__=jr(this.__actions__);return r.push({func:o,args:arguments,thisArg:e}),n.__chain__=t,n}return o.apply(e,It([this.value()],arguments))})})),e}function cl(){}var pl=Vr(Ct),ul=Vr(Et),dl=Vr(Dt);function gl(e){return bi(e)?Ht(Mi(e)):function(e){return function(t){return xo(t,e)}}(e)}var fl=Gr(),hl=Gr(!0);function ml(){return[]}function yl(){return!1}var vl,bl=qr((function(e,t){return e+t}),0),Ol=Jr("ceil"),wl=qr((function(e,t){return e/t}),1),Pl=Jr("floor"),xl=qr((function(e,t){return e*t}),1),Sl=Jr("round"),Tl=qr((function(e,t){return e-t}),0);return Fn.after=function(e,t){if("function"!=typeof t)throw new Ee(i);return e=hs(e),function(){if(--e<1)return t.apply(this,arguments)}},Fn.ary=ja,Fn.assign=Os,Fn.assignIn=ws,Fn.assignInWith=Ps,Fn.assignWith=xs,Fn.at=Ss,Fn.before=ka,Fn.bind=_a,Fn.bindAll=el,Fn.bindKey=Ca,Fn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Wa(e)?e:[e]},Fn.chain=ga,Fn.chunk=function(e,t,n){t=(n?vi(e,t,n):t===r)?1:yn(hs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=o(dt(i/t));ai?0:i+n),(o=o===r||o>i?i:hs(o))<0&&(o+=i),o=n>o?0:ms(o);n>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!as(t))&&!(t=lr(t))&&rn(e)?Or(dn(e),0,n):e.split(t,n):[]},Fn.spread=function(e,t){if("function"!=typeof e)throw new Ee(i);return t=null==t?0:yn(hs(t),0),Yo((function(n){var o=n[t],r=Or(n,0,t);return o&&It(r,o),xt(e,this,r)}))},Fn.tail=function(e){var t=null==e?0:e.length;return t?nr(e,1,t):[]},Fn.take=function(e,t,n){return e&&e.length?nr(e,0,(t=n||t===r?1:hs(t))<0?0:t):[]},Fn.takeRight=function(e,t,n){var o=null==e?0:e.length;return o?nr(e,(t=o-(t=n||t===r?1:hs(t)))<0?0:t,o):[]},Fn.takeRightWhile=function(e,t){return e&&e.length?dr(e,si(t,3),!1,!0):[]},Fn.takeWhile=function(e,t){return e&&e.length?dr(e,si(t,3)):[]},Fn.tap=function(e,t){return t(e),e},Fn.throttle=function(e,t,n){var o=!0,r=!0;if("function"!=typeof e)throw new Ee(i);return ts(n)&&(o="leading"in n?!!n.leading:o,r="trailing"in n?!!n.trailing:r),Ia(e,t,{leading:o,maxWait:t,trailing:r})},Fn.thru=fa,Fn.toArray=gs,Fn.toPairs=Fs,Fn.toPairsIn=Us,Fn.toPath=function(e){return Wa(e)?Ct(e,Mi):cs(e)?[e]:jr(Bi(bs(e)))},Fn.toPlainObject=vs,Fn.transform=function(e,t,n){var o=Wa(e),r=o||Ya(e)||ps(e);if(t=si(t,4),null==n){var i=e&&e.constructor;n=r?o?new i:[]:ts(e)&&Xa(i)?Un(Ge(e)):{}}return(r?Tt:Oo)(e,(function(e,o,r){return t(n,e,o,r)})),n},Fn.unary=function(e){return ja(e,1)},Fn.union=na,Fn.unionBy=oa,Fn.unionWith=ra,Fn.uniq=function(e){return e&&e.length?cr(e):[]},Fn.uniqBy=function(e,t){return e&&e.length?cr(e,si(t,2)):[]},Fn.uniqWith=function(e,t){return t="function"==typeof t?t:r,e&&e.length?cr(e,r,t):[]},Fn.unset=function(e,t){return null==e||pr(e,t)},Fn.unzip=ia,Fn.unzipWith=aa,Fn.update=function(e,t,n){return null==e?e:ur(e,t,yr(n))},Fn.updateWith=function(e,t,n,o){return o="function"==typeof o?o:r,null==e?e:ur(e,t,yr(n),o)},Fn.values=qs,Fn.valuesIn=function(e){return null==e?[]:$t(e,Rs(e))},Fn.without=sa,Fn.words=Xs,Fn.wrap=function(e,t){return Ma(yr(t),e)},Fn.xor=la,Fn.xorBy=ca,Fn.xorWith=pa,Fn.zip=ua,Fn.zipObject=function(e,t){return hr(e||[],t||[],eo)},Fn.zipObjectDeep=function(e,t){return hr(e||[],t||[],Xo)},Fn.zipWith=da,Fn.entries=Fs,Fn.entriesIn=Us,Fn.extend=ws,Fn.extendWith=Ps,ll(Fn,Fn),Fn.add=bl,Fn.attempt=Zs,Fn.camelCase=Vs,Fn.capitalize=Hs,Fn.ceil=Ol,Fn.clamp=function(e,t,n){return n===r&&(n=t,t=r),n!==r&&(n=(n=ys(n))==n?n:0),t!==r&&(t=(t=ys(t))==t?t:0),ao(ys(e),t,n)},Fn.clone=function(e){return so(e,4)},Fn.cloneDeep=function(e){return so(e,5)},Fn.cloneDeepWith=function(e,t){return so(e,5,t="function"==typeof t?t:r)},Fn.cloneWith=function(e,t){return so(e,4,t="function"==typeof t?t:r)},Fn.conformsTo=function(e,t){return null==t||lo(e,t,Is(t))},Fn.deburr=Gs,Fn.defaultTo=function(e,t){return null==e||e!=e?t:e},Fn.divide=wl,Fn.endsWith=function(e,t,n){e=bs(e),t=lr(t);var o=e.length,i=n=n===r?o:ao(hs(n),0,o);return(n-=t.length)>=0&&e.slice(n,i)==t},Fn.eq=qa,Fn.escape=function(e){return(e=bs(e))&&K.test(e)?e.replace(z,nn):e},Fn.escapeRegExp=function(e){return(e=bs(e))&&ne.test(e)?e.replace(te,"\\$&"):e},Fn.every=function(e,t,n){var o=Wa(e)?Et:fo;return n&&vi(e,t,n)&&(t=r),o(e,si(t,3))},Fn.find=ya,Fn.findIndex=Gi,Fn.findKey=function(e,t){return Bt(e,si(t,3),Oo)},Fn.findLast=va,Fn.findLastIndex=Wi,Fn.findLastKey=function(e,t){return Bt(e,si(t,3),wo)},Fn.floor=Pl,Fn.forEach=ba,Fn.forEachRight=Oa,Fn.forIn=function(e,t){return null==e?e:vo(e,si(t,3),Rs)},Fn.forInRight=function(e,t){return null==e?e:bo(e,si(t,3),Rs)},Fn.forOwn=function(e,t){return e&&Oo(e,si(t,3))},Fn.forOwnRight=function(e,t){return e&&wo(e,si(t,3))},Fn.get=Es,Fn.gt=Va,Fn.gte=Ha,Fn.has=function(e,t){return null!=e&&fi(e,t,Eo)},Fn.hasIn=js,Fn.head=Ji,Fn.identity=rl,Fn.includes=function(e,t,n,o){e=Ja(e)?e:qs(e),n=n&&!o?hs(n):0;var r=e.length;return n<0&&(n=yn(r+n,0)),ls(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&Ft(e,t,n)>-1},Fn.indexOf=function(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var r=null==n?0:hs(n);return r<0&&(r=yn(o+r,0)),Ft(e,t,r)},Fn.inRange=function(e,t,n){return t=fs(t),n===r?(n=t,t=0):n=fs(n),function(e,t,n){return e>=vn(t,n)&&e=-9007199254740991&&e<=u},Fn.isSet=ss,Fn.isString=ls,Fn.isSymbol=cs,Fn.isTypedArray=ps,Fn.isUndefined=function(e){return e===r},Fn.isWeakMap=function(e){return ns(e)&&gi(e)==_},Fn.isWeakSet=function(e){return ns(e)&&"[object WeakSet]"==To(e)},Fn.join=function(e,t){return null==e?"":Gt.call(e,t)},Fn.kebabCase=Ws,Fn.last=Qi,Fn.lastIndexOf=function(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var i=o;return n!==r&&(i=(i=hs(n))<0?yn(o+i,0):vn(i,o-1)),t==t?function(e,t,n){for(var o=n+1;o--;)if(e[o]===t)return o;return o}(e,t,i):Mt(e,qt,i,!0)},Fn.lowerCase=zs,Fn.lowerFirst=Js,Fn.lt=us,Fn.lte=ds,Fn.max=function(e){return e&&e.length?ho(e,rl,Ao):r},Fn.maxBy=function(e,t){return e&&e.length?ho(e,si(t,2),Ao):r},Fn.mean=function(e){return Vt(e,rl)},Fn.meanBy=function(e,t){return Vt(e,si(t,2))},Fn.min=function(e){return e&&e.length?ho(e,rl,Bo):r},Fn.minBy=function(e,t){return e&&e.length?ho(e,si(t,2),Bo):r},Fn.stubArray=ml,Fn.stubFalse=yl,Fn.stubObject=function(){return{}},Fn.stubString=function(){return""},Fn.stubTrue=function(){return!0},Fn.multiply=xl,Fn.nth=function(e,t){return e&&e.length?Vo(e,hs(t)):r},Fn.noConflict=function(){return ut._===this&&(ut._=Me),this},Fn.noop=cl,Fn.now=Ea,Fn.pad=function(e,t,n){e=bs(e);var o=(t=hs(t))?un(e):0;if(!t||o>=t)return e;var r=(t-o)/2;return Hr(gt(r),n)+e+Hr(dt(r),n)},Fn.padEnd=function(e,t,n){e=bs(e);var o=(t=hs(t))?un(e):0;return t&&ot){var o=e;e=t,t=o}if(n||e%1||t%1){var i=wn();return vn(e+i*(t-e+st("1e-"+((i+"").length-1))),t)}return Jo(e,t)},Fn.reduce=function(e,t,n){var o=Wa(e)?Rt:Wt,r=arguments.length<3;return o(e,si(t,4),n,r,uo)},Fn.reduceRight=function(e,t,n){var o=Wa(e)?Nt:Wt,r=arguments.length<3;return o(e,si(t,4),n,r,go)},Fn.repeat=function(e,t,n){return t=(n?vi(e,t,n):t===r)?1:hs(t),Ko(bs(e),t)},Fn.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Fn.result=function(e,t,n){var o=-1,i=(t=vr(t,e)).length;for(i||(i=1,e=r);++ou)return[];var n=g,o=vn(e,g);t=si(t),e-=g;for(var r=Jt(o,t);++n=a)return e;var l=n-un(o);if(l<1)return o;var c=s?Or(s,0,l).join(""):e.slice(0,l);if(i===r)return c+o;if(s&&(l+=c.length-l),as(i)){if(e.slice(l).search(i)){var p,u=c;for(i.global||(i=Te(i.source,bs(de.exec(i))+"g")),i.lastIndex=0;p=i.exec(u);)var d=p.index;c=c.slice(0,d===r?l:d)}}else if(e.indexOf(lr(i),l)!=l){var g=c.lastIndexOf(i);g>-1&&(c=c.slice(0,g))}return c+o},Fn.unescape=function(e){return(e=bs(e))&&J.test(e)?e.replace(W,fn):e},Fn.uniqueId=function(e){var t=++Ne;return bs(e)+t},Fn.upperCase=$s,Fn.upperFirst=Qs,Fn.each=ba,Fn.eachRight=Oa,Fn.first=Ji,ll(Fn,(vl={},Oo(Fn,(function(e,t){Re.call(Fn.prototype,t)||(vl[t]=e)})),vl),{chain:!1}),Fn.VERSION="4.17.21",Tt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Fn[e].placeholder=Fn})),Tt(["drop","take"],(function(e,t){Hn.prototype[e]=function(n){n=n===r?1:yn(hs(n),0);var o=this.__filtered__&&!t?new Hn(this):this.clone();return o.__filtered__?o.__takeCount__=vn(n,o.__takeCount__):o.__views__.push({size:vn(n,g),type:e+(o.__dir__<0?"Right":"")}),o},Hn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Tt(["filter","map","takeWhile"],(function(e,t){var n=t+1,o=1==n||3==n;Hn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:si(e,3),type:n}),t.__filtered__=t.__filtered__||o,t}})),Tt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Hn.prototype[e]=function(){return this[n](1).value()[0]}})),Tt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Hn.prototype[e]=function(){return this.__filtered__?new Hn(this):this[n](1)}})),Hn.prototype.compact=function(){return this.filter(rl)},Hn.prototype.find=function(e){return this.filter(e).head()},Hn.prototype.findLast=function(e){return this.reverse().find(e)},Hn.prototype.invokeMap=Yo((function(e,t){return"function"==typeof e?new Hn(this):this.map((function(n){return _o(n,e,t)}))})),Hn.prototype.reject=function(e){return this.filter(La(si(e)))},Hn.prototype.slice=function(e,t){e=hs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Hn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==r&&(n=(t=hs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Hn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Hn.prototype.toArray=function(){return this.take(g)},Oo(Hn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),i=Fn[o?"take"+("last"==t?"Right":""):t],a=o||/^find/.test(t);i&&(Fn.prototype[t]=function(){var t=this.__wrapped__,s=o?[1]:arguments,l=t instanceof Hn,c=s[0],p=l||Wa(t),u=function(e){var t=i.apply(Fn,It([e],s));return o&&d?t[0]:t};p&&n&&"function"==typeof c&&1!=c.length&&(l=p=!1);var d=this.__chain__,g=!!this.__actions__.length,f=a&&!d,h=l&&!g;if(!a&&p){t=h?t:new Hn(this);var m=e.apply(t,s);return m.__actions__.push({func:fa,args:[u],thisArg:r}),new Vn(m,d)}return f&&h?e.apply(this,s):(m=this.thru(u),f?o?m.value()[0]:m.value():m)})})),Tt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=je[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);Fn.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var r=this.value();return t.apply(Wa(r)?r:[],e)}return this[n]((function(n){return t.apply(Wa(n)?n:[],e)}))}})),Oo(Hn.prototype,(function(e,t){var n=Fn[t];if(n){var o=n.name+"";Re.call(_n,o)||(_n[o]=[]),_n[o].push({name:t,func:n})}})),_n[Fr(r,2).name]=[{name:"wrapper",func:r}],Hn.prototype.clone=function(){var e=new Hn(this.__wrapped__);return e.__actions__=jr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=jr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=jr(this.__views__),e},Hn.prototype.reverse=function(){if(this.__filtered__){var e=new Hn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Hn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Wa(e),o=t<0,r=n?e.length:0,i=function(e,t,n){for(var o=-1,r=n.length;++o=this.__values__.length;return{done:e,value:e?r:this.__values__[this.__index__++]}},Fn.prototype.plant=function(e){for(var t,n=this;n instanceof qn;){var o=Ui(n);o.__index__=0,o.__values__=r,t?i.__wrapped__=o:t=o;var i=o;n=n.__wrapped__}return i.__wrapped__=e,t},Fn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Hn){var t=e;return this.__actions__.length&&(t=new Hn(this)),(t=t.reverse()).__actions__.push({func:fa,args:[ta],thisArg:r}),new Vn(t,this.__chain__)}return this.thru(ta)},Fn.prototype.toJSON=Fn.prototype.valueOf=Fn.prototype.value=function(){return gr(this.__wrapped__,this.__actions__)},Fn.prototype.first=Fn.prototype.head,Ye&&(Fn.prototype[Ye]=function(){return this}),Fn}();ut._=hn,(o=function(){return hn}.call(t,n,t,e))===r||(e.exports=o)}.call(this)},35954:e=>{e.exports=n;var t=null;try{t=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function n(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function o(e){return!0===(e&&e.__isLong__)}n.prototype.__isLong__,Object.defineProperty(n.prototype,"__isLong__",{value:!0}),n.isLong=o;var r={},i={};function a(e,t){var n,o,a;return t?(a=0<=(e>>>=0)&&e<256)&&(o=i[e])?o:(n=l(e,(0|e)<0?-1:0,!0),a&&(i[e]=n),n):(a=-128<=(e|=0)&&e<128)&&(o=r[e])?o:(n=l(e,e<0?-1:0,!1),a&&(r[e]=n),n)}function s(e,t){if(isNaN(e))return t?y:m;if(t){if(e<0)return y;if(e>=g)return P}else{if(e<=-f)return x;if(e+1>=f)return w}return e<0?s(-e,t).neg():l(e%d|0,e/d|0,t)}function l(e,t,o){return new n(e,t,o)}n.fromInt=a,n.fromNumber=s,n.fromBits=l;var c=Math.pow;function p(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return m;if("number"==typeof t?(n=t,t=!1):t=!!t,(n=n||10)<2||360)throw Error("interior hyphen");if(0===o)return p(e.substring(1),t,n).neg();for(var r=s(c(n,8)),i=m,a=0;a>>0:this.low},S.toNumber=function(){return this.unsigned?(this.high>>>0)*d+(this.low>>>0):this.high*d+(this.low>>>0)},S.toString=function(e){if((e=e||10)<2||36>>0).toString(e);if((i=l).isZero())return p+a;for(;p.length<6;)p="0"+p;a=""+p+a}},S.getHighBits=function(){return this.high},S.getHighBitsUnsigned=function(){return this.high>>>0},S.getLowBits=function(){return this.low},S.getLowBitsUnsigned=function(){return this.low>>>0},S.getNumBitsAbs=function(){if(this.isNegative())return this.eq(x)?64:this.neg().getNumBitsAbs();for(var e=0!=this.high?this.high:this.low,t=31;t>0&&0==(e&1<=0},S.isOdd=function(){return 1==(1&this.low)},S.isEven=function(){return 0==(1&this.low)},S.equals=function(e){return o(e)||(e=u(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&this.high===e.high&&this.low===e.low},S.eq=S.equals,S.notEquals=function(e){return!this.eq(e)},S.neq=S.notEquals,S.ne=S.notEquals,S.lessThan=function(e){return this.comp(e)<0},S.lt=S.lessThan,S.lessThanOrEqual=function(e){return this.comp(e)<=0},S.lte=S.lessThanOrEqual,S.le=S.lessThanOrEqual,S.greaterThan=function(e){return this.comp(e)>0},S.gt=S.greaterThan,S.greaterThanOrEqual=function(e){return this.comp(e)>=0},S.gte=S.greaterThanOrEqual,S.ge=S.greaterThanOrEqual,S.compare=function(e){if(o(e)||(e=u(e)),this.eq(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},S.comp=S.compare,S.negate=function(){return!this.unsigned&&this.eq(x)?x:this.not().add(v)},S.neg=S.negate,S.add=function(e){o(e)||(e=u(e));var t=this.high>>>16,n=65535&this.high,r=this.low>>>16,i=65535&this.low,a=e.high>>>16,s=65535&e.high,c=e.low>>>16,p=0,d=0,g=0,f=0;return g+=(f+=i+(65535&e.low))>>>16,d+=(g+=r+c)>>>16,p+=(d+=n+s)>>>16,p+=t+a,l((g&=65535)<<16|(f&=65535),(p&=65535)<<16|(d&=65535),this.unsigned)},S.subtract=function(e){return o(e)||(e=u(e)),this.add(e.neg())},S.sub=S.subtract,S.multiply=function(e){if(this.isZero())return m;if(o(e)||(e=u(e)),t)return l(t.mul(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned);if(e.isZero())return m;if(this.eq(x))return e.isOdd()?x:m;if(e.eq(x))return this.isOdd()?x:m;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(h)&&e.lt(h))return s(this.toNumber()*e.toNumber(),this.unsigned);var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,a=65535&this.low,c=e.high>>>16,p=65535&e.high,d=e.low>>>16,g=65535&e.low,f=0,y=0,v=0,b=0;return v+=(b+=a*g)>>>16,y+=(v+=i*g)>>>16,v&=65535,y+=(v+=a*d)>>>16,f+=(y+=r*g)>>>16,y&=65535,f+=(y+=i*d)>>>16,y&=65535,f+=(y+=a*p)>>>16,f+=n*g+r*d+i*p+a*c,l((v&=65535)<<16|(b&=65535),(f&=65535)<<16|(y&=65535),this.unsigned)},S.mul=S.multiply,S.divide=function(e){if(o(e)||(e=u(e)),e.isZero())throw Error("division by zero");var n,r,i;if(t)return this.unsigned||-2147483648!==this.high||-1!==e.low||-1!==e.high?l((this.unsigned?t.div_u:t.div_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?y:m;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return y;if(e.gt(this.shru(1)))return b;i=y}else{if(this.eq(x))return e.eq(v)||e.eq(O)?x:e.eq(x)?v:(n=this.shr(1).div(e).shl(1)).eq(m)?e.isNegative()?v:O:(r=this.sub(e.mul(n)),i=n.add(r.div(e)));if(e.eq(x))return this.unsigned?y:m;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();i=m}for(r=this;r.gte(e);){n=Math.max(1,Math.floor(r.toNumber()/e.toNumber()));for(var a=Math.ceil(Math.log(n)/Math.LN2),p=a<=48?1:c(2,a-48),d=s(n),g=d.mul(e);g.isNegative()||g.gt(r);)g=(d=s(n-=p,this.unsigned)).mul(e);d.isZero()&&(d=v),i=i.add(d),r=r.sub(g)}return i},S.div=S.divide,S.modulo=function(e){return o(e)||(e=u(e)),t?l((this.unsigned?t.rem_u:t.rem_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this.sub(this.div(e).mul(e))},S.mod=S.modulo,S.rem=S.modulo,S.not=function(){return l(~this.low,~this.high,this.unsigned)},S.and=function(e){return o(e)||(e=u(e)),l(this.low&e.low,this.high&e.high,this.unsigned)},S.or=function(e){return o(e)||(e=u(e)),l(this.low|e.low,this.high|e.high,this.unsigned)},S.xor=function(e){return o(e)||(e=u(e)),l(this.low^e.low,this.high^e.high,this.unsigned)},S.shiftLeft=function(e){return o(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?l(this.low<>>32-e,this.unsigned):l(0,this.low<>>e|this.high<<32-e,this.high>>e,this.unsigned):l(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},S.shr=S.shiftRight,S.shiftRightUnsigned=function(e){if(o(e)&&(e=e.toInt()),0==(e&=63))return this;var t=this.high;return e<32?l(this.low>>>e|t<<32-e,t>>>e,this.unsigned):l(32===e?t:t>>>e-32,0,this.unsigned)},S.shru=S.shiftRightUnsigned,S.shr_u=S.shiftRightUnsigned,S.toSigned=function(){return this.unsigned?l(this.low,this.high,!1):this},S.toUnsigned=function(){return this.unsigned?this:l(this.low,this.high,!0)},S.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},S.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&e,e>>>8&255,e>>>16&255,e>>>24]},S.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t]},n.fromBytes=function(e,t,o){return o?n.fromBytesLE(e,t):n.fromBytesBE(e,t)},n.fromBytesLE=function(e,t){return new n(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)},n.fromBytesBE=function(e,t){return new n(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}},29416:(e,t,n)=>{"use strict";const o=n(87406),r=Symbol("max"),i=Symbol("length"),a=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),p=Symbol("noDisposeOnSet"),u=Symbol("lruList"),d=Symbol("cache"),g=Symbol("updateAgeOnGet"),f=()=>1,h=(e,t,n)=>{const o=e[d].get(t);if(o){const t=o.value;if(m(e,t)){if(v(e,o),!e[s])return}else n&&(e[g]&&(o.value.now=Date.now()),e[u].unshiftNode(o));return t.value}},m=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},y=e=>{if(e[i]>e[r])for(let t=e[u].tail;e[i]>e[r]&&null!==t;){const n=t.prev;v(e,t),t=n}},v=(e,t)=>{if(t){const n=t.value;e[c]&&e[c](n.key,n.value),e[i]-=n.length,e[d].delete(n.key),e[u].removeNode(t)}};class b{constructor(e,t,n,o,r){this.key=e,this.value=t,this.length=n,this.now=o,this.maxAge=r||0}}const O=(e,t,n,o)=>{let r=n.value;m(e,r)&&(v(e,n),e[s]||(r=void 0)),r&&t.call(o,r.value,r.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[r]=e.max||1/0;const t=e.length||f;if(this[a]="function"!=typeof t?f:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[p]=e.noDisposeOnSet||!1,this[g]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[r]=e||1/0,y(this)}get max(){return this[r]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,y(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[a]&&(this[a]=e,this[i]=0,this[u].forEach((e=>{e.length=this[a](e.value,e.key),this[i]+=e.length}))),y(this)}get lengthCalculator(){return this[a]}get length(){return this[i]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let n=this[u].tail;null!==n;){const o=n.prev;O(this,e,n,t),n=o}}forEach(e,t){t=t||this;for(let n=this[u].head;null!==n;){const o=n.next;O(this,e,n,t),n=o}}keys(){return this[u].toArray().map((e=>e.key))}values(){return this[u].toArray().map((e=>e.value))}reset(){this[c]&&this[u]&&this[u].length&&this[u].forEach((e=>this[c](e.key,e.value))),this[d]=new Map,this[u]=new o,this[i]=0}dump(){return this[u].map((e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[u]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const o=n?Date.now():0,s=this[a](t,e);if(this[d].has(e)){if(s>this[r])return v(this,this[d].get(e)),!1;const a=this[d].get(e).value;return this[c]&&(this[p]||this[c](e,a.value)),a.now=o,a.maxAge=n,a.value=t,this[i]+=s-a.length,a.length=s,this.get(e),y(this),!0}const g=new b(e,t,s,o,n);return g.length>this[r]?(this[c]&&this[c](e,t),!1):(this[i]+=g.length,this[u].unshift(g),this[d].set(e,this[u].head),y(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!m(this,t)}get(e){return h(this,e,!0)}peek(e){return h(this,e,!1)}pop(){const e=this[u].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const o=e[n],r=o.e||0;if(0===r)this.set(o.k,o.v);else{const e=r-t;e>0&&this.set(o.k,o.v,e)}}}prune(){this[d].forEach(((e,t)=>h(this,t,!1)))}}},38891:(e,t,n)=>{"use strict";var o=n(13685);e.exports=o.METHODS&&o.METHODS.map((function(e){return e.toLowerCase()}))||["get","post","put","head","delete","options","trace","copy","lock","mkcol","move","purge","propfind","proppatch","unlock","report","mkactivity","checkout","merge","m-search","notify","subscribe","unsubscribe","patch","search","connect"]},10257:(e,t,n)=>{e.exports=n(66450)},69335:(e,t,n)=>{"use strict";var o,r,i,a=n(10257),s=n(71017).extname,l=/^\s*([^;\s]*)(?:;|\s|$)/,c=/^text\//i;function p(e){if(!e||"string"!=typeof e)return!1;var t=l.exec(e),n=t&&a[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!c.test(t[1]))&&"UTF-8"}t.charset=p,t.charsets={lookup:p},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var o=t.charset(n);o&&(n+="; charset="+o.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=l.exec(e),o=n&&t.extensions[n[1].toLowerCase()];return!(!o||!o.length)&&o[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var n=s("x."+e).toLowerCase().substr(1);return n&&t.types[n]||!1},t.types=Object.create(null),o=t.extensions,r=t.types,i=["nginx","apache",void 0,"iana"],Object.keys(a).forEach((function(e){var t=a[e],n=t.extensions;if(n&&n.length){o[e]=n;for(var s=0;sp||c===p&&"application/"===r[l].substr(0,12)))continue}r[l]=e}}}))},11886:(e,t,n)=>{n(71017);var o=n(57147);function r(){this.types=Object.create(null),this.extensions=Object.create(null)}r.prototype.define=function(e){for(var t in e){for(var n=e[t],o=0;o{var t=1e3,n=60*t,o=60*n,r=24*o;function i(e,t,n,o){var r=t>=1.5*n;return Math.round(e/n)+" "+o+(r?"s":"")}e.exports=function(e,a){a=a||{};var s,l,c=typeof e;if("string"===c&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(i){var a=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*r;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===c&&isFinite(e))return a.long?(s=e,(l=Math.abs(s))>=r?i(s,l,r,"day"):l>=o?i(s,l,o,"hour"):l>=n?i(s,l,n,"minute"):l>=t?i(s,l,t,"second"):s+" ms"):function(e){var i=Math.abs(e);return i>=r?Math.round(e/r)+"d":i>=o?Math.round(e/o)+"h":i>=n?Math.round(e/n)+"m":i>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},88514:e=>{var t=1e3,n=60*t,o=60*n,r=24*o;function i(e,t,n,o){var r=t>=1.5*n;return Math.round(e/n)+" "+o+(r?"s":"")}e.exports=function(e,a){a=a||{};var s,l,c=typeof e;if("string"===c&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(i){var a=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*r;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===c&&isFinite(e))return a.long?(s=e,(l=Math.abs(s))>=r?i(s,l,r,"day"):l>=o?i(s,l,o,"hour"):l>=n?i(s,l,n,"minute"):l>=t?i(s,l,t,"second"):s+" ms"):function(e){var i=Math.abs(e);return i>=r?Math.round(e/r)+"d":i>=o?Math.round(e/o)+"h":i>=n?Math.round(e/n)+"m":i>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},43882:(e,t,n)=>{var o=n(83418);function r(e,t){o.cipher.registerAlgorithm(e,(function(){return new o.aes.Algorithm(e,t)}))}n(58654),n(23392),n(63290),e.exports=o.aes=o.aes||{},o.aes.startEncrypting=function(e,t,n,o){var r=f({key:e,output:n,decrypt:!1,mode:o});return r.start(t),r},o.aes.createEncryptionCipher=function(e,t){return f({key:e,output:null,decrypt:!1,mode:t})},o.aes.startDecrypting=function(e,t,n,o){var r=f({key:e,output:n,decrypt:!0,mode:o});return r.start(t),r},o.aes.createDecryptionCipher=function(e,t){return f({key:e,output:null,decrypt:!0,mode:t})},o.aes.Algorithm=function(e,t){p||u();var n=this;n.name=e,n.mode=new t({blockSize:16,cipher:{encrypt:function(e,t){return g(n._w,e,t,!1)},decrypt:function(e,t){return g(n._w,e,t,!0)}}}),n._init=!1},o.aes.Algorithm.prototype.initialize=function(e){if(!this._init){var t,n=e.key;if("string"!=typeof n||16!==n.length&&24!==n.length&&32!==n.length){if(o.util.isArray(n)&&(16===n.length||24===n.length||32===n.length)){t=n,n=o.util.createBuffer();for(var r=0;r>>=2,r=0;r>8^255&u^99,i[h]=u,a[u]=h,g=(d=e[u])<<24^u<<16^u<<8^u^d,f=((n=e[h])^(o=e[n])^(r=e[o]))<<24^(h^r)<<16^(h^o^r)<<8^h^n^r;for(var y=0;y<4;++y)l[y][h]=g,c[y][u]=f,g=g<<24|g>>>8,f=f<<24|f>>>8;0===h?h=m=1:(h=n^e[e[e[n^r]]],m^=e[e[m]])}}function d(e,t){for(var n,o=e.slice(0),r=1,a=o.length,l=4*(a+6+1),p=a;p>>16&255]<<24^i[n>>>8&255]<<16^i[255&n]<<8^i[n>>>24]^s[r]<<24,r++):a>6&&p%a==4&&(n=i[n>>>24]<<24^i[n>>>16&255]<<16^i[n>>>8&255]<<8^i[255&n]),o[p]=o[p-a]^n;if(t){for(var u,d=c[0],g=c[1],f=c[2],h=c[3],m=o.slice(0),y=(p=0,(l=o.length)-4);p>>24]]^g[i[u>>>16&255]]^f[i[u>>>8&255]]^h[i[255&u]];o=m}return o}function g(e,t,n,o){var r,s,p,u,d,g,f,h,m,y,v,b,O=e.length/4-1;o?(r=c[0],s=c[1],p=c[2],u=c[3],d=a):(r=l[0],s=l[1],p=l[2],u=l[3],d=i),g=t[0]^e[0],f=t[o?3:1]^e[1],h=t[2]^e[2],m=t[o?1:3]^e[3];for(var w=3,P=1;P>>24]^s[f>>>16&255]^p[h>>>8&255]^u[255&m]^e[++w],v=r[f>>>24]^s[h>>>16&255]^p[m>>>8&255]^u[255&g]^e[++w],b=r[h>>>24]^s[m>>>16&255]^p[g>>>8&255]^u[255&f]^e[++w],m=r[m>>>24]^s[g>>>16&255]^p[f>>>8&255]^u[255&h]^e[++w],g=y,f=v,h=b;n[0]=d[g>>>24]<<24^d[f>>>16&255]<<16^d[h>>>8&255]<<8^d[255&m]^e[++w],n[o?3:1]=d[f>>>24]<<24^d[h>>>16&255]<<16^d[m>>>8&255]<<8^d[255&g]^e[++w],n[2]=d[h>>>24]<<24^d[m>>>16&255]<<16^d[g>>>8&255]<<8^d[255&f]^e[++w],n[o?1:3]=d[m>>>24]<<24^d[g>>>16&255]<<16^d[f>>>8&255]<<8^d[255&h]^e[++w]}function f(e){var t,n="AES-"+((e=e||{}).mode||"CBC").toUpperCase(),r=(t=e.decrypt?o.cipher.createDecipher(n,e.key):o.cipher.createCipher(n,e.key)).start;return t.start=function(e,n){var i=null;n instanceof o.util.ByteBuffer&&(i=n,n={}),(n=n||{}).output=i,n.iv=e,r.call(t,n)},t}},61331:(e,t,n)=>{var o=n(83418);n(43882),n(93478);var r=e.exports=o.tls;function i(e,t,n){var i=t.entity===o.tls.ConnectionEnd.client;e.read.cipherState={init:!1,cipher:o.cipher.createDecipher("AES-CBC",i?n.keys.server_write_key:n.keys.client_write_key),iv:i?n.keys.server_write_IV:n.keys.client_write_IV},e.write.cipherState={init:!1,cipher:o.cipher.createCipher("AES-CBC",i?n.keys.client_write_key:n.keys.server_write_key),iv:i?n.keys.client_write_IV:n.keys.server_write_IV},e.read.cipherFunction=c,e.write.cipherFunction=a,e.read.macLength=e.write.macLength=n.mac_length,e.read.macFunction=e.write.macFunction=r.hmac_sha1}function a(e,t){var n,i=!1,a=t.macFunction(t.macKey,t.sequenceNumber,e);e.fragment.putBytes(a),t.updateSequenceNumber(),n=e.version.minor===r.Versions.TLS_1_0.minor?t.cipherState.init?null:t.cipherState.iv:o.random.getBytesSync(16),t.cipherState.init=!0;var l=t.cipherState.cipher;return l.start({iv:n}),e.version.minor>=r.Versions.TLS_1_1.minor&&l.output.putBytes(n),l.update(e.fragment),l.finish(s)&&(e.fragment=l.output,e.length=e.fragment.length(),i=!0),i}function s(e,t,n){if(!n){var o=e-t.length()%e;t.fillWithByte(o-1,o)}return!0}function l(e,t,n){var o=!0;if(n){for(var r=t.length(),i=t.last(),a=r-1-i;a=s?(e.fragment=a.output.getBytes(p-s),c=a.output.getBytes(s)):e.fragment=a.output.getBytes(),e.fragment=o.util.createBuffer(e.fragment),e.length=e.fragment.length();var u=t.macFunction(t.macKey,t.sequenceNumber,e);return t.updateSequenceNumber(),i=function(e,t,n){var r=o.hmac.create();return r.start("SHA1",e),r.update(t),t=r.digest().getBytes(),r.start(null,null),r.update(n),t===(n=r.digest().getBytes())}(t.macKey,c,u)&&i,i}r.CipherSuites.TLS_RSA_WITH_AES_128_CBC_SHA={id:[0,47],name:"TLS_RSA_WITH_AES_128_CBC_SHA",initSecurityParameters:function(e){e.bulk_cipher_algorithm=r.BulkCipherAlgorithm.aes,e.cipher_type=r.CipherType.block,e.enc_key_length=16,e.block_length=16,e.fixed_iv_length=16,e.record_iv_length=16,e.mac_algorithm=r.MACAlgorithm.hmac_sha1,e.mac_length=20,e.mac_key_length=20},initConnectionState:i},r.CipherSuites.TLS_RSA_WITH_AES_256_CBC_SHA={id:[0,53],name:"TLS_RSA_WITH_AES_256_CBC_SHA",initSecurityParameters:function(e){e.bulk_cipher_algorithm=r.BulkCipherAlgorithm.aes,e.cipher_type=r.CipherType.block,e.enc_key_length=32,e.block_length=16,e.fixed_iv_length=16,e.record_iv_length=16,e.mac_algorithm=r.MACAlgorithm.hmac_sha1,e.mac_length=20,e.mac_key_length=20},initConnectionState:i}},58631:(e,t,n)=>{var o=n(83418);n(10001);var r=o.asn1;t.privateKeyValidator={name:"PrivateKeyInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"PrivateKeyInfo.version",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"PrivateKeyInfo.privateKeyAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"privateKeyOid"}]},{name:"PrivateKeyInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.OCTETSTRING,constructed:!1,capture:"privateKey"}]},t.publicKeyValidator={name:"SubjectPublicKeyInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"subjectPublicKeyInfo",value:[{name:"SubjectPublicKeyInfo.AlgorithmIdentifier",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"publicKeyOid"}]},{tagClass:r.Class.UNIVERSAL,type:r.Type.BITSTRING,constructed:!1,composed:!0,captureBitStringValue:"ed25519PublicKey"}]}},10001:(e,t,n)=>{var o=n(83418);n(63290),n(43793);var r=e.exports=o.asn1=o.asn1||{};function i(e,t,n){if(n>t){var o=new Error("Too few bytes to parse DER.");throw o.available=e.length(),o.remaining=t,o.requested=n,o}}function a(e,t,n,o){var s;i(e,t,2);var l=e.getByte();t--;var c=192&l,p=31&l;s=e.length();var u,d,g=function(e,t){var n=e.getByte();if(t--,128!==n){var o;if(128&n){var r=127&n;i(e,t,r),o=e.getInt(r<<3)}else o=n;if(o<0)throw new Error("Negative length: "+o);return o}}(e,t);if(t-=s-e.length(),void 0!==g&&g>t){if(o.strict){var f=new Error("Too few bytes to read ASN.1 value.");throw f.available=e.length(),f.remaining=t,f.requested=g,f}g=t}var h=32==(32&l);if(h)if(u=[],void 0===g)for(;;){if(i(e,t,2),e.bytes(2)===String.fromCharCode(0,0)){e.getBytes(2),t-=2;break}s=e.length(),u.push(a(e,t,n+1,o)),t-=s-e.length()}else for(;g>0;)s=e.length(),u.push(a(e,g,n+1,o)),t-=s-e.length(),g-=s-e.length();if(void 0===u&&c===r.Class.UNIVERSAL&&p===r.Type.BITSTRING&&(d=e.bytes(g)),void 0===u&&o.decodeBitStrings&&c===r.Class.UNIVERSAL&&p===r.Type.BITSTRING&&g>1){var m=e.read,y=t,v=0;if(p===r.Type.BITSTRING&&(i(e,t,1),v=e.getByte(),t--),0===v)try{s=e.length();var b=a(e,t,n+1,{strict:!0,decodeBitStrings:!0}),O=s-e.length();t-=O,p==r.Type.BITSTRING&&O++;var w=b.tagClass;O!==g||w!==r.Class.UNIVERSAL&&w!==r.Class.CONTEXT_SPECIFIC||(u=[b])}catch(e){}void 0===u&&(e.read=m,t=y)}if(void 0===u){if(void 0===g){if(o.strict)throw new Error("Non-constructed ASN.1 object of indefinite length.");g=t}if(p===r.Type.BMPSTRING)for(u="";g>0;g-=2)i(e,t,2),u+=String.fromCharCode(e.getInt16()),t-=2;else u=e.getBytes(g),t-=g}var P=void 0===d?null:{bitStringContents:d};return r.create(c,p,h,u,P)}r.Class={UNIVERSAL:0,APPLICATION:64,CONTEXT_SPECIFIC:128,PRIVATE:192},r.Type={NONE:0,BOOLEAN:1,INTEGER:2,BITSTRING:3,OCTETSTRING:4,NULL:5,OID:6,ODESC:7,EXTERNAL:8,REAL:9,ENUMERATED:10,EMBEDDED:11,UTF8:12,ROID:13,SEQUENCE:16,SET:17,PRINTABLESTRING:19,IA5STRING:22,UTCTIME:23,GENERALIZEDTIME:24,BMPSTRING:30},r.create=function(e,t,n,i,a){if(o.util.isArray(i)){for(var s=[],l=0;l1&&(0===e.value.charCodeAt(0)&&0==(128&e.value.charCodeAt(1))||255===e.value.charCodeAt(0)&&128==(128&e.value.charCodeAt(1)))?i.putBytes(e.value.substr(1)):i.putBytes(e.value);if(t.putByte(n),i.length()<=127)t.putByte(127&i.length());else{var l=i.length(),c="";do{c+=String.fromCharCode(255&l),l>>>=8}while(l>0);for(t.putByte(128|c.length),s=c.length-1;s>=0;--s)t.putByte(c.charCodeAt(s))}return t.putBuffer(i),t},r.oidToDer=function(e){var t,n,r,i,a=e.split("."),s=o.util.createBuffer();s.putByte(40*parseInt(a[0],10)+parseInt(a[1],10));for(var l=2;l>>=7,t||(i|=128),n.push(i),t=!1}while(r>0);for(var c=n.length-1;c>=0;--c)s.putByte(n[c])}return s},r.derToOid=function(e){var t;"string"==typeof e&&(e=o.util.createBuffer(e));var n=e.getByte();t=Math.floor(n/40)+"."+n%40;for(var r=0;e.length()>0;)r<<=7,128&(n=e.getByte())?r+=127&n:(t+="."+(r+n),r=0);return t},r.utcTimeToDate=function(e){var t=new Date,n=parseInt(e.substr(0,2),10);n=n>=50?1900+n:2e3+n;var o=parseInt(e.substr(2,2),10)-1,r=parseInt(e.substr(4,2),10),i=parseInt(e.substr(6,2),10),a=parseInt(e.substr(8,2),10),s=0;if(e.length>11){var l=e.charAt(10),c=10;"+"!==l&&"-"!==l&&(s=parseInt(e.substr(10,2),10),c+=2)}if(t.setUTCFullYear(n,o,r),t.setUTCHours(i,a,s,0),c&&("+"===(l=e.charAt(c))||"-"===l)){var p=60*parseInt(e.substr(c+1,2),10)+parseInt(e.substr(c+4,2),10);p*=6e4,"+"===l?t.setTime(+t-p):t.setTime(+t+p)}return t},r.generalizedTimeToDate=function(e){var t=new Date,n=parseInt(e.substr(0,4),10),o=parseInt(e.substr(4,2),10)-1,r=parseInt(e.substr(6,2),10),i=parseInt(e.substr(8,2),10),a=parseInt(e.substr(10,2),10),s=parseInt(e.substr(12,2),10),l=0,c=0,p=!1;"Z"===e.charAt(e.length-1)&&(p=!0);var u=e.length-5,d=e.charAt(u);return"+"!==d&&"-"!==d||(c=60*parseInt(e.substr(u+1,2),10)+parseInt(e.substr(u+4,2),10),c*=6e4,"+"===d&&(c*=-1),p=!0),"."===e.charAt(14)&&(l=1e3*parseFloat(e.substr(14),10)),p?(t.setUTCFullYear(n,o,r),t.setUTCHours(i,a,s,l),t.setTime(+t+c)):(t.setFullYear(n,o,r),t.setHours(i,a,s,l)),t},r.dateToUtcTime=function(e){if("string"==typeof e)return e;var t="",n=[];n.push((""+e.getUTCFullYear()).substr(2)),n.push(""+(e.getUTCMonth()+1)),n.push(""+e.getUTCDate()),n.push(""+e.getUTCHours()),n.push(""+e.getUTCMinutes()),n.push(""+e.getUTCSeconds());for(var o=0;o=-128&&e<128)return t.putSignedInt(e,8);if(e>=-32768&&e<32768)return t.putSignedInt(e,16);if(e>=-8388608&&e<8388608)return t.putSignedInt(e,24);if(e>=-2147483648&&e<2147483648)return t.putSignedInt(e,32);var n=new Error("Integer too large; max is 32-bits.");throw n.integer=e,n},r.derToInteger=function(e){"string"==typeof e&&(e=o.util.createBuffer(e));var t=8*e.length();if(t>32)throw new Error("Integer too large; max is 32-bits.");return e.getSignedInt(t)},r.validate=function(e,t,n,i){var a=!1;if(e.tagClass!==t.tagClass&&void 0!==t.tagClass||e.type!==t.type&&void 0!==t.type)i&&(e.tagClass!==t.tagClass&&i.push("["+t.name+'] Expected tag class "'+t.tagClass+'", got "'+e.tagClass+'"'),e.type!==t.type&&i.push("["+t.name+'] Expected type "'+t.type+'", got "'+e.type+'"'));else if(e.constructed===t.constructed||void 0===t.constructed){if(a=!0,t.value&&o.util.isArray(t.value))for(var s=0,l=0;a&&l0&&(i+="\n");for(var a="",l=0;l1?i+="0x"+o.util.bytesToHex(e.value.slice(1)):i+="(none)",e.value.length>0){var d=e.value.charCodeAt(0);1==d?i+=" (1 unused bit shown)":d>1&&(i+=" ("+d+" unused bits shown)")}}else if(e.type===r.Type.OCTETSTRING)s.test(e.value)||(i+="("+e.value+") "),i+="0x"+o.util.bytesToHex(e.value);else if(e.type===r.Type.UTF8)try{i+=o.util.decodeUtf8(e.value)}catch(t){if("URI malformed"!==t.message)throw t;i+="0x"+o.util.bytesToHex(e.value)+" (malformed UTF8)"}else e.type===r.Type.PRINTABLESTRING||e.type===r.Type.IA5String?i+=e.value:s.test(e.value)?i+="0x"+o.util.bytesToHex(e.value):0===e.value.length?i+="[null]":i+=e.value}return i}},40976:e=>{var t={};e.exports=t;var n={};t.encode=function(e,t,n){if("string"!=typeof t)throw new TypeError('"alphabet" must be a string.');if(void 0!==n&&"number"!=typeof n)throw new TypeError('"maxline" must be a number.');var o="";if(e instanceof Uint8Array){var r=0,i=t.length,a=t.charAt(0),s=[0];for(r=0;r0;)s.push(c%i),c=c/i|0}for(r=0;0===e[r]&&r=0;--r)o+=t[s[r]]}else o=function(e,t){var n=0,o=t.length,r=t.charAt(0),i=[0];for(n=0;n0;)i.push(s%o),s=s/o|0}var l="";for(n=0;0===e.at(n)&&n=0;--n)l+=t[i[n]];return l}(e,t);if(n){var p=new RegExp(".{1,"+n+"}","g");o=o.match(p).join("\r\n")}return o},t.decode=function(e,t){if("string"!=typeof e)throw new TypeError('"input" must be a string.');if("string"!=typeof t)throw new TypeError('"alphabet" must be a string.');var o=n[t];if(!o){o=n[t]=[];for(var r=0;r>=8;for(;p>0;)s.push(255&p),p>>=8}for(var u=0;e[u]===a&&u{var o=n(83418);n(63290),e.exports=o.cipher=o.cipher||{},o.cipher.algorithms=o.cipher.algorithms||{},o.cipher.createCipher=function(e,t){var n=e;if("string"==typeof n&&(n=o.cipher.getAlgorithm(n))&&(n=n()),!n)throw new Error("Unsupported algorithm: "+e);return new o.cipher.BlockCipher({algorithm:n,key:t,decrypt:!1})},o.cipher.createDecipher=function(e,t){var n=e;if("string"==typeof n&&(n=o.cipher.getAlgorithm(n))&&(n=n()),!n)throw new Error("Unsupported algorithm: "+e);return new o.cipher.BlockCipher({algorithm:n,key:t,decrypt:!0})},o.cipher.registerAlgorithm=function(e,t){e=e.toUpperCase(),o.cipher.algorithms[e]=t},o.cipher.getAlgorithm=function(e){return(e=e.toUpperCase())in o.cipher.algorithms?o.cipher.algorithms[e]:null};var r=o.cipher.BlockCipher=function(e){this.algorithm=e.algorithm,this.mode=this.algorithm.mode,this.blockSize=this.mode.blockSize,this._finish=!1,this._input=null,this.output=null,this._op=e.decrypt?this.mode.decrypt:this.mode.encrypt,this._decrypt=e.decrypt,this.algorithm.initialize(e)};r.prototype.start=function(e){e=e||{};var t={};for(var n in e)t[n]=e[n];t.decrypt=this._decrypt,this._finish=!1,this._input=o.util.createBuffer(),this.output=e.output||o.util.createBuffer(),this.mode.start(t)},r.prototype.update=function(e){for(e&&this._input.putBuffer(e);!this._op.call(this.mode,this._input,this.output,this._finish)&&!this._finish;);this._input.compact()},r.prototype.finish=function(e){!e||"ECB"!==this.mode.name&&"CBC"!==this.mode.name||(this.mode.pad=function(t){return e(this.blockSize,t,!1)},this.mode.unpad=function(t){return e(this.blockSize,t,!0)});var t={};return t.decrypt=this._decrypt,t.overflow=this._input.length()%this.blockSize,!(!this._decrypt&&this.mode.pad&&!this.mode.pad(this._input,t)||(this._finish=!0,this.update(),this._decrypt&&this.mode.unpad&&!this.mode.unpad(this.output,t)||this.mode.afterFinish&&!this.mode.afterFinish(this.output,t)))}},23392:(e,t,n)=>{var o=n(83418);n(63290),o.cipher=o.cipher||{};var r=e.exports=o.cipher.modes=o.cipher.modes||{};function i(e,t){if("string"==typeof e&&(e=o.util.createBuffer(e)),o.util.isArray(e)&&e.length>4){var n=e;e=o.util.createBuffer();for(var r=0;r0))return!0;for(var o=0;o0))return!0;for(var o=0;o0)return!1;var n=e.length(),o=e.at(n-1);return!(o>this.blockSize<<2||(e.truncate(o),0))},r.cbc=function(e){e=e||{},this.name="CBC",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=new Array(this._ints),this._outBlock=new Array(this._ints)},r.cbc.prototype.start=function(e){if(null===e.iv){if(!this._prev)throw new Error("Invalid IV parameter.");this._iv=this._prev.slice(0)}else{if(!("iv"in e))throw new Error("Invalid IV parameter.");this._iv=i(e.iv,this.blockSize),this._prev=this._iv.slice(0)}},r.cbc.prototype.encrypt=function(e,t,n){if(e.length()0))return!0;for(var o=0;o0))return!0;for(var o=0;o0)return!1;var n=e.length(),o=e.at(n-1);return!(o>this.blockSize<<2||(e.truncate(o),0))},r.cfb=function(e){e=e||{},this.name="CFB",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=new Array(this._ints),this._partialBlock=new Array(this._ints),this._partialOutput=o.util.createBuffer(),this._partialBytes=0},r.cfb.prototype.start=function(e){if(!("iv"in e))throw new Error("Invalid IV parameter.");this._iv=i(e.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},r.cfb.prototype.encrypt=function(e,t,n){var o=e.length();if(0===o)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&o>=this.blockSize)for(var r=0;r0&&(i=this.blockSize-i),this._partialOutput.clear(),r=0;r0)e.read-=this.blockSize;else for(r=0;r0&&this._partialOutput.getBytes(this._partialBytes),i>0&&!n)return t.putBytes(this._partialOutput.getBytes(i-this._partialBytes)),this._partialBytes=i,!0;t.putBytes(this._partialOutput.getBytes(o-this._partialBytes)),this._partialBytes=0}},r.cfb.prototype.decrypt=function(e,t,n){var o=e.length();if(0===o)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&o>=this.blockSize)for(var r=0;r0&&(i=this.blockSize-i),this._partialOutput.clear(),r=0;r0)e.read-=this.blockSize;else for(r=0;r0&&this._partialOutput.getBytes(this._partialBytes),i>0&&!n)return t.putBytes(this._partialOutput.getBytes(i-this._partialBytes)),this._partialBytes=i,!0;t.putBytes(this._partialOutput.getBytes(o-this._partialBytes)),this._partialBytes=0}},r.ofb=function(e){e=e||{},this.name="OFB",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=new Array(this._ints),this._partialOutput=o.util.createBuffer(),this._partialBytes=0},r.ofb.prototype.start=function(e){if(!("iv"in e))throw new Error("Invalid IV parameter.");this._iv=i(e.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},r.ofb.prototype.encrypt=function(e,t,n){var o=e.length();if(0===e.length())return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&o>=this.blockSize)for(var r=0;r0&&(i=this.blockSize-i),this._partialOutput.clear(),r=0;r0)e.read-=this.blockSize;else for(r=0;r0&&this._partialOutput.getBytes(this._partialBytes),i>0&&!n)return t.putBytes(this._partialOutput.getBytes(i-this._partialBytes)),this._partialBytes=i,!0;t.putBytes(this._partialOutput.getBytes(o-this._partialBytes)),this._partialBytes=0}},r.ofb.prototype.decrypt=r.ofb.prototype.encrypt,r.ctr=function(e){e=e||{},this.name="CTR",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=new Array(this._ints),this._partialOutput=o.util.createBuffer(),this._partialBytes=0},r.ctr.prototype.start=function(e){if(!("iv"in e))throw new Error("Invalid IV parameter.");this._iv=i(e.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},r.ctr.prototype.encrypt=function(e,t,n){var o=e.length();if(0===o)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&o>=this.blockSize)for(var r=0;r0&&(i=this.blockSize-i),this._partialOutput.clear(),r=0;r0&&(e.read-=this.blockSize),this._partialBytes>0&&this._partialOutput.getBytes(this._partialBytes),i>0&&!n)return t.putBytes(this._partialOutput.getBytes(i-this._partialBytes)),this._partialBytes=i,!0;t.putBytes(this._partialOutput.getBytes(o-this._partialBytes)),this._partialBytes=0}a(this._inBlock)},r.ctr.prototype.decrypt=r.ctr.prototype.encrypt,r.gcm=function(e){e=e||{},this.name="GCM",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=new Array(this._ints),this._outBlock=new Array(this._ints),this._partialOutput=o.util.createBuffer(),this._partialBytes=0,this._R=3774873600},r.gcm.prototype.start=function(e){if(!("iv"in e))throw new Error("Invalid IV parameter.");var t,n=o.util.createBuffer(e.iv);if(this._cipherLength=0,t="additionalData"in e?o.util.createBuffer(e.additionalData):o.util.createBuffer(),this._tagLength="tagLength"in e?e.tagLength:128,this._tag=null,e.decrypt&&(this._tag=o.util.createBuffer(e.tag).getBytes(),this._tag.length!==this._tagLength/8))throw new Error("Authentication tag does not match tag length.");this._hashBlock=new Array(this._ints),this.tag=null,this._hashSubkey=new Array(this._ints),this.cipher.encrypt([0,0,0,0],this._hashSubkey),this.componentBits=4,this._m=this.generateHashTable(this._hashSubkey,this.componentBits);var r=n.length();if(12===r)this._j0=[n.getInt32(),n.getInt32(),n.getInt32(),1];else{for(this._j0=[0,0,0,0];n.length()>0;)this._j0=this.ghash(this._hashSubkey,this._j0,[n.getInt32(),n.getInt32(),n.getInt32(),n.getInt32()]);this._j0=this.ghash(this._hashSubkey,this._j0,[0,0].concat(s(8*r)))}this._inBlock=this._j0.slice(0),a(this._inBlock),this._partialBytes=0,t=o.util.createBuffer(t),this._aDataLength=s(8*t.length());var i=t.length()%this.blockSize;for(i&&t.fillWithByte(0,this.blockSize-i),this._s=[0,0,0,0];t.length()>0;)this._s=this.ghash(this._hashSubkey,this._s,[t.getInt32(),t.getInt32(),t.getInt32(),t.getInt32()])},r.gcm.prototype.encrypt=function(e,t,n){var o=e.length();if(0===o)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&o>=this.blockSize){for(var r=0;r0&&(i=this.blockSize-i),this._partialOutput.clear(),r=0;r0&&this._partialOutput.getBytes(this._partialBytes),i>0&&!n)return e.read-=this.blockSize,t.putBytes(this._partialOutput.getBytes(i-this._partialBytes)),this._partialBytes=i,!0;t.putBytes(this._partialOutput.getBytes(o-this._partialBytes)),this._partialBytes=0}this._s=this.ghash(this._hashSubkey,this._s,this._outBlock),a(this._inBlock)},r.gcm.prototype.decrypt=function(e,t,n){var o=e.length();if(o0))return!0;this.cipher.encrypt(this._inBlock,this._outBlock),a(this._inBlock),this._hashBlock[0]=e.getInt32(),this._hashBlock[1]=e.getInt32(),this._hashBlock[2]=e.getInt32(),this._hashBlock[3]=e.getInt32(),this._s=this.ghash(this._hashSubkey,this._s,this._hashBlock);for(var r=0;r0;--o)t[o]=e[o]>>>1|(1&e[o-1])<<31;t[0]=e[0]>>>1,n&&(t[0]^=this._R)},r.gcm.prototype.tableMultiply=function(e){for(var t=[0,0,0,0],n=0;n<32;++n){var o=e[n/8|0]>>>4*(7-n%8)&15,r=this._m[n][o];t[0]^=r[0],t[1]^=r[1],t[2]^=r[2],t[3]^=r[3]}return t},r.gcm.prototype.ghash=function(e,t,n){return t[0]^=n[0],t[1]^=n[1],t[2]^=n[2],t[3]^=n[3],this.tableMultiply(t)},r.gcm.prototype.generateHashTable=function(e,t){for(var n=8/t,o=4*n,r=16*n,i=new Array(r),a=0;a>>1,r=new Array(n);r[o]=e.slice(0);for(var i=o>>>1;i>0;)this.pow(r[2*i],r[i]=[]),i>>=1;for(i=2;i{var o=n(83418);function r(e,t){o.cipher.registerAlgorithm(e,(function(){return new o.des.Algorithm(e,t)}))}n(58654),n(23392),n(63290),e.exports=o.des=o.des||{},o.des.startEncrypting=function(e,t,n,o){var r=f({key:e,output:n,decrypt:!1,mode:o||(null===t?"ECB":"CBC")});return r.start(t),r},o.des.createEncryptionCipher=function(e,t){return f({key:e,output:null,decrypt:!1,mode:t})},o.des.startDecrypting=function(e,t,n,o){var r=f({key:e,output:n,decrypt:!0,mode:o||(null===t?"ECB":"CBC")});return r.start(t),r},o.des.createDecryptionCipher=function(e,t){return f({key:e,output:null,decrypt:!0,mode:t})},o.des.Algorithm=function(e,t){var n=this;n.name=e,n.mode=new t({blockSize:8,cipher:{encrypt:function(e,t){return g(n._keys,e,t,!1)},decrypt:function(e,t){return g(n._keys,e,t,!0)}}}),n._init=!1},o.des.Algorithm.prototype.initialize=function(e){if(!this._init){var t=o.util.createBuffer(e.key);if(0===this.name.indexOf("3DES")&&24!==t.length())throw new Error("Invalid Triple-DES key size: "+8*t.length());this._keys=function(e){for(var t,n=[0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964],o=[0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697],r=[0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272],i=[0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144],a=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],s=[0,1024,32,1056,0,1024,32,1056,33554432,33555456,33554464,33555488,33554432,33555456,33554464,33555488],l=[0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746],c=[0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568],p=[0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578],u=[0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024,268436480,1032,268436488],d=[0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800],g=[0,16777216,512,16777728,2097152,18874368,2097664,18874880,67108864,83886080,67109376,83886592,69206016,85983232,69206528,85983744],f=[0,4096,134217728,134221824,524288,528384,134742016,134746112,16,4112,134217744,134221840,524304,528400,134742032,134746128],h=[0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261],m=e.length()>8?3:1,y=[],v=[0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0],b=0,O=0;O>>4^P))<<4,w^=t=65535&((P^=t)>>>-16^w),w^=(t=858993459&(w>>>2^(P^=t<<-16)))<<2,w^=t=65535&((P^=t)>>>-16^w),w^=(t=1431655765&(w>>>1^(P^=t<<-16)))<<1,w^=t=16711935&((P^=t)>>>8^w),t=(w^=(t=1431655765&(w>>>1^(P^=t<<8)))<<1)<<8|(P^=t)>>>20&240,w=P<<24|P<<8&16711680|P>>>8&65280|P>>>24&240,P=t;for(var x=0;x>>26,P=P<<2|P>>>26):(w=w<<1|w>>>27,P=P<<1|P>>>27);var S=n[(w&=-15)>>>28]|o[w>>>24&15]|r[w>>>20&15]|i[w>>>16&15]|a[w>>>12&15]|s[w>>>8&15]|l[w>>>4&15],T=c[(P&=-15)>>>28]|p[P>>>24&15]|u[P>>>20&15]|d[P>>>16&15]|g[P>>>12&15]|f[P>>>8&15]|h[P>>>4&15];t=65535&(T>>>16^S),y[b++]=S^t,y[b++]=T^t<<16}}return y}(t),this._init=!0}},r("DES-ECB",o.cipher.modes.ecb),r("DES-CBC",o.cipher.modes.cbc),r("DES-CFB",o.cipher.modes.cfb),r("DES-OFB",o.cipher.modes.ofb),r("DES-CTR",o.cipher.modes.ctr),r("3DES-ECB",o.cipher.modes.ecb),r("3DES-CBC",o.cipher.modes.cbc),r("3DES-CFB",o.cipher.modes.cfb),r("3DES-OFB",o.cipher.modes.ofb),r("3DES-CTR",o.cipher.modes.ctr);var i=[16843776,0,65536,16843780,16842756,66564,4,65536,1024,16843776,16843780,1024,16778244,16842756,16777216,4,1028,16778240,16778240,66560,66560,16842752,16842752,16778244,65540,16777220,16777220,65540,0,1028,66564,16777216,65536,16843780,4,16842752,16843776,16777216,16777216,1024,16842756,65536,66560,16777220,1024,4,16778244,66564,16843780,65540,16842752,16778244,16777220,1028,66564,16843776,1028,16778240,16778240,0,65540,66560,0,16842756],a=[-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616,1048608,1081344,0,-2147450880,32800,-2147483648,-2146435040,-2146402272,1081344],s=[520,134349312,0,134348808,134218240,0,131592,134218240,131080,134217736,134217736,131072,134349320,131080,134348800,520,134217728,8,134349312,512,131584,134348800,134348808,131592,134218248,131584,131072,134218248,8,134349320,512,134217728,134349312,134217728,131080,520,131072,134349312,134218240,0,512,131080,134349320,134218240,134217736,512,0,134348808,134218248,131072,134217728,134349320,8,131592,131584,134217736,134348800,134218248,520,134348800,131592,8,134348808,131584],l=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],c=[256,34078976,34078720,1107296512,524288,256,1073741824,34078720,1074266368,524288,33554688,1074266368,1107296512,1107820544,524544,1073741824,33554432,1074266112,1074266112,0,1073742080,1107820800,1107820800,33554688,1107820544,1073742080,0,1107296256,34078976,33554432,1107296256,524544,524288,1107296512,256,33554432,1073741824,34078720,1107296512,1074266368,33554688,1073741824,1107820544,34078976,1074266368,256,33554432,1107820544,1107820800,524544,1107296256,1107820800,34078720,0,1074266112,1107296256,524544,33554688,1073742080,524288,0,1074266112,34078976,1073742080],p=[536870928,541065216,16384,541081616,541065216,16,541081616,4194304,536887296,4210704,4194304,536870928,4194320,536887296,536870912,16400,0,4194320,536887312,16384,4210688,536887312,16,541065232,541065232,0,4210704,541081600,16400,4210688,541081600,536870912,536887296,16,541065232,4210688,541081616,4194304,16400,536870928,4194304,536887296,536870912,16400,536870928,541081616,4210688,541065216,4210704,541081600,0,541065232,16,16384,541065216,4210704,16384,4194320,536887312,0,541081600,536870912,4194320,536887312],u=[2097152,69206018,67110914,0,2048,67110914,2099202,69208064,69208066,2097152,0,67108866,2,67108864,69206018,2050,67110912,2099202,2097154,67110912,67108866,69206016,69208064,2097154,69206016,2048,2050,69208066,2099200,2,67108864,2099200,67108864,2099200,2097152,67110914,67110914,69206018,69206018,2,2097154,67108864,67110912,2097152,69208064,2050,2099202,69208064,2050,67108866,69208066,69206016,2099200,0,2,69208066,0,2099202,69206016,2048,67108866,67110912,2048,2097154],d=[268439616,4096,262144,268701760,268435456,268439616,64,268435456,262208,268697600,268701760,266240,268701696,266304,4096,64,268697600,268435520,268439552,4160,266240,262208,268697664,268701696,4160,0,0,268697664,268435520,268439552,266304,262144,266304,262144,268701696,4096,64,268697664,4096,266304,268439552,64,268435520,268697600,268697664,268435456,262144,268439616,0,268701760,262208,268435520,268697600,268439552,268439616,0,268701760,266240,266240,4160,4160,262208,268435456,268701696];function g(e,t,n,o){var r,g,f=32===e.length?3:9;r=3===f?o?[30,-2,-2]:[0,32,2]:o?[94,62,-2,32,64,2,30,-2,-2]:[0,32,2,62,30,-2,64,96,2];var h=t[0],m=t[1];h^=(g=252645135&(h>>>4^m))<<4,h^=(g=65535&(h>>>16^(m^=g)))<<16,h^=g=858993459&((m^=g)>>>2^h),h^=g=16711935&((m^=g<<2)>>>8^h),h=(h^=(g=1431655765&(h>>>1^(m^=g<<8)))<<1)<<1|h>>>31,m=(m^=g)<<1|m>>>31;for(var y=0;y>>4|m<<28)^e[O+1];g=h,h=m,m=g^(a[w>>>24&63]|l[w>>>16&63]|p[w>>>8&63]|d[63&w]|i[P>>>24&63]|s[P>>>16&63]|c[P>>>8&63]|u[63&P])}g=h,h=m,m=g}m=m>>>1|m<<31,m^=g=1431655765&((h=h>>>1|h<<31)>>>1^m),m^=(g=16711935&(m>>>8^(h^=g<<1)))<<8,m^=(g=858993459&(m>>>2^(h^=g)))<<2,m^=g=65535&((h^=g)>>>16^m),m^=g=252645135&((h^=g<<16)>>>4^m),h^=g<<4,n[0]=h,n[1]=m}function f(e){var t,n="DES-"+((e=e||{}).mode||"CBC").toUpperCase(),r=(t=e.decrypt?o.cipher.createDecipher(n,e.key):o.cipher.createCipher(n,e.key)).start;return t.start=function(e,n){var i=null;n instanceof o.util.ByteBuffer&&(i=n,n={}),(n=n||{}).output=i,n.iv=e,r.call(t,n)},t}},10548:(e,t,n)=>{var o=n(83418);n(97224),n(59018),n(64301),n(63290);var r=n(58631),i=r.publicKeyValidator,a=r.privateKeyValidator;if(void 0===s)var s=o.jsbn.BigInteger;var l=o.util.ByteBuffer,c="undefined"==typeof Buffer?Uint8Array:Buffer;o.pki=o.pki||{},e.exports=o.pki.ed25519=o.ed25519=o.ed25519||{};var p=o.ed25519;function u(e){var t=e.message;if(t instanceof Uint8Array||t instanceof c)return t;var n=e.encoding;if(void 0===t){if(!e.md)throw new TypeError('"options.message" or "options.md" not specified.');t=e.md.digest().getBytes(),n="binary"}if("string"==typeof t&&!n)throw new TypeError('"options.encoding" must be "binary" or "utf8".');if("string"==typeof t){if("undefined"!=typeof Buffer)return Buffer.from(t,n);t=new l(t,n)}else if(!(t instanceof l))throw new TypeError('"options.message" must be a node.js Buffer, a Uint8Array, a forge ByteBuffer, or a string with "options.encoding" specifying its encoding.');for(var o=new c(t.length()),r=0;r=0;--n)M(o,o),1!==n&&F(o,o,t);for(n=0;n<16;++n)e[n]=o[n]}(n,n),F(n,n,r),F(n,n,i),F(n,n,i),F(e[0],n,i),M(o,e[0]),F(o,o,i),E(o,r)&&F(e[0],e[0],b),M(o,e[0]),F(o,o,i),E(o,r)?-1:(k(e[0])===t[31]>>7&&B(e[0],d,e[0]),F(e[3],e[0],e[1]),0)}(s,o))return-1;for(r=0;r=0};var d=D(),g=D([1]),f=D([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),h=D([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),m=D([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),y=D([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),v=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]),b=D([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function O(e,t){var n=o.md.sha512.create(),r=new l(e);n.update(r.getBytes(t),"binary");var i=n.digest().getBytes();if("undefined"!=typeof Buffer)return Buffer.from(i,"binary");for(var a=new c(p.constants.HASH_BYTE_LENGTH),s=0;s<64;++s)a[s]=i.charCodeAt(s);return a}function w(e,t){var n,o,r,i;for(o=63;o>=32;--o){for(n=0,r=o-32,i=o-12;r>8,t[r]-=256*n;t[r]+=n,t[o]=0}for(n=0,r=0;r<32;++r)t[r]+=n-(t[31]>>4)*v[r],n=t[r]>>8,t[r]&=255;for(r=0;r<32;++r)t[r]-=n*v[r];for(o=0;o<32;++o)t[o+1]+=t[o]>>8,e[o]=255&t[o]}function P(e){for(var t=new Float64Array(64),n=0;n<64;++n)t[n]=e[n],e[n]=0;w(e,t)}function x(e,t){var n=D(),o=D(),r=D(),i=D(),a=D(),s=D(),l=D(),c=D(),p=D();B(n,e[1],e[0]),B(p,t[1],t[0]),F(n,n,p),L(o,e[0],e[1]),L(p,t[0],t[1]),F(o,o,p),F(r,e[3],t[3]),F(r,r,h),F(i,e[2],t[2]),L(i,i,i),B(a,o,n),B(s,i,r),L(l,i,r),L(c,o,n),F(e[0],a,s),F(e[1],c,l),F(e[2],l,s),F(e[3],a,c)}function S(e,t,n){for(var o=0;o<4;++o)N(e[o],t[o],n)}function T(e,t){var n=D(),o=D(),r=D();!function(e,t){var n,o=D();for(n=0;n<16;++n)o[n]=t[n];for(n=253;n>=0;--n)M(o,o),2!==n&&4!==n&&F(o,o,t);for(n=0;n<16;++n)e[n]=o[n]}(r,t[2]),F(n,t[0],r),F(o,t[1],r),A(e,o),e[31]^=k(n)<<7}function A(e,t){var n,o,r,i=D(),a=D();for(n=0;n<16;++n)a[n]=t[n];for(R(a),R(a),R(a),o=0;o<2;++o){for(i[0]=a[0]-65517,n=1;n<15;++n)i[n]=a[n]-65535-(i[n-1]>>16&1),i[n-1]&=65535;i[15]=a[15]-32767-(i[14]>>16&1),r=i[15]>>16&1,i[14]&=65535,N(a,i,1-r)}for(n=0;n<16;n++)e[2*n]=255&a[n],e[2*n+1]=a[n]>>8}function E(e,t){var n=new c(32),o=new c(32);return A(n,e),A(o,t),j(n,0,o,0)}function j(e,t,n,o){return function(e,t,n,o,r){var i,a=0;for(i=0;i<32;++i)a|=e[t+i]^n[o+i];return(1&a-1>>>8)-1}(e,t,n,o)}function k(e){var t=new c(32);return A(t,e),1&t[0]}function _(e,t,n){var o,r;for(I(e[0],d),I(e[1],g),I(e[2],g),I(e[3],d),r=255;r>=0;--r)S(e,t,o=n[r/8|0]>>(7&r)&1),x(t,e),x(e,e),S(e,t,o)}function C(e,t){var n=[D(),D(),D(),D()];I(n[0],m),I(n[1],y),I(n[2],g),F(n[3],m,y),_(e,n,t)}function I(e,t){var n;for(n=0;n<16;n++)e[n]=0|t[n]}function R(e){var t,n,o=1;for(t=0;t<16;++t)n=e[t]+o+65535,o=Math.floor(n/65536),e[t]=n-65536*o;e[0]+=o-1+37*(o-1)}function N(e,t,n){for(var o,r=~(n-1),i=0;i<16;++i)o=r&(e[i]^t[i]),e[i]^=o,t[i]^=o}function D(e){var t,n=new Float64Array(16);if(e)for(t=0;t{e.exports={options:{usePureJavaScript:!1}}},85469:(e,t,n)=>{var o=n(83418);n(43730),n(63290),(e.exports=o.hmac=o.hmac||{}).create=function(){var e=null,t=null,n=null,r=null,i={start:function(i,a){if(null!==i)if("string"==typeof i){if(!((i=i.toLowerCase())in o.md.algorithms))throw new Error('Unknown hash algorithm "'+i+'"');t=o.md.algorithms[i].create()}else t=i;if(null===a)a=e;else{if("string"==typeof a)a=o.util.createBuffer(a);else if(o.util.isArray(a)){var s=a;a=o.util.createBuffer();for(var l=0;lt.blockLength&&(t.start(),t.update(a.bytes()),a=t.digest()),n=o.util.createBuffer(),r=o.util.createBuffer(),c=a.length(),l=0;l{e.exports=n(83418),n(43882),n(61331),n(10001),n(58654),n(86875),n(10548),n(85469),n(40263),n(47050),n(11087),n(9647),n(42497),n(30115),n(7993),n(84834),n(7757),n(63969),n(14725),n(64286),n(95032),n(59018),n(14528),n(588),n(93478),n(63290)},97224:(e,t,n)=>{var o,r=n(83418);function i(e,t,n){this.data=[],null!=e&&("number"==typeof e?this.fromNumber(e,t,n):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function a(){return new i(null)}function s(e,t,n,o,r,i){for(var a=16383&t,s=t>>14;--i>=0;){var l=16383&this.data[e],c=this.data[e++]>>14,p=s*l+c*a;r=((l=a*l+((16383&p)<<14)+n.data[o]+r)>>28)+(p>>14)+s*c,n.data[o++]=268435455&l}return r}e.exports=r.jsbn=r.jsbn||{},r.jsbn.BigInteger=i,"undefined"==typeof navigator?(i.prototype.am=s,o=28):"Microsoft Internet Explorer"==navigator.appName?(i.prototype.am=function(e,t,n,o,r,i){for(var a=32767&t,s=t>>15;--i>=0;){var l=32767&this.data[e],c=this.data[e++]>>15,p=s*l+c*a;r=((l=a*l+((32767&p)<<15)+n.data[o]+(1073741823&r))>>>30)+(p>>>15)+s*c+(r>>>30),n.data[o++]=1073741823&l}return r},o=30):"Netscape"!=navigator.appName?(i.prototype.am=function(e,t,n,o,r,i){for(;--i>=0;){var a=t*this.data[e++]+n.data[o]+r;r=Math.floor(a/67108864),n.data[o++]=67108863&a}return r},o=26):(i.prototype.am=s,o=28),i.prototype.DB=o,i.prototype.DM=(1<>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function h(e){this.m=e}function m(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function P(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function x(){}function S(e){return e}function T(e){this.r2=a(),this.q3=a(),i.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}h.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},h.prototype.revert=function(e){return e},h.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},h.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},h.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},m.prototype.convert=function(e){var t=a();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(i.ZERO)>0&&this.m.subTo(t,t),t},m.prototype.revert=function(e){var t=a();return e.copyTo(t),this.reduce(t),t},m.prototype.reduce=function(e){for(;e.t<=this.mt2;)e.data[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;for(n=t+this.m.t,e.data[n]+=this.m.am(0,o,e,t,0,this.m.t);e.data[n]>=e.DV;)e.data[n]-=e.DV,e.data[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},m.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},m.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},i.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e.data[t]=this.data[t];e.t=this.t,e.s=this.s},i.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this.data[0]=e:e<-1?this.data[0]=e+this.DV:this.t=0},i.prototype.fromString=function(e,t){var n;if(16==t)n=4;else if(8==t)n=3;else if(256==t)n=8;else if(2==t)n=1;else if(32==t)n=5;else{if(4!=t)return void this.fromRadix(e,t);n=2}this.t=0,this.s=0;for(var o=e.length,r=!1,a=0;--o>=0;){var s=8==n?255&e[o]:d(e,o);s<0?"-"==e.charAt(o)&&(r=!0):(r=!1,0==a?this.data[this.t++]=s:a+n>this.DB?(this.data[this.t-1]|=(s&(1<>this.DB-a):this.data[this.t-1]|=s<=this.DB&&(a-=this.DB))}8==n&&0!=(128&e[0])&&(this.s=-1,a>0&&(this.data[this.t-1]|=(1<0&&this.data[this.t-1]==e;)--this.t},i.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t.data[n+e]=this.data[n];for(n=e-1;n>=0;--n)t.data[n]=0;t.t=this.t+e,t.s=this.s},i.prototype.drShiftTo=function(e,t){for(var n=e;n=0;--n)t.data[n+a+1]=this.data[n]>>r|s,s=(this.data[n]&i)<=0;--n)t.data[n]=0;t.data[a]=s,t.t=this.t+a+1,t.s=this.s,t.clamp()},i.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var o=e%this.DB,r=this.DB-o,i=(1<>o;for(var a=n+1;a>o;o>0&&(t.data[this.t-n-1]|=(this.s&i)<>=this.DB;if(e.t>=this.DB;o+=this.s}else{for(o+=this.s;n>=this.DB;o-=e.s}t.s=o<0?-1:0,o<-1?t.data[n++]=this.DV+o:o>0&&(t.data[n++]=o),t.t=n,t.clamp()},i.prototype.multiplyTo=function(e,t){var n=this.abs(),o=e.abs(),r=n.t;for(t.t=r+o.t;--r>=0;)t.data[r]=0;for(r=0;r=0;)e.data[n]=0;for(n=0;n=t.DV&&(e.data[n+t.t]-=t.DV,e.data[n+t.t+1]=1)}e.t>0&&(e.data[e.t-1]+=t.am(n,t.data[n],e,2*n,0,1)),e.s=0,e.clamp()},i.prototype.divRemTo=function(e,t,n){var o=e.abs();if(!(o.t<=0)){var r=this.abs();if(r.t0?(o.lShiftTo(p,s),r.lShiftTo(p,n)):(o.copyTo(s),r.copyTo(n));var u=s.t,d=s.data[u-1];if(0!=d){var g=d*(1<1?s.data[u-2]>>this.F2:0),h=this.FV/g,m=(1<=0&&(n.data[n.t++]=1,n.subTo(O,n)),i.ONE.dlShiftTo(u,O),O.subTo(s,s);s.t=0;){var w=n.data[--v]==d?this.DM:Math.floor(n.data[v]*h+(n.data[v-1]+y)*m);if((n.data[v]+=s.am(0,w,n,b,0,u))0&&n.rShiftTo(p,n),l<0&&i.ZERO.subTo(n,n)}}},i.prototype.invDigit=function(){if(this.t<1)return 0;var e=this.data[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},i.prototype.isEven=function(){return 0==(this.t>0?1&this.data[0]:this.s)},i.prototype.exp=function(e,t){if(e>4294967295||e<1)return i.ONE;var n=a(),o=a(),r=t.convert(this),s=f(e)-1;for(r.copyTo(n);--s>=0;)if(t.sqrTo(n,o),(e&1<0)t.mulTo(o,r,n);else{var l=n;n=o,o=l}return t.revert(n)},i.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,o=(1<0)for(s>s)>0&&(r=!0,i=u(n));a>=0;)s>(s+=this.DB-t)):(n=this.data[a]>>(s-=t)&o,s<=0&&(s+=this.DB,--a)),n>0&&(r=!0),r&&(i+=u(n));return r?i:"0"},i.prototype.negate=function(){var e=a();return i.ZERO.subTo(this,e),e},i.prototype.abs=function(){return this.s<0?this.negate():this},i.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this.data[n]-e.data[n]))return t;return 0},i.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+f(this.data[this.t-1]^this.s&this.DM)},i.prototype.mod=function(e){var t=a();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(i.ZERO)>0&&e.subTo(t,t),t},i.prototype.modPowInt=function(e,t){var n;return n=e<256||t.isEven()?new h(t):new m(t),this.exp(e,n)},i.ZERO=g(0),i.ONE=g(1),x.prototype.convert=S,x.prototype.revert=S,x.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n)},x.prototype.sqrTo=function(e,t){e.squareTo(t)},T.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=a();return e.copyTo(t),this.reduce(t),t},T.prototype.revert=function(e){return e},T.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},T.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},T.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var A=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509],E=(1<<26)/A[A.length-1];i.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},i.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),n=Math.pow(e,t),o=g(n),r=a(),i=a(),s="";for(this.divRemTo(o,r,i);r.signum()>0;)s=(n+i.intValue()).toString(e).substr(1)+s,r.divRemTo(o,r,i);return i.intValue().toString(e)+s},i.prototype.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var n=this.chunkSize(t),o=Math.pow(t,n),r=!1,a=0,s=0,l=0;l=n&&(this.dMultiply(o),this.dAddOffset(s,0),a=0,s=0))}a>0&&(this.dMultiply(Math.pow(t,a)),this.dAddOffset(s,0)),r&&i.ZERO.subTo(this,this)},i.prototype.fromNumber=function(e,t,n){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(i.ONE.shiftLeft(e-1),v,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(i.ONE.shiftLeft(e-1),this);else{var o=new Array,r=7&e;o.length=1+(e>>3),t.nextBytes(o),r>0?o[0]&=(1<>=this.DB;if(e.t>=this.DB;o+=this.s}else{for(o+=this.s;n>=this.DB;o+=e.s}t.s=o<0?-1:0,o>0?t.data[n++]=o:o<-1&&(t.data[n++]=this.DV+o),t.t=n,t.clamp()},i.prototype.dMultiply=function(e){this.data[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},i.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this.data[this.t++]=0;for(this.data[t]+=e;this.data[t]>=this.DV;)this.data[t]-=this.DV,++t>=this.t&&(this.data[this.t++]=0),++this.data[t]}},i.prototype.multiplyLowerTo=function(e,t,n){var o,r=Math.min(this.t+e.t,t);for(n.s=0,n.t=r;r>0;)n.data[--r]=0;for(o=n.t-this.t;r=0;)n.data[o]=0;for(o=Math.max(t-this.t,0);o0)if(0==t)n=this.data[0]%e;else for(var o=this.t-1;o>=0;--o)n=(t*n+this.data[o])%e;return n},i.prototype.millerRabin=function(e){var t=this.subtract(i.ONE),n=t.getLowestSetBit();if(n<=0)return!1;for(var o,r=t.shiftRight(n),a={nextBytes:function(e){for(var t=0;t=0);var l=o.modPow(r,this);if(0!=l.compareTo(i.ONE)&&0!=l.compareTo(t)){for(var c=1;c++>24},i.prototype.shortValue=function(){return 0==this.t?this.s:this.data[0]<<16>>16},i.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this.data[0]<=0?0:1},i.prototype.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var n,o=this.DB-e*this.DB%8,r=0;if(e-- >0)for(o>o)!=(this.s&this.DM)>>o&&(t[r++]=n|this.s<=0;)o<8?(n=(this.data[e]&(1<>(o+=this.DB-8)):(n=this.data[e]>>(o-=8)&255,o<=0&&(o+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==r&&(128&this.s)!=(128&n)&&++r,(r>0||n!=this.s)&&(t[r++]=n);return t},i.prototype.equals=function(e){return 0==this.compareTo(e)},i.prototype.min=function(e){return this.compareTo(e)<0?this:e},i.prototype.max=function(e){return this.compareTo(e)>0?this:e},i.prototype.and=function(e){var t=a();return this.bitwiseTo(e,y,t),t},i.prototype.or=function(e){var t=a();return this.bitwiseTo(e,v,t),t},i.prototype.xor=function(e){var t=a();return this.bitwiseTo(e,b,t),t},i.prototype.andNot=function(e){var t=a();return this.bitwiseTo(e,O,t),t},i.prototype.not=function(){for(var e=a(),t=0;t=this.t?0!=this.s:0!=(this.data[t]&1<1){var u=a();for(o.sqrTo(s[1],u);l<=p;)s[l]=a(),o.mulTo(u,s[l-2],s[l]),l+=2}var d,y,v=e.t-1,b=!0,O=a();for(r=f(e.data[v])-1;v>=0;){for(r>=c?d=e.data[v]>>r-c&p:(d=(e.data[v]&(1<0&&(d|=e.data[v-1]>>this.DB+r-c)),l=n;0==(1&d);)d>>=1,--l;if((r-=l)<0&&(r+=this.DB,--v),b)s[d].copyTo(i),b=!1;else{for(;l>1;)o.sqrTo(i,O),o.sqrTo(O,i),l-=2;l>0?o.sqrTo(i,O):(y=i,i=O,O=y),o.mulTo(O,s[d],i)}for(;v>=0&&0==(e.data[v]&1<=0?(n.subTo(o,n),t&&r.subTo(s,r),a.subTo(l,a)):(o.subTo(n,o),t&&s.subTo(r,s),l.subTo(a,l))}return 0!=o.compareTo(i.ONE)?i.ZERO:l.compareTo(e)>=0?l.subtract(e):l.signum()<0?(l.addTo(e,l),l.signum()<0?l.add(e):l):l},i.prototype.pow=function(e){return this.exp(e,new x)},i.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var o=t;t=n,n=o}var r=t.getLowestSetBit(),i=n.getLowestSetBit();if(i<0)return t;for(r0&&(t.rShiftTo(i,t),n.rShiftTo(i,n));t.signum()>0;)(r=t.getLowestSetBit())>0&&t.rShiftTo(r,t),(r=n.getLowestSetBit())>0&&n.rShiftTo(r,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return i>0&&n.lShiftTo(i,n),n},i.prototype.isProbablePrime=function(e){var t,n=this.abs();if(1==n.t&&n.data[0]<=A[A.length-1]){for(t=0;t{var o=n(83418);n(63290),n(59018),n(97224),e.exports=o.kem=o.kem||{};var r=o.jsbn.BigInteger;function i(e,t,n,r){e.generate=function(e,i){for(var a=new o.util.ByteBuffer,s=Math.ceil(i/r)+n,l=new o.util.ByteBuffer,c=n;c0&&(a=o.util.fillString(String.fromCharCode(0),l)+a),{encapsulation:t.encrypt(a,"NONE"),key:e.generate(a,i)}},decrypt:function(t,n,o){var r=t.decrypt(n,"NONE");return e.generate(r,o)}}},o.kem.kdf1=function(e,t){i(this,e,0,t||e.digestLength)},o.kem.kdf2=function(e,t){i(this,e,1,t||e.digestLength)}},47050:(e,t,n)=>{var o=n(83418);n(63290),e.exports=o.log=o.log||{},o.log.levels=["none","error","warning","info","debug","verbose","max"];var r={},i=[],a=null;o.log.LEVEL_LOCKED=2,o.log.NO_LEVEL_CHECK=4,o.log.INTERPOLATE=8;for(var s=0;s{e.exports=n(43730),n(30960),n(28804),n(51792),n(64301)},43730:(e,t,n)=>{var o=n(83418);e.exports=o.md=o.md||{},o.md.algorithms=o.md.algorithms||{}},30960:(e,t,n)=>{var o=n(83418);n(43730),n(63290);var r=e.exports=o.md5=o.md5||{};o.md.md5=o.md.algorithms.md5=r,r.create=function(){c||function(){i=String.fromCharCode(128),i+=o.util.fillString(String.fromCharCode(0),64),a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1,6,11,0,5,10,15,4,9,14,3,8,13,2,7,12,5,8,11,14,1,4,7,10,13,0,3,6,9,12,15,2,0,7,14,5,12,3,10,1,8,15,6,13,4,11,2,9],s=[7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21],l=new Array(64);for(var e=0;e<64;++e)l[e]=Math.floor(4294967296*Math.abs(Math.sin(e+1)));c=!0}();var e=null,t=o.util.createBuffer(),n=new Array(16),r={algorithm:"md5",blockLength:64,digestLength:16,messageLength:0,fullMessageLength:null,messageLengthSize:8,start:function(){r.messageLength=0,r.fullMessageLength=r.messageLength64=[];for(var n=r.messageLengthSize/4,i=0;i>>0,s>>>0];for(var l=r.fullMessageLength.length-1;l>=0;--l)r.fullMessageLength[l]+=s[1],s[1]=s[0]+(r.fullMessageLength[l]/4294967296>>>0),r.fullMessageLength[l]=r.fullMessageLength[l]>>>0,s[0]=s[1]/4294967296>>>0;return t.putBytes(i),p(e,n,t),(t.read>2048||0===t.length())&&t.compact(),r},r.digest=function(){var a=o.util.createBuffer();a.putBytes(t.bytes());var s=r.fullMessageLength[r.fullMessageLength.length-1]+r.messageLengthSize&r.blockLength-1;a.putBytes(i.substr(0,r.blockLength-s));for(var l,c=0,u=r.fullMessageLength.length-1;u>=0;--u)c=(l=8*r.fullMessageLength[u]+c)/4294967296>>>0,a.putInt32Le(l>>>0);var d={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3};p(d,n,a);var g=o.util.createBuffer();return g.putInt32Le(d.h0),g.putInt32Le(d.h1),g.putInt32Le(d.h2),g.putInt32Le(d.h3),g},r};var i=null,a=null,s=null,l=null,c=!1;function p(e,t,n){for(var o,r,i,c,p,u,d,g=n.length();g>=64;){for(r=e.h0,i=e.h1,c=e.h2,p=e.h3,d=0;d<16;++d)t[d]=n.getInt32Le(),o=r+(p^i&(c^p))+l[d]+t[d],r=p,p=c,c=i,i+=o<<(u=s[d])|o>>>32-u;for(;d<32;++d)o=r+(c^p&(i^c))+l[d]+t[a[d]],r=p,p=c,c=i,i+=o<<(u=s[d])|o>>>32-u;for(;d<48;++d)o=r+(i^c^p)+l[d]+t[a[d]],r=p,p=c,c=i,i+=o<<(u=s[d])|o>>>32-u;for(;d<64;++d)o=r+(c^(i|~p))+l[d]+t[a[d]],r=p,p=c,c=i,i+=o<<(u=s[d])|o>>>32-u;e.h0=e.h0+r|0,e.h1=e.h1+i|0,e.h2=e.h2+c|0,e.h3=e.h3+p|0,g-=64}}},39028:(e,t,n)=>{var o=n(83418);n(9647),e.exports=o.mgf=o.mgf||{},o.mgf.mgf1=o.mgf1},9647:(e,t,n)=>{var o=n(83418);n(63290),o.mgf=o.mgf||{},(e.exports=o.mgf.mgf1=o.mgf1=o.mgf1||{}).create=function(e){return{generate:function(t,n){for(var r=new o.util.ByteBuffer,i=Math.ceil(n/e.digestLength),a=0;a{var o=n(83418);o.pki=o.pki||{};var r=e.exports=o.pki.oids=o.oids=o.oids||{};function i(e,t){r[e]=t,r[t]=e}function a(e,t){r[e]=t}i("1.2.840.113549.1.1.1","rsaEncryption"),i("1.2.840.113549.1.1.4","md5WithRSAEncryption"),i("1.2.840.113549.1.1.5","sha1WithRSAEncryption"),i("1.2.840.113549.1.1.7","RSAES-OAEP"),i("1.2.840.113549.1.1.8","mgf1"),i("1.2.840.113549.1.1.9","pSpecified"),i("1.2.840.113549.1.1.10","RSASSA-PSS"),i("1.2.840.113549.1.1.11","sha256WithRSAEncryption"),i("1.2.840.113549.1.1.12","sha384WithRSAEncryption"),i("1.2.840.113549.1.1.13","sha512WithRSAEncryption"),i("1.3.101.112","EdDSA25519"),i("1.2.840.10040.4.3","dsa-with-sha1"),i("1.3.14.3.2.7","desCBC"),i("1.3.14.3.2.26","sha1"),i("1.3.14.3.2.29","sha1WithRSASignature"),i("2.16.840.1.101.3.4.2.1","sha256"),i("2.16.840.1.101.3.4.2.2","sha384"),i("2.16.840.1.101.3.4.2.3","sha512"),i("2.16.840.1.101.3.4.2.4","sha224"),i("2.16.840.1.101.3.4.2.5","sha512-224"),i("2.16.840.1.101.3.4.2.6","sha512-256"),i("1.2.840.113549.2.2","md2"),i("1.2.840.113549.2.5","md5"),i("1.2.840.113549.1.7.1","data"),i("1.2.840.113549.1.7.2","signedData"),i("1.2.840.113549.1.7.3","envelopedData"),i("1.2.840.113549.1.7.4","signedAndEnvelopedData"),i("1.2.840.113549.1.7.5","digestedData"),i("1.2.840.113549.1.7.6","encryptedData"),i("1.2.840.113549.1.9.1","emailAddress"),i("1.2.840.113549.1.9.2","unstructuredName"),i("1.2.840.113549.1.9.3","contentType"),i("1.2.840.113549.1.9.4","messageDigest"),i("1.2.840.113549.1.9.5","signingTime"),i("1.2.840.113549.1.9.6","counterSignature"),i("1.2.840.113549.1.9.7","challengePassword"),i("1.2.840.113549.1.9.8","unstructuredAddress"),i("1.2.840.113549.1.9.14","extensionRequest"),i("1.2.840.113549.1.9.20","friendlyName"),i("1.2.840.113549.1.9.21","localKeyId"),i("1.2.840.113549.1.9.22.1","x509Certificate"),i("1.2.840.113549.1.12.10.1.1","keyBag"),i("1.2.840.113549.1.12.10.1.2","pkcs8ShroudedKeyBag"),i("1.2.840.113549.1.12.10.1.3","certBag"),i("1.2.840.113549.1.12.10.1.4","crlBag"),i("1.2.840.113549.1.12.10.1.5","secretBag"),i("1.2.840.113549.1.12.10.1.6","safeContentsBag"),i("1.2.840.113549.1.5.13","pkcs5PBES2"),i("1.2.840.113549.1.5.12","pkcs5PBKDF2"),i("1.2.840.113549.1.12.1.1","pbeWithSHAAnd128BitRC4"),i("1.2.840.113549.1.12.1.2","pbeWithSHAAnd40BitRC4"),i("1.2.840.113549.1.12.1.3","pbeWithSHAAnd3-KeyTripleDES-CBC"),i("1.2.840.113549.1.12.1.4","pbeWithSHAAnd2-KeyTripleDES-CBC"),i("1.2.840.113549.1.12.1.5","pbeWithSHAAnd128BitRC2-CBC"),i("1.2.840.113549.1.12.1.6","pbewithSHAAnd40BitRC2-CBC"),i("1.2.840.113549.2.7","hmacWithSHA1"),i("1.2.840.113549.2.8","hmacWithSHA224"),i("1.2.840.113549.2.9","hmacWithSHA256"),i("1.2.840.113549.2.10","hmacWithSHA384"),i("1.2.840.113549.2.11","hmacWithSHA512"),i("1.2.840.113549.3.7","des-EDE3-CBC"),i("2.16.840.1.101.3.4.1.2","aes128-CBC"),i("2.16.840.1.101.3.4.1.22","aes192-CBC"),i("2.16.840.1.101.3.4.1.42","aes256-CBC"),i("2.5.4.3","commonName"),i("2.5.4.4","surname"),i("2.5.4.5","serialNumber"),i("2.5.4.6","countryName"),i("2.5.4.7","localityName"),i("2.5.4.8","stateOrProvinceName"),i("2.5.4.9","streetAddress"),i("2.5.4.10","organizationName"),i("2.5.4.11","organizationalUnitName"),i("2.5.4.12","title"),i("2.5.4.13","description"),i("2.5.4.15","businessCategory"),i("2.5.4.17","postalCode"),i("2.5.4.42","givenName"),i("1.3.6.1.4.1.311.60.2.1.2","jurisdictionOfIncorporationStateOrProvinceName"),i("1.3.6.1.4.1.311.60.2.1.3","jurisdictionOfIncorporationCountryName"),i("2.16.840.1.113730.1.1","nsCertType"),i("2.16.840.1.113730.1.13","nsComment"),a("2.5.29.1","authorityKeyIdentifier"),a("2.5.29.2","keyAttributes"),a("2.5.29.3","certificatePolicies"),a("2.5.29.4","keyUsageRestriction"),a("2.5.29.5","policyMapping"),a("2.5.29.6","subtreesConstraint"),a("2.5.29.7","subjectAltName"),a("2.5.29.8","issuerAltName"),a("2.5.29.9","subjectDirectoryAttributes"),a("2.5.29.10","basicConstraints"),a("2.5.29.11","nameConstraints"),a("2.5.29.12","policyConstraints"),a("2.5.29.13","basicConstraints"),i("2.5.29.14","subjectKeyIdentifier"),i("2.5.29.15","keyUsage"),a("2.5.29.16","privateKeyUsagePeriod"),i("2.5.29.17","subjectAltName"),i("2.5.29.18","issuerAltName"),i("2.5.29.19","basicConstraints"),a("2.5.29.20","cRLNumber"),a("2.5.29.21","cRLReason"),a("2.5.29.22","expirationDate"),a("2.5.29.23","instructionCode"),a("2.5.29.24","invalidityDate"),a("2.5.29.25","cRLDistributionPoints"),a("2.5.29.26","issuingDistributionPoint"),a("2.5.29.27","deltaCRLIndicator"),a("2.5.29.28","issuingDistributionPoint"),a("2.5.29.29","certificateIssuer"),a("2.5.29.30","nameConstraints"),i("2.5.29.31","cRLDistributionPoints"),i("2.5.29.32","certificatePolicies"),a("2.5.29.33","policyMappings"),a("2.5.29.34","policyConstraints"),i("2.5.29.35","authorityKeyIdentifier"),a("2.5.29.36","policyConstraints"),i("2.5.29.37","extKeyUsage"),a("2.5.29.46","freshestCRL"),a("2.5.29.54","inhibitAnyPolicy"),i("1.3.6.1.4.1.11129.2.4.2","timestampList"),i("1.3.6.1.5.5.7.1.1","authorityInfoAccess"),i("1.3.6.1.5.5.7.3.1","serverAuth"),i("1.3.6.1.5.5.7.3.2","clientAuth"),i("1.3.6.1.5.5.7.3.3","codeSigning"),i("1.3.6.1.5.5.7.3.4","emailProtection"),i("1.3.6.1.5.5.7.3.8","timeStamping")},89007:(e,t,n)=>{var o=n(83418);if(n(43882),n(10001),n(86875),n(43730),n(43793),n(42497),n(30115),n(59018),n(14528),n(9120),n(63290),void 0===r)var r=o.jsbn.BigInteger;var i=o.asn1,a=o.pki=o.pki||{};e.exports=a.pbe=o.pbe=o.pbe||{};var s=a.oids,l={name:"EncryptedPrivateKeyInfo",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedPrivateKeyInfo.encryptionAlgorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"encryptionOid"},{name:"AlgorithmIdentifier.parameters",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,captureAsn1:"encryptionParams"}]},{name:"EncryptedPrivateKeyInfo.encryptedData",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"encryptedData"}]},c={name:"PBES2Algorithms",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.keyDerivationFunc",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.keyDerivationFunc.oid",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"kdfOid"},{name:"PBES2Algorithms.params",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.params.salt",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"kdfSalt"},{name:"PBES2Algorithms.params.iterationCount",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"kdfIterationCount"},{name:"PBES2Algorithms.params.keyLength",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,optional:!0,capture:"keyLength"},{name:"PBES2Algorithms.params.prf",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,optional:!0,value:[{name:"PBES2Algorithms.params.prf.algorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"prfOid"}]}]}]},{name:"PBES2Algorithms.encryptionScheme",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.encryptionScheme.oid",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"encOid"},{name:"PBES2Algorithms.encryptionScheme.iv",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"encIv"}]}]},p={name:"pkcs-12PbeParams",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"pkcs-12PbeParams.salt",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"salt"},{name:"pkcs-12PbeParams.iterations",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"iterations"}]};function u(e,t){return e.start().update(t).digest().getBytes()}function d(e){var t;if(e){if(!(t=a.oids[i.derToOid(e)])){var n=new Error("Unsupported PRF OID.");throw n.oid=e,n.supported=["hmacWithSHA1","hmacWithSHA224","hmacWithSHA256","hmacWithSHA384","hmacWithSHA512"],n}}else t="hmacWithSHA1";return g(t)}function g(e){var t=o.md;switch(e){case"hmacWithSHA224":t=o.md.sha512;case"hmacWithSHA1":case"hmacWithSHA256":case"hmacWithSHA384":case"hmacWithSHA512":e=e.substr(8).toLowerCase();break;default:var n=new Error("Unsupported PRF algorithm.");throw n.algorithm=e,n.supported=["hmacWithSHA1","hmacWithSHA224","hmacWithSHA256","hmacWithSHA384","hmacWithSHA512"],n}if(!t||!(e in t))throw new Error("Unknown hash algorithm: "+e);return t[e].create()}a.encryptPrivateKeyInfo=function(e,t,n){(n=n||{}).saltSize=n.saltSize||8,n.count=n.count||2048,n.algorithm=n.algorithm||"aes128",n.prfAlgorithm=n.prfAlgorithm||"sha1";var r,l,c,p=o.random.getBytesSync(n.saltSize),u=n.count,d=i.integerToDer(u);if(0===n.algorithm.indexOf("aes")||"des"===n.algorithm){var f,h,m;switch(n.algorithm){case"aes128":r=16,f=16,h=s["aes128-CBC"],m=o.aes.createEncryptionCipher;break;case"aes192":r=24,f=16,h=s["aes192-CBC"],m=o.aes.createEncryptionCipher;break;case"aes256":r=32,f=16,h=s["aes256-CBC"],m=o.aes.createEncryptionCipher;break;case"des":r=8,f=8,h=s.desCBC,m=o.des.createEncryptionCipher;break;default:throw(P=new Error("Cannot encrypt private key. Unknown encryption algorithm.")).algorithm=n.algorithm,P}var y="hmacWith"+n.prfAlgorithm.toUpperCase(),v=g(y),b=o.pkcs5.pbkdf2(t,p,u,r,v),O=o.random.getBytesSync(f);(x=m(b)).start(O),x.update(i.toDer(e)),x.finish(),c=x.output.getBytes();var w=function(e,t,n,r){var s=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,e),i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,t.getBytes())]);return"hmacWithSHA1"!==r&&s.value.push(i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,o.util.hexToBytes(n.toString(16))),i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(a.oids[r]).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.NULL,!1,"")])),s}(p,d,r,y);l=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(s.pkcs5PBES2).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(s.pkcs5PBKDF2).getBytes()),w]),i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(h).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,O)])])])}else{var P;if("3des"!==n.algorithm)throw(P=new Error("Cannot encrypt private key. Unknown encryption algorithm.")).algorithm=n.algorithm,P;r=24;var x,S=new o.util.ByteBuffer(p);b=a.pbe.generatePkcs12Key(t,S,1,u,r),O=a.pbe.generatePkcs12Key(t,S,2,u,r),(x=o.des.createEncryptionCipher(b)).start(O),x.update(i.toDer(e)),x.finish(),c=x.output.getBytes(),l=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(s["pbeWithSHAAnd3-KeyTripleDES-CBC"]).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,p),i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,d.getBytes())])])}return i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[l,i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,c)])},a.decryptPrivateKeyInfo=function(e,t){var n=null,r={},s=[];if(!i.validate(e,l,r,s)){var c=new Error("Cannot read encrypted private key. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw c.errors=s,c}var p=i.derToOid(r.encryptionOid),u=a.pbe.getCipher(p,r.encryptionParams,t),d=o.util.createBuffer(r.encryptedData);return u.update(d),u.finish()&&(n=i.fromDer(u.output)),n},a.encryptedPrivateKeyToPem=function(e,t){var n={type:"ENCRYPTED PRIVATE KEY",body:i.toDer(e).getBytes()};return o.pem.encode(n,{maxline:t})},a.encryptedPrivateKeyFromPem=function(e){var t=o.pem.decode(e)[0];if("ENCRYPTED PRIVATE KEY"!==t.type){var n=new Error('Could not convert encrypted private key from PEM; PEM header type is "ENCRYPTED PRIVATE KEY".');throw n.headerType=t.type,n}if(t.procType&&"ENCRYPTED"===t.procType.type)throw new Error("Could not convert encrypted private key from PEM; PEM is encrypted.");return i.fromDer(t.body)},a.encryptRsaPrivateKey=function(e,t,n){if(!(n=n||{}).legacy){var r=a.wrapRsaPrivateKey(a.privateKeyToAsn1(e));return r=a.encryptPrivateKeyInfo(r,t,n),a.encryptedPrivateKeyToPem(r)}var s,l,c,p;switch(n.algorithm){case"aes128":s="AES-128-CBC",c=16,l=o.random.getBytesSync(16),p=o.aes.createEncryptionCipher;break;case"aes192":s="AES-192-CBC",c=24,l=o.random.getBytesSync(16),p=o.aes.createEncryptionCipher;break;case"aes256":s="AES-256-CBC",c=32,l=o.random.getBytesSync(16),p=o.aes.createEncryptionCipher;break;case"3des":s="DES-EDE3-CBC",c=24,l=o.random.getBytesSync(8),p=o.des.createEncryptionCipher;break;case"des":s="DES-CBC",c=8,l=o.random.getBytesSync(8),p=o.des.createEncryptionCipher;break;default:var u=new Error('Could not encrypt RSA private key; unsupported encryption algorithm "'+n.algorithm+'".');throw u.algorithm=n.algorithm,u}var d=p(o.pbe.opensslDeriveBytes(t,l.substr(0,8),c));d.start(l),d.update(i.toDer(a.privateKeyToAsn1(e))),d.finish();var g={type:"RSA PRIVATE KEY",procType:{version:"4",type:"ENCRYPTED"},dekInfo:{algorithm:s,parameters:o.util.bytesToHex(l).toUpperCase()},body:d.output.getBytes()};return o.pem.encode(g)},a.decryptRsaPrivateKey=function(e,t){var n=null,r=o.pem.decode(e)[0];if("ENCRYPTED PRIVATE KEY"!==r.type&&"PRIVATE KEY"!==r.type&&"RSA PRIVATE KEY"!==r.type)throw(c=new Error('Could not convert private key from PEM; PEM header type is not "ENCRYPTED PRIVATE KEY", "PRIVATE KEY", or "RSA PRIVATE KEY".')).headerType=c,c;if(r.procType&&"ENCRYPTED"===r.procType.type){var s,l;switch(r.dekInfo.algorithm){case"DES-CBC":s=8,l=o.des.createDecryptionCipher;break;case"DES-EDE3-CBC":s=24,l=o.des.createDecryptionCipher;break;case"AES-128-CBC":s=16,l=o.aes.createDecryptionCipher;break;case"AES-192-CBC":s=24,l=o.aes.createDecryptionCipher;break;case"AES-256-CBC":s=32,l=o.aes.createDecryptionCipher;break;case"RC2-40-CBC":s=5,l=function(e){return o.rc2.createDecryptionCipher(e,40)};break;case"RC2-64-CBC":s=8,l=function(e){return o.rc2.createDecryptionCipher(e,64)};break;case"RC2-128-CBC":s=16,l=function(e){return o.rc2.createDecryptionCipher(e,128)};break;default:var c;throw(c=new Error('Could not decrypt private key; unsupported encryption algorithm "'+r.dekInfo.algorithm+'".')).algorithm=r.dekInfo.algorithm,c}var p=o.util.hexToBytes(r.dekInfo.parameters),u=l(o.pbe.opensslDeriveBytes(t,p.substr(0,8),s));if(u.start(p),u.update(o.util.createBuffer(r.body)),!u.finish())return n;n=u.output.getBytes()}else n=r.body;return null!==(n="ENCRYPTED PRIVATE KEY"===r.type?a.decryptPrivateKeyInfo(i.fromDer(n),t):i.fromDer(n))&&(n=a.privateKeyFromAsn1(n)),n},a.pbe.generatePkcs12Key=function(e,t,n,r,i,a){var s,l;if(null==a){if(!("sha1"in o.md))throw new Error('"sha1" hash algorithm unavailable.');a=o.md.sha1.create()}var c=a.digestLength,p=a.blockLength,u=new o.util.ByteBuffer,d=new o.util.ByteBuffer;if(null!=e){for(l=0;l=0;l--)k>>=8,k+=T.at(l)+j.at(l),j.setAt(l,255&k);E.putBuffer(j)}O=E,u.putBuffer(x)}return u.truncate(u.length()-i),u},a.pbe.getCipher=function(e,t,n){switch(e){case a.oids.pkcs5PBES2:return a.pbe.getCipherForPBES2(e,t,n);case a.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:case a.oids["pbewithSHAAnd40BitRC2-CBC"]:return a.pbe.getCipherForPKCS12PBE(e,t,n);default:var o=new Error("Cannot read encrypted PBE data block. Unsupported OID.");throw o.oid=e,o.supportedOids=["pkcs5PBES2","pbeWithSHAAnd3-KeyTripleDES-CBC","pbewithSHAAnd40BitRC2-CBC"],o}},a.pbe.getCipherForPBES2=function(e,t,n){var r,s={},l=[];if(!i.validate(t,c,s,l))throw(r=new Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.")).errors=l,r;if((e=i.derToOid(s.kdfOid))!==a.oids.pkcs5PBKDF2)throw(r=new Error("Cannot read encrypted private key. Unsupported key derivation function OID.")).oid=e,r.supportedOids=["pkcs5PBKDF2"],r;if((e=i.derToOid(s.encOid))!==a.oids["aes128-CBC"]&&e!==a.oids["aes192-CBC"]&&e!==a.oids["aes256-CBC"]&&e!==a.oids["des-EDE3-CBC"]&&e!==a.oids.desCBC)throw(r=new Error("Cannot read encrypted private key. Unsupported encryption scheme OID.")).oid=e,r.supportedOids=["aes128-CBC","aes192-CBC","aes256-CBC","des-EDE3-CBC","desCBC"],r;var p,u,g=s.kdfSalt,f=o.util.createBuffer(s.kdfIterationCount);switch(f=f.getInt(f.length()<<3),a.oids[e]){case"aes128-CBC":p=16,u=o.aes.createDecryptionCipher;break;case"aes192-CBC":p=24,u=o.aes.createDecryptionCipher;break;case"aes256-CBC":p=32,u=o.aes.createDecryptionCipher;break;case"des-EDE3-CBC":p=24,u=o.des.createDecryptionCipher;break;case"desCBC":p=8,u=o.des.createDecryptionCipher}var h=d(s.prfOid),m=o.pkcs5.pbkdf2(n,g,f,p,h),y=s.encIv,v=u(m);return v.start(y),v},a.pbe.getCipherForPKCS12PBE=function(e,t,n){var r={},s=[];if(!i.validate(t,p,r,s))throw(h=new Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.")).errors=s,h;var l,c,u,g=o.util.createBuffer(r.salt),f=o.util.createBuffer(r.iterations);switch(f=f.getInt(f.length()<<3),e){case a.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:l=24,c=8,u=o.des.startDecrypting;break;case a.oids["pbewithSHAAnd40BitRC2-CBC"]:l=5,c=8,u=function(e,t){var n=o.rc2.createDecryptionCipher(e,40);return n.start(t,null),n};break;default:var h;throw(h=new Error("Cannot read PKCS #12 PBE data block. Unsupported OID.")).oid=e,h}var m=d(r.prfOid),y=a.pbe.generatePkcs12Key(n,g,1,f,l,m);return m.start(),u(y,a.pbe.generatePkcs12Key(n,g,2,f,c,m))},a.pbe.opensslDeriveBytes=function(e,t,n,r){if(null==r){if(!("md5"in o.md))throw new Error('"md5" hash algorithm unavailable.');r=o.md.md5.create()}null===t&&(t="");for(var i=[u(r,e+t)],a=16,s=1;a{var o=n(83418);n(85469),n(43730),n(63290);var r,i=o.pkcs5=o.pkcs5||{};o.util.isNodejs&&!o.options.usePureJavaScript&&(r=n(6113)),e.exports=o.pbkdf2=i.pbkdf2=function(e,t,n,i,a,s){if("function"==typeof a&&(s=a,a=null),o.util.isNodejs&&!o.options.usePureJavaScript&&r.pbkdf2&&(null===a||"object"!=typeof a)&&(r.pbkdf2Sync.length>4||!a||"sha1"===a))return"string"!=typeof a&&(a="sha1"),e=Buffer.from(e,"binary"),t=Buffer.from(t,"binary"),s?4===r.pbkdf2Sync.length?r.pbkdf2(e,t,n,i,(function(e,t){if(e)return s(e);s(null,t.toString("binary"))})):r.pbkdf2(e,t,n,i,a,(function(e,t){if(e)return s(e);s(null,t.toString("binary"))})):4===r.pbkdf2Sync.length?r.pbkdf2Sync(e,t,n,i).toString("binary"):r.pbkdf2Sync(e,t,n,i,a).toString("binary");if(null==a&&(a="sha1"),"string"==typeof a){if(!(a in o.md.algorithms))throw new Error("Unknown hash algorithm: "+a);a=o.md[a].create()}var l=a.digestLength;if(i>4294967295*l){var c=new Error("Derived key is too long.");if(s)return s(c);throw c}var p=Math.ceil(i/l),u=i-(p-1)*l,d=o.hmac.create();d.start(a,e);var g,f,h,m="";if(!s){for(var y=1;y<=p;++y){d.start(null,null),d.update(t),d.update(o.util.int32ToBytes(y)),g=h=d.digest().getBytes();for(var v=2;v<=n;++v)d.start(null,null),d.update(h),f=d.digest().getBytes(),g=o.util.xorBytes(g,f,l),h=f;m+=yp)return s(null,m);d.start(null,null),d.update(t),d.update(o.util.int32ToBytes(y)),g=h=d.digest().getBytes(),v=2,O()}function O(){if(v<=n)return d.start(null,null),d.update(h),f=d.digest().getBytes(),g=o.util.xorBytes(g,f,l),h=f,++v,o.util.setImmediate(O);m+=y{var o=n(83418);n(63290);var r=e.exports=o.pem=o.pem||{};function i(e){for(var t=e.name+": ",n=[],o=function(e,t){return" "+t},r=0;r65&&-1!==a){var s=t[a];","===s?(++a,t=t.substr(0,a)+"\r\n "+t.substr(a)):t=t.substr(0,a)+"\r\n"+s+t.substr(a+1),i=r-a-1,a=-1,++r}else" "!==t[r]&&"\t"!==t[r]&&","!==t[r]||(a=r);return t}function a(e){return e.replace(/^\s+/,"")}r.encode=function(e,t){t=t||{};var n,r="-----BEGIN "+e.type+"-----\r\n";if(e.procType&&(r+=i(n={name:"Proc-Type",values:[String(e.procType.version),e.procType.type]})),e.contentDomain&&(r+=i(n={name:"Content-Domain",values:[e.contentDomain]})),e.dekInfo&&(n={name:"DEK-Info",values:[e.dekInfo.algorithm]},e.dekInfo.parameters&&n.values.push(e.dekInfo.parameters),r+=i(n)),e.headers)for(var a=0;a{var o=n(83418);n(63290),n(59018),n(28804);var r=e.exports=o.pkcs1=o.pkcs1||{};function i(e,t,n){n||(n=o.md.sha1.create());for(var r="",i=Math.ceil(t/n.digestLength),a=0;a>24&255,a>>16&255,a>>8&255,255&a);n.start(),n.update(e+s),r+=n.digest().getBytes()}return r.substring(0,t)}r.encode_rsa_oaep=function(e,t,n){var r,a,s,l;"string"==typeof n?(r=n,a=arguments[3]||void 0,s=arguments[4]||void 0):n&&(r=n.label||void 0,a=n.seed||void 0,s=n.md||void 0,n.mgf1&&n.mgf1.md&&(l=n.mgf1.md)),s?s.start():s=o.md.sha1.create(),l||(l=s);var c=Math.ceil(e.n.bitLength()/8),p=c-2*s.digestLength-2;if(t.length>p)throw(m=new Error("RSAES-OAEP input message length is too long.")).length=t.length,m.maxLength=p,m;r||(r=""),s.update(r,"raw");for(var u=s.digest(),d="",g=p-t.length,f=0;f{var o=n(83418);n(10001),n(85469),n(43793),n(23023),n(89007),n(59018),n(9120),n(28804),n(63290),n(4811);var r=o.asn1,i=o.pki,a=e.exports=o.pkcs12=o.pkcs12||{},s={name:"ContentInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"ContentInfo.contentType",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"contentType"},{name:"ContentInfo.content",tagClass:r.Class.CONTEXT_SPECIFIC,constructed:!0,captureAsn1:"content"}]},l={name:"PFX",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.version",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"version"},s,{name:"PFX.macData",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,optional:!0,captureAsn1:"mac",value:[{name:"PFX.macData.mac",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.macData.mac.digestAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.macData.mac.digestAlgorithm.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"macAlgorithm"},{name:"PFX.macData.mac.digestAlgorithm.parameters",tagClass:r.Class.UNIVERSAL,captureAsn1:"macAlgorithmParameters"}]},{name:"PFX.macData.mac.digest",tagClass:r.Class.UNIVERSAL,type:r.Type.OCTETSTRING,constructed:!1,capture:"macDigest"}]},{name:"PFX.macData.macSalt",tagClass:r.Class.UNIVERSAL,type:r.Type.OCTETSTRING,constructed:!1,capture:"macSalt"},{name:"PFX.macData.iterations",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,optional:!0,capture:"macIterations"}]}]},c={name:"SafeBag",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"SafeBag.bagId",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"bagId"},{name:"SafeBag.bagValue",tagClass:r.Class.CONTEXT_SPECIFIC,constructed:!0,captureAsn1:"bagValue"},{name:"SafeBag.bagAttributes",tagClass:r.Class.UNIVERSAL,type:r.Type.SET,constructed:!0,optional:!0,capture:"bagAttributes"}]},p={name:"Attribute",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"Attribute.attrId",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"oid"},{name:"Attribute.attrValues",tagClass:r.Class.UNIVERSAL,type:r.Type.SET,constructed:!0,capture:"values"}]},u={name:"CertBag",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"CertBag.certId",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"certId"},{name:"CertBag.certValue",tagClass:r.Class.CONTEXT_SPECIFIC,constructed:!0,value:[{name:"CertBag.certValue[0]",tagClass:r.Class.UNIVERSAL,type:r.Class.OCTETSTRING,constructed:!1,capture:"cert"}]}]};function d(e,t,n,o){for(var r=[],i=0;i=0&&r.push(s):r.push(s))}return r}function g(e){if(e.composed||e.constructed){for(var t=o.util.createBuffer(),n=0;n0&&(l=r.create(r.Class.UNIVERSAL,r.Type.SET,!0,u));var d=[],g=[];null!==t&&(g=o.util.isArray(t)?t:[t]);for(var f=[],h=0;h0){var b=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,f),O=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.OID,!1,r.oidToDer(i.oids.data).getBytes()),r.create(r.Class.CONTEXT_SPECIFIC,0,!0,[r.create(r.Class.UNIVERSAL,r.Type.OCTETSTRING,!1,r.toDer(b).getBytes())])]);d.push(O)}var w=null;if(null!==e){var P=i.wrapRsaPrivateKey(i.privateKeyToAsn1(e));w=null===n?r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.OID,!1,r.oidToDer(i.oids.keyBag).getBytes()),r.create(r.Class.CONTEXT_SPECIFIC,0,!0,[P]),l]):r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.OID,!1,r.oidToDer(i.oids.pkcs8ShroudedKeyBag).getBytes()),r.create(r.Class.CONTEXT_SPECIFIC,0,!0,[i.encryptPrivateKeyInfo(P,n,s)]),l]);var x=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[w]),S=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.OID,!1,r.oidToDer(i.oids.data).getBytes()),r.create(r.Class.CONTEXT_SPECIFIC,0,!0,[r.create(r.Class.UNIVERSAL,r.Type.OCTETSTRING,!1,r.toDer(x).getBytes())])]);d.push(S)}var T,A=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,d);if(s.useMac){var E=o.md.sha1.create(),j=new o.util.ByteBuffer(o.random.getBytes(s.saltSize)),k=s.count,_=(e=a.generateKey(n,j,3,k,20),o.hmac.create());_.start(E,e),_.update(r.toDer(A).getBytes());var C=_.getMac();T=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.OID,!1,r.oidToDer(i.oids.sha1).getBytes()),r.create(r.Class.UNIVERSAL,r.Type.NULL,!1,"")]),r.create(r.Class.UNIVERSAL,r.Type.OCTETSTRING,!1,C.getBytes())]),r.create(r.Class.UNIVERSAL,r.Type.OCTETSTRING,!1,j.getBytes()),r.create(r.Class.UNIVERSAL,r.Type.INTEGER,!1,r.integerToDer(k).getBytes())])}return r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.INTEGER,!1,r.integerToDer(3).getBytes()),r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.OID,!1,r.oidToDer(i.oids.data).getBytes()),r.create(r.Class.CONTEXT_SPECIFIC,0,!0,[r.create(r.Class.UNIVERSAL,r.Type.OCTETSTRING,!1,r.toDer(A).getBytes())])]),T])},a.generateKey=o.pbe.generatePkcs12Key},7757:(e,t,n)=>{var o=n(83418);n(43882),n(10001),n(86875),n(43793),n(30115),n(23023),n(59018),n(63290),n(4811);var r=o.asn1,i=e.exports=o.pkcs7=o.pkcs7||{};function a(e){var t={},n=[];if(!r.validate(e,i.asn1.recipientInfoValidator,t,n)){var a=new Error("Cannot read PKCS#7 RecipientInfo. ASN.1 object is not an PKCS#7 RecipientInfo.");throw a.errors=n,a}return{version:t.version.charCodeAt(0),issuer:o.pki.RDNAttributesAsArray(t.issuer),serialNumber:o.util.createBuffer(t.serial).toHex(),encryptedContent:{algorithm:r.derToOid(t.encAlgorithm),parameter:t.encParameter?t.encParameter.value:void 0,content:t.encKey}}}function s(e){for(var t,n=[],i=0;i0){for(var n=r.create(r.Class.CONTEXT_SPECIFIC,1,!0,[]),i=0;i=n&&a0&&a.value[0].value.push(r.create(r.Class.CONTEXT_SPECIFIC,0,!0,t)),i.length>0&&a.value[0].value.push(r.create(r.Class.CONTEXT_SPECIFIC,1,!0,i)),a.value[0].value.push(r.create(r.Class.UNIVERSAL,r.Type.SET,!0,e.signerInfos)),r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.OID,!1,r.oidToDer(e.type).getBytes()),a])},addSigner:function(t){var n=t.issuer,r=t.serialNumber;if(t.certificate){var i=t.certificate;"string"==typeof i&&(i=o.pki.certificateFromPem(i)),n=i.issuer.attributes,r=i.serialNumber}var a=t.key;if(!a)throw new Error("Could not add PKCS#7 signer; no private key specified.");"string"==typeof a&&(a=o.pki.privateKeyFromPem(a));var s=t.digestAlgorithm||o.pki.oids.sha1;switch(s){case o.pki.oids.sha1:case o.pki.oids.sha256:case o.pki.oids.sha384:case o.pki.oids.sha512:case o.pki.oids.md5:break;default:throw new Error("Could not add PKCS#7 signer; unknown message digest algorithm: "+s)}var l=t.authenticatedAttributes||[];if(l.length>0){for(var c=!1,p=!1,u=0;u{var o=n(83418);n(10001),n(63290);var r=o.asn1,i=e.exports=o.pkcs7asn1=o.pkcs7asn1||{};o.pkcs7=o.pkcs7||{},o.pkcs7.asn1=i;var a={name:"ContentInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"ContentInfo.ContentType",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"contentType"},{name:"ContentInfo.content",tagClass:r.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,captureAsn1:"content"}]};i.contentInfoValidator=a;var s={name:"EncryptedContentInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedContentInfo.contentType",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"contentType"},{name:"EncryptedContentInfo.contentEncryptionAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedContentInfo.contentEncryptionAlgorithm.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"encAlgorithm"},{name:"EncryptedContentInfo.contentEncryptionAlgorithm.parameter",tagClass:r.Class.UNIVERSAL,captureAsn1:"encParameter"}]},{name:"EncryptedContentInfo.encryptedContent",tagClass:r.Class.CONTEXT_SPECIFIC,type:0,capture:"encryptedContent",captureAsn1:"encryptedContentAsn1"}]};i.envelopedDataValidator={name:"EnvelopedData",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"EnvelopedData.Version",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"version"},{name:"EnvelopedData.RecipientInfos",tagClass:r.Class.UNIVERSAL,type:r.Type.SET,constructed:!0,captureAsn1:"recipientInfos"}].concat(s)},i.encryptedDataValidator={name:"EncryptedData",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedData.Version",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"version"}].concat(s)};var l={name:"SignerInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.version",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1},{name:"SignerInfo.issuerAndSerialNumber",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.issuerAndSerialNumber.issuer",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"issuer"},{name:"SignerInfo.issuerAndSerialNumber.serialNumber",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"serial"}]},{name:"SignerInfo.digestAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.digestAlgorithm.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"digestAlgorithm"},{name:"SignerInfo.digestAlgorithm.parameter",tagClass:r.Class.UNIVERSAL,constructed:!1,captureAsn1:"digestParameter",optional:!0}]},{name:"SignerInfo.authenticatedAttributes",tagClass:r.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,capture:"authenticatedAttributes"},{name:"SignerInfo.digestEncryptionAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,capture:"signatureAlgorithm"},{name:"SignerInfo.encryptedDigest",tagClass:r.Class.UNIVERSAL,type:r.Type.OCTETSTRING,constructed:!1,capture:"signature"},{name:"SignerInfo.unauthenticatedAttributes",tagClass:r.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,optional:!0,capture:"unauthenticatedAttributes"}]};i.signedDataValidator={name:"SignedData",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"SignedData.Version",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"version"},{name:"SignedData.DigestAlgorithms",tagClass:r.Class.UNIVERSAL,type:r.Type.SET,constructed:!0,captureAsn1:"digestAlgorithms"},a,{name:"SignedData.Certificates",tagClass:r.Class.CONTEXT_SPECIFIC,type:0,optional:!0,captureAsn1:"certificates"},{name:"SignedData.CertificateRevocationLists",tagClass:r.Class.CONTEXT_SPECIFIC,type:1,optional:!0,captureAsn1:"crls"},{name:"SignedData.SignerInfos",tagClass:r.Class.UNIVERSAL,type:r.Type.SET,capture:"signerInfos",optional:!0,value:[l]}]},i.recipientInfoValidator={name:"RecipientInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.version",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"version"},{name:"RecipientInfo.issuerAndSerial",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.issuerAndSerial.issuer",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"issuer"},{name:"RecipientInfo.issuerAndSerial.serialNumber",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"serial"}]},{name:"RecipientInfo.keyEncryptionAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.keyEncryptionAlgorithm.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"encAlgorithm"},{name:"RecipientInfo.keyEncryptionAlgorithm.parameter",tagClass:r.Class.UNIVERSAL,constructed:!1,captureAsn1:"encParameter",optional:!0}]},{name:"RecipientInfo.encryptedKey",tagClass:r.Class.UNIVERSAL,type:r.Type.OCTETSTRING,constructed:!1,capture:"encKey"}]}},63969:(e,t,n)=>{var o=n(83418);n(10001),n(43793),n(89007),n(30115),n(42497),n(84834),n(95032),n(9120),n(63290),n(4811);var r=o.asn1,i=e.exports=o.pki=o.pki||{};i.pemToDer=function(e){var t=o.pem.decode(e)[0];if(t.procType&&"ENCRYPTED"===t.procType.type)throw new Error("Could not convert PEM to DER; PEM is encrypted.");return o.util.createBuffer(t.body)},i.privateKeyFromPem=function(e){var t=o.pem.decode(e)[0];if("PRIVATE KEY"!==t.type&&"RSA PRIVATE KEY"!==t.type){var n=new Error('Could not convert private key from PEM; PEM header type is not "PRIVATE KEY" or "RSA PRIVATE KEY".');throw n.headerType=t.type,n}if(t.procType&&"ENCRYPTED"===t.procType.type)throw new Error("Could not convert private key from PEM; PEM is encrypted.");var a=r.fromDer(t.body);return i.privateKeyFromAsn1(a)},i.privateKeyToPem=function(e,t){var n={type:"RSA PRIVATE KEY",body:r.toDer(i.privateKeyToAsn1(e)).getBytes()};return o.pem.encode(n,{maxline:t})},i.privateKeyInfoToPem=function(e,t){var n={type:"PRIVATE KEY",body:r.toDer(e).getBytes()};return o.pem.encode(n,{maxline:t})}},14725:(e,t,n)=>{var o=n(83418);n(63290),n(97224),n(59018),function(){if(o.prime)e.exports=o.prime;else{var t=e.exports=o.prime=o.prime||{},n=o.jsbn.BigInteger,r=[6,4,2,4,2,4,6,2],i=new n(null);i.fromInt(30);var a=function(e,t){return e|t};t.generateProbablePrime=function(e,t,r){"function"==typeof t&&(r=t,t={});var i=(t=t||{}).algorithm||"PRIMEINC";"string"==typeof i&&(i={name:i}),i.options=i.options||{};var a=t.prng||o.random,l={nextBytes:function(e){for(var t=a.getBytesSync(e.length),n=0;ne&&(a=c(e,t));var g=a.toString(16);r.target.postMessage({hex:g,workLoad:p}),a.dAddOffset(u,0)}}}g()}(e,t,r,i):s(e,t,r,i)}(e,l,i.options,r);throw new Error("Invalid prime generation algorithm: "+i.name)}}function s(e,t,n,o){var r=c(e,t),i=function(e){return e<=100?27:e<=150?18:e<=200?15:e<=250?12:e<=300?9:e<=350?8:e<=400?7:e<=500?6:e<=600?5:e<=800?4:e<=1250?3:2}(r.bitLength());"millerRabinTests"in n&&(i=n.millerRabinTests);var a=10;"maxBlockTime"in n&&(a=n.maxBlockTime),l(r,e,t,0,i,a,o)}function l(e,t,n,i,a,s,p){var u=+new Date;do{if(e.bitLength()>t&&(e=c(t,n)),e.isProbablePrime(a))return p(null,e);e.dAddOffset(r[i++%8],0)}while(s<0||+new Date-u{var o=n(83418);n(63290);var r=null;!o.util.isNodejs||o.options.usePureJavaScript||process.versions["node-webkit"]||(r=n(6113)),(e.exports=o.prng=o.prng||{}).create=function(e){for(var t={plugin:e,key:null,seed:null,time:null,reseeds:0,generated:0,keyBytes:""},n=e.md,i=new Array(32),a=0;a<32;++a)i[a]=n.create();function s(){if(t.pools[0].messageLength>=32)return l();var e=32-t.pools[0].messageLength<<5;t.collect(t.seedFileSync(e)),l()}function l(){t.reseeds=4294967295===t.reseeds?0:t.reseeds+1;var e=t.plugin.md.create();e.update(t.keyBytes);for(var n=1,o=0;o<32;++o)t.reseeds%n==0&&(e.update(t.pools[o].digest().getBytes()),t.pools[o].start()),n<<=1;t.keyBytes=e.digest().getBytes(),e.start(),e.update(t.keyBytes);var r=e.digest().getBytes();t.key=t.plugin.formatKey(t.keyBytes),t.seed=t.plugin.formatSeed(r),t.generated=0}function c(e){var t=null,n=o.util.globalScope,r=n.crypto||n.msCrypto;r&&r.getRandomValues&&(t=function(e){return r.getRandomValues(e)});var i=o.util.createBuffer();if(t)for(;i.length()>16)))<<16,d=4294967295&(p=(2147483647&(p+=c>>15))+(p>>31)),l=0;l<3;++l)u=d>>>(l<<3),u^=Math.floor(256*Math.random()),i.putByte(255&u);return i.getBytes(e)}return t.pools=i,t.pool=0,t.generate=function(e,n){if(!n)return t.generateSync(e);var r=t.plugin.cipher,i=t.plugin.increment,a=t.plugin.formatKey,s=t.plugin.formatSeed,c=o.util.createBuffer();t.key=null,function p(u){if(u)return n(u);if(c.length()>=e)return n(null,c.getBytes(e));if(t.generated>1048575&&(t.key=null),null===t.key)return o.util.nextTick((function(){!function(e){if(t.pools[0].messageLength>=32)return l(),e();var n=32-t.pools[0].messageLength<<5;t.seedFile(n,(function(n,o){if(n)return e(n);t.collect(o),l(),e()}))}(p)}));var d=r(t.key,t.seed);t.generated+=d.length,c.putBytes(d),t.key=a(r(t.key,i(t.seed))),t.seed=s(r(t.key,t.seed)),o.util.setImmediate(p)}()},t.generateSync=function(e){var n=t.plugin.cipher,r=t.plugin.increment,i=t.plugin.formatKey,a=t.plugin.formatSeed;t.key=null;for(var l=o.util.createBuffer();l.length()1048575&&(t.key=null),null===t.key&&s();var c=n(t.key,t.seed);t.generated+=c.length,l.putBytes(c),t.key=i(n(t.key,r(t.seed))),t.seed=a(n(t.key,t.seed))}return l.getBytes(e)},r?(t.seedFile=function(e,t){r.randomBytes(e,(function(e,n){if(e)return t(e);t(null,n.toString())}))},t.seedFileSync=function(e){return r.randomBytes(e).toString()}):(t.seedFile=function(e,t){try{t(null,c(e))}catch(e){t(e)}},t.seedFileSync=c),t.collect=function(e){for(var n=e.length,o=0;o>r&255);t.collect(o)},t.registerWorker=function(e){e===self?t.seedFile=function(e,t){self.addEventListener("message",(function e(n){var o=n.data;o.forge&&o.forge.prng&&(self.removeEventListener("message",e),t(o.forge.prng.err,o.forge.prng.bytes))})),self.postMessage({forge:{prng:{needed:e}}})}:e.addEventListener("message",(function(n){var o=n.data;o.forge&&o.forge.prng&&t.seedFile(o.forge.prng.needed,(function(t,n){e.postMessage({forge:{prng:{err:t,bytes:n}}})}))}))},t}},95032:(e,t,n)=>{var o=n(83418);n(59018),n(63290),(e.exports=o.pss=o.pss||{}).create=function(e){3===arguments.length&&(e={md:arguments[0],mgf:arguments[1],saltLength:arguments[2]});var t,n=e.md,r=e.mgf,i=n.digestLength,a=e.salt||null;if("string"==typeof a&&(a=o.util.createBuffer(a)),"saltLength"in e)t=e.saltLength;else{if(null===a)throw new Error("Salt length not specified or specific salt not given.");t=a.length()}if(null!==a&&a.length()!==t)throw new Error("Given salt length does not match length of given salt.");var s=e.prng||o.random,l={encode:function(e,l){var c,p,u=l-1,d=Math.ceil(u/8),g=e.digest().getBytes();if(d>8*d-u&255;return(O=String.fromCharCode(O.charCodeAt(0)&~w)+O.substr(1))+h+String.fromCharCode(188)},verify:function(e,a,s){var l,c=s-1,p=Math.ceil(c/8);if(a=a.substr(-p),p>8*p-c&255;if(0!=(d.charCodeAt(0)&f))throw new Error("Bits beyond keysize not zero as expected.");var h=r.generate(g,u),m="";for(l=0;l{var o=n(83418);n(43882),n(51792),n(64286),n(63290),o.random&&o.random.getBytes?e.exports=o.random:function(t){var n={},r=new Array(4),i=o.util.createBuffer();function a(){var e=o.prng.create(n);return e.getBytes=function(t,n){return e.generate(t,n)},e.getBytesSync=function(t){return e.generate(t)},e}n.formatKey=function(e){var t=o.util.createBuffer(e);return(e=new Array(4))[0]=t.getInt32(),e[1]=t.getInt32(),e[2]=t.getInt32(),e[3]=t.getInt32(),o.aes._expandKey(e,!1)},n.formatSeed=function(e){var t=o.util.createBuffer(e);return(e=new Array(4))[0]=t.getInt32(),e[1]=t.getInt32(),e[2]=t.getInt32(),e[3]=t.getInt32(),e},n.cipher=function(e,t){return o.aes._updateBlock(e,t,r,!1),i.putInt32(r[0]),i.putInt32(r[1]),i.putInt32(r[2]),i.putInt32(r[3]),i.getBytes()},n.increment=function(e){return++e[3],e},n.md=o.md.sha256;var s=a(),l=null,c=o.util.globalScope,p=c.crypto||c.msCrypto;if(p&&p.getRandomValues&&(l=function(e){return p.getRandomValues(e)}),o.options.usePureJavaScript||!o.util.isNodejs&&!l){if("undefined"==typeof window||window.document,s.collectInt(+new Date,32),"undefined"!=typeof navigator){var u="";for(var d in navigator)try{"string"==typeof navigator[d]&&(u+=navigator[d])}catch(e){}s.collect(u),u=null}t&&(t().mousemove((function(e){s.collectInt(e.clientX,16),s.collectInt(e.clientY,16)})),t().keypress((function(e){s.collectInt(e.charCode,8)})))}if(o.random)for(var d in s)o.random[d]=s[d];else o.random=s;o.random.createInstance=a,e.exports=o.random}("undefined"!=typeof jQuery?jQuery:null)},14528:(e,t,n)=>{var o=n(83418);n(63290);var r=[217,120,249,196,25,221,181,237,40,233,253,121,74,160,216,157,198,126,55,131,43,118,83,142,98,76,100,136,68,139,251,162,23,154,89,245,135,179,79,19,97,69,109,141,9,129,125,50,189,143,64,235,134,183,123,11,240,149,33,34,92,107,78,130,84,214,101,147,206,96,178,28,115,86,192,20,167,140,241,220,18,117,202,31,59,190,228,209,66,61,212,48,163,60,182,38,111,191,14,218,70,105,7,87,39,242,29,155,188,148,67,3,248,17,199,246,144,239,62,231,6,195,213,47,200,102,30,215,8,232,234,222,128,82,238,247,132,170,114,172,53,77,106,42,150,26,210,113,90,21,73,116,75,159,208,94,4,24,164,236,194,224,65,110,15,81,203,204,36,145,175,80,161,244,112,57,153,124,58,133,35,184,180,122,252,2,54,91,37,85,151,49,45,93,250,152,227,138,146,174,5,223,41,16,103,108,186,201,211,0,230,207,225,158,168,44,99,22,1,63,88,226,137,169,13,56,52,27,171,51,255,176,187,72,12,95,185,177,205,46,197,243,219,71,229,165,156,119,10,166,32,104,254,127,193,173],i=[1,2,3,5],a=function(e,t){return e<>16-t},s=function(e,t){return(65535&e)>>t|e<<16-t&65535};e.exports=o.rc2=o.rc2||{},o.rc2.expandKey=function(e,t){"string"==typeof e&&(e=o.util.createBuffer(e)),t=t||128;var n,i=e,a=e.length(),s=t,l=Math.ceil(s/8),c=255>>(7&s);for(n=a;n<128;n++)i.putByte(r[i.at(n-1)+i.at(n-a)&255]);for(i.setAt(128-l,r[i.at(128-l)&c]),n=127-l;n>=0;n--)i.setAt(n,r[i.at(n+1)^i.at(n+l)]);return i};var l=function(e,t,n){var r,l,c,p,u=!1,d=null,g=null,f=null,h=[];for(e=o.rc2.expandKey(e,t),c=0;c<64;c++)h.push(e.getInt16Le());n?(r=function(e){for(c=0;c<4;c++)e[c]+=h[p]+(e[(c+3)%4]&e[(c+2)%4])+(~e[(c+3)%4]&e[(c+1)%4]),e[c]=a(e[c],i[c]),p++},l=function(e){for(c=0;c<4;c++)e[c]+=h[63&e[(c+3)%4]]}):(r=function(e){for(c=3;c>=0;c--)e[c]=s(e[c],i[c]),e[c]-=h[p]+(e[(c+3)%4]&e[(c+2)%4])+(~e[(c+3)%4]&e[(c+1)%4]),p--},l=function(e){for(c=3;c>=0;c--)e[c]-=h[63&e[(c+3)%4]]});var m=function(e){var t=[];for(c=0;c<4;c++){var o=d.getInt16Le();null!==f&&(n?o^=f.getInt16Le():f.putInt16Le(o)),t.push(65535&o)}p=n?0:63;for(var r=0;r=8;)m([[5,r],[1,l],[6,r],[1,l],[5,r]])},finish:function(e){var t=!0;if(n)if(e)t=e(8,d,!n);else{var o=8===d.length()?8:8-d.length();d.fillWithByte(o,o)}if(t&&(u=!0,y.update()),!n&&(t=0===d.length()))if(e)t=e(8,g,!n);else{var r=g.length(),i=g.at(r-1);i>r?t=!1:g.truncate(i)}return t}}};o.rc2.startEncrypting=function(e,t,n){var r=o.rc2.createEncryptionCipher(e,128);return r.start(t,n),r},o.rc2.createEncryptionCipher=function(e,t){return l(e,t,!0)},o.rc2.startDecrypting=function(e,t,n){var r=o.rc2.createDecryptionCipher(e,128);return r.start(t,n),r},o.rc2.createDecryptionCipher=function(e,t){return l(e,t,!1)}},9120:(e,t,n)=>{var o=n(83418);if(n(10001),n(97224),n(43793),n(7993),n(14725),n(59018),n(63290),void 0===r)var r=o.jsbn.BigInteger;var i=o.util.isNodejs?n(6113):null,a=o.asn1,s=o.util;o.pki=o.pki||{},e.exports=o.pki.rsa=o.rsa=o.rsa||{};var l=o.pki,c=[6,4,2,4,2,4,6,2],p={name:"PrivateKeyInfo",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,value:[{name:"PrivateKeyInfo.version",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"PrivateKeyInfo.privateKeyAlgorithm",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:a.Class.UNIVERSAL,type:a.Type.OID,constructed:!1,capture:"privateKeyOid"}]},{name:"PrivateKeyInfo",tagClass:a.Class.UNIVERSAL,type:a.Type.OCTETSTRING,constructed:!1,capture:"privateKey"}]},u={name:"RSAPrivateKey",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPrivateKey.version",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"RSAPrivateKey.modulus",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyModulus"},{name:"RSAPrivateKey.publicExponent",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyPublicExponent"},{name:"RSAPrivateKey.privateExponent",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyPrivateExponent"},{name:"RSAPrivateKey.prime1",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyPrime1"},{name:"RSAPrivateKey.prime2",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyPrime2"},{name:"RSAPrivateKey.exponent1",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyExponent1"},{name:"RSAPrivateKey.exponent2",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyExponent2"},{name:"RSAPrivateKey.coefficient",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyCoefficient"}]},d={name:"RSAPublicKey",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPublicKey.modulus",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"publicKeyModulus"},{name:"RSAPublicKey.exponent",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"publicKeyExponent"}]},g=o.pki.rsa.publicKeyValidator={name:"SubjectPublicKeyInfo",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,captureAsn1:"subjectPublicKeyInfo",value:[{name:"SubjectPublicKeyInfo.AlgorithmIdentifier",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:a.Class.UNIVERSAL,type:a.Type.OID,constructed:!1,capture:"publicKeyOid"}]},{name:"SubjectPublicKeyInfo.subjectPublicKey",tagClass:a.Class.UNIVERSAL,type:a.Type.BITSTRING,constructed:!1,value:[{name:"SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,optional:!0,captureAsn1:"rsaPublicKey"}]}]},f={name:"DigestInfo",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,value:[{name:"DigestInfo.DigestAlgorithm",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,value:[{name:"DigestInfo.DigestAlgorithm.algorithmIdentifier",tagClass:a.Class.UNIVERSAL,type:a.Type.OID,constructed:!1,capture:"algorithmIdentifier"},{name:"DigestInfo.DigestAlgorithm.parameters",tagClass:a.Class.UNIVERSAL,type:a.Type.NULL,capture:"parameters",optional:!0,constructed:!1}]},{name:"DigestInfo.digest",tagClass:a.Class.UNIVERSAL,type:a.Type.OCTETSTRING,constructed:!1,capture:"digest"}]},h=function(e){var t;if(!(e.algorithm in l.oids)){var n=new Error("Unknown message digest algorithm.");throw n.algorithm=e.algorithm,n}t=l.oids[e.algorithm];var o=a.oidToDer(t).getBytes(),r=a.create(a.Class.UNIVERSAL,a.Type.SEQUENCE,!0,[]),i=a.create(a.Class.UNIVERSAL,a.Type.SEQUENCE,!0,[]);i.value.push(a.create(a.Class.UNIVERSAL,a.Type.OID,!1,o)),i.value.push(a.create(a.Class.UNIVERSAL,a.Type.NULL,!1,""));var s=a.create(a.Class.UNIVERSAL,a.Type.OCTETSTRING,!1,e.digest().getBytes());return r.value.push(i),r.value.push(s),a.toDer(r).getBytes()},m=function(e,t,n){if(n)return e.modPow(t.e,t.n);if(!t.p||!t.q)return e.modPow(t.d,t.n);var i;t.dP||(t.dP=t.d.mod(t.p.subtract(r.ONE))),t.dQ||(t.dQ=t.d.mod(t.q.subtract(r.ONE))),t.qInv||(t.qInv=t.q.modInverse(t.p));do{i=new r(o.util.bytesToHex(o.random.getBytes(t.n.bitLength()/8)),16)}while(i.compareTo(t.n)>=0||!i.gcd(t.n).equals(r.ONE));for(var a=(e=e.multiply(i.modPow(t.e,t.n)).mod(t.n)).mod(t.p).modPow(t.dP,t.p),s=e.mod(t.q).modPow(t.dQ,t.q);a.compareTo(s)<0;)a=a.add(t.p);var l=a.subtract(s).multiply(t.qInv).mod(t.p).multiply(t.q).add(s);return l.multiply(i.modInverse(t.n)).mod(t.n)};function y(e,t,n){var r=o.util.createBuffer(),i=Math.ceil(t.n.bitLength()/8);if(e.length>i-11){var a=new Error("Message is too long for PKCS#1 v1.5 padding.");throw a.length=e.length,a.max=i-11,a}r.putByte(0),r.putByte(n);var s,l=i-3-e.length;if(0===n||1===n){s=0===n?0:255;for(var c=0;c0;){var p=0,u=o.random.getBytes(l);for(c=0;c1;){if(255!==a.getByte()){--a.read;break}++c}else if(2===l)for(c=0;a.length()>1;){if(0===a.getByte()){--a.read;break}++c}if(0!==a.getByte()||c!==i-3-a.length())throw new Error("Encryption block is invalid.");return a.getBytes()}function b(e,t,n){"function"==typeof t&&(n=t,t={});var i={algorithm:{name:(t=t||{}).algorithm||"PRIMEINC",options:{workers:t.workers||2,workLoad:t.workLoad||100,workerScript:t.workerScript}}};function a(){s(e.pBits,(function(t,o){return t?n(t):(e.p=o,null!==e.q?c(t,e.q):void s(e.qBits,c))}))}function s(e,t){o.prime.generateProbablePrime(e,i,t)}function c(t,o){if(t)return n(t);if(e.q=o,e.p.compareTo(e.q)<0){var i=e.p;e.p=e.q,e.q=i}if(0!==e.p.subtract(r.ONE).gcd(e.e).compareTo(r.ONE))return e.p=null,void a();if(0!==e.q.subtract(r.ONE).gcd(e.e).compareTo(r.ONE))return e.q=null,void s(e.qBits,c);if(e.p1=e.p.subtract(r.ONE),e.q1=e.q.subtract(r.ONE),e.phi=e.p1.multiply(e.q1),0!==e.phi.gcd(e.e).compareTo(r.ONE))return e.p=e.q=null,void a();if(e.n=e.p.multiply(e.q),e.n.bitLength()!==e.bits)return e.q=null,void s(e.qBits,c);var p=e.e.modInverse(e.phi);e.keys={privateKey:l.rsa.setPrivateKey(e.n,e.e,p,e.p,e.q,p.mod(e.p1),p.mod(e.q1),e.q.modInverse(e.p)),publicKey:l.rsa.setPublicKey(e.n,e.e)},n(null,e.keys)}"prng"in t&&(i.prng=t.prng),a()}function O(e){var t=e.toString(16);t[0]>="8"&&(t="00"+t);var n=o.util.hexToBytes(t);return n.length>1&&(0===n.charCodeAt(0)&&0==(128&n.charCodeAt(1))||255===n.charCodeAt(0)&&128==(128&n.charCodeAt(1)))?n.substr(1):n}function w(e){return e<=100?27:e<=150?18:e<=200?15:e<=250?12:e<=300?9:e<=350?8:e<=400?7:e<=500?6:e<=600?5:e<=800?4:e<=1250?3:2}function P(e){return o.util.isNodejs&&"function"==typeof i[e]}function x(e){return void 0!==s.globalScope&&"object"==typeof s.globalScope.crypto&&"object"==typeof s.globalScope.crypto.subtle&&"function"==typeof s.globalScope.crypto.subtle[e]}function S(e){return void 0!==s.globalScope&&"object"==typeof s.globalScope.msCrypto&&"object"==typeof s.globalScope.msCrypto.subtle&&"function"==typeof s.globalScope.msCrypto.subtle[e]}function T(e){for(var t=o.util.hexToBytes(e.toString(16)),n=new Uint8Array(t.length),r=0;r0;)p.putByte(0),--u;return p.putBytes(o.util.hexToBytes(c)),p.getBytes()},l.rsa.decrypt=function(e,t,n,i){var a=Math.ceil(t.n.bitLength()/8);if(e.length!==a){var s=new Error("Encrypted message length is invalid.");throw s.length=e.length,s.expected=a,s}var l=new r(o.util.createBuffer(e).toHex(),16);if(l.compareTo(t.n)>=0)throw new Error("Encrypted message is invalid.");for(var c=m(l,t,n).toString(16),p=o.util.createBuffer(),u=a-Math.ceil(c.length/2);u>0;)p.putByte(0),--u;return p.putBytes(o.util.hexToBytes(c)),!1!==i?v(p.getBytes(),t,n):p.getBytes()},l.rsa.createKeyPairGenerationState=function(e,t,n){"string"==typeof e&&(e=parseInt(e,10)),e=e||2048;var i,a=(n=n||{}).prng||o.random,s={nextBytes:function(e){for(var t=a.getBytesSync(e.length),n=0;n>1,pBits:e-(e>>1),pqState:0,num:null,keys:null}).e.fromInt(i.eInt),i},l.rsa.stepKeyPairGenerationState=function(e,t){"algorithm"in e||(e.algorithm="PRIMEINC");var n=new r(null);n.fromInt(30);for(var o,i=0,a=function(e,t){return e|t},s=+new Date,p=0;null===e.keys&&(t<=0||pu?e.pqState=0:e.num.isProbablePrime(w(e.num.bitLength()))?++e.pqState:e.num.dAddOffset(c[i++%8],0):2===e.pqState?e.pqState=0===e.num.subtract(r.ONE).gcd(e.e).compareTo(r.ONE)?3:0:3===e.pqState&&(e.pqState=0,null===e.p?e.p=e.num:e.q=e.num,null!==e.p&&null!==e.q&&++e.state,e.num=null)}else if(1===e.state)e.p.compareTo(e.q)<0&&(e.num=e.p,e.p=e.q,e.q=e.num),++e.state;else if(2===e.state)e.p1=e.p.subtract(r.ONE),e.q1=e.q.subtract(r.ONE),e.phi=e.p1.multiply(e.q1),++e.state;else if(3===e.state)0===e.phi.gcd(e.e).compareTo(r.ONE)?++e.state:(e.p=null,e.q=null,e.state=0);else if(4===e.state)e.n=e.p.multiply(e.q),e.n.bitLength()===e.bits?++e.state:(e.q=null,e.state=0);else if(5===e.state){var g=e.e.modInverse(e.phi);e.keys={privateKey:l.rsa.setPrivateKey(e.n,e.e,g,e.p,e.q,g.mod(e.p1),g.mod(e.q1),e.q.modInverse(e.p)),publicKey:l.rsa.setPublicKey(e.n,e.e)}}p+=(o=+new Date)-s,s=o}return null!==e.keys},l.rsa.generateKeyPair=function(e,t,n,r){if(1===arguments.length?"object"==typeof e?(n=e,e=void 0):"function"==typeof e&&(r=e,e=void 0):2===arguments.length?"number"==typeof e?"function"==typeof t?(r=t,t=void 0):"number"!=typeof t&&(n=t,t=void 0):(n=e,r=t,e=void 0,t=void 0):3===arguments.length&&("number"==typeof t?"function"==typeof n&&(r=n,n=void 0):(r=n,n=t,t=void 0)),n=n||{},void 0===e&&(e=n.bits||2048),void 0===t&&(t=n.e||65537),!o.options.usePureJavaScript&&!n.prng&&e>=256&&e<=16384&&(65537===t||3===t))if(r){if(P("generateKeyPair"))return i.generateKeyPair("rsa",{modulusLength:e,publicExponent:t,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}},(function(e,t,n){if(e)return r(e);r(null,{privateKey:l.privateKeyFromPem(n),publicKey:l.publicKeyFromPem(t)})}));if(x("generateKey")&&x("exportKey"))return s.globalScope.crypto.subtle.generateKey({name:"RSASSA-PKCS1-v1_5",modulusLength:e,publicExponent:T(t),hash:{name:"SHA-256"}},!0,["sign","verify"]).then((function(e){return s.globalScope.crypto.subtle.exportKey("pkcs8",e.privateKey)})).then(void 0,(function(e){r(e)})).then((function(e){if(e){var t=l.privateKeyFromAsn1(a.fromDer(o.util.createBuffer(e)));r(null,{privateKey:t,publicKey:l.setRsaPublicKey(t.n,t.e)})}}));if(S("generateKey")&&S("exportKey")){var c=s.globalScope.msCrypto.subtle.generateKey({name:"RSASSA-PKCS1-v1_5",modulusLength:e,publicExponent:T(t),hash:{name:"SHA-256"}},!0,["sign","verify"]);return c.oncomplete=function(e){var t=e.target.result,n=s.globalScope.msCrypto.subtle.exportKey("pkcs8",t.privateKey);n.oncomplete=function(e){var t=e.target.result,n=l.privateKeyFromAsn1(a.fromDer(o.util.createBuffer(t)));r(null,{privateKey:n,publicKey:l.setRsaPublicKey(n.n,n.e)})},n.onerror=function(e){r(e)}},void(c.onerror=function(e){r(e)})}}else if(P("generateKeyPairSync")){var p=i.generateKeyPairSync("rsa",{modulusLength:e,publicExponent:t,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}});return{privateKey:l.privateKeyFromPem(p.privateKey),publicKey:l.publicKeyFromPem(p.publicKey)}}var u=l.rsa.createKeyPairGenerationState(e,t,n);if(!r)return l.rsa.stepKeyPairGenerationState(u,0),u.keys;b(u,n,r)},l.setRsaPublicKey=l.rsa.setPublicKey=function(e,t){var n={n:e,e:t,encrypt:function(e,t,r){if("string"==typeof t?t=t.toUpperCase():void 0===t&&(t="RSAES-PKCS1-V1_5"),"RSAES-PKCS1-V1_5"===t)t={encode:function(e,t,n){return y(e,t,2).getBytes()}};else if("RSA-OAEP"===t||"RSAES-OAEP"===t)t={encode:function(e,t){return o.pkcs1.encode_rsa_oaep(t,e,r)}};else if(-1!==["RAW","NONE","NULL",null].indexOf(t))t={encode:function(e){return e}};else if("string"==typeof t)throw new Error('Unsupported encryption scheme: "'+t+'".');var i=t.encode(e,n,!0);return l.rsa.encrypt(i,n,!0)},verify:function(e,t,r,i){"string"==typeof r?r=r.toUpperCase():void 0===r&&(r="RSASSA-PKCS1-V1_5"),void 0===i&&(i={_parseAllDigestBytes:!0}),"_parseAllDigestBytes"in i||(i._parseAllDigestBytes=!0),"RSASSA-PKCS1-V1_5"===r?r={verify:function(e,t){t=v(t,n,!0);var r=a.fromDer(t,{parseAllBytes:i._parseAllDigestBytes}),s={},l=[];if(!a.validate(r,f,s,l))throw(c=new Error("ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value.")).errors=l,c;var c,p=a.derToOid(s.algorithmIdentifier);if(p!==o.oids.md2&&p!==o.oids.md5&&p!==o.oids.sha1&&p!==o.oids.sha224&&p!==o.oids.sha256&&p!==o.oids.sha384&&p!==o.oids.sha512&&p!==o.oids["sha512-224"]&&p!==o.oids["sha512-256"])throw(c=new Error("Unknown RSASSA-PKCS1-v1_5 DigestAlgorithm identifier.")).oid=p,c;if((p===o.oids.md2||p===o.oids.md5)&&!("parameters"in s))throw new Error("ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value. Missing algorithm identifer NULL parameters.");return e===s.digest}}:"NONE"!==r&&"NULL"!==r&&null!==r||(r={verify:function(e,t){return e===v(t,n,!0)}});var s=l.rsa.decrypt(t,n,!0,!1);return r.verify(e,s,n.n.bitLength())}};return n},l.setRsaPrivateKey=l.rsa.setPrivateKey=function(e,t,n,r,i,a,s,c){var p={n:e,e:t,d:n,p:r,q:i,dP:a,dQ:s,qInv:c,decrypt:function(e,t,n){"string"==typeof t?t=t.toUpperCase():void 0===t&&(t="RSAES-PKCS1-V1_5");var r=l.rsa.decrypt(e,p,!1,!1);if("RSAES-PKCS1-V1_5"===t)t={decode:v};else if("RSA-OAEP"===t||"RSAES-OAEP"===t)t={decode:function(e,t){return o.pkcs1.decode_rsa_oaep(t,e,n)}};else{if(-1===["RAW","NONE","NULL",null].indexOf(t))throw new Error('Unsupported encryption scheme: "'+t+'".');t={decode:function(e){return e}}}return t.decode(r,p,!1)},sign:function(e,t){var n=!1;"string"==typeof t&&(t=t.toUpperCase()),void 0===t||"RSASSA-PKCS1-V1_5"===t?(t={encode:h},n=1):"NONE"!==t&&"NULL"!==t&&null!==t||(t={encode:function(){return e}},n=1);var o=t.encode(e,p.n.bitLength());return l.rsa.encrypt(o,p,n)}};return p},l.wrapRsaPrivateKey=function(e){return a.create(a.Class.UNIVERSAL,a.Type.SEQUENCE,!0,[a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,a.integerToDer(0).getBytes()),a.create(a.Class.UNIVERSAL,a.Type.SEQUENCE,!0,[a.create(a.Class.UNIVERSAL,a.Type.OID,!1,a.oidToDer(l.oids.rsaEncryption).getBytes()),a.create(a.Class.UNIVERSAL,a.Type.NULL,!1,"")]),a.create(a.Class.UNIVERSAL,a.Type.OCTETSTRING,!1,a.toDer(e).getBytes())])},l.privateKeyFromAsn1=function(e){var t,n,i,s,c,d,g,f,h={},m=[];if(a.validate(e,p,h,m)&&(e=a.fromDer(o.util.createBuffer(h.privateKey))),h={},m=[],!a.validate(e,u,h,m)){var y=new Error("Cannot read private key. ASN.1 object does not contain an RSAPrivateKey.");throw y.errors=m,y}return t=o.util.createBuffer(h.privateKeyModulus).toHex(),n=o.util.createBuffer(h.privateKeyPublicExponent).toHex(),i=o.util.createBuffer(h.privateKeyPrivateExponent).toHex(),s=o.util.createBuffer(h.privateKeyPrime1).toHex(),c=o.util.createBuffer(h.privateKeyPrime2).toHex(),d=o.util.createBuffer(h.privateKeyExponent1).toHex(),g=o.util.createBuffer(h.privateKeyExponent2).toHex(),f=o.util.createBuffer(h.privateKeyCoefficient).toHex(),l.setRsaPrivateKey(new r(t,16),new r(n,16),new r(i,16),new r(s,16),new r(c,16),new r(d,16),new r(g,16),new r(f,16))},l.privateKeyToAsn1=l.privateKeyToRSAPrivateKey=function(e){return a.create(a.Class.UNIVERSAL,a.Type.SEQUENCE,!0,[a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,a.integerToDer(0).getBytes()),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.n)),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.e)),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.d)),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.p)),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.q)),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.dP)),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.dQ)),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.qInv))])},l.publicKeyFromAsn1=function(e){var t={},n=[];if(a.validate(e,g,t,n)){var i,s=a.derToOid(t.publicKeyOid);if(s!==l.oids.rsaEncryption)throw(i=new Error("Cannot read public key. Unknown OID.")).oid=s,i;e=t.rsaPublicKey}if(n=[],!a.validate(e,d,t,n))throw(i=new Error("Cannot read public key. ASN.1 object does not contain an RSAPublicKey.")).errors=n,i;var c=o.util.createBuffer(t.publicKeyModulus).toHex(),p=o.util.createBuffer(t.publicKeyExponent).toHex();return l.setRsaPublicKey(new r(c,16),new r(p,16))},l.publicKeyToAsn1=l.publicKeyToSubjectPublicKeyInfo=function(e){return a.create(a.Class.UNIVERSAL,a.Type.SEQUENCE,!0,[a.create(a.Class.UNIVERSAL,a.Type.SEQUENCE,!0,[a.create(a.Class.UNIVERSAL,a.Type.OID,!1,a.oidToDer(l.oids.rsaEncryption).getBytes()),a.create(a.Class.UNIVERSAL,a.Type.NULL,!1,"")]),a.create(a.Class.UNIVERSAL,a.Type.BITSTRING,!1,[l.publicKeyToRSAPublicKey(e)])])},l.publicKeyToRSAPublicKey=function(e){return a.create(a.Class.UNIVERSAL,a.Type.SEQUENCE,!0,[a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.n)),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.e))])}},28804:(e,t,n)=>{var o=n(83418);n(43730),n(63290);var r=e.exports=o.sha1=o.sha1||{};o.md.sha1=o.md.algorithms.sha1=r,r.create=function(){a||(i=String.fromCharCode(128),i+=o.util.fillString(String.fromCharCode(0),64),a=!0);var e=null,t=o.util.createBuffer(),n=new Array(80),r={algorithm:"sha1",blockLength:64,digestLength:20,messageLength:0,fullMessageLength:null,messageLengthSize:8,start:function(){r.messageLength=0,r.fullMessageLength=r.messageLength64=[];for(var n=r.messageLengthSize/4,i=0;i>>0,l>>>0];for(var c=r.fullMessageLength.length-1;c>=0;--c)r.fullMessageLength[c]+=l[1],l[1]=l[0]+(r.fullMessageLength[c]/4294967296>>>0),r.fullMessageLength[c]=r.fullMessageLength[c]>>>0,l[0]=l[1]/4294967296>>>0;return t.putBytes(i),s(e,n,t),(t.read>2048||0===t.length())&&t.compact(),r},r.digest=function(){var a=o.util.createBuffer();a.putBytes(t.bytes());var l,c=r.fullMessageLength[r.fullMessageLength.length-1]+r.messageLengthSize&r.blockLength-1;a.putBytes(i.substr(0,r.blockLength-c));for(var p=8*r.fullMessageLength[0],u=0;u>>0,a.putInt32(p>>>0),p=l>>>0;a.putInt32(p);var d={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3,h4:e.h4};s(d,n,a);var g=o.util.createBuffer();return g.putInt32(d.h0),g.putInt32(d.h1),g.putInt32(d.h2),g.putInt32(d.h3),g.putInt32(d.h4),g},r};var i=null,a=!1;function s(e,t,n){for(var o,r,i,a,s,l,c,p=n.length();p>=64;){for(r=e.h0,i=e.h1,a=e.h2,s=e.h3,l=e.h4,c=0;c<16;++c)o=n.getInt32(),t[c]=o,o=(r<<5|r>>>27)+(s^i&(a^s))+l+1518500249+o,l=s,s=a,a=(i<<30|i>>>2)>>>0,i=r,r=o;for(;c<20;++c)o=(o=t[c-3]^t[c-8]^t[c-14]^t[c-16])<<1|o>>>31,t[c]=o,o=(r<<5|r>>>27)+(s^i&(a^s))+l+1518500249+o,l=s,s=a,a=(i<<30|i>>>2)>>>0,i=r,r=o;for(;c<32;++c)o=(o=t[c-3]^t[c-8]^t[c-14]^t[c-16])<<1|o>>>31,t[c]=o,o=(r<<5|r>>>27)+(i^a^s)+l+1859775393+o,l=s,s=a,a=(i<<30|i>>>2)>>>0,i=r,r=o;for(;c<40;++c)o=(o=t[c-6]^t[c-16]^t[c-28]^t[c-32])<<2|o>>>30,t[c]=o,o=(r<<5|r>>>27)+(i^a^s)+l+1859775393+o,l=s,s=a,a=(i<<30|i>>>2)>>>0,i=r,r=o;for(;c<60;++c)o=(o=t[c-6]^t[c-16]^t[c-28]^t[c-32])<<2|o>>>30,t[c]=o,o=(r<<5|r>>>27)+(i&a|s&(i^a))+l+2400959708+o,l=s,s=a,a=(i<<30|i>>>2)>>>0,i=r,r=o;for(;c<80;++c)o=(o=t[c-6]^t[c-16]^t[c-28]^t[c-32])<<2|o>>>30,t[c]=o,o=(r<<5|r>>>27)+(i^a^s)+l+3395469782+o,l=s,s=a,a=(i<<30|i>>>2)>>>0,i=r,r=o;e.h0=e.h0+r|0,e.h1=e.h1+i|0,e.h2=e.h2+a|0,e.h3=e.h3+s|0,e.h4=e.h4+l|0,p-=64}}},51792:(e,t,n)=>{var o=n(83418);n(43730),n(63290);var r=e.exports=o.sha256=o.sha256||{};o.md.sha256=o.md.algorithms.sha256=r,r.create=function(){a||(i=String.fromCharCode(128),i+=o.util.fillString(String.fromCharCode(0),64),s=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=!0);var e=null,t=o.util.createBuffer(),n=new Array(64),r={algorithm:"sha256",blockLength:64,digestLength:32,messageLength:0,fullMessageLength:null,messageLengthSize:8,start:function(){r.messageLength=0,r.fullMessageLength=r.messageLength64=[];for(var n=r.messageLengthSize/4,i=0;i>>0,s>>>0];for(var c=r.fullMessageLength.length-1;c>=0;--c)r.fullMessageLength[c]+=s[1],s[1]=s[0]+(r.fullMessageLength[c]/4294967296>>>0),r.fullMessageLength[c]=r.fullMessageLength[c]>>>0,s[0]=s[1]/4294967296>>>0;return t.putBytes(i),l(e,n,t),(t.read>2048||0===t.length())&&t.compact(),r},r.digest=function(){var a=o.util.createBuffer();a.putBytes(t.bytes());var s,c=r.fullMessageLength[r.fullMessageLength.length-1]+r.messageLengthSize&r.blockLength-1;a.putBytes(i.substr(0,r.blockLength-c));for(var p=8*r.fullMessageLength[0],u=0;u>>0,a.putInt32(p>>>0),p=s>>>0;a.putInt32(p);var d={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3,h4:e.h4,h5:e.h5,h6:e.h6,h7:e.h7};l(d,n,a);var g=o.util.createBuffer();return g.putInt32(d.h0),g.putInt32(d.h1),g.putInt32(d.h2),g.putInt32(d.h3),g.putInt32(d.h4),g.putInt32(d.h5),g.putInt32(d.h6),g.putInt32(d.h7),g},r};var i=null,a=!1,s=null;function l(e,t,n){for(var o,r,i,a,l,c,p,u,d,g,f,h,m,y=n.length();y>=64;){for(l=0;l<16;++l)t[l]=n.getInt32();for(;l<64;++l)o=((o=t[l-2])>>>17|o<<15)^(o>>>19|o<<13)^o>>>10,r=((r=t[l-15])>>>7|r<<25)^(r>>>18|r<<14)^r>>>3,t[l]=o+t[l-7]+r+t[l-16]|0;for(c=e.h0,p=e.h1,u=e.h2,d=e.h3,g=e.h4,f=e.h5,h=e.h6,m=e.h7,l=0;l<64;++l)i=(c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10),a=c&p|u&(c^p),o=m+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(h^g&(f^h))+s[l]+t[l],m=h,h=f,f=g,g=d+o>>>0,d=u,u=p,p=c,c=o+(r=i+a)>>>0;e.h0=e.h0+c|0,e.h1=e.h1+p|0,e.h2=e.h2+u|0,e.h3=e.h3+d|0,e.h4=e.h4+g|0,e.h5=e.h5+f|0,e.h6=e.h6+h|0,e.h7=e.h7+m|0,y-=64}}},64301:(e,t,n)=>{var o=n(83418);n(43730),n(63290);var r=e.exports=o.sha512=o.sha512||{};o.md.sha512=o.md.algorithms.sha512=r;var i=o.sha384=o.sha512.sha384=o.sha512.sha384||{};i.create=function(){return r.create("SHA-384")},o.md.sha384=o.md.algorithms.sha384=i,o.sha512.sha256=o.sha512.sha256||{create:function(){return r.create("SHA-512/256")}},o.md["sha512/256"]=o.md.algorithms["sha512/256"]=o.sha512.sha256,o.sha512.sha224=o.sha512.sha224||{create:function(){return r.create("SHA-512/224")}},o.md["sha512/224"]=o.md.algorithms["sha512/224"]=o.sha512.sha224,r.create=function(e){if(s||(a=String.fromCharCode(128),a+=o.util.fillString(String.fromCharCode(0),128),l=[[1116352408,3609767458],[1899447441,602891725],[3049323471,3964484399],[3921009573,2173295548],[961987163,4081628472],[1508970993,3053834265],[2453635748,2937671579],[2870763221,3664609560],[3624381080,2734883394],[310598401,1164996542],[607225278,1323610764],[1426881987,3590304994],[1925078388,4068182383],[2162078206,991336113],[2614888103,633803317],[3248222580,3479774868],[3835390401,2666613458],[4022224774,944711139],[264347078,2341262773],[604807628,2007800933],[770255983,1495990901],[1249150122,1856431235],[1555081692,3175218132],[1996064986,2198950837],[2554220882,3999719339],[2821834349,766784016],[2952996808,2566594879],[3210313671,3203337956],[3336571891,1034457026],[3584528711,2466948901],[113926993,3758326383],[338241895,168717936],[666307205,1188179964],[773529912,1546045734],[1294757372,1522805485],[1396182291,2643833823],[1695183700,2343527390],[1986661051,1014477480],[2177026350,1206759142],[2456956037,344077627],[2730485921,1290863460],[2820302411,3158454273],[3259730800,3505952657],[3345764771,106217008],[3516065817,3606008344],[3600352804,1432725776],[4094571909,1467031594],[275423344,851169720],[430227734,3100823752],[506948616,1363258195],[659060556,3750685593],[883997877,3785050280],[958139571,3318307427],[1322822218,3812723403],[1537002063,2003034995],[1747873779,3602036899],[1955562222,1575990012],[2024104815,1125592928],[2227730452,2716904306],[2361852424,442776044],[2428436474,593698344],[2756734187,3733110249],[3204031479,2999351573],[3329325298,3815920427],[3391569614,3928383900],[3515267271,566280711],[3940187606,3454069534],[4118630271,4000239992],[116418474,1914138554],[174292421,2731055270],[289380356,3203993006],[460393269,320620315],[685471733,587496836],[852142971,1086792851],[1017036298,365543100],[1126000580,2618297676],[1288033470,3409855158],[1501505948,4234509866],[1607167915,987167468],[1816402316,1246189591]],(c={})["SHA-512"]=[[1779033703,4089235720],[3144134277,2227873595],[1013904242,4271175723],[2773480762,1595750129],[1359893119,2917565137],[2600822924,725511199],[528734635,4215389547],[1541459225,327033209]],c["SHA-384"]=[[3418070365,3238371032],[1654270250,914150663],[2438529370,812702999],[355462360,4144912697],[1731405415,4290775857],[2394180231,1750603025],[3675008525,1694076839],[1203062813,3204075428]],c["SHA-512/256"]=[[573645204,4230739756],[2673172387,3360449730],[596883563,1867755857],[2520282905,1497426621],[2519219938,2827943907],[3193839141,1401305490],[721525244,746961066],[246885852,2177182882]],c["SHA-512/224"]=[[2352822216,424955298],[1944164710,2312950998],[502970286,855612546],[1738396948,1479516111],[258812777,2077511080],[2011393907,79989058],[1067287976,1780299464],[286451373,2446758561]],s=!0),void 0===e&&(e="SHA-512"),!(e in c))throw new Error("Invalid SHA-512 algorithm: "+e);for(var t=c[e],n=null,r=o.util.createBuffer(),i=new Array(80),u=0;u<80;++u)i[u]=new Array(2);var d=64;switch(e){case"SHA-384":d=48;break;case"SHA-512/256":d=32;break;case"SHA-512/224":d=28}var g={algorithm:e.replace("-","").toLowerCase(),blockLength:128,digestLength:d,messageLength:0,fullMessageLength:null,messageLengthSize:16,start:function(){g.messageLength=0,g.fullMessageLength=g.messageLength128=[];for(var e=g.messageLengthSize/4,i=0;i>>0,a>>>0];for(var s=g.fullMessageLength.length-1;s>=0;--s)g.fullMessageLength[s]+=a[1],a[1]=a[0]+(g.fullMessageLength[s]/4294967296>>>0),g.fullMessageLength[s]=g.fullMessageLength[s]>>>0,a[0]=a[1]/4294967296>>>0;return r.putBytes(e),p(n,i,r),(r.read>2048||0===r.length())&&r.compact(),g},g.digest=function(){var t=o.util.createBuffer();t.putBytes(r.bytes());var s,l=g.fullMessageLength[g.fullMessageLength.length-1]+g.messageLengthSize&g.blockLength-1;t.putBytes(a.substr(0,g.blockLength-l));for(var c=8*g.fullMessageLength[0],u=0;u>>0,t.putInt32(c>>>0),c=s>>>0;t.putInt32(c);var d=new Array(n.length);for(u=0;u=128;){for(_=0;_<16;++_)t[_][0]=n.getInt32()>>>0,t[_][1]=n.getInt32()>>>0;for(;_<80;++_)o=(((C=(R=t[_-2])[0])>>>19|(I=R[1])<<13)^(I>>>29|C<<3)^C>>>6)>>>0,r=((C<<13|I>>>19)^(I<<3|C>>>29)^(C<<26|I>>>6))>>>0,i=(((C=(D=t[_-15])[0])>>>1|(I=D[1])<<31)^(C>>>8|I<<24)^C>>>7)>>>0,a=((C<<31|I>>>1)^(C<<24|I>>>8)^(C<<25|I>>>7))>>>0,N=t[_-7],L=t[_-16],I=r+N[1]+a+L[1],t[_][0]=o+N[0]+i+L[0]+(I/4294967296>>>0)>>>0,t[_][1]=I>>>0;for(f=e[0][0],h=e[0][1],m=e[1][0],y=e[1][1],v=e[2][0],b=e[2][1],O=e[3][0],w=e[3][1],P=e[4][0],x=e[4][1],S=e[5][0],T=e[5][1],A=e[6][0],E=e[6][1],j=e[7][0],k=e[7][1],_=0;_<80;++_)p=((P>>>14|x<<18)^(P>>>18|x<<14)^(x>>>9|P<<23))>>>0,u=(A^P&(S^A))>>>0,s=((f>>>28|h<<4)^(h>>>2|f<<30)^(h>>>7|f<<25))>>>0,c=((f<<4|h>>>28)^(h<<30|f>>>2)^(h<<25|f>>>7))>>>0,d=(f&m|v&(f^m))>>>0,g=(h&y|b&(h^y))>>>0,I=k+(((P<<18|x>>>14)^(P<<14|x>>>18)^(x<<23|P>>>9))>>>0)+((E^x&(T^E))>>>0)+l[_][1]+t[_][1],o=j+p+u+l[_][0]+t[_][0]+(I/4294967296>>>0)>>>0,r=I>>>0,i=s+d+((I=c+g)/4294967296>>>0)>>>0,a=I>>>0,j=A,k=E,A=S,E=T,S=P,T=x,P=O+o+((I=w+r)/4294967296>>>0)>>>0,x=I>>>0,O=v,w=b,v=m,b=y,m=f,y=h,f=o+i+((I=r+a)/4294967296>>>0)>>>0,h=I>>>0;I=e[0][1]+h,e[0][0]=e[0][0]+f+(I/4294967296>>>0)>>>0,e[0][1]=I>>>0,I=e[1][1]+y,e[1][0]=e[1][0]+m+(I/4294967296>>>0)>>>0,e[1][1]=I>>>0,I=e[2][1]+b,e[2][0]=e[2][0]+v+(I/4294967296>>>0)>>>0,e[2][1]=I>>>0,I=e[3][1]+w,e[3][0]=e[3][0]+O+(I/4294967296>>>0)>>>0,e[3][1]=I>>>0,I=e[4][1]+x,e[4][0]=e[4][0]+P+(I/4294967296>>>0)>>>0,e[4][1]=I>>>0,I=e[5][1]+T,e[5][0]=e[5][0]+S+(I/4294967296>>>0)>>>0,e[5][1]=I>>>0,I=e[6][1]+E,e[6][0]=e[6][0]+A+(I/4294967296>>>0)>>>0,e[6][1]=I>>>0,I=e[7][1]+k,e[7][0]=e[7][0]+j+(I/4294967296>>>0)>>>0,e[7][1]=I>>>0,B-=128}}},588:(e,t,n)=>{var o=n(83418);n(43882),n(85469),n(30960),n(28804),n(63290);var r=e.exports=o.ssh=o.ssh||{};function i(e,t){var n=t.toString(16);n[0]>="8"&&(n="00"+n);var r=o.util.hexToBytes(n);e.putInt32(r.length),e.putBytes(r)}function a(e,t){e.putInt32(t.length),e.putString(t)}function s(){for(var e=o.md.sha1.create(),t=arguments.length,n=0;n{var o=n(83418);n(10001),n(85469),n(30960),n(30115),n(63969),n(59018),n(28804),n(63290);var r=function(e,t,n,r){var i=o.util.createBuffer(),a=e.length>>1,s=a+(1&e.length),l=e.substr(0,s),c=e.substr(a,s),p=o.util.createBuffer(),u=o.hmac.create();n=t+n;var d=Math.ceil(r/16),g=Math.ceil(r/20);u.start("MD5",l);var f=o.util.createBuffer();p.putBytes(n);for(var h=0;h0&&(c.queue(e,c.createAlert(e,{level:c.Alert.Level.warning,description:c.Alert.Description.no_renegotiation})),c.flush(e)),e.process()},c.parseHelloMessage=function(e,t,n){var r=null,i=e.entity===c.ConnectionEnd.client;if(n<38)e.error(e,{message:i?"Invalid ServerHello message. Message too short.":"Invalid ClientHello message. Message too short.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.illegal_parameter}});else{var a=t.fragment,l=a.length();if(r={version:{major:a.getByte(),minor:a.getByte()},random:o.util.createBuffer(a.getBytes(32)),session_id:s(a,1),extensions:[]},i?(r.cipher_suite=a.getBytes(2),r.compression_method=a.getByte()):(r.cipher_suites=s(a,2),r.compression_methods=s(a,1)),(l=n-(l-a.length()))>0){for(var p=s(a,2);p.length()>0;)r.extensions.push({type:[p.getByte(),p.getByte()],data:s(p,2)});if(!i)for(var u=0;u0&&0===g.getByte();)e.session.extensions.server_name.serverNameList.push(s(g,2).getBytes())}}if(e.session.version&&(r.version.major!==e.session.version.major||r.version.minor!==e.session.version.minor))return e.error(e,{message:"TLS version change is disallowed during renegotiation.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.protocol_version}});if(i)e.session.cipherSuite=c.getCipherSuite(r.cipher_suite);else for(var f=o.util.createBuffer(r.cipher_suites.bytes());f.length()>0&&(e.session.cipherSuite=c.getCipherSuite(f.getBytes(2)),null===e.session.cipherSuite););if(null===e.session.cipherSuite)return e.error(e,{message:"No cipher suites in common.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.handshake_failure},cipherSuite:o.util.bytesToHex(r.cipher_suite)});e.session.compressionMethod=i?r.compression_method:c.CompressionMethod.none}return r},c.createSecurityParameters=function(e,t){var n=e.entity===c.ConnectionEnd.client,o=t.random.bytes(),r=n?e.session.sp.client_random:o,i=n?o:c.createRandom().getBytes();e.session.sp={entity:e.entity,prf_algorithm:c.PRFAlgorithm.tls_prf_sha256,bulk_cipher_algorithm:null,cipher_type:null,enc_key_length:null,block_length:null,fixed_iv_length:null,record_iv_length:null,mac_algorithm:null,mac_length:null,mac_key_length:null,compression_algorithm:e.session.compressionMethod,pre_master_secret:null,master_secret:null,client_random:r,server_random:i}},c.handleServerHello=function(e,t,n){var o=c.parseHelloMessage(e,t,n);if(!e.fail){if(!(o.version.minor<=e.version.minor))return e.error(e,{message:"Incompatible TLS version.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.protocol_version}});e.version.minor=o.version.minor,e.session.version=e.version;var r=o.session_id.bytes();r.length>0&&r===e.session.id?(e.expect=f,e.session.resuming=!0,e.session.sp.server_random=o.random.bytes()):(e.expect=p,e.session.resuming=!1,c.createSecurityParameters(e,o)),e.session.id=r,e.process()}},c.handleClientHello=function(e,t,n){var r=c.parseHelloMessage(e,t,n);if(!e.fail){var i=r.session_id.bytes(),a=null;if(e.sessionCache&&(null===(a=e.sessionCache.getSession(i))?i="":(a.version.major!==r.version.major||a.version.minor>r.version.minor)&&(a=null,i="")),0===i.length&&(i=o.random.getBytes(32)),e.session.id=i,e.session.clientHelloVersion=r.version,e.session.sp={},a)e.version=e.session.version=a.version,e.session.sp=a.sp;else{for(var s,l=1;l0;)r=s(l.certificate_list,3),i=o.asn1.fromDer(r),r=o.pki.certificateFromAsn1(i,!0),p.push(r)}catch(t){return e.error(e,{message:"Could not parse certificate list.",cause:t,send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.bad_certificate}})}var d=e.entity===c.ConnectionEnd.client;!d&&!0!==e.verifyClient||0!==p.length?0===p.length?e.expect=d?u:b:(d?e.session.serverCertificate=p[0]:e.session.clientCertificate=p[0],c.verifyCertificateChain(e,p)&&(e.expect=d?u:b)):e.error(e,{message:d?"No server certificate provided.":"No client certificate provided.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.illegal_parameter}}),e.process()},c.handleServerKeyExchange=function(e,t,n){if(n>0)return e.error(e,{message:"Invalid key parameters. Only RSA is supported.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.unsupported_certificate}});e.expect=d,e.process()},c.handleClientKeyExchange=function(e,t,n){if(n<48)return e.error(e,{message:"Invalid key parameters. Only RSA is supported.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.unsupported_certificate}});var r=t.fragment,i={enc_pre_master_secret:s(r,2).getBytes()},a=null;if(e.getPrivateKey)try{a=e.getPrivateKey(e,e.session.serverCertificate),a=o.pki.privateKeyFromPem(a)}catch(t){e.error(e,{message:"Could not get private key.",cause:t,send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.internal_error}})}if(null===a)return e.error(e,{message:"No private key set.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.internal_error}});try{var l=e.session.sp;l.pre_master_secret=a.decrypt(i.enc_pre_master_secret);var p=e.session.clientHelloVersion;if(p.major!==l.pre_master_secret.charCodeAt(0)||p.minor!==l.pre_master_secret.charCodeAt(1))throw new Error("TLS version rollback attack detected.")}catch(e){l.pre_master_secret=o.random.getBytes(48)}e.expect=w,null!==e.session.clientCertificate&&(e.expect=O),e.process()},c.handleCertificateRequest=function(e,t,n){if(n<3)return e.error(e,{message:"Invalid CertificateRequest. Message too short.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.illegal_parameter}});var o=t.fragment,r={certificate_types:s(o,1),certificate_authorities:s(o,2)};e.session.certificateRequest=r,e.expect=g,e.process()},c.handleCertificateVerify=function(e,t,n){if(n<2)return e.error(e,{message:"Invalid CertificateVerify. Message too short.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.illegal_parameter}});var r=t.fragment;r.read-=4;var i=r.bytes();r.read+=4;var a={signature:s(r,2).getBytes()},l=o.util.createBuffer();l.putBuffer(e.session.md5.digest()),l.putBuffer(e.session.sha1.digest()),l=l.getBytes();try{if(!e.session.clientCertificate.publicKey.verify(l,a.signature,"NONE"))throw new Error("CertificateVerify signature does not match.");e.session.md5.update(i),e.session.sha1.update(i)}catch(t){return e.error(e,{message:"Bad signature in CertificateVerify.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.handshake_failure}})}e.expect=w,e.process()},c.handleServerHelloDone=function(e,t,n){if(n>0)return e.error(e,{message:"Invalid ServerHelloDone message. Invalid length.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.record_overflow}});if(null===e.serverCertificate){var r={message:"No server certificate provided. Not enough security.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.insufficient_security}},i=e.verify(e,r.alert.description,0,[]);if(!0!==i)return(i||0===i)&&("object"!=typeof i||o.util.isArray(i)?"number"==typeof i&&(r.alert.description=i):(i.message&&(r.message=i.message),i.alert&&(r.alert.description=i.alert))),e.error(e,r)}null!==e.session.certificateRequest&&(t=c.createRecord(e,{type:c.ContentType.handshake,data:c.createCertificate(e)}),c.queue(e,t)),t=c.createRecord(e,{type:c.ContentType.handshake,data:c.createClientKeyExchange(e)}),c.queue(e,t),e.expect=y;var a=function(e,t){null!==e.session.certificateRequest&&null!==e.session.clientCertificate&&c.queue(e,c.createRecord(e,{type:c.ContentType.handshake,data:c.createCertificateVerify(e,t)})),c.queue(e,c.createRecord(e,{type:c.ContentType.change_cipher_spec,data:c.createChangeCipherSpec()})),e.state.pending=c.createConnectionState(e),e.state.current.write=e.state.pending.write,c.queue(e,c.createRecord(e,{type:c.ContentType.handshake,data:c.createFinished(e)})),e.expect=f,c.flush(e),e.process()};if(null===e.session.certificateRequest||null===e.session.clientCertificate)return a(e,null);c.getClientSignature(e,a)},c.handleChangeCipherSpec=function(e,t){if(1!==t.fragment.getByte())return e.error(e,{message:"Invalid ChangeCipherSpec message received.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.illegal_parameter}});var n=e.entity===c.ConnectionEnd.client;(e.session.resuming&&n||!e.session.resuming&&!n)&&(e.state.pending=c.createConnectionState(e)),e.state.current.read=e.state.pending.read,(!e.session.resuming&&n||e.session.resuming&&!n)&&(e.state.pending=null),e.expect=n?h:P,e.process()},c.handleFinished=function(e,t,n){var i=t.fragment;i.read-=4;var a=i.bytes();i.read+=4;var s=t.fragment.getBytes();(i=o.util.createBuffer()).putBuffer(e.session.md5.digest()),i.putBuffer(e.session.sha1.digest());var l=e.entity===c.ConnectionEnd.client,p=l?"server finished":"client finished",u=e.session.sp;if((i=r(u.master_secret,p,i.getBytes(),12)).getBytes()!==s)return e.error(e,{message:"Invalid verify_data in Finished message.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.decrypt_error}});e.session.md5.update(a),e.session.sha1.update(a),(e.session.resuming&&l||!e.session.resuming&&!l)&&(c.queue(e,c.createRecord(e,{type:c.ContentType.change_cipher_spec,data:c.createChangeCipherSpec()})),e.state.current.write=e.state.pending.write,e.state.pending=null,c.queue(e,c.createRecord(e,{type:c.ContentType.handshake,data:c.createFinished(e)}))),e.expect=l?m:x,e.handshaking=!1,++e.handshakes,e.peerCertificate=l?e.session.serverCertificate:e.session.clientCertificate,c.flush(e),e.isConnected=!0,e.connected(e),e.process()},c.handleAlert=function(e,t){var n,o=t.fragment,r={level:o.getByte(),description:o.getByte()};switch(r.description){case c.Alert.Description.close_notify:n="Connection closed.";break;case c.Alert.Description.unexpected_message:n="Unexpected message.";break;case c.Alert.Description.bad_record_mac:n="Bad record MAC.";break;case c.Alert.Description.decryption_failed:n="Decryption failed.";break;case c.Alert.Description.record_overflow:n="Record overflow.";break;case c.Alert.Description.decompression_failure:n="Decompression failed.";break;case c.Alert.Description.handshake_failure:n="Handshake failure.";break;case c.Alert.Description.bad_certificate:n="Bad certificate.";break;case c.Alert.Description.unsupported_certificate:n="Unsupported certificate.";break;case c.Alert.Description.certificate_revoked:n="Certificate revoked.";break;case c.Alert.Description.certificate_expired:n="Certificate expired.";break;case c.Alert.Description.certificate_unknown:n="Certificate unknown.";break;case c.Alert.Description.illegal_parameter:n="Illegal parameter.";break;case c.Alert.Description.unknown_ca:n="Unknown certificate authority.";break;case c.Alert.Description.access_denied:n="Access denied.";break;case c.Alert.Description.decode_error:n="Decode error.";break;case c.Alert.Description.decrypt_error:n="Decrypt error.";break;case c.Alert.Description.export_restriction:n="Export restriction.";break;case c.Alert.Description.protocol_version:n="Unsupported protocol version.";break;case c.Alert.Description.insufficient_security:n="Insufficient security.";break;case c.Alert.Description.internal_error:n="Internal error.";break;case c.Alert.Description.user_canceled:n="User canceled.";break;case c.Alert.Description.no_renegotiation:n="Renegotiation not supported.";break;default:n="Unknown error."}if(r.description===c.Alert.Description.close_notify)return e.close();e.error(e,{message:n,send:!1,origin:e.entity===c.ConnectionEnd.client?"server":"client",alert:r}),e.process()},c.handleHandshake=function(e,t){var n=t.fragment,r=n.getByte(),i=n.getInt24();if(i>n.length())return e.fragmented=t,t.fragment=o.util.createBuffer(),n.read-=4,e.process();e.fragmented=null,n.read-=4;var a=n.bytes(i+4);n.read+=4,r in M[e.entity][e.expect]?(e.entity!==c.ConnectionEnd.server||e.open||e.fail||(e.handshaking=!0,e.session={version:null,extensions:{server_name:{serverNameList:[]}},cipherSuite:null,compressionMethod:null,serverCertificate:null,clientCertificate:null,md5:o.md.md5.create(),sha1:o.md.sha1.create()}),r!==c.HandshakeType.hello_request&&r!==c.HandshakeType.certificate_verify&&r!==c.HandshakeType.finished&&(e.session.md5.update(a),e.session.sha1.update(a)),M[e.entity][e.expect][r](e,t,i)):c.handleUnexpected(e,t)},c.handleApplicationData=function(e,t){e.data.putBuffer(t.fragment),e.dataReady(e),e.process()},c.handleHeartbeat=function(e,t){var n=t.fragment,r=n.getByte(),i=n.getInt16(),a=n.getBytes(i);if(r===c.HeartbeatMessageType.heartbeat_request){if(e.handshaking||i>a.length)return e.process();c.queue(e,c.createRecord(e,{type:c.ContentType.heartbeat,data:c.createHeartbeat(c.HeartbeatMessageType.heartbeat_response,a)})),c.flush(e)}else if(r===c.HeartbeatMessageType.heartbeat_response){if(a!==e.expectedHeartbeatPayload)return e.process();e.heartbeatReceived&&e.heartbeatReceived(e,o.util.createBuffer(a))}e.process()};var p=1,u=2,d=3,g=4,f=5,h=6,m=7,y=8,v=1,b=2,O=3,w=4,P=5,x=6,S=c.handleUnexpected,T=c.handleChangeCipherSpec,A=c.handleAlert,E=c.handleHandshake,j=c.handleApplicationData,k=c.handleHeartbeat,_=[];_[c.ConnectionEnd.client]=[[S,A,E,S,k],[S,A,E,S,k],[S,A,E,S,k],[S,A,E,S,k],[S,A,E,S,k],[T,A,S,S,k],[S,A,E,S,k],[S,A,E,j,k],[S,A,E,S,k]],_[c.ConnectionEnd.server]=[[S,A,E,S,k],[S,A,E,S,k],[S,A,E,S,k],[S,A,E,S,k],[T,A,S,S,k],[S,A,E,S,k],[S,A,E,j,k],[S,A,E,S,k]];var C=c.handleHelloRequest,I=c.handleServerHello,R=c.handleCertificate,N=c.handleServerKeyExchange,D=c.handleCertificateRequest,L=c.handleServerHelloDone,B=c.handleFinished,M=[];M[c.ConnectionEnd.client]=[[S,S,I,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S],[C,S,S,S,S,S,S,S,S,S,S,R,N,D,L,S,S,S,S,S,S],[C,S,S,S,S,S,S,S,S,S,S,S,N,D,L,S,S,S,S,S,S],[C,S,S,S,S,S,S,S,S,S,S,S,S,D,L,S,S,S,S,S,S],[C,S,S,S,S,S,S,S,S,S,S,S,S,S,L,S,S,S,S,S,S],[C,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S],[C,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,B],[C,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S],[C,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S]];var F=c.handleClientHello,U=c.handleClientKeyExchange,q=c.handleCertificateVerify;M[c.ConnectionEnd.server]=[[S,F,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S],[S,S,S,S,S,S,S,S,S,S,S,R,S,S,S,S,S,S,S,S,S],[S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,U,S,S,S,S],[S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,q,S,S,S,S,S],[S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S],[S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,B],[S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S],[S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S]],c.generateKeys=function(e,t){var n=r,o=t.client_random+t.server_random;e.session.resuming||(t.master_secret=n(t.pre_master_secret,"master secret",o,48).bytes(),t.pre_master_secret=null),o=t.server_random+t.client_random;var i=2*t.mac_key_length+2*t.enc_key_length,a=e.version.major===c.Versions.TLS_1_0.major&&e.version.minor===c.Versions.TLS_1_0.minor;a&&(i+=2*t.fixed_iv_length);var s=n(t.master_secret,"key expansion",o,i),l={client_write_MAC_key:s.getBytes(t.mac_key_length),server_write_MAC_key:s.getBytes(t.mac_key_length),client_write_key:s.getBytes(t.enc_key_length),server_write_key:s.getBytes(t.enc_key_length)};return a&&(l.client_write_IV=s.getBytes(t.fixed_iv_length),l.server_write_IV=s.getBytes(t.fixed_iv_length)),l},c.createConnectionState=function(e){var t=e.entity===c.ConnectionEnd.client,n=function(){var e={sequenceNumber:[0,0],macKey:null,macLength:0,macFunction:null,cipherState:null,cipherFunction:function(e){return!0},compressionState:null,compressFunction:function(e){return!0},updateSequenceNumber:function(){4294967295===e.sequenceNumber[1]?(e.sequenceNumber[1]=0,++e.sequenceNumber[0]):++e.sequenceNumber[1]}};return e},o={read:n(),write:n()};if(o.read.update=function(e,t){return o.read.cipherFunction(t,o.read)?o.read.compressFunction(e,t,o.read)||e.error(e,{message:"Could not decompress record.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.decompression_failure}}):e.error(e,{message:"Could not decrypt record or bad MAC.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.bad_record_mac}}),!e.fail},o.write.update=function(e,t){return o.write.compressFunction(e,t,o.write)?o.write.cipherFunction(t,o.write)||e.error(e,{message:"Could not encrypt record.",send:!1,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.internal_error}}):e.error(e,{message:"Could not compress record.",send:!1,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.internal_error}}),!e.fail},e.session){var r=e.session.sp;switch(e.session.cipherSuite.initSecurityParameters(r),r.keys=c.generateKeys(e,r),o.read.macKey=t?r.keys.server_write_MAC_key:r.keys.client_write_MAC_key,o.write.macKey=t?r.keys.client_write_MAC_key:r.keys.server_write_MAC_key,e.session.cipherSuite.initConnectionState(o,e,r),r.compression_algorithm){case c.CompressionMethod.none:break;case c.CompressionMethod.deflate:o.read.compressFunction=a,o.write.compressFunction=i;break;default:throw new Error("Unsupported compression algorithm.")}}return o},c.createRandom=function(){var e=new Date,t=+e+6e4*e.getTimezoneOffset(),n=o.util.createBuffer();return n.putInt32(t),n.putBytes(o.random.getBytes(28)),n},c.createRecord=function(e,t){return t.data?{type:t.type,version:{major:e.version.major,minor:e.version.minor},length:t.data.length(),fragment:t.data}:null},c.createAlert=function(e,t){var n=o.util.createBuffer();return n.putByte(t.level),n.putByte(t.description),c.createRecord(e,{type:c.ContentType.alert,data:n})},c.createClientHello=function(e){e.session.clientHelloVersion={major:e.version.major,minor:e.version.minor};for(var t=o.util.createBuffer(),n=0;n0&&(f+=2);var h=e.session.id,m=h.length+1+2+4+28+2+i+1+s+f,y=o.util.createBuffer();return y.putByte(c.HandshakeType.client_hello),y.putInt24(m),y.putByte(e.version.major),y.putByte(e.version.minor),y.putBytes(e.session.sp.client_random),l(y,1,o.util.createBuffer(h)),l(y,2,t),l(y,1,a),f>0&&l(y,2,p),y},c.createServerHello=function(e){var t=e.session.id,n=t.length+1+2+4+28+2+1,r=o.util.createBuffer();return r.putByte(c.HandshakeType.server_hello),r.putInt24(n),r.putByte(e.version.major),r.putByte(e.version.minor),r.putBytes(e.session.sp.server_random),l(r,1,o.util.createBuffer(t)),r.putByte(e.session.cipherSuite.id[0]),r.putByte(e.session.cipherSuite.id[1]),r.putByte(e.session.compressionMethod),r},c.createCertificate=function(e){var t,n=e.entity===c.ConnectionEnd.client,r=null;e.getCertificate&&(t=n?e.session.certificateRequest:e.session.extensions.server_name.serverNameList,r=e.getCertificate(e,t));var i=o.util.createBuffer();if(null!==r)try{o.util.isArray(r)||(r=[r]);for(var a=null,s=0;sc.MaxFragment;)r.push(c.createRecord(e,{type:t.type,data:o.util.createBuffer(i.slice(0,c.MaxFragment))})),i=i.slice(c.MaxFragment);i.length>0&&r.push(c.createRecord(e,{type:t.type,data:o.util.createBuffer(i)}))}for(var a=0;a0&&(r=n.order[0]),null!==r&&r in n.cache)for(var i in t=n.cache[r],delete n.cache[r],n.order)if(n.order[i]===r){n.order.splice(i,1);break}return t},n.setSession=function(e,t){if(n.order.length===n.capacity){var r=n.order.shift();delete n.cache[r]}r=o.util.bytesToHex(e),n.order.push(r),n.cache[r]=t}}return n},c.createConnection=function(e){var t;t=e.caStore?o.util.isArray(e.caStore)?o.pki.createCaStore(e.caStore):e.caStore:o.pki.createCaStore();var n=e.cipherSuites||null;if(null===n)for(var r in n=[],c.CipherSuites)n.push(c.CipherSuites[r]);var i=e.server?c.ConnectionEnd.server:c.ConnectionEnd.client,a=e.sessionCache?c.createSessionCache(e.sessionCache):null,s={version:{major:c.Version.major,minor:c.Version.minor},entity:i,sessionId:e.sessionId,caStore:t,sessionCache:a,cipherSuites:n,connected:e.connected,virtualHost:e.virtualHost||null,verifyClient:e.verifyClient||!1,verify:e.verify||function(e,t,n,o){return t},verifyOptions:e.verifyOptions||{},getCertificate:e.getCertificate||null,getPrivateKey:e.getPrivateKey||null,getSignature:e.getSignature||null,input:o.util.createBuffer(),tlsData:o.util.createBuffer(),data:o.util.createBuffer(),tlsDataReady:e.tlsDataReady,dataReady:e.dataReady,heartbeatReceived:e.heartbeatReceived,closed:e.closed,error:function(t,n){n.origin=n.origin||(t.entity===c.ConnectionEnd.client?"client":"server"),n.send&&(c.queue(t,c.createAlert(t,n.alert)),c.flush(t));var o=!1!==n.fatal;o&&(t.fail=!0),e.error(t,n),o&&t.close(!1)},deflate:e.deflate||null,inflate:e.inflate||null,reset:function(e){s.version={major:c.Version.major,minor:c.Version.minor},s.record=null,s.session=null,s.peerCertificate=null,s.state={pending:null,current:null},s.expect=(s.entity,c.ConnectionEnd.client,0),s.fragmented=null,s.records=[],s.open=!1,s.handshakes=0,s.handshaking=!1,s.isConnected=!1,s.fail=!(e||void 0===e),s.input.clear(),s.tlsData.clear(),s.data.clear(),s.state.current=c.createConnectionState(s)}};return s.reset(),s.handshake=function(e){if(s.entity!==c.ConnectionEnd.client)s.error(s,{message:"Cannot initiate handshake as a server.",fatal:!1});else if(s.handshaking)s.error(s,{message:"Handshake already in progress.",fatal:!1});else{s.fail&&!s.open&&0===s.handshakes&&(s.fail=!1),s.handshaking=!0;var t=null;(e=e||"").length>0&&(s.sessionCache&&(t=s.sessionCache.getSession(e)),null===t&&(e="")),0===e.length&&s.sessionCache&&null!==(t=s.sessionCache.getSession())&&(e=t.id),s.session={id:e,version:null,cipherSuite:null,compressionMethod:null,serverCertificate:null,certificateRequest:null,clientCertificate:null,sp:{},md5:o.md.md5.create(),sha1:o.md.sha1.create()},t&&(s.version=t.version,s.session.sp=t.sp),s.session.sp.client_random=c.createRandom().getBytes(),s.open=!0,c.queue(s,c.createRecord(s,{type:c.ContentType.handshake,data:c.createClientHello(s)})),c.flush(s)}},s.process=function(e){var t=0;return e&&s.input.putBytes(e),s.fail||(null!==s.record&&s.record.ready&&s.record.fragment.isEmpty()&&(s.record=null),null===s.record&&(t=function(e){var t=0,n=e.input,r=n.length();if(r<5)t=5-r;else{e.record={type:n.getByte(),version:{major:n.getByte(),minor:n.getByte()},length:n.getInt16(),fragment:o.util.createBuffer(),ready:!1};var i=e.record.version.major===e.version.major;i&&e.session&&e.session.version&&(i=e.record.version.minor===e.version.minor),i||e.error(e,{message:"Incompatible TLS version.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.protocol_version}})}return t}(s)),s.fail||null===s.record||s.record.ready||(t=function(e){var t=0,n=e.input,o=n.length();return o{var o=n(83418),r=n(40976),i=e.exports=o.util=o.util||{};function a(e){if(8!==e&&16!==e&&24!==e&&32!==e)throw new Error("Only 8, 16, 24, or 32 bits supported: "+e)}function s(e){if(this.data="",this.read=0,"string"==typeof e)this.data=e;else if(i.isArrayBuffer(e)||i.isArrayBufferView(e))if("undefined"!=typeof Buffer&&e instanceof Buffer)this.data=e.toString("binary");else{var t=new Uint8Array(e);try{this.data=String.fromCharCode.apply(null,t)}catch(e){for(var n=0;n15?(n=Date.now(),a(e)):(t.push(e),1===t.length&&r.setAttribute("a",o=!o))}}i.nextTick=i.setImmediate}(),i.isNodejs="undefined"!=typeof process&&process.versions&&process.versions.node,i.globalScope=i.isNodejs?global:"undefined"==typeof self?window:self,i.isArray=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},i.isArrayBuffer=function(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer},i.isArrayBufferView=function(e){return e&&i.isArrayBuffer(e.buffer)&&void 0!==e.byteLength},i.ByteBuffer=s,i.ByteStringBuffer=s,i.ByteStringBuffer.prototype._optimizeConstructedString=function(e){this._constructedStringLength+=e,this._constructedStringLength>4096&&(this.data.substr(0,1),this._constructedStringLength=0)},i.ByteStringBuffer.prototype.length=function(){return this.data.length-this.read},i.ByteStringBuffer.prototype.isEmpty=function(){return this.length()<=0},i.ByteStringBuffer.prototype.putByte=function(e){return this.putBytes(String.fromCharCode(e))},i.ByteStringBuffer.prototype.fillWithByte=function(e,t){e=String.fromCharCode(e);for(var n=this.data;t>0;)1&t&&(n+=e),(t>>>=1)>0&&(e+=e);return this.data=n,this._optimizeConstructedString(t),this},i.ByteStringBuffer.prototype.putBytes=function(e){return this.data+=e,this._optimizeConstructedString(e.length),this},i.ByteStringBuffer.prototype.putString=function(e){return this.putBytes(i.encodeUtf8(e))},i.ByteStringBuffer.prototype.putInt16=function(e){return this.putBytes(String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},i.ByteStringBuffer.prototype.putInt24=function(e){return this.putBytes(String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},i.ByteStringBuffer.prototype.putInt32=function(e){return this.putBytes(String.fromCharCode(e>>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},i.ByteStringBuffer.prototype.putInt16Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255))},i.ByteStringBuffer.prototype.putInt24Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255)+String.fromCharCode(e>>16&255))},i.ByteStringBuffer.prototype.putInt32Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>24&255))},i.ByteStringBuffer.prototype.putInt=function(e,t){a(t);var n="";do{t-=8,n+=String.fromCharCode(e>>t&255)}while(t>0);return this.putBytes(n)},i.ByteStringBuffer.prototype.putSignedInt=function(e,t){return e<0&&(e+=2<0);return t},i.ByteStringBuffer.prototype.getSignedInt=function(e){var t=this.getInt(e),n=2<=n&&(t-=n<<1),t},i.ByteStringBuffer.prototype.getBytes=function(e){var t;return e?(e=Math.min(this.length(),e),t=this.data.slice(this.read,this.read+e),this.read+=e):0===e?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t},i.ByteStringBuffer.prototype.bytes=function(e){return void 0===e?this.data.slice(this.read):this.data.slice(this.read,this.read+e)},i.ByteStringBuffer.prototype.at=function(e){return this.data.charCodeAt(this.read+e)},i.ByteStringBuffer.prototype.setAt=function(e,t){return this.data=this.data.substr(0,this.read+e)+String.fromCharCode(t)+this.data.substr(this.read+e+1),this},i.ByteStringBuffer.prototype.last=function(){return this.data.charCodeAt(this.data.length-1)},i.ByteStringBuffer.prototype.copy=function(){var e=i.createBuffer(this.data);return e.read=this.read,e},i.ByteStringBuffer.prototype.compact=function(){return this.read>0&&(this.data=this.data.slice(this.read),this.read=0),this},i.ByteStringBuffer.prototype.clear=function(){return this.data="",this.read=0,this},i.ByteStringBuffer.prototype.truncate=function(e){var t=Math.max(0,this.length()-e);return this.data=this.data.substr(this.read,t),this.read=0,this},i.ByteStringBuffer.prototype.toHex=function(){for(var e="",t=this.read;t=e)return this;t=Math.max(t||this.growSize,e);var n=new Uint8Array(this.data.buffer,this.data.byteOffset,this.data.byteLength),o=new Uint8Array(this.length()+t);return o.set(n),this.data=new DataView(o.buffer),this},i.DataBuffer.prototype.putByte=function(e){return this.accommodate(1),this.data.setUint8(this.write++,e),this},i.DataBuffer.prototype.fillWithByte=function(e,t){this.accommodate(t);for(var n=0;n>8&65535),this.data.setInt8(this.write,e>>16&255),this.write+=3,this},i.DataBuffer.prototype.putInt32=function(e){return this.accommodate(4),this.data.setInt32(this.write,e),this.write+=4,this},i.DataBuffer.prototype.putInt16Le=function(e){return this.accommodate(2),this.data.setInt16(this.write,e,!0),this.write+=2,this},i.DataBuffer.prototype.putInt24Le=function(e){return this.accommodate(3),this.data.setInt8(this.write,e>>16&255),this.data.setInt16(this.write,e>>8&65535,!0),this.write+=3,this},i.DataBuffer.prototype.putInt32Le=function(e){return this.accommodate(4),this.data.setInt32(this.write,e,!0),this.write+=4,this},i.DataBuffer.prototype.putInt=function(e,t){a(t),this.accommodate(t/8);do{t-=8,this.data.setInt8(this.write++,e>>t&255)}while(t>0);return this},i.DataBuffer.prototype.putSignedInt=function(e,t){return a(t),this.accommodate(t/8),e<0&&(e+=2<0);return t},i.DataBuffer.prototype.getSignedInt=function(e){var t=this.getInt(e),n=2<=n&&(t-=n<<1),t},i.DataBuffer.prototype.getBytes=function(e){var t;return e?(e=Math.min(this.length(),e),t=this.data.slice(this.read,this.read+e),this.read+=e):0===e?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t},i.DataBuffer.prototype.bytes=function(e){return void 0===e?this.data.slice(this.read):this.data.slice(this.read,this.read+e)},i.DataBuffer.prototype.at=function(e){return this.data.getUint8(this.read+e)},i.DataBuffer.prototype.setAt=function(e,t){return this.data.setUint8(e,t),this},i.DataBuffer.prototype.last=function(){return this.data.getUint8(this.write-1)},i.DataBuffer.prototype.copy=function(){return new i.DataBuffer(this)},i.DataBuffer.prototype.compact=function(){if(this.read>0){var e=new Uint8Array(this.data.buffer,this.read),t=new Uint8Array(e.byteLength);t.set(e),this.data=new DataView(t),this.write-=this.read,this.read=0}return this},i.DataBuffer.prototype.clear=function(){return this.data=new DataView(new ArrayBuffer(0)),this.read=this.write=0,this},i.DataBuffer.prototype.truncate=function(e){return this.write=Math.max(0,this.length()-e),this.read=Math.min(this.read,this.write),this},i.DataBuffer.prototype.toHex=function(){for(var e="",t=this.read;t0;)1&t&&(n+=e),(t>>>=1)>0&&(e+=e);return n},i.xorBytes=function(e,t,n){for(var o="",r="",i="",a=0,s=0;n>0;--n,++a)r=e.charCodeAt(a)^t.charCodeAt(a),s>=10&&(o+=i,i="",s=0),i+=String.fromCharCode(r),++s;return o+i},i.hexToBytes=function(e){var t="",n=0;for(!0&e.length&&(n=1,t+=String.fromCharCode(parseInt(e[0],16)));n>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e)};var l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=[62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],p="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";i.encode64=function(e,t){for(var n,o,r,i="",a="",s=0;s>2),i+=l.charAt((3&n)<<4|o>>4),isNaN(o)?i+="==":(i+=l.charAt((15&o)<<2|r>>6),i+=isNaN(r)?"=":l.charAt(63&r)),t&&i.length>t&&(a+=i.substr(0,t)+"\r\n",i=i.substr(t));return a+i},i.decode64=function(e){e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var t,n,o,r,i="",a=0;a>4),64!==o&&(i+=String.fromCharCode((15&n)<<4|o>>2),64!==r&&(i+=String.fromCharCode((3&o)<<6|r)));return i},i.encodeUtf8=function(e){return unescape(encodeURIComponent(e))},i.decodeUtf8=function(e){return decodeURIComponent(escape(e))},i.binary={raw:{},hex:{},base64:{},base58:{},baseN:{encode:r.encode,decode:r.decode}},i.binary.raw.encode=function(e){return String.fromCharCode.apply(null,e)},i.binary.raw.decode=function(e,t,n){var o=t;o||(o=new Uint8Array(e.length));for(var r=n=n||0,i=0;i>2),i+=l.charAt((3&n)<<4|o>>4),isNaN(o)?i+="==":(i+=l.charAt((15&o)<<2|r>>6),i+=isNaN(r)?"=":l.charAt(63&r)),t&&i.length>t&&(a+=i.substr(0,t)+"\r\n",i=i.substr(t));return a+i},i.binary.base64.decode=function(e,t,n){var o,r,i,a,s=t;s||(s=new Uint8Array(3*Math.ceil(e.length/4))),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var l=0,p=n=n||0;l>4,64!==i&&(s[p++]=(15&r)<<4|i>>2,64!==a&&(s[p++]=(3&i)<<6|a));return t?p-n:s.subarray(0,p)},i.binary.base58.encode=function(e,t){return i.binary.baseN.encode(e,p,t)},i.binary.base58.decode=function(e,t){return i.binary.baseN.decode(e,p,t)},i.text={utf8:{},utf16:{}},i.text.utf8.encode=function(e,t,n){e=i.encodeUtf8(e);var o=t;o||(o=new Uint8Array(e.length));for(var r=n=n||0,a=0;a0&&i.push(n),a=o.lastIndex;var s=t[0][1];switch(s){case"s":case"o":r");break;case"%":i.push("%");break;default:i.push("<%"+s+"?>")}}return i.push(e.substring(a)),i.join("")},i.formatNumber=function(e,t,n,o){var r=e,i=isNaN(t=Math.abs(t))?2:t,a=void 0===n?",":n,s=void 0===o?".":o,l=r<0?"-":"",c=parseInt(r=Math.abs(+r||0).toFixed(i),10)+"",p=c.length>3?c.length%3:0;return l+(p?c.substr(0,p)+s:"")+c.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+s)+(i?a+Math.abs(r-c).toFixed(i).slice(2):"")},i.formatSize=function(e){return e>=1073741824?i.formatNumber(e/1073741824,2,".","")+" GiB":e>=1048576?i.formatNumber(e/1048576,2,".","")+" MiB":e>=1024?i.formatNumber(e/1024,0)+" KiB":i.formatNumber(e,0)+" bytes"},i.bytesFromIP=function(e){return-1!==e.indexOf(".")?i.bytesFromIPv4(e):-1!==e.indexOf(":")?i.bytesFromIPv6(e):null},i.bytesFromIPv4=function(e){if(4!==(e=e.split(".")).length)return null;for(var t=i.createBuffer(),n=0;nn[o].end-n[o].start&&(o=n.length-1)):n.push({start:l,end:l})}t.push(a)}if(n.length>0){var c=n[o];c.end-c.start>0&&(t.splice(c.start,c.end-c.start+1,""),0===c.start&&t.unshift(""),7===c.end&&t.push(""))}return t.join(":")},i.estimateCores=function(e,t){if("function"==typeof e&&(t=e,e={}),e=e||{},"cores"in i&&!e.update)return t(null,i.cores);if("undefined"!=typeof navigator&&"hardwareConcurrency"in navigator&&navigator.hardwareConcurrency>0)return i.cores=navigator.hardwareConcurrency,t(null,i.cores);if("undefined"==typeof Worker)return i.cores=1,t(null,i.cores);if("undefined"==typeof Blob)return i.cores=2,t(null,i.cores);var n=URL.createObjectURL(new Blob(["(",function(){self.addEventListener("message",(function(e){for(var t=Date.now(),n=t+4;Date.now()s.st&&r.str.st&&s.st{var o=n(83418);n(43882),n(10001),n(86875),n(43730),n(39028),n(43793),n(30115),n(95032),n(9120),n(63290);var r=o.asn1,i=e.exports=o.pki=o.pki||{},a=i.oids,s={};s.CN=a.commonName,s.commonName="CN",s.C=a.countryName,s.countryName="C",s.L=a.localityName,s.localityName="L",s.ST=a.stateOrProvinceName,s.stateOrProvinceName="ST",s.O=a.organizationName,s.organizationName="O",s.OU=a.organizationalUnitName,s.organizationalUnitName="OU",s.E=a.emailAddress,s.emailAddress="E";var l=o.pki.rsa.publicKeyValidator,c={name:"Certificate",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"tbsCertificate",value:[{name:"Certificate.TBSCertificate.version",tagClass:r.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.version.integer",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"certVersion"}]},{name:"Certificate.TBSCertificate.serialNumber",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"certSerialNumber"},{name:"Certificate.TBSCertificate.signature",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate.signature.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"certinfoSignatureOid"},{name:"Certificate.TBSCertificate.signature.parameters",tagClass:r.Class.UNIVERSAL,optional:!0,captureAsn1:"certinfoSignatureParams"}]},{name:"Certificate.TBSCertificate.issuer",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"certIssuer"},{name:"Certificate.TBSCertificate.validity",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate.validity.notBefore (utc)",tagClass:r.Class.UNIVERSAL,type:r.Type.UTCTIME,constructed:!1,optional:!0,capture:"certValidity1UTCTime"},{name:"Certificate.TBSCertificate.validity.notBefore (generalized)",tagClass:r.Class.UNIVERSAL,type:r.Type.GENERALIZEDTIME,constructed:!1,optional:!0,capture:"certValidity2GeneralizedTime"},{name:"Certificate.TBSCertificate.validity.notAfter (utc)",tagClass:r.Class.UNIVERSAL,type:r.Type.UTCTIME,constructed:!1,optional:!0,capture:"certValidity3UTCTime"},{name:"Certificate.TBSCertificate.validity.notAfter (generalized)",tagClass:r.Class.UNIVERSAL,type:r.Type.GENERALIZEDTIME,constructed:!1,optional:!0,capture:"certValidity4GeneralizedTime"}]},{name:"Certificate.TBSCertificate.subject",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"certSubject"},l,{name:"Certificate.TBSCertificate.issuerUniqueID",tagClass:r.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.issuerUniqueID.id",tagClass:r.Class.UNIVERSAL,type:r.Type.BITSTRING,constructed:!1,captureBitStringValue:"certIssuerUniqueId"}]},{name:"Certificate.TBSCertificate.subjectUniqueID",tagClass:r.Class.CONTEXT_SPECIFIC,type:2,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.subjectUniqueID.id",tagClass:r.Class.UNIVERSAL,type:r.Type.BITSTRING,constructed:!1,captureBitStringValue:"certSubjectUniqueId"}]},{name:"Certificate.TBSCertificate.extensions",tagClass:r.Class.CONTEXT_SPECIFIC,type:3,constructed:!0,captureAsn1:"certExtensions",optional:!0}]},{name:"Certificate.signatureAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.signatureAlgorithm.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"certSignatureOid"},{name:"Certificate.TBSCertificate.signature.parameters",tagClass:r.Class.UNIVERSAL,optional:!0,captureAsn1:"certSignatureParams"}]},{name:"Certificate.signatureValue",tagClass:r.Class.UNIVERSAL,type:r.Type.BITSTRING,constructed:!1,captureBitStringValue:"certSignature"}]},p={name:"rsapss",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"rsapss.hashAlgorithm",tagClass:r.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,value:[{name:"rsapss.hashAlgorithm.AlgorithmIdentifier",tagClass:r.Class.UNIVERSAL,type:r.Class.SEQUENCE,constructed:!0,optional:!0,value:[{name:"rsapss.hashAlgorithm.AlgorithmIdentifier.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"hashOid"}]}]},{name:"rsapss.maskGenAlgorithm",tagClass:r.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier",tagClass:r.Class.UNIVERSAL,type:r.Class.SEQUENCE,constructed:!0,optional:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"maskGenOid"},{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.params",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.params.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"maskGenHashOid"}]}]}]},{name:"rsapss.saltLength",tagClass:r.Class.CONTEXT_SPECIFIC,type:2,optional:!0,value:[{name:"rsapss.saltLength.saltLength",tagClass:r.Class.UNIVERSAL,type:r.Class.INTEGER,constructed:!1,capture:"saltLength"}]},{name:"rsapss.trailerField",tagClass:r.Class.CONTEXT_SPECIFIC,type:3,optional:!0,value:[{name:"rsapss.trailer.trailer",tagClass:r.Class.UNIVERSAL,type:r.Class.INTEGER,constructed:!1,capture:"trailer"}]}]},u={name:"CertificationRequestInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"certificationRequestInfo",value:[{name:"CertificationRequestInfo.integer",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"certificationRequestInfoVersion"},{name:"CertificationRequestInfo.subject",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"certificationRequestInfoSubject"},l,{name:"CertificationRequestInfo.attributes",tagClass:r.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,capture:"certificationRequestInfoAttributes",value:[{name:"CertificationRequestInfo.attributes",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"CertificationRequestInfo.attributes.type",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1},{name:"CertificationRequestInfo.attributes.value",tagClass:r.Class.UNIVERSAL,type:r.Type.SET,constructed:!0}]}]}]},d={name:"CertificationRequest",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"csr",value:[u,{name:"CertificationRequest.signatureAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"CertificationRequest.signatureAlgorithm.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"csrSignatureOid"},{name:"CertificationRequest.signatureAlgorithm.parameters",tagClass:r.Class.UNIVERSAL,optional:!0,captureAsn1:"csrSignatureParams"}]},{name:"CertificationRequest.signature",tagClass:r.Class.UNIVERSAL,type:r.Type.BITSTRING,constructed:!1,captureBitStringValue:"csrSignature"}]};function g(e,t){"string"==typeof t&&(t={shortName:t});for(var n,o=null,r=0;null===o&&r128)throw new Error('Invalid "nsComment" content.');e.value=r.create(r.Class.UNIVERSAL,r.Type.IA5STRING,!1,e.comment)}else if("subjectKeyIdentifier"===e.name&&t.cert){var g=t.cert.generateSubjectKeyIdentifier();e.subjectKeyIdentifier=g.toHex(),e.value=r.create(r.Class.UNIVERSAL,r.Type.OCTETSTRING,!1,g.getBytes())}else if("authorityKeyIdentifier"===e.name&&t.cert){if(e.value=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[]),p=e.value.value,e.keyIdentifier){var f=!0===e.keyIdentifier?t.cert.generateSubjectKeyIdentifier().getBytes():e.keyIdentifier;p.push(r.create(r.Class.CONTEXT_SPECIFIC,0,!1,f))}if(e.authorityCertIssuer){var h=[r.create(r.Class.CONTEXT_SPECIFIC,4,!0,[y(!0===e.authorityCertIssuer?t.cert.issuer:e.authorityCertIssuer)])];p.push(r.create(r.Class.CONTEXT_SPECIFIC,1,!0,h))}if(e.serialNumber){var m=o.util.hexToBytes(!0===e.serialNumber?t.cert.serialNumber:e.serialNumber);p.push(r.create(r.Class.CONTEXT_SPECIFIC,2,!1,m))}}else if("cRLDistributionPoints"===e.name){e.value=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[]),p=e.value.value;var v,b=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[]),O=r.create(r.Class.CONTEXT_SPECIFIC,0,!0,[]);for(d=0;d2)throw new Error("Cannot read notBefore/notAfter validity times; more than two times were provided in the certificate.");if(u.length<2)throw new Error("Cannot read notBefore/notAfter validity times; they were not provided as either UTCTime or GeneralizedTime.");if(l.validity.notBefore=u[0],l.validity.notAfter=u[1],l.tbsCertificate=n.tbsCertificate,t){l.md=h({signatureOid:l.signatureOid,type:"certificate"});var d=r.toDer(l.tbsCertificate);l.md.update(d.getBytes())}var m=o.md.sha1.create(),y=r.toDer(n.certIssuer);m.update(y.getBytes()),l.issuer.getField=function(e){return g(l.issuer,e)},l.issuer.addField=function(e){v([e]),l.issuer.attributes.push(e)},l.issuer.attributes=i.RDNAttributesAsArray(n.certIssuer),n.certIssuerUniqueId&&(l.issuer.uniqueId=n.certIssuerUniqueId),l.issuer.hash=m.digest().toHex();var b=o.md.sha1.create(),O=r.toDer(n.certSubject);return b.update(O.getBytes()),l.subject.getField=function(e){return g(l.subject,e)},l.subject.addField=function(e){v([e]),l.subject.attributes.push(e)},l.subject.attributes=i.RDNAttributesAsArray(n.certSubject),n.certSubjectUniqueId&&(l.subject.uniqueId=n.certSubjectUniqueId),l.subject.hash=b.digest().toHex(),n.certExtensions?l.extensions=i.certificateExtensionsFromAsn1(n.certExtensions):l.extensions=[],l.publicKey=i.publicKeyFromAsn1(n.subjectPublicKeyInfo),l},i.certificateExtensionsFromAsn1=function(e){for(var t=[],n=0;n1&&(n=l.value.charCodeAt(1),i=l.value.length>2?l.value.charCodeAt(2):0),t.digitalSignature=128==(128&n),t.nonRepudiation=64==(64&n),t.keyEncipherment=32==(32&n),t.dataEncipherment=16==(16&n),t.keyAgreement=8==(8&n),t.keyCertSign=4==(4&n),t.cRLSign=2==(2&n),t.encipherOnly=1==(1&n),t.decipherOnly=128==(128&i)}else if("basicConstraints"===t.name){(l=r.fromDer(t.value)).value.length>0&&l.value[0].type===r.Type.BOOLEAN?t.cA=0!==l.value[0].value.charCodeAt(0):t.cA=!1;var s=null;l.value.length>0&&l.value[0].type===r.Type.INTEGER?s=l.value[0].value:l.value.length>1&&(s=l.value[1].value),null!==s&&(t.pathLenConstraint=r.derToInteger(s))}else if("extKeyUsage"===t.name)for(var l=r.fromDer(t.value),c=0;c1&&(n=l.value.charCodeAt(1)),t.client=128==(128&n),t.server=64==(64&n),t.email=32==(32&n),t.objsign=16==(16&n),t.reserved=8==(8&n),t.sslCA=4==(4&n),t.emailCA=2==(2&n),t.objCA=1==(1&n);else if("subjectAltName"===t.name||"issuerAltName"===t.name){var u;t.altNames=[],l=r.fromDer(t.value);for(var d=0;d=P&&e0&&a.value.push(i.certificateExtensionsToAsn1(e.extensions)),a},i.getCertificationRequestInfo=function(e){return r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.INTEGER,!1,r.integerToDer(e.version).getBytes()),y(e.subject),i.publicKeyToAsn1(e.publicKey),w(e)])},i.distinguishedNameToAsn1=function(e){return y(e)},i.certificateToAsn1=function(e){var t=e.tbsCertificate||i.getTBSCertificate(e);return r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[t,r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.OID,!1,r.oidToDer(e.signatureOid).getBytes()),O(e.signatureOid,e.signatureParameters)]),r.create(r.Class.UNIVERSAL,r.Type.BITSTRING,!1,String.fromCharCode(0)+e.signature)])},i.certificateExtensionsToAsn1=function(e){var t=r.create(r.Class.CONTEXT_SPECIFIC,3,!0,[]),n=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[]);t.value.push(n);for(var o=0;op.validity.notAfter)&&(l={message:"Certificate is not valid yet or has expired.",error:i.certificateError.certificate_expired,notBefore:p.validity.notBefore,notAfter:p.validity.notAfter,now:a}),null===l){if(null===(u=t[0]||e.getIssuer(p))&&p.isIssuer(p)&&(d=!0,u=p),u){var g=u;o.util.isArray(g)||(g=[g]);for(var f=!1;!f&&g.length>0;){u=g.shift();try{f=u.verify(p)}catch(e){}}f||(l={message:"Certificate signature is invalid.",error:i.certificateError.bad_certificate})}null!==l||u&&!d||e.hasCertificate(p)||(l={message:"Certificate is not trusted.",error:i.certificateError.unknown_ca})}if(null===l&&u&&!p.isIssuer(u)&&(l={message:"Certificate issuer is invalid.",error:i.certificateError.bad_certificate}),null===l)for(var h={keyUsage:!0,basicConstraints:!0},m=0;null===l&&mv.pathLenConstraint&&(l={message:"Certificate basicConstraints pathLenConstraint violated.",error:i.certificateError.bad_certificate})}var O=null===l||l.error,w=n.verify?n.verify(O,c,r):O;if(!0!==w)throw!0===O&&(l={message:"The application rejected the certificate.",error:i.certificateError.bad_certificate}),(w||0===w)&&("object"!=typeof w||o.util.isArray(w)?"string"==typeof w&&(l.error=w):(w.message&&(l.message=w.message),w.error&&(l.error=w.error))),l;l=null,s=!1,++c}while(t.length>0);return!0}},62319:(e,t,n)=>{"use strict";var o=n(6113);function r(e,t){return function(e,t){var n;if(void 0===(n="passthrough"!==t.algorithm?o.createHash(t.algorithm):new p).write&&(n.write=n.update,n.end=n.update),c(t,n).dispatch(e),n.update||n.end(""),n.digest)return n.digest("buffer"===t.encoding?void 0:t.encoding);var r=n.read();return"buffer"===t.encoding?r:r.toString(t.encoding)}(e,t=s(e,t))}(t=e.exports=r).sha1=function(e){return r(e)},t.keys=function(e){return r(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},t.MD5=function(e){return r(e,{algorithm:"md5",encoding:"hex"})},t.keysMD5=function(e){return r(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var i=o.getHashes?o.getHashes().slice():["sha1","md5"];i.push("passthrough");var a=["buffer","hex","binary","base64"];function s(e,t){t=t||{};var n={};if(n.algorithm=t.algorithm||"sha1",n.encoding=t.encoding||"hex",n.excludeValues=!!t.excludeValues,n.algorithm=n.algorithm.toLowerCase(),n.encoding=n.encoding.toLowerCase(),n.ignoreUnknown=!0===t.ignoreUnknown,n.respectType=!1!==t.respectType,n.respectFunctionNames=!1!==t.respectFunctionNames,n.respectFunctionProperties=!1!==t.respectFunctionProperties,n.unorderedArrays=!0===t.unorderedArrays,n.unorderedSets=!1!==t.unorderedSets,n.unorderedObjects=!1!==t.unorderedObjects,n.replacer=t.replacer||void 0,n.excludeKeys=t.excludeKeys||void 0,void 0===e)throw new Error("Object argument required.");for(var o=0;o=0)return this.dispatch("[CIRCULAR:"+r+"]");if(n.push(t),"undefined"!=typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(t))return o("buffer:"),o(t);if("object"===a||"function"===a||"asyncfunction"===a){var s=Object.keys(t);e.unorderedObjects&&(s=s.sort()),!1===e.respectType||l(t)||s.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(s=s.filter((function(t){return!e.excludeKeys(t)}))),o("object:"+s.length+":");var c=this;return s.forEach((function(n){c.dispatch(n),o(":"),e.excludeValues||c.dispatch(t[n]),o(",")}))}if(!this["_"+a]){if(e.ignoreUnknown)return o("["+a+"]");throw new Error('Unknown object type "'+a+'"')}this["_"+a](t)},_array:function(t,r){r=void 0!==r?r:!1!==e.unorderedArrays;var i=this;if(o("array:"+t.length+":"),!r||t.length<=1)return t.forEach((function(e){return i.dispatch(e)}));var a=[],s=t.map((function(t){var o=new p,r=n.slice();return c(e,o,r).dispatch(t),a=a.concat(r.slice(n.length)),o.read().toString()}));return n=n.concat(a),s.sort(),this._array(s,!1)},_date:function(e){return o("date:"+e.toJSON())},_symbol:function(e){return o("symbol:"+e.toString())},_error:function(e){return o("error:"+e.toString())},_boolean:function(e){return o("bool:"+e.toString())},_string:function(e){o("string:"+e.length+":"),o(e.toString())},_function:function(t){o("fn:"),l(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return o("number:"+e.toString())},_xml:function(e){return o("xml:"+e.toString())},_null:function(){return o("Null")},_undefined:function(){return o("Undefined")},_regexp:function(e){return o("regex:"+e.toString())},_uint8array:function(e){return o("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return o("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return o("int8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return o("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return o("int16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return o("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return o("int32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return o("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return o("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return o("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return o("url:"+e.toString())},_map:function(t){o("map:");var n=Array.from(t);return this._array(n,!1!==e.unorderedSets)},_set:function(t){o("set:");var n=Array.from(t);return this._array(n,!1!==e.unorderedSets)},_file:function(e){return o("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return o("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return o("domwindow")},_bigint:function(e){return o("bigint:"+e.toString())},_process:function(){return o("process")},_timer:function(){return o("timer")},_pipe:function(){return o("pipe")},_tcp:function(){return o("tcp")},_udp:function(){return o("udp")},_tty:function(){return o("tty")},_statwatcher:function(){return o("statwatcher")},_securecontext:function(){return o("securecontext")},_connection:function(){return o("connection")},_zlib:function(){return o("zlib")},_context:function(){return o("context")},_nodescript:function(){return o("nodescript")},_httpparser:function(){return o("httpparser")},_dataview:function(){return o("dataview")},_signal:function(){return o("signal")},_fsevent:function(){return o("fsevent")},_tlswrap:function(){return o("tlswrap")}}}function p(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}t.writeToStream=function(e,t,n){return void 0===n&&(n=t,t={}),c(t=s(e,t),n).dispatch(e)}},31741:(e,t,n)=>{var o="function"==typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&r&&"function"==typeof r.get?r.get:null,a=o&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,p=s&&Set.prototype.forEach,u="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,g="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,h=Object.prototype.toString,m=Function.prototype.toString,y=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,O=String.prototype.toUpperCase,w=String.prototype.toLowerCase,P=RegExp.prototype.test,x=Array.prototype.concat,S=Array.prototype.join,T=Array.prototype.slice,A=Math.floor,E="function"==typeof BigInt?BigInt.prototype.valueOf:null,j=Object.getOwnPropertySymbols,k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,_="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,R=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function N(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||P.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var o=e<0?-A(-e):A(e);if(o!==e){var r=String(o),i=v.call(t,r.length+1);return b.call(r,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var D=n(11709),L=D.custom,B=V(L)?L:null;function M(e,t,n){var o="double"===(n.quoteStyle||t)?'"':"'";return o+e+o}function F(e){return b.call(String(e),/"/g,""")}function U(e){return!("[object Array]"!==W(e)||C&&"object"==typeof e&&C in e)}function q(e){return!("[object RegExp]"!==W(e)||C&&"object"==typeof e&&C in e)}function V(e){if(_)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!k)return!1;try{return k.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,o,r){var s=n||{};if(G(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(G(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!G(s,"customInspect")||s.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(G(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(G(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var h=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return J(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var O=String(t);return h?N(t,O):O}if("bigint"==typeof t){var P=String(t)+"n";return h?N(t,P):P}var A=void 0===s.depth?5:s.depth;if(void 0===o&&(o=0),o>=A&&A>0&&"object"==typeof t)return U(t)?"[Array]":"[Object]";var j,L=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=S.call(Array(e.indent+1)," ")}return{base:n,prev:S.call(Array(t+1),n)}}(s,o);if(void 0===r)r=[];else if(z(r,t)>=0)return"[Circular]";function H(t,n,i){if(n&&(r=T.call(r)).push(n),i){var a={depth:s.depth};return G(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,o+1,r)}return e(t,s,o+1,r)}if("function"==typeof t&&!q(t)){var K=function(e){if(e.name)return e.name;var t=y.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ee=Z(t,H);return"[Function"+(K?": "+K:" (anonymous)")+"]"+(ee.length>0?" { "+S.call(ee,", ")+" }":"")}if(V(t)){var te=_?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(t);return"object"!=typeof t||_?te:Y(te)}if((j=t)&&"object"==typeof j&&("undefined"!=typeof HTMLElement&&j instanceof HTMLElement||"string"==typeof j.nodeName&&"function"==typeof j.getAttribute)){for(var ne="<"+w.call(String(t.nodeName)),oe=t.attributes||[],re=0;re"}if(U(t)){if(0===t.length)return"[]";var ie=Z(t,H);return L&&!function(e){for(var t=0;t=0)return!1;return!0}(ie)?"["+X(ie,L)+"]":"[ "+S.call(ie,", ")+" ]"}if(function(e){return!("[object Error]"!==W(e)||C&&"object"==typeof e&&C in e)}(t)){var ae=Z(t,H);return"cause"in Error.prototype||!("cause"in t)||I.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+S.call(ae,", ")+" }":"{ ["+String(t)+"] "+S.call(x.call("[cause]: "+H(t.cause),ae),", ")+" }"}if("object"==typeof t&&l){if(B&&"function"==typeof t[B]&&D)return D(t,{depth:A-o});if("symbol"!==l&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return a.call(t,(function(e,n){se.push(H(n,t,!0)+" => "+H(e,t))})),Q("Map",i.call(t),se,L)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[];return p.call(t,(function(e){le.push(H(e,t))})),Q("Set",c.call(t),le,L)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return $("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{u.call(e,u)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return $("WeakSet");if(function(e){if(!g||!e||"object"!=typeof e)return!1;try{return g.call(e),!0}catch(e){}return!1}(t))return $("WeakRef");if(function(e){return!("[object Number]"!==W(e)||C&&"object"==typeof e&&C in e)}(t))return Y(H(Number(t)));if(function(e){if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}(t))return Y(H(E.call(t)));if(function(e){return!("[object Boolean]"!==W(e)||C&&"object"==typeof e&&C in e)}(t))return Y(f.call(t));if(function(e){return!("[object String]"!==W(e)||C&&"object"==typeof e&&C in e)}(t))return Y(H(String(t)));if(!function(e){return!("[object Date]"!==W(e)||C&&"object"==typeof e&&C in e)}(t)&&!q(t)){var ce=Z(t,H),pe=R?R(t)===Object.prototype:t instanceof Object||t.constructor===Object,ue=t instanceof Object?"":"null prototype",de=!pe&&C&&Object(t)===t&&C in t?v.call(W(t),8,-1):ue?"Object":"",ge=(pe||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||ue?"["+S.call(x.call([],de||[],ue||[]),": ")+"] ":"");return 0===ce.length?ge+"{}":L?ge+"{"+X(ce,L)+"}":ge+"{ "+S.call(ce,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function G(e,t){return H.call(e,t)}function W(e){return h.call(e)}function z(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,o=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return J(v.call(e,0,t.maxStringLength),t)+o}return M(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,K),"single",t)}function K(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+O.call(t.toString(16))}function Y(e){return"Object("+e+")"}function $(e){return e+" { ? }"}function Q(e,t,n,o){return e+" ("+t+") {"+(o?X(n,o):S.call(n,", "))+"}"}function X(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+S.call(e,","+n)+"\n"+t.prev}function Z(e,t){var n=U(e),o=[];if(n){o.length=e.length;for(var r=0;r{e.exports=n(73837).inspect},36219:(e,t,n)=>{var o=n(42065);function r(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function i(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},n=e.name||"Function wrapped with `once`";return t.onceError=n+" shouldn't be called more than once",t.called=!1,t}e.exports=o(r),e.exports.strict=o(i),r.proto=r((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return r(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return i(this)},configurable:!0})}))},53567:function(e,t,n){"use strict";var o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.OpenAIApi=t.OpenAIApiFactory=t.OpenAIApiFp=t.OpenAIApiAxiosParamCreator=t.CreateImageRequestResponseFormatEnum=t.CreateImageRequestSizeEnum=void 0;const r=n(41354),i=n(60938),a=n(85103);t.CreateImageRequestSizeEnum={_256x256:"256x256",_512x512:"512x512",_1024x1024:"1024x1024"},t.CreateImageRequestResponseFormatEnum={Url:"url",B64Json:"b64_json"},t.OpenAIApiAxiosParamCreator=function(e){return{cancelFineTune:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("cancelFineTune","fineTuneId",t);const o="/fine-tunes/{fine_tune_id}/cancel".replace("{fine_tune_id}",encodeURIComponent(String(t))),r=new URL(o,i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"POST"},a),n);i.setSearchParams(r,{});let l=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),l),n.headers),{url:i.toPathString(r),options:s}})),createAnswer:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createAnswer","createAnswerRequest",t);const o=new URL("/answers",i.DUMMY_BASE_URL);let r;e&&(r=e.baseOptions);const a=Object.assign(Object.assign({method:"POST"},r),n),s={"Content-Type":"application/json"};i.setSearchParams(o,{});let l=r&&r.headers?r.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},s),l),n.headers),a.data=i.serializeDataIfNeeded(t,a,e),{url:i.toPathString(o),options:a}})),createClassification:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createClassification","createClassificationRequest",t);const o=new URL("/classifications",i.DUMMY_BASE_URL);let r;e&&(r=e.baseOptions);const a=Object.assign(Object.assign({method:"POST"},r),n),s={"Content-Type":"application/json"};i.setSearchParams(o,{});let l=r&&r.headers?r.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},s),l),n.headers),a.data=i.serializeDataIfNeeded(t,a,e),{url:i.toPathString(o),options:a}})),createCompletion:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createCompletion","createCompletionRequest",t);const o=new URL("/completions",i.DUMMY_BASE_URL);let r;e&&(r=e.baseOptions);const a=Object.assign(Object.assign({method:"POST"},r),n),s={"Content-Type":"application/json"};i.setSearchParams(o,{});let l=r&&r.headers?r.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},s),l),n.headers),a.data=i.serializeDataIfNeeded(t,a,e),{url:i.toPathString(o),options:a}})),createEdit:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createEdit","createEditRequest",t);const o=new URL("/edits",i.DUMMY_BASE_URL);let r;e&&(r=e.baseOptions);const a=Object.assign(Object.assign({method:"POST"},r),n),s={"Content-Type":"application/json"};i.setSearchParams(o,{});let l=r&&r.headers?r.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},s),l),n.headers),a.data=i.serializeDataIfNeeded(t,a,e),{url:i.toPathString(o),options:a}})),createEmbedding:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createEmbedding","createEmbeddingRequest",t);const o=new URL("/embeddings",i.DUMMY_BASE_URL);let r;e&&(r=e.baseOptions);const a=Object.assign(Object.assign({method:"POST"},r),n),s={"Content-Type":"application/json"};i.setSearchParams(o,{});let l=r&&r.headers?r.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},s),l),n.headers),a.data=i.serializeDataIfNeeded(t,a,e),{url:i.toPathString(o),options:a}})),createFile:(t,n,r={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createFile","file",t),i.assertParamExists("createFile","purpose",n);const o=new URL("/files",i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"POST"},a),r),l={},c=new(e&&e.formDataCtor||FormData);void 0!==t&&c.append("file",t),void 0!==n&&c.append("purpose",n),l["Content-Type"]="multipart/form-data",i.setSearchParams(o,{});let p=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign(Object.assign({},l),c.getHeaders()),p),r.headers),s.data=c,{url:i.toPathString(o),options:s}})),createFineTune:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createFineTune","createFineTuneRequest",t);const o=new URL("/fine-tunes",i.DUMMY_BASE_URL);let r;e&&(r=e.baseOptions);const a=Object.assign(Object.assign({method:"POST"},r),n),s={"Content-Type":"application/json"};i.setSearchParams(o,{});let l=r&&r.headers?r.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},s),l),n.headers),a.data=i.serializeDataIfNeeded(t,a,e),{url:i.toPathString(o),options:a}})),createImage:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createImage","createImageRequest",t);const o=new URL("/images/generations",i.DUMMY_BASE_URL);let r;e&&(r=e.baseOptions);const a=Object.assign(Object.assign({method:"POST"},r),n),s={"Content-Type":"application/json"};i.setSearchParams(o,{});let l=r&&r.headers?r.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},s),l),n.headers),a.data=i.serializeDataIfNeeded(t,a,e),{url:i.toPathString(o),options:a}})),createImageEdit:(t,n,r,a,s,l,c,p={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createImageEdit","image",t),i.assertParamExists("createImageEdit","mask",n),i.assertParamExists("createImageEdit","prompt",r);const o=new URL("/images/edits",i.DUMMY_BASE_URL);let u;e&&(u=e.baseOptions);const d=Object.assign(Object.assign({method:"POST"},u),p),g={},f=new(e&&e.formDataCtor||FormData);void 0!==t&&f.append("image",t),void 0!==n&&f.append("mask",n),void 0!==r&&f.append("prompt",r),void 0!==a&&f.append("n",a),void 0!==s&&f.append("size",s),void 0!==l&&f.append("response_format",l),void 0!==c&&f.append("user",c),g["Content-Type"]="multipart/form-data",i.setSearchParams(o,{});let h=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign(Object.assign({},g),f.getHeaders()),h),p.headers),d.data=f,{url:i.toPathString(o),options:d}})),createImageVariation:(t,n,r,a,s,l={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createImageVariation","image",t);const o=new URL("/images/variations",i.DUMMY_BASE_URL);let c;e&&(c=e.baseOptions);const p=Object.assign(Object.assign({method:"POST"},c),l),u={},d=new(e&&e.formDataCtor||FormData);void 0!==t&&d.append("image",t),void 0!==n&&d.append("n",n),void 0!==r&&d.append("size",r),void 0!==a&&d.append("response_format",a),void 0!==s&&d.append("user",s),u["Content-Type"]="multipart/form-data",i.setSearchParams(o,{});let g=c&&c.headers?c.headers:{};return p.headers=Object.assign(Object.assign(Object.assign(Object.assign({},u),d.getHeaders()),g),l.headers),p.data=d,{url:i.toPathString(o),options:p}})),createModeration:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createModeration","createModerationRequest",t);const o=new URL("/moderations",i.DUMMY_BASE_URL);let r;e&&(r=e.baseOptions);const a=Object.assign(Object.assign({method:"POST"},r),n),s={"Content-Type":"application/json"};i.setSearchParams(o,{});let l=r&&r.headers?r.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},s),l),n.headers),a.data=i.serializeDataIfNeeded(t,a,e),{url:i.toPathString(o),options:a}})),createSearch:(t,n,r={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createSearch","engineId",t),i.assertParamExists("createSearch","createSearchRequest",n);const o="/engines/{engine_id}/search".replace("{engine_id}",encodeURIComponent(String(t))),a=new URL(o,i.DUMMY_BASE_URL);let s;e&&(s=e.baseOptions);const l=Object.assign(Object.assign({method:"POST"},s),r),c={"Content-Type":"application/json"};i.setSearchParams(a,{});let p=s&&s.headers?s.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),p),r.headers),l.data=i.serializeDataIfNeeded(n,l,e),{url:i.toPathString(a),options:l}})),deleteFile:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("deleteFile","fileId",t);const o="/files/{file_id}".replace("{file_id}",encodeURIComponent(String(t))),r=new URL(o,i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"DELETE"},a),n);i.setSearchParams(r,{});let l=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),l),n.headers),{url:i.toPathString(r),options:s}})),deleteModel:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("deleteModel","model",t);const o="/models/{model}".replace("{model}",encodeURIComponent(String(t))),r=new URL(o,i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"DELETE"},a),n);i.setSearchParams(r,{});let l=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),l),n.headers),{url:i.toPathString(r),options:s}})),downloadFile:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("downloadFile","fileId",t);const o="/files/{file_id}/content".replace("{file_id}",encodeURIComponent(String(t))),r=new URL(o,i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"GET"},a),n);i.setSearchParams(r,{});let l=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),l),n.headers),{url:i.toPathString(r),options:s}})),listEngines:(t={})=>o(this,void 0,void 0,(function*(){const n=new URL("/engines",i.DUMMY_BASE_URL);let o;e&&(o=e.baseOptions);const r=Object.assign(Object.assign({method:"GET"},o),t);i.setSearchParams(n,{});let a=o&&o.headers?o.headers:{};return r.headers=Object.assign(Object.assign(Object.assign({},{}),a),t.headers),{url:i.toPathString(n),options:r}})),listFiles:(t={})=>o(this,void 0,void 0,(function*(){const n=new URL("/files",i.DUMMY_BASE_URL);let o;e&&(o=e.baseOptions);const r=Object.assign(Object.assign({method:"GET"},o),t);i.setSearchParams(n,{});let a=o&&o.headers?o.headers:{};return r.headers=Object.assign(Object.assign(Object.assign({},{}),a),t.headers),{url:i.toPathString(n),options:r}})),listFineTuneEvents:(t,n,r={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("listFineTuneEvents","fineTuneId",t);const o="/fine-tunes/{fine_tune_id}/events".replace("{fine_tune_id}",encodeURIComponent(String(t))),a=new URL(o,i.DUMMY_BASE_URL);let s;e&&(s=e.baseOptions);const l=Object.assign(Object.assign({method:"GET"},s),r),c={};void 0!==n&&(c.stream=n),i.setSearchParams(a,c);let p=s&&s.headers?s.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},{}),p),r.headers),{url:i.toPathString(a),options:l}})),listFineTunes:(t={})=>o(this,void 0,void 0,(function*(){const n=new URL("/fine-tunes",i.DUMMY_BASE_URL);let o;e&&(o=e.baseOptions);const r=Object.assign(Object.assign({method:"GET"},o),t);i.setSearchParams(n,{});let a=o&&o.headers?o.headers:{};return r.headers=Object.assign(Object.assign(Object.assign({},{}),a),t.headers),{url:i.toPathString(n),options:r}})),listModels:(t={})=>o(this,void 0,void 0,(function*(){const n=new URL("/models",i.DUMMY_BASE_URL);let o;e&&(o=e.baseOptions);const r=Object.assign(Object.assign({method:"GET"},o),t);i.setSearchParams(n,{});let a=o&&o.headers?o.headers:{};return r.headers=Object.assign(Object.assign(Object.assign({},{}),a),t.headers),{url:i.toPathString(n),options:r}})),retrieveEngine:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("retrieveEngine","engineId",t);const o="/engines/{engine_id}".replace("{engine_id}",encodeURIComponent(String(t))),r=new URL(o,i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"GET"},a),n);i.setSearchParams(r,{});let l=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),l),n.headers),{url:i.toPathString(r),options:s}})),retrieveFile:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("retrieveFile","fileId",t);const o="/files/{file_id}".replace("{file_id}",encodeURIComponent(String(t))),r=new URL(o,i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"GET"},a),n);i.setSearchParams(r,{});let l=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),l),n.headers),{url:i.toPathString(r),options:s}})),retrieveFineTune:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("retrieveFineTune","fineTuneId",t);const o="/fine-tunes/{fine_tune_id}".replace("{fine_tune_id}",encodeURIComponent(String(t))),r=new URL(o,i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"GET"},a),n);i.setSearchParams(r,{});let l=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),l),n.headers),{url:i.toPathString(r),options:s}})),retrieveModel:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("retrieveModel","model",t);const o="/models/{model}".replace("{model}",encodeURIComponent(String(t))),r=new URL(o,i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"GET"},a),n);i.setSearchParams(r,{});let l=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),l),n.headers),{url:i.toPathString(r),options:s}}))}},t.OpenAIApiFp=function(e){const n=t.OpenAIApiAxiosParamCreator(e);return{cancelFineTune(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.cancelFineTune(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createAnswer(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.createAnswer(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createClassification(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.createClassification(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createCompletion(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.createCompletion(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createEdit(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.createEdit(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createEmbedding(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.createEmbedding(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createFile(t,s,l){return o(this,void 0,void 0,(function*(){const o=yield n.createFile(t,s,l);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createFineTune(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.createFineTune(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createImage(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.createImage(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createImageEdit(t,s,l,c,p,u,d,g){return o(this,void 0,void 0,(function*(){const o=yield n.createImageEdit(t,s,l,c,p,u,d,g);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createImageVariation(t,s,l,c,p,u){return o(this,void 0,void 0,(function*(){const o=yield n.createImageVariation(t,s,l,c,p,u);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createModeration(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.createModeration(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createSearch(t,s,l){return o(this,void 0,void 0,(function*(){const o=yield n.createSearch(t,s,l);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},deleteFile(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.deleteFile(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},deleteModel(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.deleteModel(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},downloadFile(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.downloadFile(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},listEngines(t){return o(this,void 0,void 0,(function*(){const o=yield n.listEngines(t);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},listFiles(t){return o(this,void 0,void 0,(function*(){const o=yield n.listFiles(t);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},listFineTuneEvents(t,s,l){return o(this,void 0,void 0,(function*(){const o=yield n.listFineTuneEvents(t,s,l);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},listFineTunes(t){return o(this,void 0,void 0,(function*(){const o=yield n.listFineTunes(t);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},listModels(t){return o(this,void 0,void 0,(function*(){const o=yield n.listModels(t);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},retrieveEngine(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.retrieveEngine(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},retrieveFile(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.retrieveFile(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},retrieveFineTune(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.retrieveFineTune(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},retrieveModel(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.retrieveModel(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))}}},t.OpenAIApiFactory=function(e,n,o){const r=t.OpenAIApiFp(e);return{cancelFineTune:(e,t)=>r.cancelFineTune(e,t).then((e=>e(o,n))),createAnswer:(e,t)=>r.createAnswer(e,t).then((e=>e(o,n))),createClassification:(e,t)=>r.createClassification(e,t).then((e=>e(o,n))),createCompletion:(e,t)=>r.createCompletion(e,t).then((e=>e(o,n))),createEdit:(e,t)=>r.createEdit(e,t).then((e=>e(o,n))),createEmbedding:(e,t)=>r.createEmbedding(e,t).then((e=>e(o,n))),createFile:(e,t,i)=>r.createFile(e,t,i).then((e=>e(o,n))),createFineTune:(e,t)=>r.createFineTune(e,t).then((e=>e(o,n))),createImage:(e,t)=>r.createImage(e,t).then((e=>e(o,n))),createImageEdit:(e,t,i,a,s,l,c,p)=>r.createImageEdit(e,t,i,a,s,l,c,p).then((e=>e(o,n))),createImageVariation:(e,t,i,a,s,l)=>r.createImageVariation(e,t,i,a,s,l).then((e=>e(o,n))),createModeration:(e,t)=>r.createModeration(e,t).then((e=>e(o,n))),createSearch:(e,t,i)=>r.createSearch(e,t,i).then((e=>e(o,n))),deleteFile:(e,t)=>r.deleteFile(e,t).then((e=>e(o,n))),deleteModel:(e,t)=>r.deleteModel(e,t).then((e=>e(o,n))),downloadFile:(e,t)=>r.downloadFile(e,t).then((e=>e(o,n))),listEngines:e=>r.listEngines(e).then((e=>e(o,n))),listFiles:e=>r.listFiles(e).then((e=>e(o,n))),listFineTuneEvents:(e,t,i)=>r.listFineTuneEvents(e,t,i).then((e=>e(o,n))),listFineTunes:e=>r.listFineTunes(e).then((e=>e(o,n))),listModels:e=>r.listModels(e).then((e=>e(o,n))),retrieveEngine:(e,t)=>r.retrieveEngine(e,t).then((e=>e(o,n))),retrieveFile:(e,t)=>r.retrieveFile(e,t).then((e=>e(o,n))),retrieveFineTune:(e,t)=>r.retrieveFineTune(e,t).then((e=>e(o,n))),retrieveModel:(e,t)=>r.retrieveModel(e,t).then((e=>e(o,n)))}};class s extends a.BaseAPI{cancelFineTune(e,n){return t.OpenAIApiFp(this.configuration).cancelFineTune(e,n).then((e=>e(this.axios,this.basePath)))}createAnswer(e,n){return t.OpenAIApiFp(this.configuration).createAnswer(e,n).then((e=>e(this.axios,this.basePath)))}createClassification(e,n){return t.OpenAIApiFp(this.configuration).createClassification(e,n).then((e=>e(this.axios,this.basePath)))}createCompletion(e,n){return t.OpenAIApiFp(this.configuration).createCompletion(e,n).then((e=>e(this.axios,this.basePath)))}createEdit(e,n){return t.OpenAIApiFp(this.configuration).createEdit(e,n).then((e=>e(this.axios,this.basePath)))}createEmbedding(e,n){return t.OpenAIApiFp(this.configuration).createEmbedding(e,n).then((e=>e(this.axios,this.basePath)))}createFile(e,n,o){return t.OpenAIApiFp(this.configuration).createFile(e,n,o).then((e=>e(this.axios,this.basePath)))}createFineTune(e,n){return t.OpenAIApiFp(this.configuration).createFineTune(e,n).then((e=>e(this.axios,this.basePath)))}createImage(e,n){return t.OpenAIApiFp(this.configuration).createImage(e,n).then((e=>e(this.axios,this.basePath)))}createImageEdit(e,n,o,r,i,a,s,l){return t.OpenAIApiFp(this.configuration).createImageEdit(e,n,o,r,i,a,s,l).then((e=>e(this.axios,this.basePath)))}createImageVariation(e,n,o,r,i,a){return t.OpenAIApiFp(this.configuration).createImageVariation(e,n,o,r,i,a).then((e=>e(this.axios,this.basePath)))}createModeration(e,n){return t.OpenAIApiFp(this.configuration).createModeration(e,n).then((e=>e(this.axios,this.basePath)))}createSearch(e,n,o){return t.OpenAIApiFp(this.configuration).createSearch(e,n,o).then((e=>e(this.axios,this.basePath)))}deleteFile(e,n){return t.OpenAIApiFp(this.configuration).deleteFile(e,n).then((e=>e(this.axios,this.basePath)))}deleteModel(e,n){return t.OpenAIApiFp(this.configuration).deleteModel(e,n).then((e=>e(this.axios,this.basePath)))}downloadFile(e,n){return t.OpenAIApiFp(this.configuration).downloadFile(e,n).then((e=>e(this.axios,this.basePath)))}listEngines(e){return t.OpenAIApiFp(this.configuration).listEngines(e).then((e=>e(this.axios,this.basePath)))}listFiles(e){return t.OpenAIApiFp(this.configuration).listFiles(e).then((e=>e(this.axios,this.basePath)))}listFineTuneEvents(e,n,o){return t.OpenAIApiFp(this.configuration).listFineTuneEvents(e,n,o).then((e=>e(this.axios,this.basePath)))}listFineTunes(e){return t.OpenAIApiFp(this.configuration).listFineTunes(e).then((e=>e(this.axios,this.basePath)))}listModels(e){return t.OpenAIApiFp(this.configuration).listModels(e).then((e=>e(this.axios,this.basePath)))}retrieveEngine(e,n){return t.OpenAIApiFp(this.configuration).retrieveEngine(e,n).then((e=>e(this.axios,this.basePath)))}retrieveFile(e,n){return t.OpenAIApiFp(this.configuration).retrieveFile(e,n).then((e=>e(this.axios,this.basePath)))}retrieveFineTune(e,n){return t.OpenAIApiFp(this.configuration).retrieveFineTune(e,n).then((e=>e(this.axios,this.basePath)))}retrieveModel(e,n){return t.OpenAIApiFp(this.configuration).retrieveModel(e,n).then((e=>e(this.axios,this.basePath)))}}t.OpenAIApi=s},85103:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RequiredError=t.BaseAPI=t.COLLECTION_FORMATS=t.BASE_PATH=void 0;const o=n(41354);t.BASE_PATH="https://api.openai.com/v1".replace(/\/+$/,""),t.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:"\t",pipes:"|"},t.BaseAPI=class{constructor(e,n=t.BASE_PATH,r=o.default){this.basePath=n,this.axios=r,e&&(this.configuration=e,this.basePath=e.basePath||this.basePath)}};class r extends Error{constructor(e,t){super(t),this.field=e,this.name="RequiredError"}}t.RequiredError=r},60938:function(e,t,n){"use strict";var o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.createRequestFunction=t.toPathString=t.serializeDataIfNeeded=t.setSearchParams=t.setOAuthToObject=t.setBearerAuthToObject=t.setBasicAuthToObject=t.setApiKeyToObject=t.assertParamExists=t.DUMMY_BASE_URL=void 0;const r=n(85103);function i(e,t,n=""){"object"==typeof t?Array.isArray(t)?t.forEach((t=>i(e,t,n))):Object.keys(t).forEach((o=>i(e,t[o],`${n}${""!==n?".":""}${o}`))):e.has(n)?e.append(n,t):e.set(n,t)}t.DUMMY_BASE_URL="https://example.com",t.assertParamExists=function(e,t,n){if(null==n)throw new r.RequiredError(t,`Required parameter ${t} was null or undefined when calling ${e}.`)},t.setApiKeyToObject=function(e,t,n){return o(this,void 0,void 0,(function*(){if(n&&n.apiKey){const o="function"==typeof n.apiKey?yield n.apiKey(t):yield n.apiKey;e[t]=o}}))},t.setBasicAuthToObject=function(e,t){t&&(t.username||t.password)&&(e.auth={username:t.username,password:t.password})},t.setBearerAuthToObject=function(e,t){return o(this,void 0,void 0,(function*(){if(t&&t.accessToken){const n="function"==typeof t.accessToken?yield t.accessToken():yield t.accessToken;e.Authorization="Bearer "+n}}))},t.setOAuthToObject=function(e,t,n,r){return o(this,void 0,void 0,(function*(){if(r&&r.accessToken){const o="function"==typeof r.accessToken?yield r.accessToken(t,n):yield r.accessToken;e.Authorization="Bearer "+o}}))},t.setSearchParams=function(e,...t){const n=new URLSearchParams(e.search);i(n,t),e.search=n.toString()},t.serializeDataIfNeeded=function(e,t,n){const o="string"!=typeof e;return(o&&n&&n.isJsonMime?n.isJsonMime(t.headers["Content-Type"]):o)?JSON.stringify(void 0!==e?e:{}):e||""},t.toPathString=function(e){return e.pathname+e.search+e.hash},t.createRequestFunction=function(e,t,n,o){return(r=t,i=n)=>{const a=Object.assign(Object.assign({},e.options),{url:((null==o?void 0:o.basePath)||i)+e.url});return r.request(a)}}},832:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Configuration=void 0;const o=n(25043);t.Configuration=class{constructor(e={}){this.apiKey=e.apiKey,this.organization=e.organization,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.baseOptions=e.baseOptions,this.formDataCtor=e.formDataCtor,this.baseOptions||(this.baseOptions={}),this.baseOptions.headers=Object.assign({"User-Agent":`OpenAI/NodeJS/${o.version}`,Authorization:`Bearer ${this.apiKey}`},this.baseOptions.headers),this.organization&&(this.baseOptions.headers["OpenAI-Organization"]=this.organization),this.formDataCtor||(this.formDataCtor=n(87534))}isJsonMime(e){const t=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==e&&(t.test(e)||"application/json-patch+json"===e.toLowerCase())}}},72487:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(53567),t),r(n(832),t)},58537:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.googleProtobufAnyFromProto3JSON=t.googleProtobufAnyToProto3JSON=void 0;const o=n(98108),r=n(36792),i=new Set(["google.protobuf.Any","google.protobuf.Duration","google.protobuf.FieldMask","google.protobuf.ListValue","google.protobuf.Struct","google.protobuf.Timestamp","google.protobuf.Value"]);t.googleProtobufAnyToProto3JSON=function(e,t){const n=e.type_url.replace(/^.*\//,"");let o;try{o=e.$type.root.lookupType(n)}catch(e){throw new Error(`googleProtobufAnyToProto3JSON: cannot find type ${n}: ${e}`)}const a=o.decode(e.value),s=(0,r.toProto3JSON)(a,t);return i.has(n)?{"@type":e.type_url,value:s}:(s["@type"]=e.type_url,s)},t.googleProtobufAnyFromProto3JSON=function(e,t){if(null===t||"object"!=typeof t||Array.isArray(t))throw new Error("googleProtobufAnyFromProto3JSON: must be an object to decode google.protobuf.Any");const n=t["@type"];if(!n||"string"!=typeof n)throw new Error("googleProtobufAnyFromProto3JSON: JSON serialization of google.protobuf.Any must contain @type field");const r=n.replace(/^.*\//,"");let a;try{a=e.lookupType(r)}catch(e){throw new Error(`googleProtobufAnyFromProto3JSON: cannot find type ${r}: ${e}`)}let s=t;if(i.has(r)){if(!("value"in t))throw new Error(`googleProtobufAnyFromProto3JSON: JSON representation of google.protobuf.Any with type ${r} must contain the value field`);s=t.value}const l=(0,o.fromProto3JSON)(a,s);if(null===l)return{type_url:n,value:null};const c=a.encode(l).finish();return{type_url:n,value:Buffer.from(c,0,c.byteLength).toString("base64")}}},51643:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bytesFromProto3JSON=t.bytesToProto3JSON=void 0,t.bytesToProto3JSON=function(e){return Buffer.isBuffer(e)?e.toString("base64"):Buffer.from(e.buffer,0,e.byteLength).toString("base64")},t.bytesFromProto3JSON=function(e){return Buffer.from(e,"base64")}},2604:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.googleProtobufDurationFromProto3JSON=t.googleProtobufDurationToProto3JSON=void 0,t.googleProtobufDurationToProto3JSON=function(e){let t=e.seconds.toString();return"number"==typeof e.nanos&&e.nanos>0&&(t+="."+e.nanos.toString().padStart(9,"0").replace(/^((?:\d\d\d)+?)(?:0*)$/,"$1")),t+="s",t},t.googleProtobufDurationFromProto3JSON=function(e){const t=e.match(/^(\d*)(?:\.(\d*))?s$/);if(!t)throw new Error(`googleProtobufDurationFromProto3JSON: incorrect value ${e} passed as google.protobuf.Duration`);let n=0,o=0;"string"==typeof t[1]&&t[1].length>0&&(n=parseInt(t[1])),"string"==typeof t[2]&&t[2].length>0&&(o=parseInt(t[2].padEnd(9,"0")));const r={};return 0!==n&&(r.seconds=n),0!==o&&(r.nanos=o),r}},5340:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveEnumValueToNumber=t.resolveEnumValueToString=void 0,t.resolveEnumValueToString=function(e,t){if("number"==typeof t){const n=e.valuesById[t];return void 0===n?t:n}if("string"==typeof t)return t;throw new Error("resolveEnumValueToString: enum value must be a string or a number")},t.resolveEnumValueToNumber=function(e,t){if("number"==typeof t)return t;if("string"==typeof t){const n=e.values[t];return void 0===n?t:n}throw new Error("resolveEnumValueToNumber: enum value must be a string or a number")}},63e3:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.googleProtobufFieldMaskFromProto3JSON=t.googleProtobufFieldMaskToProto3JSON=void 0,t.googleProtobufFieldMaskToProto3JSON=function(e){return e.paths.join(",")},t.googleProtobufFieldMaskFromProto3JSON=function(e){return{paths:e.split(",")}}},98108:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromProto3JSON=t.fromProto3JSONToInternalRepresentation=void 0;const o=n(58537),r=n(51643),i=n(5340),a=n(65484),s=n(94437),l=n(2604),c=n(16438),p=n(29974),u=n(63e3);function d(e,t){const n="string"==typeof e?e:(0,s.getFullyQualifiedTypeName)(e);if("string"!=typeof e&&"values"in e)return".google.protobuf.NullValue"===n?"NULL_VALUE":(0,i.resolveEnumValueToString)(e,t);if("string"!=typeof e&&e.resolveAll(),"string"==typeof e)return t;if(".google.protobuf.Value"===n)return(0,a.googleProtobufValueFromProto3JSON)(t);if(s.wrapperTypes.has(n)){if(null!==t&&"object"==typeof t||Array.isArray(t))throw new Error(`fromProto3JSONToInternalRepresentation: JSON representation for ${n} expects a string, a number, or a boolean, but got ${typeof t}`);return(0,p.wrapperFromProto3JSON)(n,t)}if(null===t)return null;if(".google.protobuf.Any"===n)return(0,o.googleProtobufAnyFromProto3JSON)(e.root,t);if(".google.protobuf.Struct"===n){if("object"!=typeof t)throw new Error("fromProto3JSONToInternalRepresentation: google.protobuf.Struct must be an object but got "+typeof t);if(Array.isArray(t))throw new Error("fromProto3JSONToInternalRepresentation: google.protobuf.Struct must be an object but got an array");return(0,a.googleProtobufStructFromProto3JSON)(t)}if(".google.protobuf.ListValue"===n){if(!Array.isArray(t))throw new Error("fromProto3JSONToInternalRepresentation: google.protobuf.ListValue must be an array but got "+typeof t);return(0,a.googleProtobufListValueFromProto3JSON)(t)}if(".google.protobuf.Duration"===n){if("string"!=typeof t)throw new Error("fromProto3JSONToInternalRepresentation: google.protobuf.Duration must be a string but got "+typeof t);return(0,l.googleProtobufDurationFromProto3JSON)(t)}if(".google.protobuf.Timestamp"===n){if("string"!=typeof t)throw new Error("fromProto3JSONToInternalRepresentation: google.protobuf.Timestamp must be a string but got "+typeof t);return(0,c.googleProtobufTimestampFromProto3JSON)(t)}if(".google.protobuf.FieldMask"===n){if("string"!=typeof t)throw new Error("fromProto3JSONToInternalRepresentation: google.protobuf.FieldMask must be a string but got "+typeof t);return(0,u.googleProtobufFieldMaskFromProto3JSON)(t)}const g={};for(const[n,o]of Object.entries(t)){const t=e.fields[n];if(!t)continue;const i=t.resolvedType,a=t.type;if(t.repeated){if(!Array.isArray(o))throw new Error(`fromProto3JSONToInternalRepresentation: expected an array for field ${n}`);g[n]=o.map((e=>d(i||a,e)))}else if(t.map){const e={};for(const[t,n]of Object.entries(o))e[t]=d(i||a,n);g[n]=e}else if(a.match(/^(?:(?:(?:u?int|fixed)(?:32|64))|float|double)$/)){if("number"!=typeof o&&"string"!=typeof o)throw new Error(`fromProto3JSONToInternalRepresentation: field ${n} of type ${t.type} cannot contain value ${o}`);g[n]=o}else if("string"===a){if("string"!=typeof o)throw new Error(`fromProto3JSONToInternalRepresentation: field ${n} of type ${t.type} cannot contain value ${o}`);g[n]=o}else if("bool"===a){if("boolean"!=typeof o)throw new Error(`fromProto3JSONToInternalRepresentation: field ${n} of type ${t.type} cannot contain value ${o}`);g[n]=o}else if("bytes"===a){if("string"!=typeof o)throw new Error(`fromProto3JSONToInternalRepresentation: field ${n} of type ${t.type} cannot contain value ${o}`);g[n]=(0,r.bytesFromProto3JSON)(o)}else{(0,s.assert)(null!==i,`Expected to be able to resolve type for field ${t.name}`);const e=d(i,o);g[n]=e}}return g}t.fromProto3JSONToInternalRepresentation=d,t.fromProto3JSON=function(e,t){const n=d(e,t);return null===n?null:((0,s.assert)("object"==typeof n&&!Array.isArray(n),`fromProto3JSON: expected an object, not ${t}`),e.fromObject(n))}},95218:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromProto3JSON=t.toProto3JSON=void 0;var o=n(36792);Object.defineProperty(t,"toProto3JSON",{enumerable:!0,get:function(){return o.toProto3JSON}});var r=n(98108);Object.defineProperty(t,"fromProto3JSON",{enumerable:!0,get:function(){return r.fromProto3JSON}})},16438:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.googleProtobufTimestampFromProto3JSON=t.googleProtobufTimestampToProto3JSON=void 0,t.googleProtobufTimestampToProto3JSON=function(e){var t;const n=e.seconds,o=new Date(1e3*n).toISOString();let r=null===(t=e.nanos)||void 0===t?void 0:t.toString().padStart(9,"0");for(;r&&r.length>3&&r.endsWith("000");)r=r.slice(0,-3);return o.replace(/(?:\.\d{0,9})/,"."+r)},t.googleProtobufTimestampFromProto3JSON=function(e){if(!e.match(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?/))throw new Error(`googleProtobufDurationFromProto3JSON: incorrect value ${e} passed as google.protobuf.Duration`);const t=new Date(e).getTime(),n=Math.floor(t/1e3);let o=0;const r=e.split(".")[1];r&&(o=parseInt(r.slice(0,-1).padEnd(9,"0")));const i={};return 0!==n&&(i.seconds=n),0!==o&&(i.nanos=o),i}},36792:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toProto3JSON=void 0;const o=n(58537),r=n(51643),i=n(94437),a=n(5340),s=n(65484),l=n(2604),c=n(16438),p=n(29974),u=n(63e3),d=e=>e;t.toProto3JSON=function e(t,n){const g=t.$type;if(!g)throw new Error("Cannot serialize object to proto3 JSON since its .$type is unknown. Use Type.fromObject(obj) before calling toProto3JSON.");g.resolveAll();const f=(0,i.getFullyQualifiedTypeName)(g);if(".google.protobuf.Any"===f)return(0,o.googleProtobufAnyToProto3JSON)(t,n);if(".google.protobuf.Value"===f)return(0,s.googleProtobufValueToProto3JSON)(t);if(".google.protobuf.Struct"===f)return(0,s.googleProtobufStructToProto3JSON)(t);if(".google.protobuf.ListValue"===f)return(0,s.googleProtobufListValueToProto3JSON)(t);if(".google.protobuf.Duration"===f)return(0,l.googleProtobufDurationToProto3JSON)(t);if(".google.protobuf.Timestamp"===f)return(0,c.googleProtobufTimestampToProto3JSON)(t);if(".google.protobuf.FieldMask"===f)return(0,u.googleProtobufFieldMaskToProto3JSON)(t);if(i.wrapperTypes.has(f))return(0,p.wrapperToProto3JSON)(t);const h={};for(const[o,s]of Object.entries(t)){const t=g.fields[o],l=t.resolvedType,c=l?(0,i.getFullyQualifiedTypeName)(l):null;if(null!==s)if(Array.isArray(s)){if(0===s.length)continue;h[o]=s.map(l?t=>e(t,n):d)}else if(t.map){const t={};for(const[o,r]of Object.entries(s))t[o]=l?e(r,n):r;h[o]=t}else if(".google.protobuf.NullValue"!==c)if(l&&"values"in l&&null!==s)(null==n?void 0:n.numericEnums)?h[o]=(0,a.resolveEnumValueToNumber)(l,s):h[o]=(0,a.resolveEnumValueToString)(l,s);else if(l)h[o]=e(s,n);else if("string"!=typeof s&&"number"!=typeof s&&"boolean"!=typeof s&&null!==s)Buffer.isBuffer(s)||s instanceof Uint8Array?h[o]=(0,r.bytesToProto3JSON)(s):((0,i.assert)("Long"===s.constructor.name,`toProto3JSON: don't know how to convert field ${o} with value ${s}`),h[o]=s.toString());else{if("number"==typeof s&&!Number.isFinite(s)){h[o]=s.toString();continue}h[o]=s}else h[o]=null;else h[o]=null}return h}},94437:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.wrapperTypes=t.getFullyQualifiedTypeName=void 0,t.getFullyQualifiedTypeName=function(e){let t="";for(;e.parent;)t=`.${e.name}${t}`,e=e.parent;return t},t.wrapperTypes=new Set([".google.protobuf.DoubleValue",".google.protobuf.FloatValue",".google.protobuf.Int64Value",".google.protobuf.UInt64Value",".google.protobuf.Int32Value",".google.protobuf.UInt32Value",".google.protobuf.BoolValue",".google.protobuf.StringValue",".google.protobuf.BytesValue"]),t.assert=function(e,t){if(!e)throw new Error(t)}},65484:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.googleProtobufValueFromProto3JSON=t.googleProtobufListValueFromProto3JSON=t.googleProtobufStructFromProto3JSON=t.googleProtobufValueToProto3JSON=t.googleProtobufListValueToProto3JSON=t.googleProtobufStructToProto3JSON=void 0;const o=n(94437);function r(e){const t={},n=e.fields;for(const[e,o]of Object.entries(n))t[e]=a(o);return t}function i(e){return(0,o.assert)(Array.isArray(e.values),"ListValue internal representation must contain array of values"),e.values.map(a)}function a(e){return Object.prototype.hasOwnProperty.call(e,"nullValue")?null:Object.prototype.hasOwnProperty.call(e,"numberValue")&&"number"==typeof e.numberValue?Number.isFinite(e.numberValue)?e.numberValue:e.numberValue.toString():Object.prototype.hasOwnProperty.call(e,"stringValue")&&"string"==typeof e.stringValue?e.stringValue:Object.prototype.hasOwnProperty.call(e,"boolValue")&&"boolean"==typeof e.boolValue?e.boolValue:Object.prototype.hasOwnProperty.call(e,"structValue")&&"object"==typeof e.structValue?r(e.structValue):Object.prototype.hasOwnProperty.call(e,"listValue")&&"object"==typeof e&&"object"==typeof e.listValue?i(e.listValue):null}function s(e){const t={};for(const[n,o]of Object.entries(e))t[n]=c(o);return{fields:t}}function l(e){return{values:e.map((e=>c(e)))}}function c(e){if(null===e)return{nullValue:"NULL_VALUE"};if("number"==typeof e)return{numberValue:e};if("string"==typeof e)return{stringValue:e};if("boolean"==typeof e)return{boolValue:e};if(Array.isArray(e))return{listValue:l(e)};if("object"==typeof e)return{structValue:s(e)};throw new Error("googleProtobufValueFromProto3JSON: incorrect parameter type: "+typeof e)}t.googleProtobufStructToProto3JSON=r,t.googleProtobufListValueToProto3JSON=i,t.googleProtobufValueToProto3JSON=a,t.googleProtobufStructFromProto3JSON=s,t.googleProtobufListValueFromProto3JSON=l,t.googleProtobufValueFromProto3JSON=c},29974:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapperFromProto3JSON=t.wrapperToProto3JSON=void 0;const o=n(51643),r=n(94437);t.wrapperToProto3JSON=function(e){return Object.prototype.hasOwnProperty.call(e,"value")?Buffer.isBuffer(e.value)||e.value instanceof Uint8Array?(0,o.bytesToProto3JSON)(e.value):"object"==typeof e.value?((0,r.assert)("Long"===e.value.constructor.name,`wrapperToProto3JSON: expected to see a number, a string, a boolean, or a Long, but got ${e.value}`),e.value.toString()):"number"!=typeof e.value||Number.isFinite(e.value)?e.value:e.value.toString():null},t.wrapperFromProto3JSON=function(e,t){if(null===t)return{value:null};if(".google.protobuf.BytesValue"===e){if("string"!=typeof t)throw new Error("numberWrapperFromProto3JSON: expected to get a string for google.protobuf.BytesValue but got "+typeof t);return{value:(0,o.bytesFromProto3JSON)(t)}}return{value:t}}},37589:(e,t,n)=>{"use strict";var o=n(1747);e.exports=t=o.descriptor=o.Root.fromJSON(n(32186)).lookup(".google.protobuf");var r=o.Namespace,i=o.Root,a=o.Enum,s=o.Type,l=o.Field,c=o.MapField,p=o.OneOf,u=o.Service,d=o.Method;function g(e,n,o){var c=t.FileDescriptorProto.create({name:e.filename||(e.fullName.substring(1).replace(/\./g,"_")||"root")+".proto"});o&&(c.syntax=o),e instanceof i||(c.package=e.fullName.substring(1));for(var p,d=0;d{"use strict";e.exports=n(53173)},1740:(e,t,n)=>{"use strict";e.exports=n(91428)},25207:e=>{"use strict";e.exports=o;var t,n=/\/|\./;function o(e,t){n.test(e)||(e="google/protobuf/"+e+".proto",t={nested:{google:{nested:{protobuf:{nested:t}}}}}),o[e]=t}o("any",{Any:{fields:{type_url:{type:"string",id:1},value:{type:"bytes",id:2}}}}),o("duration",{Duration:t={fields:{seconds:{type:"int64",id:1},nanos:{type:"int32",id:2}}}}),o("timestamp",{Timestamp:t}),o("empty",{Empty:{fields:{}}}),o("struct",{Struct:{fields:{fields:{keyType:"string",type:"Value",id:1}}},Value:{oneofs:{kind:{oneof:["nullValue","numberValue","stringValue","boolValue","structValue","listValue"]}},fields:{nullValue:{type:"NullValue",id:1},numberValue:{type:"double",id:2},stringValue:{type:"string",id:3},boolValue:{type:"bool",id:4},structValue:{type:"Struct",id:5},listValue:{type:"ListValue",id:6}}},NullValue:{values:{NULL_VALUE:0}},ListValue:{fields:{values:{rule:"repeated",type:"Value",id:1}}}}),o("wrappers",{DoubleValue:{fields:{value:{type:"double",id:1}}},FloatValue:{fields:{value:{type:"float",id:1}}},Int64Value:{fields:{value:{type:"int64",id:1}}},UInt64Value:{fields:{value:{type:"uint64",id:1}}},Int32Value:{fields:{value:{type:"int32",id:1}}},UInt32Value:{fields:{value:{type:"uint32",id:1}}},BoolValue:{fields:{value:{type:"bool",id:1}}},StringValue:{fields:{value:{type:"string",id:1}}},BytesValue:{fields:{value:{type:"bytes",id:1}}}}),o("field_mask",{FieldMask:{fields:{paths:{rule:"repeated",type:"string",id:1}}}}),o.get=function(e){return o[e]||null}},1257:(e,t,n)=>{"use strict";var o=t,r=n(53116),i=n(44211);function a(e,t,n,o){var i=!1;if(t.resolvedType)if(t.resolvedType instanceof r){e("switch(d%s){",o);for(var a=t.resolvedType.values,s=Object.keys(a),l=0;l>>0",o,o);break;case"int32":case"sint32":case"sfixed32":e("m%s=d%s|0",o,o);break;case"uint64":c=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e("if(util.Long)")("(m%s=util.Long.fromValue(d%s)).unsigned=%j",o,o,c)('else if(typeof d%s==="string")',o)("m%s=parseInt(d%s,10)",o,o)('else if(typeof d%s==="number")',o)("m%s=d%s",o,o)('else if(typeof d%s==="object")',o)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)",o,o,o,c?"true":"");break;case"bytes":e('if(typeof d%s==="string")',o)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)",o,o,o)("else if(d%s.length >= 0)",o)("m%s=d%s",o,o);break;case"string":e("m%s=String(d%s)",o,o);break;case"bool":e("m%s=Boolean(d%s)",o,o)}}return e}function s(e,t,n,o){if(t.resolvedType)t.resolvedType instanceof r?e("d%s=o.enums===String?(types[%i].values[m%s]===undefined?m%s:types[%i].values[m%s]):m%s",o,n,o,o,n,o,o):e("d%s=types[%i].toObject(m%s,o)",o,n,o);else{var i=!1;switch(t.type){case"double":case"float":e("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s",o,o,o,o);break;case"uint64":i=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e('if(typeof m%s==="number")',o)("d%s=o.longs===String?String(m%s):m%s",o,o,o)("else")("d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s",o,o,o,o,i?"true":"",o);break;case"bytes":e("d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s",o,o,o,o,o);break;default:e("d%s=m%s",o,o)}}return e}o.fromObject=function(e){var t=e.fieldsArray,n=i.codegen(["d"],e.name+"$fromObject")("if(d instanceof this.ctor)")("return d");if(!t.length)return n("return new this.ctor");n("var m=new this.ctor");for(var o=0;o{"use strict";e.exports=function(e){var t=i.codegen(["r","l"],e.name+"$decode")("if(!(r instanceof Reader))")("r=Reader.create(r)")("var c=l===undefined?r.len:r.pos+l,m=new this.ctor"+(e.fieldsArray.filter((function(e){return e.map})).length?",k,value":""))("while(r.pos>>3){");for(var n=0;n>>3){")("case 1: k=r.%s(); break",s.keyType)("case 2:"),void 0===r.basic[l]?t("value=types[%i].decode(r,r.uint32())",n):t("value=r.%s()",l),t("break")("default:")("r.skipType(tag2&7)")("break")("}")("}"),void 0!==r.long[s.keyType]?t('%s[typeof k==="object"?util.longToHash(k):k]=value',c):t("%s[k]=value",c)):s.repeated?(t("if(!(%s&&%s.length))",c,c)("%s=[]",c),void 0!==r.packed[l]&&t("if((t&7)===2){")("var c2=r.uint32()+r.pos")("while(r.pos{"use strict";e.exports=function(e){for(var t,n=i.codegen(["m","w"],e.name+"$encode")("if(!w)")("w=Writer.create()"),s=e.fieldsArray.slice().sort(i.compareFieldsById),l=0;l>>0,8|r.mapKey[c.keyType],c.keyType),void 0===d?n("types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()",p,t):n(".uint32(%i).%s(%s[ks[i]]).ldelim()",16|d,u,t),n("}")("}")):c.repeated?(n("if(%s!=null&&%s.length){",t,t),c.packed&&void 0!==r.packed[u]?n("w.uint32(%i).fork()",(c.id<<3|2)>>>0)("for(var i=0;i<%s.length;++i)",t)("w.%s(%s[i])",u,t)("w.ldelim()"):(n("for(var i=0;i<%s.length;++i)",t),void 0===d?a(n,c,p,t+"[i]"):n("w.uint32(%i).%s(%s[i])",(c.id<<3|d)>>>0,u,t)),n("}")):(c.optional&&n("if(%s!=null&&Object.hasOwnProperty.call(m,%j))",t,c.name),void 0===d?a(n,c,p,t):n("w.uint32(%i).%s(%s)",(c.id<<3|d)>>>0,u,t))}return n("return w")};var o=n(53116),r=n(38393),i=n(44211);function a(e,t,n,o){return t.resolvedType.group?e("types[%i].encode(%s,w.uint32(%i)).uint32(%i)",n,o,(t.id<<3|3)>>>0,(t.id<<3|4)>>>0):e("types[%i].encode(%s,w.uint32(%i).fork()).ldelim()",n,o,(t.id<<3|2)>>>0)}},53116:(e,t,n)=>{"use strict";e.exports=a;var o=n(69660);((a.prototype=Object.create(o.prototype)).constructor=a).className="Enum";var r=n(23602),i=n(44211);function a(e,t,n,r,i,a){if(o.call(this,e,n),t&&"object"!=typeof t)throw TypeError("values must be an object");if(this.valuesById={},this.values=Object.create(this.valuesById),this.comment=r,this.comments=i||{},this.valuesOptions=a,this.reserved=void 0,t)for(var s=Object.keys(t),l=0;l{"use strict";e.exports=c;var o=n(69660);((c.prototype=Object.create(o.prototype)).constructor=c).className="Field";var r,i=n(53116),a=n(38393),s=n(44211),l=/^required|optional|repeated$/;function c(e,t,n,r,i,c,p){if(s.isObject(r)?(p=i,c=r,r=i=void 0):s.isObject(i)&&(p=c,c=i,i=void 0),o.call(this,e,c),!s.isInteger(t)||t<0)throw TypeError("id must be a non-negative integer");if(!s.isString(n))throw TypeError("type must be a string");if(void 0!==r&&!l.test(r=r.toString().toLowerCase()))throw TypeError("rule must be a string rule");if(void 0!==i&&!s.isString(i))throw TypeError("extend must be a string");"proto3_optional"===r&&(r="optional"),this.rule=r&&"optional"!==r?r:void 0,this.type=n,this.id=t,this.extend=i||void 0,this.required="required"===r,this.optional=!this.required,this.repeated="repeated"===r,this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=!!s.Long&&void 0!==a.long[n],this.bytes="bytes"===n,this.resolvedType=null,this.extensionField=null,this.declaringField=null,this._packed=null,this.comment=p}c.fromJSON=function(e,t){return new c(e,t.id,t.type,t.rule,t.extend,t.options,t.comment)},Object.defineProperty(c.prototype,"packed",{get:function(){return null===this._packed&&(this._packed=!1!==this.getOption("packed")),this._packed}}),c.prototype.setOption=function(e,t,n){return"packed"===e&&(this._packed=null),o.prototype.setOption.call(this,e,t,n)},c.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return s.toObject(["rule","optional"!==this.rule&&this.rule||void 0,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",t?this.comment:void 0])},c.prototype.resolve=function(){if(this.resolved)return this;if(void 0===(this.typeDefault=a.defaults[this.type])?(this.resolvedType=(this.declaringField?this.declaringField.parent:this.parent).lookupTypeOrEnum(this.type),this.resolvedType instanceof r?this.typeDefault=null:this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]):this.options&&this.options.proto3_optional&&(this.typeDefault=null),this.options&&null!=this.options.default&&(this.typeDefault=this.options.default,this.resolvedType instanceof i&&"string"==typeof this.typeDefault&&(this.typeDefault=this.resolvedType.values[this.typeDefault])),this.options&&(!0!==this.options.packed&&(void 0===this.options.packed||!this.resolvedType||this.resolvedType instanceof i)||delete this.options.packed,Object.keys(this.options).length||(this.options=void 0)),this.long)this.typeDefault=s.Long.fromNumber(this.typeDefault,"u"===this.type.charAt(0)),Object.freeze&&Object.freeze(this.typeDefault);else if(this.bytes&&"string"==typeof this.typeDefault){var e;s.base64.test(this.typeDefault)?s.base64.decode(this.typeDefault,e=s.newBuffer(s.base64.length(this.typeDefault)),0):s.utf8.write(this.typeDefault,e=s.newBuffer(s.utf8.length(this.typeDefault)),0),this.typeDefault=e}return this.map?this.defaultValue=s.emptyObject:this.repeated?this.defaultValue=s.emptyArray:this.defaultValue=this.typeDefault,this.parent instanceof r&&(this.parent.ctor.prototype[this.name]=this.defaultValue),o.prototype.resolve.call(this)},c.d=function(e,t,n,o){return"function"==typeof t?t=s.decorateType(t).name:t&&"object"==typeof t&&(t=s.decorateEnum(t).name),function(r,i){s.decorateType(r.constructor).add(new c(i,e,t,n,{default:o}))}},c._configure=function(e){r=e}},96542:(e,t,n)=>{"use strict";var o=e.exports=n(91428);o.build="light",o.load=function(e,t,n){return"function"==typeof t?(n=t,t=new o.Root):t||(t=new o.Root),t.load(e,n)},o.loadSync=function(e,t){return t||(t=new o.Root),t.loadSync(e)},o.encoder=n(95078),o.decoder=n(54830),o.verifier=n(21514),o.converter=n(1257),o.ReflectionObject=n(69660),o.Namespace=n(23602),o.Root=n(28040),o.Enum=n(53116),o.Type=n(25224),o.Field=n(27234),o.OneOf=n(37652),o.MapField=n(29043),o.Service=n(28671),o.Method=n(50146),o.Message=n(21806),o.wrappers=n(56267),o.types=n(38393),o.util=n(44211),o.ReflectionObject._configure(o.Root),o.Namespace._configure(o.Type,o.Service,o.Enum),o.Root._configure(o.Type),o.Field._configure(o.Type)},91428:(e,t,n)=>{"use strict";var o=t;function r(){o.util._configure(),o.Writer._configure(o.BufferWriter),o.Reader._configure(o.BufferReader)}o.build="minimal",o.Writer=n(97550),o.BufferWriter=n(62501),o.Reader=n(38775),o.BufferReader=n(82583),o.util=n(13219),o.rpc=n(61808),o.roots=n(92250),o.configure=r,r()},53173:(e,t,n)=>{"use strict";var o=e.exports=n(96542);o.build="full",o.tokenize=n(23441),o.parse=n(86565),o.common=n(25207),o.Root._configure(o.Type,o.parse,o.common)},29043:(e,t,n)=>{"use strict";e.exports=a;var o=n(27234);((a.prototype=Object.create(o.prototype)).constructor=a).className="MapField";var r=n(38393),i=n(44211);function a(e,t,n,r,a,s){if(o.call(this,e,t,r,void 0,void 0,a,s),!i.isString(n))throw TypeError("keyType must be a string");this.keyType=n,this.resolvedKeyType=null,this.map=!0}a.fromJSON=function(e,t){return new a(e,t.id,t.keyType,t.type,t.options,t.comment)},a.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return i.toObject(["keyType",this.keyType,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",t?this.comment:void 0])},a.prototype.resolve=function(){if(this.resolved)return this;if(void 0===r.mapKey[this.keyType])throw Error("invalid key type: "+this.keyType);return o.prototype.resolve.call(this)},a.d=function(e,t,n){return"function"==typeof n?n=i.decorateType(n).name:n&&"object"==typeof n&&(n=i.decorateEnum(n).name),function(o,r){i.decorateType(o.constructor).add(new a(r,e,t,n))}}},21806:(e,t,n)=>{"use strict";e.exports=r;var o=n(13219);function r(e){if(e)for(var t=Object.keys(e),n=0;n{"use strict";e.exports=i;var o=n(69660);((i.prototype=Object.create(o.prototype)).constructor=i).className="Method";var r=n(44211);function i(e,t,n,i,a,s,l,c,p){if(r.isObject(a)?(l=a,a=s=void 0):r.isObject(s)&&(l=s,s=void 0),void 0!==t&&!r.isString(t))throw TypeError("type must be a string");if(!r.isString(n))throw TypeError("requestType must be a string");if(!r.isString(i))throw TypeError("responseType must be a string");o.call(this,e,l),this.type=t||"rpc",this.requestType=n,this.requestStream=!!a||void 0,this.responseType=i,this.responseStream=!!s||void 0,this.resolvedRequestType=null,this.resolvedResponseType=null,this.comment=c,this.parsedOptions=p}i.fromJSON=function(e,t){return new i(e,t.type,t.requestType,t.responseType,t.requestStream,t.responseStream,t.options,t.comment,t.parsedOptions)},i.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return r.toObject(["type","rpc"!==this.type&&this.type||void 0,"requestType",this.requestType,"requestStream",this.requestStream,"responseType",this.responseType,"responseStream",this.responseStream,"options",this.options,"comment",t?this.comment:void 0,"parsedOptions",this.parsedOptions])},i.prototype.resolve=function(){return this.resolved?this:(this.resolvedRequestType=this.parent.lookupType(this.requestType),this.resolvedResponseType=this.parent.lookupType(this.responseType),o.prototype.resolve.call(this))}},23602:(e,t,n)=>{"use strict";e.exports=u;var o=n(69660);((u.prototype=Object.create(o.prototype)).constructor=u).className="Namespace";var r,i,a,s=n(27234),l=n(44211),c=n(37652);function p(e,t){if(e&&e.length){for(var n={},o=0;ot)return!0;return!1},u.isReservedName=function(e,t){if(e)for(var n=0;n0;){var o=e.shift();if(n.nested&&n.nested[o]){if(!((n=n.nested[o])instanceof u))throw Error("path conflicts with non-namespace objects")}else n.add(n=new u(o))}return t&&n.addJSON(t),n},u.prototype.resolveAll=function(){for(var e=this.nestedArray,t=0;t-1)return o}else if(o instanceof u&&(o=o.lookup(e.slice(1),t,!0)))return o}else for(var r=0;r{"use strict";e.exports=i,i.className="ReflectionObject";var o,r=n(44211);function i(e,t){if(!r.isString(e))throw TypeError("name must be a string");if(t&&!r.isObject(t))throw TypeError("options must be an object");this.options=t,this.parsedOptions=null,this.name=e,this.parent=null,this.resolved=!1,this.comment=null,this.filename=null}Object.defineProperties(i.prototype,{root:{get:function(){for(var e=this;null!==e.parent;)e=e.parent;return e}},fullName:{get:function(){for(var e=[this.name],t=this.parent;t;)e.unshift(t.name),t=t.parent;return e.join(".")}}}),i.prototype.toJSON=function(){throw Error()},i.prototype.onAdd=function(e){this.parent&&this.parent!==e&&this.parent.remove(this),this.parent=e,this.resolved=!1;var t=e.root;t instanceof o&&t._handleAdd(this)},i.prototype.onRemove=function(e){var t=e.root;t instanceof o&&t._handleRemove(this),this.parent=null,this.resolved=!1},i.prototype.resolve=function(){return this.resolved||this.root instanceof o&&(this.resolved=!0),this},i.prototype.getOption=function(e){if(this.options)return this.options[e]},i.prototype.setOption=function(e,t,n){return n&&this.options&&void 0!==this.options[e]||((this.options||(this.options={}))[e]=t),this},i.prototype.setParsedOption=function(e,t,n){this.parsedOptions||(this.parsedOptions=[]);var o=this.parsedOptions;if(n){var i=o.find((function(t){return Object.prototype.hasOwnProperty.call(t,e)}));if(i){var a=i[e];r.setProperty(a,n,t)}else(i={})[e]=r.setProperty({},n,t),o.push(i)}else{var s={};s[e]=t,o.push(s)}return this},i.prototype.setOptions=function(e,t){if(e)for(var n=Object.keys(e),o=0;o{"use strict";e.exports=a;var o=n(69660);((a.prototype=Object.create(o.prototype)).constructor=a).className="OneOf";var r=n(27234),i=n(44211);function a(e,t,n,r){if(Array.isArray(t)||(n=t,t=void 0),o.call(this,e,n),void 0!==t&&!Array.isArray(t))throw TypeError("fieldNames must be an Array");this.oneof=t||[],this.fieldsArray=[],this.comment=r}function s(e){if(e.parent)for(var t=0;t-1&&this.oneof.splice(t,1),e.partOf=null,this},a.prototype.onAdd=function(e){o.prototype.onAdd.call(this,e);for(var t=0;t{"use strict";e.exports=S,S.filename=null,S.defaults={keepCase:!1};var o=n(23441),r=n(28040),i=n(25224),a=n(27234),s=n(29043),l=n(37652),c=n(53116),p=n(28671),u=n(50146),d=n(38393),g=n(44211),f=/^[1-9][0-9]*$/,h=/^-?[1-9][0-9]*$/,m=/^0[x][0-9a-fA-F]+$/,y=/^-?0[x][0-9a-fA-F]+$/,v=/^0[0-7]+$/,b=/^-?0[0-7]+$/,O=/^(?![eE])[0-9]*(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?$/,w=/^[a-zA-Z_][a-zA-Z_0-9]*$/,P=/^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*$/,x=/^(?:\.[a-zA-Z_][a-zA-Z_0-9]*)+$/;function S(e,t,n){t instanceof r||(n=t,t=new r),n||(n=S.defaults);var T,A,E,j,k,_=n.preferTrailingComment||!1,C=o(e,n.alternateCommentMode||!1),I=C.next,R=C.push,N=C.peek,D=C.skip,L=C.cmnt,B=!0,M=!1,F=t,U=n.keepCase?function(e){return e}:g.camelCase;function q(e,t,n){var o=S.filename;return n||(S.filename=null),Error("illegal "+(t||"token")+" '"+e+"' ("+(o?o+", ":"")+"line "+C.line+")")}function V(){var e,t=[];do{if('"'!==(e=I())&&"'"!==e)throw q(e);t.push(I()),D(e),e=N()}while('"'===e||"'"===e);return t.join("")}function H(e){var t=I();switch(t){case"'":case'"':return R(t),V();case"true":case"TRUE":return!0;case"false":case"FALSE":return!1}try{return function(e,t){var n=1;switch("-"===e.charAt(0)&&(n=-1,e=e.substring(1)),e){case"inf":case"INF":case"Inf":return n*(1/0);case"nan":case"NAN":case"Nan":case"NaN":return NaN;case"0":return 0}if(f.test(e))return n*parseInt(e,10);if(m.test(e))return n*parseInt(e,16);if(v.test(e))return n*parseInt(e,8);if(O.test(e))return n*parseFloat(e);throw q(e,"number",!0)}(t)}catch(n){if(e&&P.test(t))return t;throw q(t,"value")}}function G(e,t){var n,o;do{!t||'"'!==(n=N())&&"'"!==n?e.push([o=W(I()),D("to",!0)?W(I()):o]):e.push(V())}while(D(",",!0));D(";")}function W(e,t){switch(e){case"max":case"MAX":case"Max":return 536870911;case"0":return 0}if(!t&&"-"===e.charAt(0))throw q(e,"id");if(h.test(e))return parseInt(e,10);if(y.test(e))return parseInt(e,16);if(b.test(e))return parseInt(e,8);throw q(e,"id")}function z(){if(void 0!==T)throw q("package");if(T=I(),!P.test(T))throw q(T,"name");F=F.define(T),D(";")}function J(){var e,t=N();switch(t){case"weak":e=E||(E=[]),I();break;case"public":I();default:e=A||(A=[])}t=V(),D(";"),e.push(t)}function K(){if(D("="),j=V(),!(M="proto3"===j)&&"proto2"!==j)throw q(j,"syntax");D(";")}function Y(e,t){switch(t){case"option":return ee(e,t),D(";"),!0;case"message":return Q(e,t),!0;case"enum":return Z(e,t),!0;case"service":return function(e,t){if(!w.test(t=I()))throw q(t,"service name");var n=new p(t);$(n,(function(e){if(!Y(n,e)){if("rpc"!==e)throw q(e);!function(e,t){var n=L(),o=t;if(!w.test(t=I()))throw q(t,"name");var r,i,a,s,l=t;if(D("("),D("stream",!0)&&(i=!0),!P.test(t=I()))throw q(t);if(r=t,D(")"),D("returns"),D("("),D("stream",!0)&&(s=!0),!P.test(t=I()))throw q(t);a=t,D(")");var c=new u(l,o,r,a,i,s);c.comment=n,$(c,(function(e){if("option"!==e)throw q(e);ee(c,e),D(";")})),e.add(c)}(n,e)}})),e.add(n)}(e,t),!0;case"extend":return function(e,t){if(!P.test(t=I()))throw q(t,"reference");var n=t;$(null,(function(t){switch(t){case"required":case"repeated":X(e,t,n);break;case"optional":X(e,M?"proto3_optional":"optional",n);break;default:if(!M||!P.test(t))throw q(t);R(t),X(e,"optional",n)}}))}(e,t),!0}return!1}function $(e,t,n){var o=C.line;if(e&&("string"!=typeof e.comment&&(e.comment=L()),e.filename=S.filename),D("{",!0)){for(var r;"}"!==(r=I());)t(r);D(";",!0)}else n&&n(),D(";"),e&&("string"!=typeof e.comment||_)&&(e.comment=L(o)||e.comment)}function Q(e,t){if(!w.test(t=I()))throw q(t,"type name");var n=new i(t);$(n,(function(e){if(!Y(n,e))switch(e){case"map":!function(e){D("<");var t=I();if(void 0===d.mapKey[t])throw q(t,"type");D(",");var n=I();if(!P.test(n))throw q(n,"type");D(">");var o=I();if(!w.test(o))throw q(o,"name");D("=");var r=new s(U(o),W(I()),t,n);$(r,(function(e){if("option"!==e)throw q(e);ee(r,e),D(";")}),(function(){oe(r)})),e.add(r)}(n);break;case"required":case"repeated":X(n,e);break;case"optional":X(n,M?"proto3_optional":"optional");break;case"oneof":!function(e,t){if(!w.test(t=I()))throw q(t,"name");var n=new l(U(t));$(n,(function(e){"option"===e?(ee(n,e),D(";")):(R(e),X(n,"optional"))})),e.add(n)}(n,e);break;case"extensions":G(n.extensions||(n.extensions=[]));break;case"reserved":G(n.reserved||(n.reserved=[]),!0);break;default:if(!M||!P.test(e))throw q(e);R(e),X(n,"optional")}})),e.add(n)}function X(e,t,n){var o=I();if("group"!==o){if(!P.test(o))throw q(o,"type");var r=I();if(!w.test(r))throw q(r,"name");r=U(r),D("=");var s=new a(r,W(I()),o,t,n);if($(s,(function(e){if("option"!==e)throw q(e);ee(s,e),D(";")}),(function(){oe(s)})),"proto3_optional"===t){var c=new l("_"+r);s.setOption("proto3_optional",!0),c.add(s),e.add(c)}else e.add(s);M||!s.repeated||void 0===d.packed[o]&&void 0!==d.basic[o]||s.setOption("packed",!1,!0)}else!function(e,t){var n=I();if(!w.test(n))throw q(n,"name");var o=g.lcFirst(n);n===o&&(n=g.ucFirst(n)),D("=");var r=W(I()),s=new i(n);s.group=!0;var l=new a(o,r,n,t);l.filename=S.filename,$(s,(function(e){switch(e){case"option":ee(s,e),D(";");break;case"required":case"repeated":X(s,e);break;case"optional":X(s,M?"proto3_optional":"optional");break;case"message":Q(s,e);break;case"enum":Z(s,e);break;default:throw q(e)}})),e.add(s).add(l)}(e,t)}function Z(e,t){if(!w.test(t=I()))throw q(t,"name");var n=new c(t);$(n,(function(e){switch(e){case"option":ee(n,e),D(";");break;case"reserved":G(n.reserved||(n.reserved=[]),!0);break;default:!function(e,t){if(!w.test(t))throw q(t,"name");D("=");var n=W(I(),!0),o={options:void 0,setOption:function(e,t){void 0===this.options&&(this.options={}),this.options[e]=t}};$(o,(function(e){if("option"!==e)throw q(e);ee(o,e),D(";")}),(function(){oe(o)})),e.add(t,n,o.comment,o.options)}(n,e)}})),e.add(n)}function ee(e,t){var n=D("(",!0);if(!P.test(t=I()))throw q(t,"name");var o,r=t,i=r;n&&(D(")"),i=r="("+r+")",t=N(),x.test(t)&&(o=t.slice(1),r+=t,I())),D("="),function(e,t,n,o){e.setParsedOption&&e.setParsedOption(t,n,o)}(e,i,te(e,r),o)}function te(e,t){if(D("{",!0)){for(var n={};!D("}",!0);){if(!w.test(k=I()))throw q(k,"name");var o,r=k;if(D(":",!0),"{"===N())o=te(e,t+"."+k);else if("["===N()){var i;if(o=[],D("[",!0)){do{i=H(!0),o.push(i)}while(D(",",!0));D("]"),void 0!==i&&ne(e,t+"."+k,i)}}else o=H(!0),ne(e,t+"."+k,o);var a=n[r];a&&(o=[].concat(a).concat(o)),n[r]=o,D(",",!0),D(";",!0)}return n}var s=H(!0);return ne(e,t,s),s}function ne(e,t,n){e.setOption&&e.setOption(t,n)}function oe(e){if(D("[",!0)){do{ee(e,"option")}while(D(",",!0));D("]")}return e}for(;null!==(k=I());)switch(k){case"package":if(!B)throw q(k);z();break;case"import":if(!B)throw q(k);J();break;case"syntax":if(!B)throw q(k);K();break;case"option":ee(F,k),D(";");break;default:if(Y(F,k)){B=!1;continue}throw q(k)}return S.filename=null,{package:T,imports:A,weakImports:E,syntax:j,root:t}}},38775:(e,t,n)=>{"use strict";e.exports=l;var o,r=n(13219),i=r.LongBits,a=r.utf8;function s(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function l(e){this.buf=e,this.pos=0,this.len=e.length}var c,p="undefined"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new l(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new l(e);throw Error("illegal buffer")},u=function(){return r.Buffer?function(e){return(l.create=function(e){return r.Buffer.isBuffer(e)?new o(e):p(e)})(e)}:p};function d(){var e=new i(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw s(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw s(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function g(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function f(){if(this.pos+8>this.len)throw s(this,8);return new i(g(this.buf,this.pos+=4),g(this.buf,this.pos+=4))}l.create=u(),l.prototype._slice=r.Array.prototype.subarray||r.Array.prototype.slice,l.prototype.uint32=(c=4294967295,function(){if(c=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return c;if((this.pos+=5)>this.len)throw this.pos=this.len,s(this,10);return c}),l.prototype.int32=function(){return 0|this.uint32()},l.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},l.prototype.bool=function(){return 0!==this.uint32()},l.prototype.fixed32=function(){if(this.pos+4>this.len)throw s(this,4);return g(this.buf,this.pos+=4)},l.prototype.sfixed32=function(){if(this.pos+4>this.len)throw s(this,4);return 0|g(this.buf,this.pos+=4)},l.prototype.float=function(){if(this.pos+4>this.len)throw s(this,4);var e=r.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},l.prototype.double=function(){if(this.pos+8>this.len)throw s(this,4);var e=r.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},l.prototype.bytes=function(){var e=this.uint32(),t=this.pos,n=this.pos+e;if(n>this.len)throw s(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,n):t===n?new this.buf.constructor(0):this._slice.call(this.buf,t,n)},l.prototype.string=function(){var e=this.bytes();return a.read(e,0,e.length)},l.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw s(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw s(this)}while(128&this.buf[this.pos++]);return this},l.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(e=7&this.uint32());)this.skipType(e);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},l._configure=function(e){o=e,l.create=u(),o._configure();var t=r.Long?"toLong":"toNumber";r.merge(l.prototype,{int64:function(){return d.call(this)[t](!1)},uint64:function(){return d.call(this)[t](!0)},sint64:function(){return d.call(this).zzDecode()[t](!1)},fixed64:function(){return f.call(this)[t](!0)},sfixed64:function(){return f.call(this)[t](!1)}})}},82583:(e,t,n)=>{"use strict";e.exports=i;var o=n(38775);(i.prototype=Object.create(o.prototype)).constructor=i;var r=n(13219);function i(e){o.call(this,e)}i._configure=function(){r.Buffer&&(i.prototype._slice=r.Buffer.prototype.slice)},i.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))},i._configure()},28040:(e,t,n)=>{"use strict";e.exports=u;var o=n(23602);((u.prototype=Object.create(o.prototype)).constructor=u).className="Root";var r,i,a,s=n(27234),l=n(53116),c=n(37652),p=n(44211);function u(e){o.call(this,"",e),this.deferred=[],this.files=[]}function d(){}u.fromJSON=function(e,t){return t||(t=new u),e.options&&t.setOptions(e.options),t.addJSON(e.nested)},u.prototype.resolvePath=p.path.resolve,u.prototype.fetch=p.fetch,u.prototype.load=function e(t,n,o){"function"==typeof n&&(o=n,n=void 0);var r=this;if(!o)return p.asPromise(e,r,t,n);var s=o===d;function l(e,t){if(o){var n=o;if(o=null,s)throw e;n(e,t)}}function c(e){var t=e.lastIndexOf("google/protobuf/");if(t>-1){var n=e.substring(t);if(n in a)return n}return null}function u(e,t){try{if(p.isString(t)&&"{"===t.charAt(0)&&(t=JSON.parse(t)),p.isString(t)){i.filename=e;var o,a=i(t,r,n),u=0;if(a.imports)for(;u-1))if(r.files.push(e),e in a)s?u(e,a[e]):(++f,setTimeout((function(){--f,u(e,a[e])})));else if(s){var n;try{n=p.fs.readFileSync(e).toString("utf8")}catch(e){return void(t||l(e))}u(e,n)}else++f,r.fetch(e,(function(n,i){--f,o&&(n?t?f||l(null,r):l(n):u(e,i))}))}var f=0;p.isString(t)&&(t=[t]);for(var h,m=0;m-1&&this.deferred.splice(t,1)}}else if(e instanceof l)g.test(e.name)&&delete e.parent[e.name];else if(e instanceof o){for(var n=0;n{"use strict";e.exports={}},61808:(e,t,n)=>{"use strict";t.Service=n(26613)},26613:(e,t,n)=>{"use strict";e.exports=r;var o=n(13219);function r(e,t,n){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");o.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(n)}(r.prototype=Object.create(o.EventEmitter.prototype)).constructor=r,r.prototype.rpcCall=function e(t,n,r,i,a){if(!i)throw TypeError("request must be specified");var s=this;if(!a)return o.asPromise(e,s,t,n,r,i);if(s.rpcImpl)try{return s.rpcImpl(t,n[s.requestDelimited?"encodeDelimited":"encode"](i).finish(),(function(e,n){if(e)return s.emit("error",e,t),a(e);if(null!==n){if(!(n instanceof r))try{n=r[s.responseDelimited?"decodeDelimited":"decode"](n)}catch(e){return s.emit("error",e,t),a(e)}return s.emit("data",n,t),a(null,n)}s.end(!0)}))}catch(e){return s.emit("error",e,t),void setTimeout((function(){a(e)}),0)}else setTimeout((function(){a(Error("already ended"))}),0)},r.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},28671:(e,t,n)=>{"use strict";e.exports=s;var o=n(23602);((s.prototype=Object.create(o.prototype)).constructor=s).className="Service";var r=n(50146),i=n(44211),a=n(61808);function s(e,t){o.call(this,e,t),this.methods={},this._methodsArray=null}function l(e){return e._methodsArray=null,e}s.fromJSON=function(e,t){var n=new s(e,t.options);if(t.methods)for(var o=Object.keys(t.methods),i=0;i{"use strict";e.exports=u;var t=/[\s{}=;:[\],'"()<>]/g,n=/(?:"([^"\\]*(?:\\.[^"\\]*)*)")/g,o=/(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g,r=/^ *[*/]+ */,i=/^\s*\*?\/*/,a=/\n/g,s=/\s/,l=/\\(.?)/g,c={0:"\0",r:"\r",n:"\n",t:"\t"};function p(e){return e.replace(l,(function(e,t){switch(t){case"\\":case"":return t;default:return c[t]||""}}))}function u(e,l){e=e.toString();var c=0,u=e.length,d=1,g=0,f={},h=[],m=null;function y(e){return Error("illegal "+e+" (line "+d+")")}function v(t){return e.charAt(t)}function b(t,n,o){var s,c={type:e.charAt(t++),lineEmpty:!1,leading:o},p=t-(l?2:3);do{if(--p<0||"\n"===(s=e.charAt(p))){c.lineEmpty=!0;break}}while(" "===s||"\t"===s);for(var u=e.substring(t,n).split(a),h=0;h0)return h.shift();if(m)return function(){var t="'"===m?o:n;t.lastIndex=c-1;var r=t.exec(e);if(!r)throw y("string");return c=t.lastIndex,x(m),m=null,p(r[1])}();var r,i,a,g,f,P=0===c;do{if(c===u)return null;for(r=!1;s.test(a=v(c));)if("\n"===a&&(P=!0,++d),++c===u)return null;if("/"===v(c)){if(++c===u)throw y("comment");if("/"===v(c))if(l){if(g=c,f=!1,O(c)){f=!0;do{if((c=w(c))===u)break;if(c++,!P)break}while(O(c))}else c=Math.min(u,w(c)+1);f&&(b(g,c,P),P=!0),d++,r=!0}else{for(f="/"===v(g=c+1);"\n"!==v(++c);)if(c===u)return null;++c,f&&(b(g,c-1,P),P=!0),++d,r=!0}else{if("*"!==(a=v(c)))return"/";g=c+1,f=l||"*"===v(g);do{if("\n"===a&&++d,++c===u)throw y("comment");i=a,a=v(c)}while("*"!==i||"/"!==a);++c,f&&(b(g,c-2,P),P=!0),r=!0}}}while(r);var S=c;if(t.lastIndex=0,!t.test(v(S++)))for(;S{"use strict";e.exports=v;var o=n(23602);((v.prototype=Object.create(o.prototype)).constructor=v).className="Type";var r=n(53116),i=n(37652),a=n(27234),s=n(29043),l=n(28671),c=n(21806),p=n(38775),u=n(97550),d=n(44211),g=n(95078),f=n(54830),h=n(21514),m=n(1257),y=n(56267);function v(e,t){o.call(this,e,t),this.fields={},this.oneofs=void 0,this.extensions=void 0,this.reserved=void 0,this.group=void 0,this._fieldsById=null,this._fieldsArray=null,this._oneofsArray=null,this._ctor=null}function b(e){return e._fieldsById=e._fieldsArray=e._oneofsArray=null,delete e.encode,delete e.decode,delete e.verify,e}Object.defineProperties(v.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var e=Object.keys(this.fields),t=0;t{"use strict";var o=t,r=n(44211),i=["double","float","int32","uint32","sint32","fixed32","sfixed32","int64","uint64","sint64","fixed64","sfixed64","bool","string","bytes"];function a(e,t){var n=0,o={};for(t|=0;n{"use strict";var o,r,i=e.exports=n(13219),a=n(92250);i.codegen=n(44879),i.fetch=n(21492),i.path=n(83323),i.fs=i.inquire("fs"),i.toArray=function(e){if(e){for(var t=Object.keys(e),n=new Array(t.length),o=0;o0)t[r]=e(t[r]||{},n,o);else{var i=t[r];i&&(o=[].concat(i).concat(o)),t[r]=o}return t}(e,t=t.split("."),n)},Object.defineProperty(i,"decorateRoot",{get:function(){return a.decorated||(a.decorated=new(n(28040)))}})},57543:(e,t,n)=>{"use strict";e.exports=r;var o=n(13219);function r(e,t){this.lo=e>>>0,this.hi=t>>>0}var i=r.zero=new r(0,0);i.toNumber=function(){return 0},i.zzEncode=i.zzDecode=function(){return this},i.length=function(){return 1};var a=r.zeroHash="\0\0\0\0\0\0\0\0";r.fromNumber=function(e){if(0===e)return i;var t=e<0;t&&(e=-e);var n=e>>>0,o=(e-n)/4294967296>>>0;return t&&(o=~o>>>0,n=~n>>>0,++n>4294967295&&(n=0,++o>4294967295&&(o=0))),new r(n,o)},r.from=function(e){if("number"==typeof e)return r.fromNumber(e);if(o.isString(e)){if(!o.Long)return r.fromNumber(parseInt(e,10));e=o.Long.fromString(e)}return e.low||e.high?new r(e.low>>>0,e.high>>>0):i},r.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,n=~this.hi>>>0;return t||(n=n+1>>>0),-(t+4294967296*n)}return this.lo+4294967296*this.hi},r.prototype.toLong=function(e){return o.Long?new o.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var s=String.prototype.charCodeAt;r.fromHash=function(e){return e===a?i:new r((s.call(e,0)|s.call(e,1)<<8|s.call(e,2)<<16|s.call(e,3)<<24)>>>0,(s.call(e,4)|s.call(e,5)<<8|s.call(e,6)<<16|s.call(e,7)<<24)>>>0)},r.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},r.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},r.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},r.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,n=this.hi>>>24;return 0===n?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:n<128?9:10}},13219:function(e,t,n){"use strict";var o=t;function r(e,t,n){for(var o=Object.keys(t),r=0;re,set:void 0,enumerable:!1,configurable:!0},toString:{value(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),t}o.asPromise=n(1461),o.base64=n(86604),o.EventEmitter=n(71986),o.float=n(93644),o.inquire=n(14813),o.utf8=n(88413),o.pool=n(68964),o.LongBits=n(57543),o.isNode=Boolean("undefined"!=typeof global&&global&&global.process&&global.process.versions&&global.process.versions.node),o.global=o.isNode&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&self||this,o.emptyArray=Object.freeze?Object.freeze([]):[],o.emptyObject=Object.freeze?Object.freeze({}):{},o.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},o.isString=function(e){return"string"==typeof e||e instanceof String},o.isObject=function(e){return e&&"object"==typeof e},o.isset=o.isSet=function(e,t){var n=e[t];return!(null==n||!e.hasOwnProperty(t))&&("object"!=typeof n||(Array.isArray(n)?n.length:Object.keys(n).length)>0)},o.Buffer=function(){try{var e=o.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),o._Buffer_from=null,o._Buffer_allocUnsafe=null,o.newBuffer=function(e){return"number"==typeof e?o.Buffer?o._Buffer_allocUnsafe(e):new o.Array(e):o.Buffer?o._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},o.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,o.Long=o.global.dcodeIO&&o.global.dcodeIO.Long||o.global.Long||o.inquire("long"),o.key2Re=/^true|false|0|1$/,o.key32Re=/^-?(?:0|[1-9][0-9]*)$/,o.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,o.longToHash=function(e){return e?o.LongBits.from(e).toHash():o.LongBits.zeroHash},o.longFromHash=function(e,t){var n=o.LongBits.fromHash(e);return o.Long?o.Long.fromBits(n.lo,n.hi,t):n.toNumber(Boolean(t))},o.merge=r,o.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},o.newError=i,o.ProtocolError=i("ProtocolError"),o.oneOfGetter=function(e){for(var t={},n=0;n-1;--n)if(1===t[e[n]]&&void 0!==this[e[n]]&&null!==this[e[n]])return e[n]}},o.oneOfSetter=function(e){return function(t){for(var n=0;n{"use strict";e.exports=function(e){var t=r.codegen(["m"],e.name+"$verify")('if(typeof m!=="object"||m===null)')("return%j","object expected"),n={};e.oneofsArray.length&&t("var p={}");for(var o=0;o{"use strict";var o=t,r=n(21806);o[".google.protobuf.Any"]={fromObject:function(e){if(e&&e["@type"]){var t=e["@type"].substring(e["@type"].lastIndexOf("/")+1),n=this.lookup(t);if(n){var o="."===e["@type"].charAt(0)?e["@type"].slice(1):e["@type"];return-1===o.indexOf("/")&&(o="/"+o),this.create({type_url:o,value:n.encode(n.fromObject(e)).finish()})}}return this.fromObject(e)},toObject:function(e,t){var n="",o="";if(t&&t.json&&e.type_url&&e.value){o=e.type_url.substring(e.type_url.lastIndexOf("/")+1),n=e.type_url.substring(0,e.type_url.lastIndexOf("/")+1);var i=this.lookup(o);i&&(e=i.decode(e.value))}if(!(e instanceof this.ctor)&&e instanceof r){var a=e.$type.toObject(e,t);return""===n&&(n="type.googleapis.com/"),o=n+("."===e.$type.fullName[0]?e.$type.fullName.slice(1):e.$type.fullName),a["@type"]=o,a}return this.toObject(e,t)}}},97550:(e,t,n)=>{"use strict";e.exports=u;var o,r=n(13219),i=r.LongBits,a=r.base64,s=r.utf8;function l(e,t,n){this.fn=e,this.len=t,this.next=void 0,this.val=n}function c(){}function p(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function u(){this.len=0,this.head=new l(c,0,0),this.tail=this.head,this.states=null}var d=function(){return r.Buffer?function(){return(u.create=function(){return new o})()}:function(){return new u}};function g(e,t,n){t[n]=255&e}function f(e,t){this.len=e,this.next=void 0,this.val=t}function h(e,t,n){for(;e.hi;)t[n++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[n++]=127&e.lo|128,e.lo=e.lo>>>7;t[n++]=e.lo}function m(e,t,n){t[n]=255&e,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}u.create=d(),u.alloc=function(e){return new r.Array(e)},r.Array!==Array&&(u.alloc=r.pool(u.alloc,r.Array.prototype.subarray)),u.prototype._push=function(e,t,n){return this.tail=this.tail.next=new l(e,t,n),this.len+=t,this},f.prototype=Object.create(l.prototype),f.prototype.fn=function(e,t,n){for(;e>127;)t[n++]=127&e|128,e>>>=7;t[n]=e},u.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new f((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},u.prototype.int32=function(e){return e<0?this._push(h,10,i.fromNumber(e)):this.uint32(e)},u.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},u.prototype.uint64=function(e){var t=i.from(e);return this._push(h,t.length(),t)},u.prototype.int64=u.prototype.uint64,u.prototype.sint64=function(e){var t=i.from(e).zzEncode();return this._push(h,t.length(),t)},u.prototype.bool=function(e){return this._push(g,1,e?1:0)},u.prototype.fixed32=function(e){return this._push(m,4,e>>>0)},u.prototype.sfixed32=u.prototype.fixed32,u.prototype.fixed64=function(e){var t=i.from(e);return this._push(m,4,t.lo)._push(m,4,t.hi)},u.prototype.sfixed64=u.prototype.fixed64,u.prototype.float=function(e){return this._push(r.float.writeFloatLE,4,e)},u.prototype.double=function(e){return this._push(r.float.writeDoubleLE,8,e)};var y=r.Array.prototype.set?function(e,t,n){t.set(e,n)}:function(e,t,n){for(var o=0;o>>0;if(!t)return this._push(g,1,0);if(r.isString(e)){var n=u.alloc(t=a.length(e));a.decode(e,n,0),e=n}return this.uint32(t)._push(y,t,e)},u.prototype.string=function(e){var t=s.length(e);return t?this.uint32(t)._push(s.write,t,e):this._push(g,1,0)},u.prototype.fork=function(){return this.states=new p(this),this.head=this.tail=new l(c,0,0),this.len=0,this},u.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new l(c,0,0),this.len=0),this},u.prototype.ldelim=function(){var e=this.head,t=this.tail,n=this.len;return this.reset().uint32(n),n&&(this.tail.next=e.next,this.tail=t,this.len+=n),this},u.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),n=0;e;)e.fn(e.val,t,n),n+=e.len,e=e.next;return t},u._configure=function(e){o=e,u.create=d(),o._configure()}},62501:(e,t,n)=>{"use strict";e.exports=i;var o=n(97550);(i.prototype=Object.create(o.prototype)).constructor=i;var r=n(13219);function i(){o.call(this)}function a(e,t,n){e.length<40?r.utf8.write(e,t,n):t.utf8Write?t.utf8Write(e,n):t.write(e,n)}i._configure=function(){i.alloc=r._Buffer_allocUnsafe,i.writeBytesBuffer=r.Buffer&&r.Buffer.prototype instanceof Uint8Array&&"set"===r.Buffer.prototype.set.name?function(e,t,n){t.set(e,n)}:function(e,t,n){if(e.copy)e.copy(t,n,0,e.length);else for(var o=0;o>>0;return this.uint32(t),t&&this._push(i.writeBytesBuffer,t,e),this},i.prototype.string=function(e){var t=r.Buffer.byteLength(e);return this.uint32(t),t&&this._push(a,t,e),this},i._configure()},67841:(e,t,n)=>{"use strict";var o=n(57310).parse,r={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},i=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function a(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.getProxyForUrl=function(e){var t="string"==typeof e?o(e):e||{},n=t.protocol,s=t.host,l=t.port;if("string"!=typeof s||!s||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(a("npm_config_no_proxy")||a("no_proxy")).toLowerCase();return!n||"*"!==n&&n.split(/[,\s]/).every((function(n){if(!n)return!0;var o=n.match(/^(.+):(\d+)$/),r=o?o[1]:n,a=o?parseInt(o[2]):0;return!(!a||a===t)||(/^[.*]/.test(r)?("*"===r.charAt(0)&&(r=r.slice(1)),!i.call(e,r)):e!==r)}))}(s=s.replace(/:\d*$/,""),l=parseInt(l)||r[n]||0))return"";var c=a("npm_config_"+n+"_proxy")||a(n+"_proxy")||a("npm_config_proxy")||a("all_proxy");return c&&-1===c.indexOf("://")&&(c=n+"://"+c),c}},24746:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:o}},46163:(e,t,n)=>{"use strict";var o=n(31799),r=n(38112),i=n(24746);e.exports={formats:i,parse:r,stringify:o}},38112:(e,t,n)=>{"use strict";var o=n(6669),r=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:o.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,o){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),c=s?i.slice(0,s.index):i,p=[];if(c){if(!n.plainObjects&&r.call(Object.prototype,c)&&!n.allowPrototypes)return;p.push(c)}for(var u=0;n.depth>0&&null!==(s=a.exec(i))&&u=0;--i){var a,s=e[i];if("[]"===s&&n.parseArrays)a=[].concat(r);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(c,10);n.parseArrays||""!==c?!isNaN(p)&&s!==c&&String(p)===c&&p>=0&&n.parseArrays&&p<=n.arrayLimit?(a=[])[p]=r:"__proto__"!==c&&(a[c]=r):a={0:r}}r=a}return r}(p,t,n,o)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||o.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var p="string"==typeof e?function(e,t){var n,c={},p=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,u=t.parameterLimit===1/0?void 0:t.parameterLimit,d=p.split(t.delimiter,u),g=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(m=i(m)?[m]:m),r.call(c,h)?c[h]=o.combine(c[h],m):c[h]=m}return c}(e,n):e,u=n.plainObjects?Object.create(null):{},d=Object.keys(p),g=0;g{"use strict";var o=n(44852),r=n(6669),i=n(24746),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=String.prototype.split,p=Array.prototype.push,u=function(e,t){p.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,g=i.default,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:g,formatter:i.formatters[g],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h={},m=function e(t,n,i,a,s,p,d,g,m,y,v,b,O,w,P,x){for(var S,T=t,A=x,E=0,j=!1;void 0!==(A=A.get(h))&&!j;){var k=A.get(t);if(E+=1,void 0!==k){if(k===E)throw new RangeError("Cyclic object value");j=!0}void 0===A.get(h)&&(E=0)}if("function"==typeof g?T=g(n,T):T instanceof Date?T=v(T):"comma"===i&&l(T)&&(T=r.maybeMap(T,(function(e){return e instanceof Date?v(e):e}))),null===T){if(s)return d&&!w?d(n,f.encoder,P,"key",b):n;T=""}if("string"==typeof(S=T)||"number"==typeof S||"boolean"==typeof S||"symbol"==typeof S||"bigint"==typeof S||r.isBuffer(T)){if(d){var _=w?n:d(n,f.encoder,P,"key",b);if("comma"===i&&w){for(var C=c.call(String(T),","),I="",R=0;R0?T.join(",")||null:void 0}];else if(l(g))N=g;else{var L=Object.keys(T);N=m?L.sort(m):L}for(var B=a&&l(T)&&1===T.length?n+"[]":n,M=0;M0?w+O:""}},6669:(e,t,n)=>{"use strict";var o=n(24746),r=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},o=0;o1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var o=[],r=0;r=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||i===o.RFC1738&&(40===p||41===p)?l+=s.charAt(c):p<128?l+=a[p]:p<2048?l+=a[192|p>>6]+a[128|63&p]:p<55296||p>=57344?l+=a[224|p>>12]+a[128|p>>6&63]+a[128|63&p]:(c+=1,p=65536+((1023&p)<<10|1023&s.charCodeAt(c)),l+=a[240|p>>18]+a[128|p>>12&63]+a[128|p>>6&63]+a[128|63&p])}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],o=0;o{"use strict";const t={};function n(e,n,o){o||(o=Error);class r extends o{constructor(e,t,o){super(function(e,t,o){return"string"==typeof n?n:n(e,t,o)}(e,t,o))}}r.prototype.name=o.name,r.prototype.code=e,t[e]=r}function o(e,t){if(Array.isArray(e)){const n=e.length;return e=e.map((e=>String(e))),n>2?`one of ${t} ${e.slice(0,n-1).join(", ")}, or `+e[n-1]:2===n?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}return`of ${t} ${String(e)}`}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,n){let r;var i;let a;if("string"==typeof t&&(i="not ",t.substr(0,i.length)===i)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))a=`The ${e} ${r} ${o(t,"type")}`;else{a=`The "${e}" ${"number"!=typeof l&&(l=0),l+".".length>(s=e).length||-1===s.indexOf(".",l)?"argument":"property"} ${r} ${o(t,"type")}`}var s,l;return a+=". Received type "+typeof n,a}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},56009:(e,t,n)=>{"use strict";var o=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=c;var r=n(46285),i=n(42352);n(44236)(c,r);for(var a=o(i.prototype),s=0;s{"use strict";e.exports=r;var o=n(90016);function r(e){if(!(this instanceof r))return new r(e);o.call(this,e)}n(44236)(r,o),r.prototype._transform=function(e,t,n){n(null,e)}},46285:(e,t,n)=>{"use strict";var o;e.exports=S,S.ReadableState=x,n(82361).EventEmitter;var r,i=function(e,t){return e.listeners(t).length},a=n(61606),s=n(14300).Buffer,l=global.Uint8Array||function(){},c=n(73837);r=c&&c.debuglog?c.debuglog("stream"):function(){};var p,u,d,g=n(63047),f=n(13742),h=n(56871).getHighWaterMark,m=n(26081).q,y=m.ERR_INVALID_ARG_TYPE,v=m.ERR_STREAM_PUSH_AFTER_EOF,b=m.ERR_METHOD_NOT_IMPLEMENTED,O=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(44236)(S,a);var w=f.errorOrDestroy,P=["error","close","destroy","pause","resume"];function x(e,t,r){o=o||n(56009),e=e||{},"boolean"!=typeof r&&(r=t instanceof o),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=h(this,e,"readableHighWaterMark",r),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=n(23457).s),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function S(e){if(o=o||n(56009),!(this instanceof S))return new S(e);var t=this instanceof o;this._readableState=new x(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function T(e,t,n,o,i){r("readableAddChunk",t);var a,c=e._readableState;if(null===t)c.reading=!1,function(e,t){if(r("onEofChunk"),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?k(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,_(e)))}}(e,c);else if(i||(a=function(e,t){var n,o;return o=t,s.isBuffer(o)||o instanceof l||"string"==typeof t||void 0===t||e.objectMode||(n=new y("chunk",["string","Buffer","Uint8Array"],t)),n}(c,t)),a)w(e,a);else if(c.objectMode||t&&t.length>0)if("string"==typeof t||c.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),o)c.endEmitted?w(e,new O):A(e,c,t,!0);else if(c.ended)w(e,new v);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!n?(t=c.decoder.write(t),c.objectMode||0!==t.length?A(e,c,t,!1):C(e,c)):A(e,c,t,!1)}else o||(c.reading=!1,C(e,c));return!c.ended&&(c.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=E?e=E:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function k(e){var t=e._readableState;r("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(r("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(_,e))}function _(e){var t=e._readableState;r("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,L(e)}function C(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function N(e){r("readable nexttick read 0"),e.read(0)}function D(e,t){r("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(r("flow",t.flowing);t.flowing&&null!==e.read(););}function B(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function M(e){var t=e._readableState;r("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(F,t,e))}function F(e,t){if(r("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function U(e,t){for(var n=0,o=e.length;n=t.highWaterMark:t.length>0)||t.ended))return r("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?M(this):k(this),null;if(0===(e=j(e,t))&&t.ended)return 0===t.length&&M(this),null;var o,i=t.needReadable;return r("need readable",i),(0===t.length||t.length-e0?B(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&M(this)),null!==o&&this.emit("data",o),o},S.prototype._read=function(e){w(this,new b("_read()"))},S.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,r("pipe count=%d opts=%j",o.pipesCount,t);var a=t&&!1===t.end||e===process.stdout||e===process.stderr?f:s;function s(){r("onend"),e.end()}o.endEmitted?process.nextTick(a):n.once("end",a),e.on("unpipe",(function t(i,a){r("onunpipe"),i===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,r("cleanup"),e.removeListener("close",d),e.removeListener("finish",g),e.removeListener("drain",l),e.removeListener("error",u),e.removeListener("unpipe",t),n.removeListener("end",s),n.removeListener("end",f),n.removeListener("data",p),c=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}));var l=function(e){return function(){var t=e._readableState;r("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,L(e))}}(n);e.on("drain",l);var c=!1;function p(t){r("ondata");var i=e.write(t);r("dest.write",i),!1===i&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==U(o.pipes,e))&&!c&&(r("false write response, pause",o.awaitDrain),o.awaitDrain++),n.pause())}function u(t){r("onerror",t),f(),e.removeListener("error",u),0===i(e,"error")&&w(e,t)}function d(){e.removeListener("finish",g),f()}function g(){r("onfinish"),e.removeListener("close",d),f()}function f(){r("unpipe"),n.unpipe(e)}return n.on("data",p),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",u),e.once("close",d),e.once("finish",g),e.emit("pipe",n),o.flowing||(r("pipe resume"),n.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var o=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,r("on readable",o.length,o.reading),o.length?k(this):o.reading||process.nextTick(N,this))),n},S.prototype.addListener=S.prototype.on,S.prototype.removeListener=function(e,t){var n=a.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick(R,this),n},S.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||process.nextTick(R,this),t},S.prototype.resume=function(){var e=this._readableState;return e.flowing||(r("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(D,e,t))}(this,e)),e.paused=!1,this},S.prototype.pause=function(){return r("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(r("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(e){var t=this,n=this._readableState,o=!1;for(var i in e.on("end",(function(){if(r("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){r("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i||(n.objectMode||i&&i.length)&&(t.push(i)||(o=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a{"use strict";e.exports=p;var o=n(26081).q,r=o.ERR_METHOD_NOT_IMPLEMENTED,i=o.ERR_MULTIPLE_CALLBACK,a=o.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=o.ERR_TRANSFORM_WITH_LENGTH_0,l=n(56009);function c(e,t){var n=this._transformState;n.transforming=!1;var o=n.writecb;if(null===o)return this.emit("error",new i);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),o(e);var r=this._readableState;r.reading=!1,(r.needReadable||r.length{"use strict";function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var o=e.entry;for(e.entry=null;o;){var r=o.callback;t.pendingcb--,r(undefined),o=o.next}t.corkedRequestsFree.next=e}(t,e)}}var r;e.exports=S,S.WritableState=x;var i,a={deprecate:n(64096)},s=n(61606),l=n(14300).Buffer,c=global.Uint8Array||function(){},p=n(13742),u=n(56871).getHighWaterMark,d=n(26081).q,g=d.ERR_INVALID_ARG_TYPE,f=d.ERR_METHOD_NOT_IMPLEMENTED,h=d.ERR_MULTIPLE_CALLBACK,m=d.ERR_STREAM_CANNOT_PIPE,y=d.ERR_STREAM_DESTROYED,v=d.ERR_STREAM_NULL_VALUES,b=d.ERR_STREAM_WRITE_AFTER_END,O=d.ERR_UNKNOWN_ENCODING,w=p.errorOrDestroy;function P(){}function x(e,t,i){r=r||n(56009),e=e||{},"boolean"!=typeof i&&(i=t instanceof r),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=u(this,e,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===e.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,o=n.sync,r=n.writecb;if("function"!=typeof r)throw new h;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,o,r){--t.pendingcb,n?(process.nextTick(r,o),process.nextTick(_,e,t),e._writableState.errorEmitted=!0,w(e,o)):(r(o),e._writableState.errorEmitted=!0,w(e,o),_(e,t))}(e,n,o,t,r);else{var i=j(n)||e.destroyed;i||n.corked||n.bufferProcessing||!n.bufferedRequest||E(e,n),o?process.nextTick(A,e,n,i,r):A(e,n,i,r)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function S(e){var t=this instanceof(r=r||n(56009));if(!t&&!i.call(S,this))return new S(e);this._writableState=new x(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),s.call(this)}function T(e,t,n,o,r,i,a){t.writelen=o,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):n?e._writev(r,t.onwrite):e._write(r,i,t.onwrite),t.sync=!1}function A(e,t,n,o){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,o(),_(e,t)}function E(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),a=t.corkedRequestsFree;a.entry=n;for(var s=0,l=!0;n;)i[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;i.allBuffers=l,T(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,p=n.encoding,u=n.callback;if(T(e,t,!1,t.objectMode?1:c.length,c,p,u),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function j(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(n){t.pendingcb--,n&&w(e,n),t.prefinished=!0,e.emit("prefinish"),_(e,t)}))}function _(e,t){var n=j(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,process.nextTick(k,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var o=e._readableState;(!o||o.autoDestroy&&o.endEmitted)&&e.destroy()}return n}n(44236)(S,s),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(i=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(e){return!!i.call(this,e)||this===S&&e&&e._writableState instanceof x}})):i=function(e){return e instanceof this},S.prototype.pipe=function(){w(this,new m)},S.prototype.write=function(e,t,n){var o,r=this._writableState,i=!1,a=!r.objectMode&&(o=e,l.isBuffer(o)||o instanceof c);return a&&!l.isBuffer(e)&&(e=function(e){return l.from(e)}(e)),"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=P),r.ending?function(e,t){var n=new b;w(e,n),process.nextTick(t,n)}(this,n):(a||function(e,t,n,o){var r;return null===n?r=new v:"string"==typeof n||t.objectMode||(r=new g("chunk",["string","Buffer"],n)),!r||(w(e,r),process.nextTick(o,r),!1)}(this,r,e,n))&&(r.pendingcb++,i=function(e,t,n,o,r,i){if(!n){var a=function(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=l.from(t,n)),t}(t,o,r);o!==a&&(n=!0,r="buffer",o=a)}var s=t.objectMode?1:o.length;t.length+=s;var c=t.length-1))throw new O(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(e,t,n){n(new f("_write()"))},S.prototype._writev=null,S.prototype.end=function(e,t,n){var o=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),o.corked&&(o.corked=1,this.uncork()),o.ending||function(e,t,n){t.ending=!0,_(e,t),n&&(t.finished?process.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,o,n),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),S.prototype.destroy=p.destroy,S.prototype._undestroy=p.undestroy,S.prototype._destroy=function(e,t){t(e)}},55321:(e,t,n)=>{"use strict";var o;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(63640),a=Symbol("lastResolve"),s=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),p=Symbol("lastPromise"),u=Symbol("handlePromise"),d=Symbol("stream");function g(e,t){return{value:e,done:t}}function f(e){var t=e[a];if(null!==t){var n=e[d].read();null!==n&&(e[p]=null,e[a]=null,e[s]=null,t(g(n,!1)))}}function h(e){process.nextTick(f,e)}var m=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((r(o={get stream(){return this[d]},next:function(){var e=this,t=this[l];if(null!==t)return Promise.reject(t);if(this[c])return Promise.resolve(g(void 0,!0));if(this[d].destroyed)return new Promise((function(t,n){process.nextTick((function(){e[l]?n(e[l]):t(g(void 0,!0))}))}));var n,o=this[p];if(o)n=new Promise(function(e,t){return function(n,o){e.then((function(){t[c]?n(g(void 0,!0)):t[u](n,o)}),o)}}(o,this));else{var r=this[d].read();if(null!==r)return Promise.resolve(g(r,!1));n=new Promise(this[u])}return this[p]=n,n}},Symbol.asyncIterator,(function(){return this})),r(o,"return",(function(){var e=this;return new Promise((function(t,n){e[d].destroy(null,(function(e){e?n(e):t(g(void 0,!0))}))}))})),o),m);e.exports=function(e){var t,n=Object.create(y,(r(t={},d,{value:e,writable:!0}),r(t,a,{value:null,writable:!0}),r(t,s,{value:null,writable:!0}),r(t,l,{value:null,writable:!0}),r(t,c,{value:e._readableState.endEmitted,writable:!0}),r(t,u,{value:function(e,t){var o=n[d].read();o?(n[p]=null,n[a]=null,n[s]=null,e(g(o,!1))):(n[a]=e,n[s]=t)},writable:!0}),t));return n[p]=null,i(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[s];return null!==t&&(n[p]=null,n[a]=null,n[s]=null,t(e)),void(n[l]=e)}var o=n[a];null!==o&&(n[p]=null,n[a]=null,n[s]=null,o(g(void 0,!0))),n[c]=!0})),e.on("readable",h.bind(null,n)),n}},63047:(e,t,n)=>{"use strict";function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){for(var n=0;n0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,n,o,r=a.allocUnsafe(e>>>0),i=this.head,s=0;i;)t=i.data,n=r,o=s,a.prototype.copy.call(t,n,o),s+=i.data.length,i=i.next;return r}},{key:"consume",value:function(e,t){var n;return er.length?r.length:e;if(i===r.length?o+=r:o+=r.slice(0,e),0==(e-=i)){i===r.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=r.slice(i));break}++n}return this.length-=n,o}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),n=this.head,o=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var r=n.data,i=e>r.length?r.length:e;if(r.copy(t,t.length-e,0,i),0==(e-=i)){i===r.length?(++o,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=r.slice(i));break}++o}return this.length-=o,t}},{key:l,value:function(e,t){return s(this,function(e){for(var t=1;t{"use strict";function t(e,t){o(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function o(e,t){e.emit("error",t)}e.exports={destroy:function(e,r){var i=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(r?r(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(o,this,e)):process.nextTick(o,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!r&&e?i._writableState?i._writableState.errorEmitted?process.nextTick(n,i):(i._writableState.errorEmitted=!0,process.nextTick(t,i,e)):process.nextTick(t,i,e):r?(process.nextTick(n,i),r(e)):process.nextTick(n,i)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,o=e._writableState;n&&n.autoDestroy||o&&o.autoDestroy?e.destroy(t):e.emit("error",t)}}},63640:(e,t,n)=>{"use strict";var o=n(26081).q.ERR_STREAM_PREMATURE_CLOSE;function r(){}e.exports=function e(t,n,i){if("function"==typeof n)return e(t,null,n);n||(n={}),i=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,o=new Array(n),r=0;r{"use strict";function o(e,t,n,o,r,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(o,r)}function r(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function s(e){o(a,r,i,s,l,"next",e)}function l(e){o(a,r,i,s,l,"throw",e)}s(void 0)}))}}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(26081).q.ERR_INVALID_ARG_TYPE;e.exports=function(e,t,n){var o;if(t&&"function"==typeof t.next)o=t;else if(t&&t[Symbol.asyncIterator])o=t[Symbol.asyncIterator]();else{if(!t||!t[Symbol.iterator])throw new s("iterable",["Iterable"],t);o=t[Symbol.iterator]()}var l=new e(function(e){for(var t=1;t{"use strict";var o,r=n(26081).q,i=r.ERR_MISSING_ARGS,a=r.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function l(e,t,r,i){i=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(i);var s=!1;e.on("close",(function(){s=!0})),void 0===o&&(o=n(63640)),o(e,{readable:t,writable:r},(function(e){if(e)return i(e);s=!0,i()}));var l=!1;return function(t){if(!s&&!l)return l=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void i(t||new a("pipe"))}}function c(e){e()}function p(e,t){return e.pipe(t)}function u(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}e.exports=function(){for(var e=arguments.length,t=new Array(e),n=0;n0,(function(e){o||(o=e),e&&a.forEach(c),i||(a.forEach(c),r(o))}))}));return t.reduce(p)}},56871:(e,t,n)=>{"use strict";var o=n(26081).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,r){var i=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,r,n);if(null!=i){if(!isFinite(i)||Math.floor(i)!==i||i<0)throw new o(r?n:"highWaterMark",i);return Math.floor(i)}return e.objectMode?16:16384}}},61606:(e,t,n)=>{e.exports=n(12781)},74282:(e,t,n)=>{var o=n(12781);"disable"===process.env.READABLE_STREAM&&o?(e.exports=o.Readable,Object.assign(e.exports,o),e.exports.Stream=o):((t=e.exports=n(46285)).Stream=o||t,t.Readable=t,t.Writable=n(42352),t.Duplex=n(56009),t.Transform=n(90016),t.PassThrough=n(68339),t.finished=n(63640),t.pipeline=n(58995))},50129:(e,t,n)=>{"use strict";const{PassThrough:o}=n(12781),r=n(71053)("retry-request"),i=n(93405),a={objectMode:!1,retries:2,maxRetryDelay:64,retryDelayMultiplier:2,totalTimeout:600,noResponseRetries:2,currentRetryAttempt:0,shouldRetryFn:function(e){const t=[[100,199],[429,429],[500,599]],n=e.statusCode;let o;for(r(`Response status: ${n}`);o=t.shift();)if(n>=o[0]&&n<=o[1])return!0}};function s(e){const{maxRetryDelay:t,retryDelayMultiplier:n,retryNumber:o,timeOfFirstRequest:r,totalTimeout:i}=e,a=1e3*t,s=1e3*i,l=Math.floor(1e3*Math.random()),c=1e3*Math.pow(n,o)+l,p=s-(Date.now()-r);return Math.min(c,p,a)}e.exports=function(e,t,l){const c="function"!=typeof arguments[arguments.length-1];"function"==typeof t&&(l=t);const p=t&&"number"==typeof t.currentRetryAttempt;if(void 0===(t=i({},a,t)).request)try{t.request=n(Object(function(){var e=new Error("Cannot find module 'request'");throw e.code="MODULE_NOT_FOUND",e}()))}catch(e){throw new Error("A request library must be provided to retry-request.")}let u,d,g,f,h=t.currentRetryAttempt,m=0,y=!1;const v={abort:function(){f&&f.abort&&f.abort()}};c&&(u=new o({objectMode:t.objectMode}),u.abort=O);const b=Date.now();return h>0?P(h):w(),c?u:v;function O(){g=null,d&&(d.abort&&d.abort(),d.cancel&&d.cancel(),d.destroy?d.destroy():d.end&&d.end())}function w(){h++,r(`Current retry attempt: ${h}`),c?(y=!1,g=new o({objectMode:t.objectMode}),d=t.request(e),setImmediate((()=>{u.emit("request")})),d.on("error",(e=>{y||(y=!0,x(e))})).on("response",((e,t)=>{y||(y=!0,x(null,e,t))})).on("complete",u.emit.bind(u,"complete")),d.pipe(g)):f=t.request(e,x)}function P(e){c&&O();const n=s({maxRetryDelay:t.maxRetryDelay,retryDelayMultiplier:t.retryDelayMultiplier,retryNumber:e,timeOfFirstRequest:b,totalTimeout:t.totalTimeout});r(`Next retry delay: ${n}`),n<=0?m=t.noResponseRetries+1:setTimeout(w,n)}function x(e,n,o){if(e)return m++,void(m<=t.noResponseRetries?P(m):c?(u.emit("error",e),u.end()):l(e,n,o));(p?h:h-1){u.destroy(e)}))):l(e,n,o)}},e.exports.getNextRetryDelay=s},21607:(e,t,n)=>{var o=n(14300),r=o.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=o:(i(o,t),t.Buffer=a),a.prototype=Object.create(r.prototype),i(r,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var o=r(e);return void 0!==t?"string"==typeof n?o.fill(t,n):o.fill(t):o.fill(0),o},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o.SlowBuffer(e)}},44852:(e,t,n)=>{"use strict";var o=n(28487),r=n(2864),i=n(31741),a=o("%TypeError%"),s=o("%WeakMap%",!0),l=o("%Map%",!0),c=r("WeakMap.prototype.get",!0),p=r("WeakMap.prototype.set",!0),u=r("WeakMap.prototype.has",!0),d=r("Map.prototype.get",!0),g=r("Map.prototype.set",!0),f=r("Map.prototype.has",!0),h=function(e,t){for(var n,o=e;null!==(n=o.next);o=n)if(n.key===t)return o.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,o={assert:function(e){if(!o.has(e))throw new a("Side channel does not contain "+i(e))},get:function(o){if(s&&o&&("object"==typeof o||"function"==typeof o)){if(e)return c(e,o)}else if(l){if(t)return d(t,o)}else if(n)return function(e,t){var n=h(e,t);return n&&n.value}(n,o)},has:function(o){if(s&&o&&("object"==typeof o||"function"==typeof o)){if(e)return u(e,o)}else if(l){if(t)return f(t,o)}else if(n)return function(e,t){return!!h(e,t)}(n,o);return!1},set:function(o,r){s&&o&&("object"==typeof o||"function"==typeof o)?(e||(e=new s),p(e,o,r)):l?(t||(t=new l),g(t,o,r)):(n||(n={key:{},next:null}),function(e,t,n){var o=h(e,t);o?o.value=n:e.next={key:t,next:e.next,value:n}}(n,o,r))}};return o}},64801:e=>{e.exports=function(e){var t,n=e._readableState;return n?n.objectMode||"number"==typeof e._duplexState?e.read():e.read((t=n).buffer.length?t.buffer.head?t.buffer.head.data.length:t.buffer[0].length:t.length):null}},23457:(e,t,n)=>{"use strict";var o=n(21607).Buffer,r=o.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(o.isEncoding===r||!r(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=p,this.end=u,t=3;break;default:return this.write=d,void(this.end=g)}this.lastNeed=0,this.lastTotal=0,this.lastChar=o.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var o=n.charCodeAt(n.length-1);if(o>=55296&&o<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function p(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function g(e){return e&&e.length?this.write(e):""}t.s=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0?(r>0&&(e.lastNeed=r-1),r):--o=0?(r>0&&(e.lastNeed=r-2),r):--o=0?(r>0&&(2===r?r=0:e.lastNeed=r-3),r):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var o=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,o),e.toString("utf8",t,o)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},65587:e=>{function t(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert"].forEach((function(e){t.prototype[e]=function(){return this._defaults.push({fn:e,arguments}),this}})),t.prototype._setDefaults=function(e){this._defaults.forEach((function(t){e[t.fn].apply(e,t.arguments)}))},e.exports=t},2971:e=>{"use strict";e.exports=function(e){return null!==e&&"object"==typeof e}},61439:(e,t,n)=>{"use strict";const o=n(86418).US,r=n(86418).Qr,i=n(57310).parse,a=n(53637),s=n(65587);let l=n(38891);function c(e){if(!(this instanceof c))return new c(e);s.call(this),this.jar=new o,e&&(e.ca&&this.ca(e.ca),e.key&&this.key(e.key),e.pfx&&this.pfx(e.pfx),e.cert&&this.cert(e.cert))}e.exports=c,c.prototype=Object.create(s.prototype),c.prototype._saveCookies=function(e){const t=e.headers["set-cookie"];t&&this.jar.setCookies(t)},c.prototype._attachCookies=function(e){const t=i(e.url),n=r(t.hostname,t.pathname,"https:"==t.protocol),o=this.jar.getCookies(n).toValueString();e.cookies=o},l.forEach((e=>{const t=e.toUpperCase();c.prototype[e]=function(e,n){const o=new a.Request(t,e);return o.on("response",this._saveCookies.bind(this)),o.on("redirect",this._saveCookies.bind(this)),o.on("redirect",this._attachCookies.bind(this,o)),this._attachCookies(o),this._setDefaults(o),n&&o.end(n),o}})),c.prototype.del=c.prototype.delete},53637:(e,t,n)=>{"use strict";const o=n(68314)("superagent"),r=n(46425),i=n(90504),a=n(84177),s=n(57310).parse,l=n(57310).format,c=n(57310).resolve;let p=n(38891);const u=n(12781),d=n(44016),g=n(53519).R,f=n(93405),h=n(11886),m=n(95687),y=n(13685),v=n(57147),b=n(46163),O=n(59796),w=n(73837),P=n(86160),x=n(38736);function S(e,n){return"function"==typeof n?new t.Request("GET",e).end(n):1==arguments.length?new t.Request("GET",e):new t.Request(e,n)}function T(){}function A(e){const t=`node-superagent/${P.version}`;e._header={"user-agent":t},e.header={"User-Agent":t}}function E(e,t){u.call(this),"string"!=typeof t&&(t=l(t)),this._agent=!1,this._formData=null,this.method=e,this.url=t,A(this),this.writable=!0,this._redirects=0,this.redirects("HEAD"===e?0:5),this.cookies="",this.qs={},this._query=[],this.qsRaw=this._query,this._redirectList=[],this._streamRequest=!1,this.once("end",this.clearTimeout.bind(this))}function j(e){return/[\/+]json\b/.test(e)}function k(e){return~[301,302,303,305,307,308].indexOf(e)}(t=e.exports=S).Request=E,t.agent=n(61439),t.Response=a,h.define({"application/x-www-form-urlencoded":["form","urlencoded","form-data"]},!0),t.protocols={"http:":y,"https:":m},t.serialize={"application/x-www-form-urlencoded":b.stringify,"application/json":JSON.stringify},t.parse=n(37127),w.inherits(E,u),x(E.prototype),E.prototype.attach=function(e,t,n){if(t){if(this._data)throw Error("superagent can't mix .send() and .attach()");let r=n||{};"string"==typeof n&&(r={filename:n}),"string"==typeof t?(r.filename||(r.filename=t),o("creating `fs.ReadStream` instance for file: %s",t),t=v.createReadStream(t)):!r.filename&&t.path&&(r.filename=t.path),this._getFormData().append(e,t,r)}return this},E.prototype._getFormData=function(){return this._formData||(this._formData=new i,this._formData.on("error",(e=>{this.emit("error",e),this.abort()}))),this._formData},E.prototype.agent=function(e){return arguments.length?(this._agent=e,this):this._agent},E.prototype.type=function(e){return this.set("Content-Type",~e.indexOf("/")?e:h.lookup(e))},E.prototype.accept=function(e){return this.set("Accept",~e.indexOf("/")?e:h.lookup(e))},E.prototype.query=function(e){return"string"==typeof e?this._query.push(e):f(this.qs,e),this},E.prototype.write=function(e,t){const n=this.request();return this._streamRequest||(this._streamRequest=!0),n.write(e,t)},E.prototype.pipe=function(e,t){return this.piped=!0,this.buffer(!1),this.end(),this._pipeContinue(e,t)},E.prototype._pipeContinue=function(e,t){return this.req.once("response",(n=>{if(k(n.statusCode)&&this._redirects++!=this._maxRedirects)return this._redirect(n)._pipeContinue(e,t);if(this.res=n,this._emitResponse(),!this._aborted){if(this._shouldUnzip(n)){const o=O.createUnzip();o.on("error",(t=>{t&&"Z_BUF_ERROR"===t.code?e.emit("end"):e.emit("error",t)})),n.pipe(o).pipe(e,t)}else n.pipe(e,t);n.once("end",(()=>{this.emit("end")}))}})),e},E.prototype.buffer=function(e){return this._buffer=!1!==e,this},E.prototype._redirect=function(e){let t=e.headers.location;if(!t)return this.callback(new Error("No location header for redirect"),e);o("redirect %s -> %s",this.url,t),t=c(this.url,t),e.resume();let n=this.req._headers;const r=s(t).host!==s(this.url).host;return 301!=e.statusCode&&302!=e.statusCode||(n=d.cleanHeader(this.req._headers,r),this.method="HEAD"==this.method?"HEAD":"GET",this._data=null),303==e.statusCode&&(n=d.cleanHeader(this.req._headers,r),this.method="GET",this._data=null),delete n.host,delete this.req,delete this._formData,A(this),this._endCalled=!1,this.url=t,this.qs={},this._query.length=0,this.set(n),this.emit("redirect",e),this._redirectList.push(this.url),this.end(this._callback),this},E.prototype.auth=function(e,t,n){1===arguments.length&&(t=""),"object"==typeof t&&null!==t&&(n=t,t=""),n||(n={type:"basic"});var o=function(e){return new Buffer(e).toString("base64")};return this._auth(e,t,n,o)},E.prototype.ca=function(e){return this._ca=e,this},E.prototype.key=function(e){return this._key=e,this},E.prototype.pfx=function(e){return"object"!=typeof e||Buffer.isBuffer(e)?this._pfx=e:(this._pfx=e.pfx,this._passphrase=e.passphrase),this},E.prototype.cert=function(e){return this._cert=e,this},E.prototype.request=function(){if(this.req)return this.req;const e={};try{const e=b.stringify(this.qs,{indices:!1,strictNullHandling:!0});e&&(this.qs={},this._query.push(e)),this._finalizeQueryString()}catch(e){return this.emit("error",e)}let n=this.url;const o=this._retries;if(0!=n.indexOf("http")&&(n=`http://${n}`),n=s(n),!0===/^https?\+unix:/.test(n.protocol)){n.protocol=`${n.protocol.split("+")[0]}:`;const t=n.path.match(/^([^/]+)(.+)$/);e.socketPath=t[1].replace(/%2F/g,"/"),n.path=t[2]}e.method=this.method,e.port=n.port,e.path=n.path,e.host=n.hostname,e.ca=this._ca,e.key=this._key,e.pfx=this._pfx,e.cert=this._cert,e.passphrase=this._passphrase,e.agent=this._agent;const r=t.protocols[n.protocol],i=this.req=r.request(e);if(i.setNoDelay(!0),"HEAD"!=e.method&&i.setHeader("Accept-Encoding","gzip, deflate"),this.protocol=n.protocol,this.host=n.host,i.once("drain",(()=>{this.emit("drain")})),i.once("error",(e=>{this._aborted||this._retries===o&&(this.response||this.callback(e))})),n.auth){const e=n.auth.split(":");this.auth(e[0],e[1])}this.username&&this.password&&this.auth(this.username,this.password),this.cookies&&i.setHeader("Cookie",this.cookies);for(const e in this.header)this.header.hasOwnProperty(e)&&i.setHeader(e,this.header[e]);return i},E.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();const n=this._callback||T;if(this.clearTimeout(),this.called)return console.warn("superagent: double callback bug");if(this.called=!0,!e)try{if(this._isResponseOK(t))return n(e,t);let o="Unsuccessful HTTP response";t&&(o=y.STATUS_CODES[t.status]||o),(e=new Error(o)).status=t?t.status:void 0}catch(t){e=t}e.response=t,this._maxRetries&&(e.retries=this._retries-1),e&&this.listeners("error").length>0&&this.emit("error",e),n(e,t)},E.prototype._isHost=function(e){return Buffer.isBuffer(e)||e instanceof u||e instanceof i},E.prototype._emitResponse=function(e,t){const n=new a(this);return this.response=n,n.redirects=this._redirectList,void 0!==e&&(n.body=e),n.files=t,this.emit("response",n),n},E.prototype.end=function(e){return this.request(),o("%s %s",this.method,this.url),this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||T,this._end()},E.prototype._end=function(){let e=this._data;const n=this.req;let i=this._buffer;const a=this.method;if(this._setTimeouts(),"HEAD"!=a&&!n._headerSent){if("string"!=typeof e){let o=n.getHeader("Content-Type");o&&(o=o.split(";")[0]);let r=t.serialize[o];!r&&j(o)&&(r=t.serialize["application/json"]),r&&(e=r(e))}e&&!n.getHeader("Content-Length")&&n.setHeader("Content-Length",Buffer.isBuffer(e)?e.length:Buffer.byteLength(e))}n.once("response",(e=>{if(o("%s %s -> %s",this.method,this.url,e.statusCode),this._responseTimeoutTimer&&clearTimeout(this._responseTimeoutTimer),this.piped)return;const a=this._maxRedirects,s=d.type(e.headers["content-type"]||"")||"text/plain",l=s.split("/")[0],c="multipart"==l,p=k(e.statusCode);let u=this._parser;const f=this._responseType;if(this.res=e,p&&this._redirects++!=a)return this._redirect(e);if("HEAD"==this.method)return this.emit("end"),void this.callback(null,this._emitResponse());if(this._shouldUnzip(e)&&g(n,e),!u)if(f)u=t.parse.image,i=!0;else if(c){const e=new r.IncomingForm;u=e.parse.bind(e),i=!0}else!function(e){const t=e.split("/")[0];return"image"==t||"video"==t}(s)?t.parse[s]?u=t.parse[s]:"text"==l?(u=t.parse.text,i=!1!==i):j(s)?(u=t.parse["application/json"],i=!1!==i):i&&(u=t.parse.text):(u=t.parse.image,i=!0);(void 0===i&&function(e){const t=e.split("/"),n=t[0],o=t[1];return"text"==n||"x-www-form-urlencoded"==o}(s)||j(s))&&(i=!0);let h=!1;if(i){let t=this._maxResponseSize||2e8;e.on("data",(n=>{if(t-=n.byteLength||n.length,t<0){const t=Error("Maximum response size reached");t.code="ETOOLARGE",h=!1,e.destroy(t)}}))}if(u)try{h=i,u(e,((e,t,n)=>{if(!this.timedout)return e&&!this._aborted?this.callback(e):void(h&&(this.emit("end"),this.callback(null,this._emitResponse(t,n))))}))}catch(e){return void this.callback(e)}if(this.res=e,i)e.once("error",(e=>{h=!1,this.callback(e,null)})),h||e.once("end",(()=>{o("end %s %s",this.method,this.url),this.emit("end"),this.callback(null,this._emitResponse())}));else{if(o("unbuffered %s %s",this.method,this.url),this.callback(null,this._emitResponse()),c)return;e.once("end",(()=>{o("end %s %s",this.method,this.url),this.emit("end")}))}})),this.emit("request",this);const s=this._formData;if(s){const e=s.getHeaders();for(const t in e)o('setting FormData header: "%s: %s"',t,e[t]),n.setHeader(t,e[t]);s.getLength(((e,t)=>{o("got FormData Content-Length: %s",t),"number"==typeof t&&n.setHeader("Content-Length",t),s.pipe((()=>{const e=n.getHeader("Content-Length");let t=0;const o=new u.Transform;return o._transform=(n,o,r)=>{t+=n.length,this.emit("progress",{direction:"upload",lengthComputable:!0,loaded:t,total:e}),r(null,n)},o})()).pipe(n)}))}else n.end(e);return this},E.prototype._shouldUnzip=e=>204!==e.statusCode&&304!==e.statusCode&&"0"!==e.headers["content-length"]&&/^\s*(?:deflate|gzip)\s*$/.test(e.headers["content-encoding"]),-1==p.indexOf("del")&&(p=p.slice(0),p.push("del")),p.forEach((e=>{const t=e;e=(e="del"==e?"delete":e).toUpperCase(),S[t]=(t,n,o)=>{const r=S(e,t);return"function"==typeof n&&(o=n,n=null),n&&("GET"===e||"HEAD"===e?r.query(n):r.send(n)),o&&r.end(o),r}}))},77315:e=>{"use strict";e.exports=(e,t)=>{const n=[];e.on("data",(e=>{n.push(e)})),e.on("end",(()=>{t(null,Buffer.concat(n))}))}},37127:(e,t,n)=>{"use strict";t["application/x-www-form-urlencoded"]=n(77147),t["application/json"]=n(34337),t.text=n(84882);const o=n(77315);t["application/octet-stream"]=o,t["application/pdf"]=o,t.image=o},34337:e=>{"use strict";e.exports=function(e,t){e.text="",e.setEncoding("utf8"),e.on("data",(t=>{e.text+=t})),e.on("end",(()=>{try{var n=e.text&&JSON.parse(e.text)}catch(t){var o=t;o.rawResponse=e.text||null,o.statusCode=e.statusCode}finally{t(o,n)}}))}},84882:e=>{"use strict";e.exports=function(e,t){e.text="",e.setEncoding("utf8"),e.on("data",(t=>{e.text+=t})),e.on("end",t)}},77147:(e,t,n)=>{"use strict";const o=n(46163);e.exports=function(e,t){e.text="",e.setEncoding("ascii"),e.on("data",(t=>{e.text+=t})),e.on("end",(()=>{try{t(null,o.parse(e.text))}catch(e){t(e)}}))}},84177:(e,t,n)=>{"use strict";const o=n(73837),r=n(12781),i=n(26648);function a(e){r.call(this);const t=this.res=e.res;this.request=e,this.req=e.req,this.text=t.text,this.body=void 0!==t.body?t.body:{},this.files=t.files||{},this.buffered="string"==typeof this.text,this.header=this.headers=t.headers,this._setStatusProperties(t.statusCode),this._setHeaderProperties(this.header),this.setEncoding=t.setEncoding.bind(t),t.on("data",this.emit.bind(this,"data")),t.on("end",this.emit.bind(this,"end")),t.on("close",this.emit.bind(this,"close")),t.on("error",this.emit.bind(this,"error"))}e.exports=a,o.inherits(a,r),i(a.prototype),a.prototype.destroy=function(e){this.res.destroy(e)},a.prototype.pause=function(){this.res.pause()},a.prototype.resume=function(){this.res.resume()},a.prototype.toError=function(){const e=this.req,t=e.method,n=e.path,o=`cannot ${t} ${n} (${this.status})`,r=new Error(o);return r.status=this.status,r.text=this.text,r.method=t,r.path=n,r},a.prototype.setStatusProperties=function(e){return console.warn("In superagent 2.x setStatusProperties is a private method"),this._setStatusProperties(e)},a.prototype.toJSON=function(){return{req:this.request.toJSON(),header:this.header,status:this.status,text:this.text}}},53519:(e,t,n)=>{"use strict";const o=n(71576).StringDecoder,r=n(12781),i=n(59796);t.R=(e,t)=>{const n=i.createUnzip(),a=new r;let s;a.req=e,n.on("error",(e=>{e&&"Z_BUF_ERROR"===e.code?a.emit("end"):a.emit("error",e)})),t.pipe(n),t.setEncoding=e=>{s=new o(e)},n.on("data",(e=>{if(s){const t=s.write(e);t.length&&a.emit("data",t)}else a.emit("data",e)})),n.on("end",(()=>{a.emit("end")}));const l=t.on;t.on=function(e,n){return"data"==e||"end"==e?a.on(e,n):"error"==e?(a.on(e,n),l.call(t,e,n)):l.call(t,e,n),this}}},38736:(e,t,n)=>{"use strict";var o=n(2971);function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}e.exports=r,r.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},r.prototype.parse=function(e){return this._parser=e,this},r.prototype.responseType=function(e){return this._responseType=e,this},r.prototype.serialize=function(e){return this._serializer=e,this},r.prototype.timeout=function(e){if(!e||"object"!=typeof e)return this._timeout=e,this._responseTimeout=0,this;for(var t in e)switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;default:console.warn("Unknown timeout option",t)}return this},r.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};var i=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];r.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&t.status>=500&&501!=t.status)return!0;if(e){if(e.code&&~i.indexOf(e.code))return!0;if(e.timeout&&"ECONNABORTED"==e.code)return!0;if(e.crossDomain)return!0}return!1},r.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},r.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){n.end((function(n,o){n?t(n):e(o)}))}))}return this._fullfilledPromise.then(e,t)},r.prototype.catch=function(e){return this.then(void 0,e)},r.prototype.use=function(e){return e(this),this},r.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},r.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},r.prototype.get=function(e){return this._header[e.toLowerCase()]},r.prototype.getHeader=r.prototype.get,r.prototype.set=function(e,t){if(o(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},r.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},r.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),o(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)this.field(e,t[r]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},r.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},r.prototype._auth=function(e,t,n,o){switch(n.type){case"basic":this.set("Authorization","Basic "+o(e+":"+t));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer "+e)}return this},r.prototype.withCredentials=function(e){return null==e&&(e=!0),this._withCredentials=e,this},r.prototype.redirects=function(e){return this._maxRedirects=e,this},r.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw TypeError("Invalid argument");return this._maxResponseSize=e,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(e){var t=o(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&o(this._data))for(var r in e)this._data[r]=e[r];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)||n||this.type("json"),this},r.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},r.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},r.prototype._appendQueryString=function(){console.trace("Unsupported")},r.prototype._timeoutError=function(e,t,n){if(!this._aborted){var o=new Error(e+t+"ms exceeded");o.timeout=t,o.code="ECONNABORTED",o.errno=n,this.timedout=!0,this.abort(),this.callback(o)}},r.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},26648:(e,t,n)=>{"use strict";var o=n(44016);function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}e.exports=r,r.prototype.get=function(e){return this.header[e.toLowerCase()]},r.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=o.type(t);var n=o.params(t);for(var r in n)this[r]=n[r];this.links={};try{e.link&&(this.links=o.parseLinks(e.link))}catch(e){}},r.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e}},44016:(e,t)=>{"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce((function(e,t){var n=t.split(/ *= */),o=n.shift(),r=n.shift();return o&&r&&(e[o]=r),e}),{})},t.parseLinks=function(e){return e.split(/ *, */).reduce((function(e,t){var n=t.split(/ *; */),o=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=o,e}),{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},77612:(e,t,n)=>{"use strict";const o=n(22037),r=n(43966),i=process.env;let a;function s(e){const t=function(e){if(!1===a)return 0;if(r("color=16m")||r("color=full")||r("color=truecolor"))return 3;if(r("color=256"))return 2;if(e&&!e.isTTY&&!0!==a)return 0;const t=a?1:0;if("win32"===process.platform){const e=o.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in i))||"codeship"===i.CI_NAME?1:t;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if("truecolor"===i.COLORTERM)return 3;if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:(i.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}r("no-color")||r("no-colors")||r("color=false")?a=!1:(r("color")||r("colors")||r("color=true")||r("color=always"))&&(a=!0),"FORCE_COLOR"in i&&(a=0===i.FORCE_COLOR.length||0!==parseInt(i.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},69097:(e,t,n)=>{"use strict";var o=n(85477),r=n(53198),i={TRANSITIONAL:0,NONTRANSITIONAL:1};function a(e){return e.split("\0").map((function(e){return e.normalize("NFC")})).join("\0")}function s(e){for(var t=0,n=r.length-1;t<=n;){var o=Math.floor((t+n)/2),i=r[o];if(i[0][0]<=e&&i[0][1]>=e)return i;i[0][0]>e?n=o-1:t=o+1}return null}var l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function c(e){return e.replace(l,"_").length}var p=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function u(e,t){"xn--"===e.substr(0,4)&&(e=o.toUnicode(e));var n=!1;(a(e)!==e||"-"===e[3]&&"-"===e[4]||"-"===e[0]||"-"===e[e.length-1]||-1!==e.indexOf(".")||0===e.search(p))&&(n=!0);for(var r=c(e),l=0;l253||0===s.length)&&(i.error=!0);for(var l=0;l63||0===a.length){i.error=!0;break}}return i.error?null:a.join(".")},e.exports.toUnicode=function(e,t){var n=d(e,t,i.NONTRANSITIONAL);return{domain:n.string,error:n.error}},e.exports.PROCESSING_OPTIONS=i},97853:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAction=void 0;const o=n(42036),r=n(26127),i=n(63534),a=n(5737),s=n(974);t.createAction=function e(t){if(null==t)return;let n=t,l=e(t.nextAction);switch(n.type){case o.ActionType.STORAGE:return new s.StorageActionHandler(n,l);case o.ActionType.CODE:return new r.CodeActionHandler(n,l);case o.ActionType.PIECE:return new i.PieceActionHandler(n,l);case o.ActionType.LOOP_ON_ITEMS:return new a.LoopOnItemActionHandler(n,e(t.firstLoopAction),l)}}},72150:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseActionHandler=void 0,t.BaseActionHandler=class{constructor(e,t){this.action=e,this.nextAction=t}}},26127:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeActionHandler=void 0;const o=n(41312),r=n(76672),i=n(42036),a=n(72150);class s extends a.BaseActionHandler{constructor(e,t){super(e,t),this.variableService=new o.VariableService}async execute(e,t){const n=new i.StepOutput,o=this.variableService.resolve(this.action.settings.input,e);n.input=o;try{const e=new r.CodeExecutor;return n.output=await e.executeCode(this.action.settings.artifactPackagedId,o),n.status=i.StepOutputStatus.SUCCEEDED,n}catch(e){return n.errorMessage=e.message,n.status=i.StepOutputStatus.FAILED,n}}}t.CodeActionHandler=s},5737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoopOnItemActionHandler=void 0;const o=n(37100),r=n(41312),i=n(72150),a=n(42036);class s extends i.BaseActionHandler{constructor(e,t,n){super(e,n),this.action=e,this.variableService=new r.VariableService,this.firstLoopAction=t}getError(e){var t,n;if(void 0===(null===(t=e.output)||void 0===t?void 0:t.iterations))throw new Error("Iteration can't be undefined");for(const t of null===(n=e.output)||void 0===n?void 0:n.iterations)for(const e of Object.values(t))if(e.status===a.StepOutputStatus.FAILED)return e.errorMessage}async execute(e,t){const n=this.variableService.resolve(this.action.settings,e),r=new a.LoopOnItemsStepOutput;r.input=n,r.output={current_iteration:1,current_item:void 0,iterations:[]},e.insertStep(r,this.action.name,t);const i=r.output;try{for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PieceActionHandler=void 0;const o=n(41312),r=n(42036),i=n(72150),a=n(96429);class s extends i.BaseActionHandler{constructor(e,t){super(e,t),this.variableService=new o.VariableService}async execute(e,t){const n=new r.StepOutput,o=this.variableService.resolve(this.action.settings.input,e);n.input=o;try{const e=new a.PieceExecutor;return n.output=await e.exec(this.action.settings.pieceName,this.action.settings.actionName,o),n.status=r.StepOutputStatus.SUCCEEDED,n}catch(e){return n.errorMessage=e.message,n.status=r.StepOutputStatus.FAILED,n}}}t.PieceActionHandler=s},974:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StorageActionHandler=void 0;const o=n(75077),r=n(41312),i=n(42036),a=n(72150),s=n(42036),l=n(5789);class c extends a.BaseActionHandler{constructor(e,t){super(e,t),this.variableService=new r.VariableService}async execute(e,t){var n,r,a,c;const p=new i.StepOutput;try{let t;const u={Authorization:"Bearer "+o.globals.workerToken},d=this.variableService.resolve(this.action.settings.key,e);switch(this.action.settings.operation){case s.StoreOperation.GET:t=null!==(r=null===(n=(await l.default.get(o.globals.apiUrl+"/v1/store-entries?key="+d,{headers:u})).data)||void 0===n?void 0:n.value)&&void 0!==r?r:null;break;case s.StoreOperation.PUT:const i={value:this.variableService.resolve(this.action.settings.value,e),key:d};t=null!==(c=null===(a=(await(0,l.default)({method:"POST",url:o.globals.apiUrl+"/v1/store-entries",data:i,headers:u})).data)||void 0===a?void 0:a.value)&&void 0!==c?c:null}p.output={value:t},p.status=i.StepOutputStatus.SUCCEEDED}catch(e){console.error(e),p.status=i.StepOutputStatus.FAILED}return Promise.resolve(p)}}t.StorageActionHandler=c},76672:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeExecutor=void 0;const o=n(75077);t.CodeExecutor=class{async executeCode(e,t){try{const n=e+".js",r=`${o.globals.codeDirectory}/${n}`;return await this.runCode(r,t)}catch(e){throw e}}async runCode(e,t){return await require(e).code(t)}}},37100:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlowExecutor=void 0;const o=n(13736),r=n(75077),i=n(42036),a=n(97853);t.FlowExecutor=class{constructor(e){this.executionState=e}async executeFlow(e,t){var n;try{const o=(new Date).getTime(),r=this.prepareFlow(e,t),i=await this.iterateFlow((0,a.createAction)(null===(n=r.trigger)||void 0===n?void 0:n.nextAction),[]),s=(new Date).getTime()-o;return this.getExecutionOutput(i,s)}catch(e){return console.error(e),{status:i.ExecutionOutputStatus.FAILED,executionState:this.executionState,duration:0,errorMessage:{stepName:"Flow Execution",errorMessage:e.message}}}}getExecutionOutput(e,t){return e?{status:i.ExecutionOutputStatus.SUCCEEDED,executionState:this.executionState,duration:t,errorMessage:void 0}:{status:i.ExecutionOutputStatus.FAILED,executionState:this.executionState,duration:t,errorMessage:this.getError()}}getError(){for(const[e,t]of Object.entries(this.executionState.steps))if(t.status===i.StepOutputStatus.FAILED)return{stepName:e,errorMessage:t.errorMessage}}async iterateFlow(e,t){if(void 0===e)return!0;const n=(new Date).getTime(),o=await e.execute(this.executionState,t),r=(new Date).getTime();return o.duration=r-n,this.executionState.insertStep(o,e.action.name,t),o.status!==i.StepOutputStatus.FAILED&&await this.iterateFlow(e.nextAction,t)}prepareFlow(e,t){try{const n=o.Utils.parseJsonFile(`${r.globals.collectionDirectory}/${e}.json`),i=o.Utils.parseJsonFile(`${r.globals.flowDirectory}/${t}.json`);let a=new Map(n.configs.map((e=>[e.key,e.value])));return this.executionState.insertConfigs(a),i}catch(e){throw Error(e.message)}}}},96429:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PieceExecutor=void 0;const o=n(86928);t.PieceExecutor=class{async exec(e,t,n){const o=this.getPiece(e);return await o.getAction(t).run({propsValue:n})}getPiece(e){const t=o.pieces.find((t=>t.name===e));if(!t)throw new Error(`error=piece_not_found piece_name=${e}`);return t}}},75077:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.globals=void 0,t.globals=new class{constructor(){this._collectionDirectory="./collections",this._flowDirectory="./flows",this._codeDirectory="./codes",this._inputFile="./input.json",this._outputFile="./output.json",this._executorFile="./executor.js",this._workerToken="",this._apiUrl=""}set apiUrl(e){this._apiUrl=e}get apiUrl(){return this._apiUrl}set workerToken(e){this._workerToken=e}get workerToken(){return this._workerToken}get collectionDirectory(){return this._collectionDirectory}get flowDirectory(){return this._flowDirectory}get codeDirectory(){return this._codeDirectory}get inputFile(){return this._inputFile}get outputFile(){return this._outputFile}get executorFile(){return this._executorFile}}},41312:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VariableService=void 0;const o=n(39378),r=n(39378);class i{constructor(){this.VARIABLE_TOKEN=RegExp("\\$\\{(.*?)\\}","g"),this.CONFIGS="configs",this.CONTEXT="context",this.STEPS="steps"}findPath(e){const t=e.split(".");return t.length>0&&t[0]!==this.CONFIGS&&t[0]!==this.CONTEXT&&t.splice(0,0,this.STEPS),t.join(".")}resolveInput(e,t){return null!==e.match(this.VARIABLE_TOKEN)&&1===e.match(this.VARIABLE_TOKEN).length&&e.match(this.VARIABLE_TOKEN)[0]===e?i.copyFromMap(t,this.findPath(e.substring(2,e.length-1))):e.replace(this.VARIABLE_TOKEN,((e,n)=>{const o=i.copyFromMap(t,this.findPath(n));return void 0===o?"":(0,r.isString)(o)?o:JSON.stringify(o)}))}static copyFromMap(e,t){const n=(0,o.get)(e,t);return void 0===n?"":n}resolveInternally(e,t){return null==e?e:(0,r.isString)(e)?this.resolveInput(e,t):(Array.isArray(e)?e.forEach(((n,o)=>e[o]=this.resolveInternally(n,t))):"object"==typeof e&&Object.entries(e).forEach((([n,o])=>{e[n]=this.resolveInternally(o,t)})),e)}getExecutionStateObject(e){const t={configs:{},steps:{}};return Object.entries(e.configs).forEach((([e,n])=>{t.configs[e]=n})),Object.entries(e.lastStepState).forEach((([e,n])=>{t.steps[e]=n})),t}resolve(e,t){return this.resolveInternally(JSON.parse(JSON.stringify(e)),this.getExecutionStateObject(t))}}t.VariableService=i},13736:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Utils=void 0;const o=n(57147);t.Utils=class{static parseJsonFile(e){try{const t=(0,o.readFileSync)(e,"utf-8");return JSON.parse(t.toString())}catch(e){throw Error(e.message)}}static writeToJsonFile(e,t){(0,o.writeFileSync)(e,JSON.stringify(t,((e,t)=>t instanceof Map?Object.fromEntries(t):t)),"utf-8")}}},64096:(e,t,n)=>{e.exports=n(73837).deprecate},70513:e=>{"use strict";var t={};function n(e){return e<0?-1:1}function o(e,t){t.unsigned||--e;const o=t.unsigned?0:-Math.pow(2,e),r=Math.pow(2,e)-1,i=t.moduloBitLength?Math.pow(2,t.moduloBitLength):Math.pow(2,e),a=t.moduloBitLength?Math.pow(2,t.moduloBitLength-1):Math.pow(2,e-1);return function(e,s){s||(s={});let l=+e;if(s.enforceRange){if(!Number.isFinite(l))throw new TypeError("Argument is not a finite number");if(l=n(l)*Math.floor(Math.abs(l)),lr)throw new TypeError("Argument is not in byte range");return l}if(!isNaN(l)&&s.clamp)return l=function(e){return e%1==.5&&0==(1&e)?Math.floor(e):Math.round(e)}(l),lr&&(l=r),l;if(!Number.isFinite(l)||0===l)return 0;if(l=n(l)*Math.floor(Math.abs(l)),l%=i,!t.unsigned&&l>=a)return l-i;if(t.unsigned)if(l<0)l+=i;else if(-0===l)return 0;return l}}e.exports=t,t.void=function(){},t.boolean=function(e){return!!e},t.byte=o(8,{unsigned:!1}),t.octet=o(8,{unsigned:!0}),t.short=o(16,{unsigned:!1}),t["unsigned short"]=o(16,{unsigned:!0}),t.long=o(32,{unsigned:!1}),t["unsigned long"]=o(32,{unsigned:!0}),t["long long"]=o(32,{unsigned:!1,moduloBitLength:64}),t["unsigned long long"]=o(32,{unsigned:!0,moduloBitLength:64}),t.double=function(e){const t=+e;if(!Number.isFinite(t))throw new TypeError("Argument is not a finite floating-point value");return t},t["unrestricted double"]=function(e){const t=+e;if(isNaN(t))throw new TypeError("Argument is NaN");return t},t.float=t.double,t["unrestricted float"]=t["unrestricted double"],t.DOMString=function(e,t){return t||(t={}),t.treatNullAsEmptyString&&null===e?"":String(e)},t.ByteString=function(e,t){const n=String(e);let o;for(let e=0;void 0!==(o=n.codePointAt(e));++e)if(o>255)throw new TypeError("Argument is not a valid bytestring");return n},t.USVString=function(e){const t=String(e),n=t.length,o=[];for(let e=0;e57343)o.push(String.fromCodePoint(r));else if(56320<=r&&r<=57343)o.push(String.fromCodePoint(65533));else if(e===n-1)o.push(String.fromCodePoint(65533));else{const n=t.charCodeAt(e+1);if(56320<=n&&n<=57343){const t=1023&r,i=1023&n;o.push(String.fromCodePoint(65536+1024*t+i)),++e}else o.push(String.fromCodePoint(65533))}}return o.join("")},t.Date=function(e,t){if(!(e instanceof Date))throw new TypeError("Argument is not a Date object");if(!isNaN(e))return e},t.RegExp=function(e,t){return e instanceof RegExp||(e=new RegExp(e)),e}},65036:(e,t,n)=>{"use strict";const o=n(13794);t.implementation=class{constructor(e){const t=e[0],n=e[1];let r=null;if(void 0!==n&&(r=o.basicURLParse(n),"failure"===r))throw new TypeError("Invalid base URL");const i=o.basicURLParse(t,{baseURL:r});if("failure"===i)throw new TypeError("Invalid URL");this._url=i}get href(){return o.serializeURL(this._url)}set href(e){const t=o.basicURLParse(e);if("failure"===t)throw new TypeError("Invalid URL");this._url=t}get origin(){return o.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(e){o.basicURLParse(e+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){o.cannotHaveAUsernamePasswordPort(this._url)||o.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){o.cannotHaveAUsernamePasswordPort(this._url)||o.setThePassword(this._url,e)}get host(){const e=this._url;return null===e.host?"":null===e.port?o.serializeHost(e.host):o.serializeHost(e.host)+":"+o.serializeInteger(e.port)}set host(e){this._url.cannotBeABaseURL||o.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){return null===this._url.host?"":o.serializeHost(this._url.host)}set hostname(e){this._url.cannotBeABaseURL||o.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){return null===this._url.port?"":o.serializeInteger(this._url.port)}set port(e){o.cannotHaveAUsernamePasswordPort(this._url)||(""===e?this._url.port=null:o.basicURLParse(e,{url:this._url,stateOverride:"port"}))}get pathname(){return this._url.cannotBeABaseURL?this._url.path[0]:0===this._url.path.length?"":"/"+this._url.path.join("/")}set pathname(e){this._url.cannotBeABaseURL||(this._url.path=[],o.basicURLParse(e,{url:this._url,stateOverride:"path start"}))}get search(){return null===this._url.query||""===this._url.query?"":"?"+this._url.query}set search(e){const t=this._url;if(""===e)return void(t.query=null);const n="?"===e[0]?e.substring(1):e;t.query="",o.basicURLParse(n,{url:t,stateOverride:"query"})}get hash(){return null===this._url.fragment||""===this._url.fragment?"":"#"+this._url.fragment}set hash(e){if(""===e)return void(this._url.fragment=null);const t="#"===e[0]?e.substring(1):e;this._url.fragment="",o.basicURLParse(t,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}},55873:(e,t,n)=>{"use strict";const o=n(70513),r=n(85961),i=n(65036),a=r.implSymbol;function s(t){if(!this||this[a]||!(this instanceof s))throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");if(arguments.length<1)throw new TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.");const n=[];for(let e=0;e!!e&&e[a]instanceof i.implementation,create(e,t){let n=Object.create(s.prototype);return this.setup(n,e,t),n},setup(e,t,n){n||(n={}),n.wrapper=e,e[a]=new i.implementation(t,n),e[a][r.wrapperSymbol]=e},interface:s,expose:{Window:{URL:s},Worker:{URL:s}}}},89897:(e,t,n)=>{"use strict";t.URL=n(55873).interface,n(13794).serializeURL,n(13794).serializeURLOrigin,n(13794).basicURLParse,n(13794).setTheUsername,n(13794).setThePassword,n(13794).serializeHost,n(13794).serializeInteger,n(13794).parseURL},13794:(e,t,n)=>{"use strict";const o=n(85477),r=n(69097),i={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},a=Symbol("failure");function s(e){return o.ucs2.decode(e).length}function l(e,t){const n=e[t];return isNaN(n)?void 0:String.fromCodePoint(n)}function c(e){return e>=48&&e<=57}function p(e){return e>=65&&e<=90||e>=97&&e<=122}function u(e){return c(e)||e>=65&&e<=70||e>=97&&e<=102}function d(e){return"."===e||"%2e"===e.toLowerCase()}function g(e){return 2===e.length&&p(e.codePointAt(0))&&(":"===e[1]||"|"===e[1])}function f(e){return void 0!==i[e]}function h(e){return f(e.scheme)}function m(e){let t=e.toString(16).toUpperCase();return 1===t.length&&(t="0"+t),"%"+t}function y(e){return e<=31||e>126}const v=new Set([32,34,35,60,62,63,96,123,125]);function b(e){return y(e)||v.has(e)}const O=new Set([47,58,59,61,64,91,92,93,94,124]);function w(e){return b(e)||O.has(e)}function P(e,t){const n=String.fromCodePoint(e);return t(e)?function(e){const t=new Buffer(e);let n="";for(let e=0;e=2&&"0"===e.charAt(0)&&"x"===e.charAt(1).toLowerCase()?(e=e.substring(2),t=16):e.length>=2&&"0"===e.charAt(0)&&(e=e.substring(1),t=8),""===e?0:(10===t?/[^0-9]/:16===t?/[^0-9A-Fa-f]/:/[^0-7]/).test(e)?a:parseInt(e,t)}function S(e,t){if("["===e[0])return"]"!==e[e.length-1]?a:function(e){const t=[0,0,0,0,0,0,0,0];let n=0,r=null,i=0;if(58===(e=o.ucs2.decode(e))[i]){if(58!==e[i+1])return a;i+=2,++n,r=n}for(;i6)return a;let o=0;for(;void 0!==e[i];){let r=null;if(o>0){if(!(46===e[i]&&o<4))return a;++i}if(!c(e[i]))return a;for(;c(e[i]);){const t=parseInt(l(e,i));if(null===r)r=t;else{if(0===r)return a;r=10*r+t}if(r>255)return a;++i}t[n]=256*t[n]+r,++o,2!==o&&4!==o||++n}if(4!==o)return a;break}if(58===e[i]){if(++i,void 0===e[i])return a}else if(void 0!==e[i])return a;t[n]=o,++n}if(null!==r){let e=n-r;for(n=7;0!==n&&e>0;){const o=t[r+e-1];t[r+e-1]=t[n],t[n]=o,--n,--e}}else if(null===r&&8!==n)return a;return t}(e.substring(1,e.length-1));if(!t)return function(e){if(-1!==e.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/))return a;let t="";const n=o.ucs2.decode(e);for(let e=0;e1&&t.pop(),t.length>4)return e;const n=[];for(const o of t){if(""===o)return e;const t=x(o);if(t===a)return e;n.push(t)}for(let e=0;e255)return a;if(n[n.length-1]>=Math.pow(256,5-n.length))return a;let o=n.pop(),r=0;for(const e of n)o+=e*Math.pow(256,3-r),++r;return o}(i);return"number"==typeof s||s===a?s:i}function T(e){return"number"==typeof e?function(e){let t="",n=e;for(let e=1;e<=4;++e)t=String(n%256)+t,4!==e&&(t="."+t),n=Math.floor(n/256);return t}(e):e instanceof Array?"["+function(e){let t="";const n=function(e){let t=null,n=1,o=null,r=0;for(let i=0;in&&(t=o,n=r),o=null,r=0):(null===o&&(o=i),++r);return r>n&&(t=o,n=r),{idx:t,len:n}}(e).idx;let o=!1;for(let r=0;r<=7;++r)o&&0===e[r]||(o&&(o=!1),n!==r?(t+=e[r].toString(16),7!==r&&(t+=":")):(t+=0===r?"::":":",o=!0));return t}(e)+"]":e}function A(e){const t=e.path;var n;0!==t.length&&("file"===e.scheme&&1===t.length&&(n=t[0],/^[A-Za-z]:$/.test(n))||t.pop())}function E(e){return""!==e.username||""!==e.password}function j(e,t,n,r,i){if(this.pointer=0,this.input=e,this.base=t||null,this.encodingOverride=n||"utf-8",this.stateOverride=i,this.url=r,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:!1};const e=function(e){return e.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"")}(this.input);e!==this.input&&(this.parseError=!0),this.input=e}const s=function(e){return e.replace(/\u0009|\u000A|\u000D/g,"")}(this.input);for(s!==this.input&&(this.parseError=!0),this.input=s,this.state=i||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=o.ucs2.decode(this.input);this.pointer<=this.input.length;++this.pointer){const e=this.input[this.pointer],t=isNaN(e)?void 0:String.fromCodePoint(e),n=this["parse "+this.state](e,t);if(!n)break;if(n===a){this.failure=!0;break}}}j.prototype["parse scheme start"]=function(e,t){if(p(e))this.buffer+=t.toLowerCase(),this.state="scheme";else{if(this.stateOverride)return this.parseError=!0,a;this.state="no scheme",--this.pointer}return!0},j.prototype["parse scheme"]=function(e,t){if(function(e){return p(e)||c(e)}(e)||43===e||45===e||46===e)this.buffer+=t.toLowerCase();else if(58===e){if(this.stateOverride){if(h(this.url)&&!f(this.buffer))return!1;if(!h(this.url)&&f(this.buffer))return!1;if((E(this.url)||null!==this.url.port)&&"file"===this.buffer)return!1;if("file"===this.url.scheme&&(""===this.url.host||null===this.url.host))return!1}if(this.url.scheme=this.buffer,this.buffer="",this.stateOverride)return!1;"file"===this.url.scheme?(47===this.input[this.pointer+1]&&47===this.input[this.pointer+2]||(this.parseError=!0),this.state="file"):h(this.url)&&null!==this.base&&this.base.scheme===this.url.scheme?this.state="special relative or authority":h(this.url)?this.state="special authority slashes":47===this.input[this.pointer+1]?(this.state="path or authority",++this.pointer):(this.url.cannotBeABaseURL=!0,this.url.path.push(""),this.state="cannot-be-a-base-URL path")}else{if(this.stateOverride)return this.parseError=!0,a;this.buffer="",this.state="no scheme",this.pointer=-1}return!0},j.prototype["parse no scheme"]=function(e){return null===this.base||this.base.cannotBeABaseURL&&35!==e?a:(this.base.cannotBeABaseURL&&35===e?(this.url.scheme=this.base.scheme,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.url.cannotBeABaseURL=!0,this.state="fragment"):"file"===this.base.scheme?(this.state="file",--this.pointer):(this.state="relative",--this.pointer),!0)},j.prototype["parse special relative or authority"]=function(e){return 47===e&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="relative",--this.pointer),!0},j.prototype["parse path or authority"]=function(e){return 47===e?this.state="authority":(this.state="path",--this.pointer),!0},j.prototype["parse relative"]=function(e){return this.url.scheme=this.base.scheme,isNaN(e)?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query):47===e?this.state="relative slash":63===e?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):h(this.url)&&92===e?(this.parseError=!0,this.state="relative slash"):(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(0,this.base.path.length-1),this.state="path",--this.pointer),!0},j.prototype["parse relative slash"]=function(e){return!h(this.url)||47!==e&&92!==e?47===e?this.state="authority":(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer):(92===e&&(this.parseError=!0),this.state="special authority ignore slashes"),!0},j.prototype["parse special authority slashes"]=function(e){return 47===e&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="special authority ignore slashes",--this.pointer),!0},j.prototype["parse special authority ignore slashes"]=function(e){return 47!==e&&92!==e?(this.state="authority",--this.pointer):this.parseError=!0,!0},j.prototype["parse authority"]=function(e,t){if(64===e){this.parseError=!0,this.atFlag&&(this.buffer="%40"+this.buffer),this.atFlag=!0;const e=s(this.buffer);for(let t=0;tMath.pow(2,16)-1)return this.parseError=!0,a;this.url.port=e===(n=this.url.scheme,i[n])?null:e,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}var n;return!0};const k=new Set([47,92,63,35]);j.prototype["parse file"]=function(e){var t,n;return this.url.scheme="file",47===e||92===e?(92===e&&(this.parseError=!0),this.state="file slash"):null!==this.base&&"file"===this.base.scheme?isNaN(e)?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query):63===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):(this.input.length-this.pointer-1==0||(t=e,n=this.input[this.pointer+1],!p(t)||58!==n&&124!==n)||this.input.length-this.pointer-1>=2&&!k.has(this.input[this.pointer+2])?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),A(this.url)):this.parseError=!0,this.state="path",--this.pointer):(this.state="path",--this.pointer),!0},j.prototype["parse file slash"]=function(e){var t;return 47===e||92===e?(92===e&&(this.parseError=!0),this.state="file host"):(null!==this.base&&"file"===this.base.scheme&&(2===(t=this.base.path[0]).length&&p(t.codePointAt(0))&&":"===t[1]?this.url.path.push(this.base.path[0]):this.url.host=this.base.host),this.state="path",--this.pointer),!0},j.prototype["parse file host"]=function(e,t){if(isNaN(e)||47===e||92===e||63===e||35===e)if(--this.pointer,!this.stateOverride&&g(this.buffer))this.parseError=!0,this.state="path";else if(""===this.buffer){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let e=S(this.buffer,h(this.url));if(e===a)return a;if("localhost"===e&&(e=""),this.url.host=e,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=t;return!0},j.prototype["parse path start"]=function(e){return h(this.url)?(92===e&&(this.parseError=!0),this.state="path",47!==e&&92!==e&&--this.pointer):this.stateOverride||63!==e?this.stateOverride||35!==e?void 0!==e&&(this.state="path",47!==e&&--this.pointer):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},j.prototype["parse path"]=function(e){if(isNaN(e)||47===e||h(this.url)&&92===e||!this.stateOverride&&(63===e||35===e)){if(h(this.url)&&92===e&&(this.parseError=!0),".."===(t=(t=this.buffer).toLowerCase())||"%2e."===t||".%2e"===t||"%2e%2e"===t?(A(this.url),47===e||h(this.url)&&92===e||this.url.path.push("")):!d(this.buffer)||47===e||h(this.url)&&92===e?d(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&g(this.buffer)&&(""!==this.url.host&&null!==this.url.host&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)):this.url.path.push(""),this.buffer="","file"===this.url.scheme&&(void 0===e||63===e||35===e))for(;this.url.path.length>1&&""===this.url.path[0];)this.parseError=!0,this.url.path.shift();63===e&&(this.url.query="",this.state="query"),35===e&&(this.url.fragment="",this.state="fragment")}else 37!==e||u(this.input[this.pointer+1])&&u(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=P(e,b);var t;return!0},j.prototype["parse cannot-be-a-base-URL path"]=function(e){return 63===e?(this.url.query="",this.state="query"):35===e?(this.url.fragment="",this.state="fragment"):(isNaN(e)||37===e||(this.parseError=!0),37!==e||u(this.input[this.pointer+1])&&u(this.input[this.pointer+2])||(this.parseError=!0),isNaN(e)||(this.url.path[0]=this.url.path[0]+P(e,y))),!0},j.prototype["parse query"]=function(e,t){if(isNaN(e)||!this.stateOverride&&35===e){h(this.url)&&"ws"!==this.url.scheme&&"wss"!==this.url.scheme||(this.encodingOverride="utf-8");const t=new Buffer(this.buffer);for(let e=0;e126||34===t[e]||35===t[e]||60===t[e]||62===t[e]?this.url.query+=m(t[e]):this.url.query+=String.fromCodePoint(t[e]);this.buffer="",35===e&&(this.url.fragment="",this.state="fragment")}else 37!==e||u(this.input[this.pointer+1])&&u(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=t;return!0},j.prototype["parse fragment"]=function(e){return isNaN(e)||(0===e?this.parseError=!0:(37!==e||u(this.input[this.pointer+1])&&u(this.input[this.pointer+2])||(this.parseError=!0),this.url.fragment+=P(e,y))),!0},e.exports.serializeURL=function(e,t){let n=e.scheme+":";if(null!==e.host?(n+="//",""===e.username&&""===e.password||(n+=e.username,""!==e.password&&(n+=":"+e.password),n+="@"),n+=T(e.host),null!==e.port&&(n+=":"+e.port)):null===e.host&&"file"===e.scheme&&(n+="//"),e.cannotBeABaseURL)n+=e.path[0];else for(const t of e.path)n+="/"+t;return null!==e.query&&(n+="?"+e.query),t||null===e.fragment||(n+="#"+e.fragment),n},e.exports.serializeURLOrigin=function(t){switch(t.scheme){case"blob":try{return e.exports.serializeURLOrigin(e.exports.parseURL(t.path[0]))}catch(e){return"null"}case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(e){let t=e.scheme+"://";return t+=T(e.host),null!==e.port&&(t+=":"+e.port),t}({scheme:t.scheme,host:t.host,port:t.port});case"file":return"file://";default:return"null"}},e.exports.basicURLParse=function(e,t){void 0===t&&(t={});const n=new j(e,t.baseURL,t.encodingOverride,t.url,t.stateOverride);return n.failure?"failure":n.url},e.exports.setTheUsername=function(e,t){e.username="";const n=o.ucs2.decode(t);for(let t=0;t{"use strict";e.exports.mixin=function(e,t){const n=Object.getOwnPropertyNames(t);for(let o=0;o{e.exports=function e(t,n){if(t&&n)return e(t)(n);if("function"!=typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach((function(e){o[e]=t[e]})),o;function o(){for(var e=new Array(arguments.length),n=0;n{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},87406:(e,t,n)=>{"use strict";function o(e){var t=this;if(t instanceof o||(t=new o),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,r=arguments.length;n1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");o=this.head.next,n=this.head.value}for(var r=0;null!==o;r++)n=e(n,o.value,r),o=o.next;return n},o.prototype.reduceReverse=function(e,t){var n,o=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");o=this.tail.prev,n=this.tail.value}for(var r=this.length-1;null!==o;r--)n=e(n,o.value,r),o=o.prev;return n},o.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},o.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},o.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new o;if(tthis.length&&(t=this.length);for(var r=0,i=this.head;null!==i&&rthis.length&&(t=this.length);for(var r=this.length,i=this.tail;null!==i&&r>t;r--)i=i.prev;for(;null!==i&&r>e;r--,i=i.prev)n.push(i.value);return n},o.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var o=0,i=this.head;null!==i&&o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertPdfToText=void 0;const o=n(73953),r=n(39231),i=n(44944),a=n(33128),s=n(29692);t.convertPdfToText=(0,o.createAction)({name:"convert_pdf_to_text",displayName:"Convert pdf to text",description:"using google cloud vision will convert pdf to text",props:{serviceAccountCredentials:r.Property.LongText({displayName:"Service Account Credentials",required:!0}),allPages:r.Property.Checkbox({displayName:"Do you want to convert all pages ?",required:!1,description:"If checked, starting and ending page will be ignored"}),startingPage:r.Property.Number({displayName:"Starting Page",required:!1,description:"Starting page number"}),endingPage:r.Property.Number({displayName:"Ending Page",required:!1,description:"Ending page number"}),googleCloudStorageLocation:r.Property.ShortText({displayName:"Google Cloud Storage Location",required:!0,description:"gs://direct-upload/hello.pdf"})},async run({propsValue:e}){const t=function(e){const t={auth:e};return new i.ImageAnnotatorClient(t)}((0,a.createAuth)(e.serviceAccountCredentials)),n={mimeType:"application/pdf",gcsSource:{uri:e.googleCloudStorageLocation}};e.allPages&&(e.startingPage=1,e.endingPage=-1);const o=function(e,t,n){return{inputConfig:e,features:[{type:"DOCUMENT_TEXT_DETECTION"}],pages:n}}(n,0,[e.startingPage,e.endingPage]),r={requests:[o]},[l]=await t.batchAnnotateFiles(r);(0,s.assertNotNullOrUndefined)(l.responses,"No response from google cloud vision",0);const[c]=l.responses;(0,s.assertNotNullOrUndefined)(c.responses,"No response from google cloud vision",0);let p="";for(const e of c.responses)(0,s.assertNotNullOrUndefined)(e.fullTextAnnotation,"No response from google cloud vision",0),p+=`Page ${c.responses.indexOf(e)+1}:`,p+=e.fullTextAnnotation.text;return p}})},33128:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.googleAuthCommon=t.createAuth=void 0;const o=n(81173),r=e=>{const{client_email:t,private_key:n}=JSON.parse(e);return{client_email:t,private_key:n}};t.createAuth=e=>{const{client_email:t,private_key:n}=r(e);return new o.GoogleAuth({credentials:{client_email:t,private_key:n},scopes:"https://www.googleapis.com/auth/cloud-platform"})},t.googleAuthCommon={parseServiceAccountCredentials:r,createAuth:t.createAuth}},66407:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cloudVisionAI=void 0;const o=n(71754),r=n(49437);t.cloudVisionAI=(0,o.createPiece)({name:"cloudVisionAI",displayName:"Google Cloud Vision AI",logoUrl:"https://cdn.activepieces.com/pieces/googleCloud.png",actions:[r.convertPdfToText],triggers:[]})},49899:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.discordSendMessage=void 0;const o=n(28243),r=n(88488),i=n(73953),a=n(39231),s=n(60432);t.discordSendMessage=(0,i.createAction)({name:"send_message",description:"Send a discord message",displayName:"Send Message",props:{authentication:s.discordCommon.authentication,bot_token:s.discordCommon.bot_token,channel:s.discordCommon.channel,content:a.Property.LongText({displayName:"Message",required:!0})},async run(e){const t={method:r.HttpMethod.POST,url:`${s.discordCommon.baseUrl}/channels/${e.propsValue.channel}/messages`,headers:{Authorization:`Bot ${e.propsValue.bot_token}`},body:{content:e.propsValue.content}};return await o.httpClient.sendRequest(t)}})},60432:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.discordCommon=void 0;const o=n(39231),r=n(88488),i=n(28243);t.discordCommon={baseUrl:"https://discord.com/api",authentication:o.Property.OAuth2({displayName:"Authentication",required:!0,authUrl:"https://discord.com/oauth2/authorize",tokenUrl:"https://discord.com/api/oauth2/token",scope:["bot"],extra:{permissions:8}}),bot_token:o.Property.ShortText({displayName:"Bot token",required:!0}),channel:o.Property.Dropdown({displayName:"Channel",required:!0,refreshers:["authentication","bot_token"],options:async e=>{if(void 0===e.authentication||void 0===e.bot_token)return{disabled:!0,placeholder:"connect discord account and bot token",options:[]};const n=e.authentication.data.guild.id,o={method:r.HttpMethod.GET,url:`${t.discordCommon.baseUrl}/guilds/${n}/channels`,headers:{Authorization:`Bot ${e.bot_token}`}},{body:a}=await i.httpClient.sendRequest(o);return{disabled:!1,placeholder:"Select channel",options:a.map((e=>({label:e.name,value:e.id})))}}})}},20393:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.discord=void 0;const o=n(71754),r=n(49899);t.discord=(0,o.createPiece)({name:"discord",displayName:"Discord",logoUrl:"https://cdn.activepieces.com/pieces/discord.png",actions:[r.discordSendMessage],triggers:[]})},97722:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.githubCommon=void 0;const o=n(39231),r=n(88488),i=n(64068),a=n(28243);t.githubCommon={baseUrl:"https://api.github.com",authentication:o.Property.OAuth2({displayName:"Authentication",required:!0,authUrl:"https://github.com/login/oauth/authorize",tokenUrl:"https://github.com/login/oauth/access_token",scope:["admin:repo_hook","admin:org","repo"]}),repositoryDropdown:o.Property.Dropdown({displayName:"Repository",refreshers:["authentication"],required:!0,options:async e=>{if(void 0===e.authentication)return{disabled:!0,options:[]};const n=e.authentication;let o=await async function(e){const n={method:r.HttpMethod.GET,url:`${t.githubCommon.baseUrl}/user/repos`,queryParams:{per_page:"200"},authentication:{type:i.AuthenticationType.BEARER_TOKEN,token:e.access_token}};return(await a.httpClient.sendRequest(n)).body}(n);return{disabled:!1,options:o.map((e=>({label:e.owner.login+"/"+e.name,value:{owner:e.owner.login,repo:e.name}})))}}})}},19830:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.github=void 0;const o=n(71754),r=n(23859);t.github=(0,o.createPiece)({name:"github",displayName:"Github",logoUrl:"https://cdn.activepieces.com/pieces/github.png",actions:[],triggers:[r.githubNewRepoEvent]})},23859:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.githubNewRepoEvent=void 0;const o=n(98377),r=n(28243),i=n(88488),a=n(64068),s=n(39231),l=n(97722);t.githubNewRepoEvent=(0,o.createTrigger)({name:"new_repo_event",displayName:"New Repository Event",description:"Triggers when there is a new event on the repository",props:{authentication:l.githubCommon.authentication,repository:l.githubCommon.repositoryDropdown,events:s.Property.Dropdown({displayName:"Event",description:"List of repository events",required:!0,refreshers:[],options:async e=>({disabled:!1,options:[{label:"New star",value:["star"]}]})})},type:o.TriggerStrategy.WEBHOOK,async onEnable(e){var t;const{repo:n,owner:o}=e.propsValue.repository,s={method:i.HttpMethod.POST,url:`${l.githubCommon.baseUrl}/repos/${o}/${n}/hooks`,body:{owner:o,repo:n,active:!0,events:e.propsValue.events,config:{url:e.webhookUrl,content_type:"json",insecure_ssl:"0"}},authentication:{type:a.AuthenticationType.BEARER_TOKEN,token:e.propsValue.authentication.access_token},queryParams:{}};let{body:c}=await r.httpClient.sendRequest(s);await(null===(t=e.store)||void 0===t?void 0:t.save("_trigger",{webhookId:c.id,owner:o,repo:n}))},async onDisable(e){var t;const n=await(null===(t=e.store)||void 0===t?void 0:t.get("_trigger"));if(null!=n){const t={method:i.HttpMethod.DELETE,url:`${l.githubCommon.baseUrl}/repos/${n.owner}/${n.repo}/hooks/${n.webhookId}`,authentication:{type:a.AuthenticationType.BEARER_TOKEN,token:e.propsValue.authentication.access_token}};await r.httpClient.sendRequest(t)}},run:async e=>void 0!==e.payload.zen?[]:[e.payload]})},79682:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gmailSendEmailAction=void 0;const o=n(73953),r=n(88488),i=n(64068),a=n(28243),s=n(39231);t.gmailSendEmailAction=(0,o.createAction)({name:"send_email",description:"Send an email through a Gmail account",displayName:"Send Email",props:{authentication:s.Property.OAuth2({description:"",displayName:"Authentication",authUrl:"https://accounts.google.com/o/oauth2/auth",tokenUrl:"https://oauth2.googleapis.com/token",required:!0,scope:["https://mail.google.com/"]}),receiver:s.Property.ShortText({displayName:"receiver Email (To)",description:void 0,required:!0}),subject:s.Property.ShortText({displayName:"Subject",description:void 0,required:!0}),body_text:s.Property.ShortText({displayName:"Body (Text)",description:"Text version of the body for the email you want to send",required:!0}),body_html:s.Property.ShortText({displayName:"Body (HTML)",description:"HTML version of the body for the email you want to send",required:!1})},async run(e){const t={to:e.propsValue.receiver,subject:e.propsValue.subject,text:e.propsValue.body_text,html:e.propsValue.body_html},n=`To: ${t.to}\nSubject: ${t.subject}\nContent-Type: text/html\nContent-Transfer-Encoding: base64\n\n${t.html?t.html:t.text}`,o={raw:Buffer.from(n).toString("base64"),payload:{headers:[{name:"to",value:t.to},{name:"subject",value:t.subject}],mimeType:"text/html"}},s={method:r.HttpMethod.POST,url:"https://gmail.googleapis.com/gmail/v1/users/me/messages/send",body:o,authentication:{type:i.AuthenticationType.BEARER_TOKEN,token:e.propsValue.authentication.access_token},queryParams:{}};return await a.httpClient.sendRequest(s)}})},5935:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gmail=void 0;const o=n(71754),r=n(79682);t.gmail=(0,o.createPiece)({name:"gmail",logoUrl:"https://cdn.activepieces.com/pieces/gmail.png",actions:[r.gmailSendEmailAction],displayName:"Gmail",triggers:[]})},66565:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchTopStories=void 0;const o=n(73953),r=n(88488),i=n(28243),a=n(39231);t.fetchTopStories=(0,o.createAction)({name:"fetch_top_stories",displayName:"Fetch Top Stories",description:"Fetch top stories from hackernews",props:{number_of_stories:a.Property.Number({displayName:"Number of Stories",description:void 0,required:!0})},async run(e){const t="https://hacker-news.firebaseio.com/v0/",n=(await i.httpClient.sendRequest({method:r.HttpMethod.GET,url:`${t}topstories.json`})).body,o=[];for(let a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hackernews=void 0;const o=n(71754),r=n(66565);t.hackernews=(0,o.createPiece)({name:"hackernews",displayName:"Hackernews",logoUrl:"https://cdn.activepieces.com/pieces/hackernews.png",actions:[r.fetchTopStories],triggers:[]})},81596:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHubspotContact=void 0;const o=n(64068),r=n(28243),i=n(88488),a=n(73953),s=n(39231),l=n(9750);t.createHubspotContact=(0,a.createAction)({name:"create_contact",displayName:"Create Contact",description:"Creates a contact on hubspot",props:{authentication:l.hubspotCommons.authentication,firstName:s.Property.ShortText({displayName:"First Name",description:"First name of the new contact",required:!0}),lastName:s.Property.ShortText({displayName:"Last Name",description:"Last name of the new contact",required:!0}),zip:s.Property.ShortText({displayName:"Zip Code",description:"Zip code of the new contact",required:!1}),email:s.Property.ShortText({displayName:"Email",description:"Email of the new contact",required:!1})},async run(e){const t={...e.propsValue};delete t.authentication;const n={properties:Object.entries(t).map((e=>({property:e[0],value:e[1]})))},a={method:i.HttpMethod.POST,url:"https://api.hubapi.com/contacts/v1/contact/",body:n,authentication:{type:o.AuthenticationType.BEARER_TOKEN,token:e.propsValue.authentication.access_token},queryParams:{}};return{success:!0,request_body:n,response_body:(await r.httpClient.sendRequest(a)).body}}})},9750:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hubspotCommons=void 0;const o=n(39231);t.hubspotCommons={authentication:o.Property.OAuth2({description:"",displayName:"Authentication",authUrl:"https://app.hubspot.com/oauth/authorize",tokenUrl:"https://api.hubapi.com/oauth/v1/token",required:!0,scope:["crm.objects.contacts.write","crm.objects.contacts.read"]})}},39007:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hubspot=void 0;const o=n(71754),r=n(81596);t.hubspot=(0,o.createPiece)({name:"hubspot",displayName:"Hubspot",logoUrl:"https://cdn.activepieces.com/pieces/hubspot.png",actions:[r.createHubspotContact],triggers:[]})},35514:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPiece=t.pieces=void 0;const o=n(5935),r=n(85703),i=n(19830),a=n(20393),s=n(97950),l=n(39007),c=n(20082),p=n(66407),u=n(45975);t.pieces=[r.slack,o.gmail,a.discord,i.github,l.hubspot,s.hackernews,c.mailchimp,p.cloudVisionAI,u.openai],t.getPiece=e=>t.pieces.find((t=>e.toLowerCase()===t.name.toLowerCase()))},83976:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addMemberToList=void 0;const o=n(73953),r=n(39231),i=n(78221),a=n(96757);t.addMemberToList=(0,o.createAction)({name:"add_member_to_list",displayName:"Add Member to an Audience (List)",description:"Add a member to an existing Mailchimp audience (list)",props:{authentication:i.mailChimpAuth,email:r.Property.ShortText({displayName:"Email",description:"Email of the new contact",required:!0}),listId:r.Property.Dropdown({displayName:"Audience",refreshers:["authentication"],description:"Audience you want to add the contact to",required:!0,options:async e=>{if(void 0===e.authentication)return{disabled:!0,options:[],placeholder:"Please select an authentication"};const t=e.authentication;let n=(await async function(e){const t=e.access_token,n=await(0,i.getMailChimpServerPrefix)(t);return a.setConfig({accessToken:t,server:n}),console.log(`token:${t}`),console.log(`server ${n}`),await a.lists.getAllLists({fields:["lists.id","lists.name","total_items"],count:1e3})}(t)).lists;return{disabled:!1,options:n.map((e=>({label:e.name,value:e.id})))}}}),status:r.Property.Dropdown({displayName:"Status",refreshers:[],required:!0,options:async()=>({disabled:!1,options:[{label:"Subscribed",value:"subscribed"},{label:"Unsubscribed",value:"unsubscribed"},{label:"Cleaned",value:"cleaned"},{label:"Pending",value:"pending"},{label:"Transactional",value:"transactional"}]})})},async run(e){var t;const n=null===(t=e.propsValue.authentication)||void 0===t?void 0:t.access_token,o=await(0,i.getMailChimpServerPrefix)(n);return a.setConfig({accessToken:n,server:o}),await a.lists.addListMember(e.propsValue.listId,{email_address:e.propsValue.email,status:e.propsValue.status})}})},78221:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mailChimpAuth=t.getMailChimpServerPrefix=void 0;const o=n(28243),r=n(88488),i=n(39231);t.getMailChimpServerPrefix=async function(e){const t={method:r.HttpMethod.GET,url:"https://login.mailchimp.com/oauth2/metadata",headers:{Authorization:`OAuth ${e}`}};return(await o.httpClient.sendRequest(t)).body.dc},t.mailChimpAuth=i.Property.OAuth2({description:"",displayName:"Authentication",authUrl:"https://login.mailchimp.com/oauth2/authorize",tokenUrl:"https://login.mailchimp.com/oauth2/token",required:!0,scope:[]})},20082:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mailchimp=void 0;const o=n(71754),r=n(83976);t.mailchimp=(0,o.createPiece)({name:"mailchimp",displayName:"Mailchimp",logoUrl:"https://cdn.activepieces.com/pieces/mailchimp.png",actions:[r.addMemberToList],triggers:[]})},24520:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.askOpenAI=void 0;const o=n(73953),r=n(29692),i=n(72487),a=n(39231);t.askOpenAI=(0,o.createAction)({name:"ask_chatgpt",displayName:"Ask ChatGPT",description:"Using OpenAI will answer your question .",props:{apiKey:a.Property.ShortText({displayName:"Api Key",required:!0}),prompt:a.Property.LongText({displayName:"Question",required:!0,description:"The question to ask OpenAI."}),temperature:a.Property.Number({displayName:"Temperature",required:!1,description:"Controls the creativity of the generated text."}),maxTokens:a.Property.Number({displayName:"Maximum Tokens",required:!1,description:"The maximum number of tokens in the generated text."})},async run({propsValue:e}){var t;const n=new i.Configuration({apiKey:e.apiKey}),o=new i.OpenAIApi(n);let a=.9;e.temperature&&(a=e.temperature);let s=2048;e.maxTokens&&(s=e.maxTokens);const l=await o.createCompletion({model:"text-davinci-003",prompt:e.prompt,temperature:a,max_tokens:s,top_p:1,frequency_penalty:0,presence_penalty:.6});return(0,r.assertNotNullOrUndefined)(l,"Error generating text from OpenAI.",0),null===(t=l.data.choices[0].text)||void 0===t?void 0:t.trim()}})},45975:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openai=void 0;const o=n(71754),r=n(24520);t.openai=(0,o.createPiece)({name:"openai",displayName:"Open AI",logoUrl:"https://cdn.activepieces.com/pieces/openai.png",actions:[r.askOpenAI],triggers:[]})},51462:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slackSendMessageAction=void 0;const o=n(64068),r=n(88488),i=n(73953),a=n(28243),s=n(39231);t.slackSendMessageAction=(0,i.createAction)({name:"send_channel_message",displayName:"Send slack message",description:"Send slack message",props:{authentication:s.Property.OAuth2({description:"",displayName:"Authentication",authUrl:"https://slack.com/oauth/authorize",tokenUrl:"https://slack.com/api/oauth.access",required:!0,scope:["channels:read","channels:write","chat:write:bot"]}),channel:s.Property.Dropdown({displayName:"Channel",description:"Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. See [below](#channels) for more details.",required:!0,refreshers:["authentication"],async options(e){if(void 0===e.authentication)return{disabled:!0,placeholder:"connect slack account",options:[]};const t=e.authentication.access_token,n={method:r.HttpMethod.GET,url:"https://slack.com/api/conversations.list",authentication:{type:o.AuthenticationType.BEARER_TOKEN,token:t}};return{disabled:!1,placeholder:"Select channel",options:(await a.httpClient.sendRequest(n)).body.channels.map((e=>({label:e.name,value:e.id})))}}}),text:s.Property.LongText({displayName:"Message",description:"The text of your message",required:!0})},async run(e){let t=e.propsValue,n={text:t.text,channel:t.channel};const i={method:r.HttpMethod.POST,url:"https://slack.com/api/chat.postMessage",body:n,authentication:{type:o.AuthenticationType.BEARER_TOKEN,token:t.authentication.access_token},queryParams:{}};return{success:!0,request_body:n,response_body:await a.httpClient.sendRequest(i)}}})},85703:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slack=void 0;const o=n(51462),r=n(71754);t.slack=(0,r.createPiece)({name:"slack",displayName:"Slack",logoUrl:"https://cdn.activepieces.com/pieces/slack.png",actions:[o.slackSendMessageAction],triggers:[]})},64068:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthenticationType=void 0,(t.AuthenticationType||(t.AuthenticationType={})).BEARER_TOKEN="BEARER_TOKEN"},29692:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertNotUndefined=t.assertNotNull=t.assertNotNullOrUndefined=void 0,t.assertNotNullOrUndefined=function(e,t,n){if(0!==n)throw new Error(t);console.log(t)},t.assertNotNull=function(e,t,n){if(0!==n)throw new Error(t);console.log(t)},t.assertNotUndefined=function(e,t,n){if(0!==n)throw new Error(t);console.log(t)}},26791:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AxiosHttpClient=void 0;const o=n(5789),r=n(92224),i=n(2703);class a extends i.BaseHttpClient{constructor(e="",t=new r.DelegatingAuthenticationConverter,n=o.default){super(e,t),this.client=n}async sendRequest(e){const t=this.getUrl(e),n=this.getHeaders(e),r=this.getAxiosRequestMethod(e.method),i=await o.default.request({method:r,url:t,headers:n,data:e.body});return{status:i.status,headers:i.headers,body:i.data}}getAxiosRequestMethod(e){return e.toString()}}t.AxiosHttpClient=a},84373:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BearerTokenAuthenticationConverter=void 0;const o=n(71128);t.BearerTokenAuthenticationConverter=class{convert(e,t){return t[o.HttpHeader.AUTHORIZATION]=`Bearer ${e.token}`,t}}},92224:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DelegatingAuthenticationConverter=void 0;const o=n(84373),r=n(64068);t.DelegatingAuthenticationConverter=class{constructor(e=new o.BearerTokenAuthenticationConverter){this.converters={[r.AuthenticationType.BEARER_TOKEN]:e}}convert(e,t){return this.converters[e.type].convert(e,t)}}},2703:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseHttpClient=void 0;const o=n(41041),r=n(71128),i=n(83908);t.BaseHttpClient=class{constructor(e,t){this.baseUrl=e,this.authenticationConverter=t}getUrl(e){const t=new o.URL(`${this.baseUrl}${e.url}`);if(e.queryParams)for(const[n,o]of Object.entries(e.queryParams))t.searchParams.append(n,o);return t.toString()}getHeaders(e){let t={[r.HttpHeader.ACCEPT]:i.MediaType.APPLICATION_JSON};return e.authentication&&this.populateAuthentication(e.authentication,t),e.body&&(t[r.HttpHeader.CONTENT_TYPE]=i.MediaType.APPLICATION_JSON),e.headers&&(t={...t,...e.headers}),t}populateAuthentication(e,t){this.authenticationConverter.convert(e,t)}}},28243:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.httpClient=void 0;const o=n(26791);t.httpClient=new o.AxiosHttpClient},71128:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.HttpHeader=void 0,(n=t.HttpHeader||(t.HttpHeader={})).AUTHORIZATION="Authorization",n.ACCEPT="Accept",n.CONTENT_TYPE="ContentType"},88488:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.HttpMethod=void 0,(n=t.HttpMethod||(t.HttpMethod={})).CONNECT="CONNECT",n.DELETE="DELETE",n.GET="GET",n.HEAD="HEAD",n.OPTIONS="OPTIONS",n.PATCH="PATCH",n.POST="POST",n.PUT="PUT",n.TRACE="TRACE"},83908:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaType=void 0,(t.MediaType||(t.MediaType={})).APPLICATION_JSON="application/json"},73953:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAction=void 0;class n{constructor(e,t,n,o,r){this.name=e,this.displayName=t,this.description=n,this.props=o,this.run=r}}t.createAction=function(e){return new n(e.name,e.displayName,e.description,e.props,e.run)}},71754:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPiece=t.Piece=void 0;class n{constructor(e,t,n,o,r){this.name=e,this.displayName=t,this.logoUrl=n,this._actions=Object.fromEntries(o.map((e=>[e.name,e]))),this._triggers=Object.fromEntries(r.map((e=>[e.name,e])))}getAction(e){if(e in this._actions)return this._actions[e]}getTrigger(e){if(e in this._triggers)return this._triggers[e]}metadata(){return{name:this.name,displayName:this.displayName,logoUrl:this.logoUrl,actions:this._actions,triggers:this._triggers}}}t.Piece=n,t.createPiece=e=>new n(e.name,e.displayName,e.logoUrl,e.actions,e.triggers)},47445:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.PropertyType=void 0,(n=t.PropertyType||(t.PropertyType={})).SHORT_TEXT="SHORT_TEXT",n.LONG_TEXT="LONG_TEXT",n.DROPDOWN="DROPDOWN",n.NUMBER="NUMBER",n.CHECKBOX="CHECKBOX",n.OAUTH2="OAUTH2",n.SECRET_TEXT="SECRET_TEXT",n.CUSTOM_AUTH="CUSTOM_AUTH"},17091:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},98631:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},39231:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(47445),t),r(n(17091),t),r(n(98631),t),r(n(95212),t),r(n(8863),t)},95212:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8863:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Property=void 0;const o=n(47445);t.Property={ShortText:e=>({...e,valueSchema:void 0,type:o.PropertyType.SHORT_TEXT}),Checkbox:e=>({...e,valueSchema:void 0,type:o.PropertyType.CHECKBOX}),LongText:e=>({...e,valueSchema:void 0,type:o.PropertyType.LONG_TEXT}),Number:e=>({...e,valueSchema:void 0,type:o.PropertyType.NUMBER}),OAuth2:e=>({...e,valueSchema:void 0,type:o.PropertyType.OAUTH2}),Dropdown:e=>({...e,valueSchema:void 0,type:o.PropertyType.DROPDOWN}),SecretText:e=>({...e,valueSchema:void 0,type:o.PropertyType.SECRET_TEXT}),CustomAuth:e=>({...e,valueSchema:void 0,type:o.PropertyType.CUSTOM_AUTH})}},98377:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.createTrigger=t.TriggerStrategy=void 0,(n=t.TriggerStrategy||(t.TriggerStrategy={})).POLLING="POLLING",n.WEBHOOK="WEBHOOK";class o{constructor(e,t,n,o,r,i,a,s){this.name=e,this.displayName=t,this.description=n,this.props=o,this.type=r,this.onEnable=i,this.onDisable=a,this.run=s}}t.createTrigger=function(e){return new o(e.name,e.displayName,e.description,e.props,e.type,e.onEnable,e.onDisable,e.run)}},86928:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.TriggerStrategy=t.Piece=void 0,r(n(39231),t);var i=n(71754);Object.defineProperty(t,"Piece",{enumerable:!0,get:function(){return i.Piece}});var a=n(98377);Object.defineProperty(t,"TriggerStrategy",{enumerable:!0,get:function(){return a.TriggerStrategy}}),r(n(35514),t)},90033:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SignInRequest=void 0;const o=n(470);t.SignInRequest=o.Type.Object({email:o.Type.String({format:"email"}),password:o.Type.String({minLength:8,maxLength:25})})},17403:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SignUpRequest=void 0;const o=n(470);t.SignUpRequest=o.Type.Object({email:o.Type.String({format:"email"}),password:o.Type.String({minLength:8,maxLength:25}),firstName:o.Type.String(),lastName:o.Type.String(),trackEvents:o.Type.Boolean(),newsLetter:o.Type.Boolean()})},54881:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.PrincipalType=void 0,(n=t.PrincipalType||(t.PrincipalType={})).USER="USER",n.WORKER="WORKER"},58334:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExecuteCodeRequest=void 0;const o=n(470);t.ExecuteCodeRequest=o.Type.Object({artifact:o.Type.String(),input:o.Type.Object({})})},34216:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CollectionVersionState=void 0,(n=t.CollectionVersionState||(t.CollectionVersionState={})).LOCKED="LOCKED",n.DRAFT="DRAFT"},77241:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigType=void 0,(n=t.ConfigType||(t.ConfigType={})).CHECKBOX="CHECKBOX",n.NUMBER="NUMBER",n.DICTIONARY="DICTIONARY",n.LONG_TEXT="LONG_TEXT",n.SHORT_TEXT="SHORT_TEXT",n.CLOUD_OAUTH2="CLOUD_AUTH2",n.OAUTH2="OAUTH2"},33984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CreateCollectionSchema=void 0,t.CreateCollectionSchema={body:{type:"object",properties:{displayName:{type:"string"},projectId:{type:"string"}},required:["displayName","projectId"]}}},58442:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ListCollectionsSchema=void 0,t.ListCollectionsSchema={querystring:{type:"object",properties:{limit:{type:"number"},projectId:{type:"string"},cursor:{type:"string"}},required:["projectId"]}}},47591:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateCollectionSchema=void 0,t.UpdateCollectionSchema={body:{type:"object",properties:{displayName:{type:"string"}},required:["displayName"]}}},95810:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.apId=t.ApId=void 0;const o=n(470),r=n(15673);t.ApId=o.Type.String({pattern:"^[0-9a-zA-Z]{21}$"}),t.apId=(0,r.customAlphabet)("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",21)},38283:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CreateFlowRunRequest=void 0;const o=n(470);t.CreateFlowRunRequest=o.Type.Object({flowVersionId:o.Type.String(),collectionVersionId:o.Type.String(),payload:o.Type.Object({})})},59982:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ExecutionOutputStatus=void 0,(n=t.ExecutionOutputStatus||(t.ExecutionOutputStatus={})).SUCCEEDED="SUCCEEDED",n.FAILED="FAILED",n.RUNNING="RUNNING",n.INTERNAL_ERROR="INTERNAL_ERROR"},27984:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExecutionState=void 0;const o=n(15469);class r{constructor(){this.configs={},this.steps={},this.lastStepState={}}insertConfigs(e){if(e instanceof Map)e.forEach(((e,t)=>{this.configs[t]=e}));else{if("object"!=typeof e||Array.isArray(e))throw Error("Invalid configs type: "+typeof e);Object.entries(e).forEach((([e,t])=>{this.configs[e]=t}))}}insertStep(e,t,n){this.getTargetMap(n)[t]=e,this.updateLastStep(e.output,t)}updateLastStep(e,t){this.lastStepState[t]=r.deepClone(e)}static deepClone(e){if(void 0!==e)return null===e?null:JSON.parse(JSON.stringify(e))}getTargetMap(e){let t=this.steps;return e.forEach((e=>{if(void 0===t[e[0]])throw"Error in ancestor tree";const n=t[e[0]];if(!(n instanceof o.LoopOnItemsStepOutput))throw"Error in ancestor tree, Not instance of Loop On Items step output";t=n.output.iterations[e[1]]})),t}}t.ExecutionState=r},15469:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LoopOnItemsStepOutput=t.StepOutput=t.StepOutputStatus=void 0,(n=t.StepOutputStatus||(t.StepOutputStatus={})).RUNNING="RUNNING",n.SUCCEEDED="SUCCEEDED",n.FAILED="FAILED";class o{}t.StepOutput=o,t.LoopOnItemsStepOutput=class extends o{}},41921:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.RunEnvironment=void 0,(n=t.RunEnvironment||(t.RunEnvironment={})).PRODUCTION="PRODUCTION",n.TESTING="TESTING"},73442:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActionSchema=t.LoopOnItemsActionSchema=t.StorageActionSchema=t.StoreOperation=t.PieceActionSchema=t.CodeActionSchema=t.ActionType=void 0;const o=n(470);var r,i;!function(e){e.CODE="CODE",e.STORAGE="STORAGE",e.PIECE="PIECE",e.LOOP_ON_ITEMS="LOOP_ON_ITEMS"}(r=t.ActionType||(t.ActionType={})),t.CodeActionSchema=o.Type.Object({name:o.Type.String({}),displayName:o.Type.String({}),type:o.Type.Literal(r.CODE),settings:o.Type.Object({artifactSourceId:o.Type.String({}),input:o.Type.Object({})})}),t.PieceActionSchema=o.Type.Object({name:o.Type.String({}),displayName:o.Type.String({}),type:o.Type.Literal(r.PIECE),settings:o.Type.Object({pieceName:o.Type.String({}),actionName:o.Type.String({}),input:o.Type.Object({})})}),function(e){e.PUT="PUT",e.GET="GET"}(i=t.StoreOperation||(t.StoreOperation={})),t.StorageActionSchema=o.Type.Union([o.Type.Object({name:o.Type.String({}),displayName:o.Type.String({}),type:o.Type.Literal(r.STORAGE),settings:o.Type.Object({operation:o.Type.Literal(i.PUT),key:o.Type.String({minLength:1}),value:o.Type.Any({})})}),o.Type.Object({name:o.Type.String({}),displayName:o.Type.String({}),type:o.Type.Literal(r.STORAGE),settings:o.Type.Object({operation:o.Type.Literal(i.GET),key:o.Type.String({minLength:1})})})]),t.LoopOnItemsActionSchema=o.Type.Object({name:o.Type.String({}),displayName:o.Type.String({}),type:o.Type.Literal(r.STORAGE),settings:o.Type.Object({items:o.Type.Array(o.Type.Any({}))})}),t.ActionSchema=o.Type.Union([t.CodeActionSchema,t.PieceActionSchema,t.StorageActionSchema,t.LoopOnItemsActionSchema])},82481:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CreateFlowRequestSchema=void 0,t.CreateFlowRequestSchema={body:{type:"object",properties:{displayName:{type:"string"},collectionId:{type:"string"}},required:["displayName","collectionId"]}}},55708:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ListFlowsSchema=void 0,t.ListFlowsSchema={querystring:{type:"object",properties:{limit:{type:"number"},collectionId:{type:"string"},cursor:{type:"string"}},required:["collectionId"]}}},17210:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flowHelper=t.getStep=void 0;const o=n(906),r=n(73442),i=n(13458),a=n(64741),s=a.TypeCompiler.Compile(r.ActionSchema),l=a.TypeCompiler.Compile(i.TriggerSchema);function c(e){let t=!0,n=e.trigger;for(;void 0!==n;)t=t&&n.valid,n=n.nextAction;return t}function p(e,t){let n=e.trigger;for(;void 0!==n&&n.name!==t;)n=n.nextAction;return n}function u(e,t){var n;const o={displayName:e.displayName,name:e.name,valid:!1,nextAction:t};let i;switch(e.type){case r.ActionType.STORAGE:i={...o,type:r.ActionType.STORAGE,settings:e.settings};break;case r.ActionType.LOOP_ON_ITEMS:i={...o,type:r.ActionType.LOOP_ON_ITEMS,settings:e.settings};break;case r.ActionType.PIECE:i={...o,type:r.ActionType.PIECE,settings:e.settings};break;case r.ActionType.CODE:i={...o,type:r.ActionType.CODE,settings:e.settings}}return i.valid=(null===(n=e.valid)||void 0===n||n)&&s.Check(i),i}t.getStep=p,t.flowHelper={isValid:c,apply(e,t){const n=JSON.parse(JSON.stringify(e));switch(t.type){case o.FlowOperationType.CHANGE_NAME:n.displayName=t.request.displayName;break;case o.FlowOperationType.DELETE_ACTION:!function(e,t){let n=e.trigger;for(;void 0!==n.nextAction&&n.nextAction.name!==t.name;)n=n.nextAction;if(void 0!==n.nextAction){let e=n.nextAction;n.nextAction=e.nextAction}}(n,t.request);break;case o.FlowOperationType.ADD_ACTION:!function(e,t){let n=e.trigger;for(;void 0!==(null==n?void 0:n.nextAction)&&n.name!==t.parentAction;)n=n.nextAction;n.nextAction=u(t.action,n.nextAction)}(n,t.request);break;case o.FlowOperationType.UPDATE_ACTION:!function(e,t){let n=e.trigger;for(;void 0!==n.nextAction&&n.nextAction.name!==t.name;)n=n.nextAction;if(void 0!==n.nextAction){let e=n.nextAction;n.nextAction=u(t,e.nextAction)}}(n,t.request);break;case o.FlowOperationType.UPDATE_TRIGGER:n.trigger=function(e,t,n){var o;const r={displayName:t.displayName,name:e,valid:!1,nextAction:n};let a;switch(t.type){case i.TriggerType.EMPTY:a={...r,type:i.TriggerType.EMPTY,settings:t.settings};break;case i.TriggerType.SCHEDULE:a={...r,type:i.TriggerType.SCHEDULE,settings:t.settings};break;case i.TriggerType.PIECE:a={...r,type:i.TriggerType.PIECE,settings:t.settings};break;case i.TriggerType.WEBHOOK:a={...r,type:i.TriggerType.WEBHOOK,settings:t.settings}}return a.valid=(null===(o=t.valid)||void 0===o||o)&&l.Check(a),a}(n.trigger.name,t.request,n.trigger.nextAction)}return n.valid=c(n),n},getStep:p,clone:e=>JSON.parse(JSON.stringify(e))}},906:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlowOperationRequestSchema=t.FlowOperationType=void 0;const o=n(470);var r;!function(e){e.CHANGE_NAME="CHANGE_NAME",e.UPDATE_TRIGGER="UPDATE_TRIGGER",e.ADD_ACTION="ADD_ACTION",e.UPDATE_ACTION="UPDATE_ACTION",e.DELETE_ACTION="DELETE_ACTION"}(r=t.FlowOperationType||(t.FlowOperationType={})),t.FlowOperationRequestSchema=o.Type.Union([o.Type.Object({type:o.Type.Literal(r.CHANGE_NAME),request:o.Type.Object({displayName:o.Type.String()})}),o.Type.Object({type:o.Type.Literal(r.DELETE_ACTION),request:o.Type.Object({name:o.Type.String()})}),o.Type.Object({type:o.Type.Literal(r.UPDATE_ACTION),request:o.Type.Object({})}),o.Type.Object({type:o.Type.Literal(r.ADD_ACTION),request:o.Type.Object({})}),o.Type.Object({type:o.Type.Literal(r.UPDATE_TRIGGER),request:o.Type.Object({})})])},64391:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.FlowVersionState=void 0,(n=t.FlowVersionState||(t.FlowVersionState={})).LOCKED="LOCKED",n.DRAFT="DRAFT"},13458:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TriggerSchema=t.PieceTriggerSchema=t.ScheduleTriggerSchema=t.WebhookTriggerSchema=t.TriggerType=void 0;const o=n(470),r=n(71804),i=n(56601);var a;!function(e){e.SCHEDULE="SCHEDULE",e.EMPTY="EMPTY",e.WEBHOOK="WEBHOOK",e.PIECE="PIECE_TRIGGER"}(a=t.TriggerType||(t.TriggerType={})),t.WebhookTriggerSchema=o.Type.Object({name:o.Type.String({}),displayName:o.Type.String({}),type:o.Type.Literal(a.WEBHOOK),settings:o.Type.Object({})}),r.Format.Set("cronexpression",(e=>(0,i.isValidCron)(e,{seconds:!0}))),t.ScheduleTriggerSchema=o.Type.Object({name:o.Type.String({}),displayName:o.Type.String({}),type:o.Type.Literal(a.SCHEDULE),settings:o.Type.Object({cronExpression:o.Type.String({format:"cronexpression"})})}),t.PieceTriggerSchema=o.Type.Object({name:o.Type.String({}),displayName:o.Type.String({}),type:o.Type.Literal(a.PIECE),settings:o.Type.Object({pieceName:o.Type.String({}),triggerName:o.Type.String({}),input:o.Type.Object({})})}),t.TriggerSchema=o.Type.Union([t.WebhookTriggerSchema,t.ScheduleTriggerSchema,t.PieceTriggerSchema])},42036:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.ApId=t.apId=t.CreateFlowRequestSchema=t.UpdateCollectionSchema=t.CreateCollectionSchema=t.ListFlowsSchema=t.ListCollectionsSchema=t.FlowOperationType=t.ExecutionState=t.RunEnvironment=t.getStep=t.FlowVersionState=t.PieceOptionRequestSchema=t.CollectionVersionState=t.TriggerType=t.CreateFlowRunRequest=t.StepOutput=t.UserStatus=t.ActionType=t.PrincipalType=t.SignInRequest=t.SignUpRequest=t.PutStoreEntryRequest=t.flowHelper=t.ExecuteCodeRequest=t.CodeRunStatus=t.ClaimTokenFromCloudRequest=t.ClaimTokenWithSecretRequest=t.StepOutputStatus=t.StoreOperation=t.RefreshTokenFromCloudRequest=void 0;var i=n(96754);Object.defineProperty(t,"RefreshTokenFromCloudRequest",{enumerable:!0,get:function(){return i.RefreshTokenFromCloudRequest}});var a=n(73442);Object.defineProperty(t,"StoreOperation",{enumerable:!0,get:function(){return a.StoreOperation}}),r(n(15469),t),r(n(906),t),r(n(77241),t),r(n(40642),t),r(n(59982),t);var s=n(15469);Object.defineProperty(t,"StepOutputStatus",{enumerable:!0,get:function(){return s.StepOutputStatus}});var l=n(43090);Object.defineProperty(t,"ClaimTokenWithSecretRequest",{enumerable:!0,get:function(){return l.ClaimTokenWithSecretRequest}});var c=n(51278);Object.defineProperty(t,"ClaimTokenFromCloudRequest",{enumerable:!0,get:function(){return c.ClaimTokenFromCloudRequest}});var p=n(982);Object.defineProperty(t,"CodeRunStatus",{enumerable:!0,get:function(){return p.CodeRunStatus}});var u=n(58334);Object.defineProperty(t,"ExecuteCodeRequest",{enumerable:!0,get:function(){return u.ExecuteCodeRequest}});var d=n(17210);Object.defineProperty(t,"flowHelper",{enumerable:!0,get:function(){return d.flowHelper}});var g=n(36145);Object.defineProperty(t,"PutStoreEntryRequest",{enumerable:!0,get:function(){return g.PutStoreEntryRequest}});var f=n(17403);Object.defineProperty(t,"SignUpRequest",{enumerable:!0,get:function(){return f.SignUpRequest}});var h=n(90033);Object.defineProperty(t,"SignInRequest",{enumerable:!0,get:function(){return h.SignInRequest}});var m=n(54881);Object.defineProperty(t,"PrincipalType",{enumerable:!0,get:function(){return m.PrincipalType}});var y=n(73442);Object.defineProperty(t,"ActionType",{enumerable:!0,get:function(){return y.ActionType}});var v=n(76606);Object.defineProperty(t,"UserStatus",{enumerable:!0,get:function(){return v.UserStatus}});var b=n(15469);Object.defineProperty(t,"StepOutput",{enumerable:!0,get:function(){return b.StepOutput}});var O=n(38283);Object.defineProperty(t,"CreateFlowRunRequest",{enumerable:!0,get:function(){return O.CreateFlowRunRequest}});var w=n(13458);Object.defineProperty(t,"TriggerType",{enumerable:!0,get:function(){return w.TriggerType}});var P=n(34216);Object.defineProperty(t,"CollectionVersionState",{enumerable:!0,get:function(){return P.CollectionVersionState}});var x=n(20004);Object.defineProperty(t,"PieceOptionRequestSchema",{enumerable:!0,get:function(){return x.PieceOptionRequestSchema}});var S=n(64391);Object.defineProperty(t,"FlowVersionState",{enumerable:!0,get:function(){return S.FlowVersionState}});var T=n(17210);Object.defineProperty(t,"getStep",{enumerable:!0,get:function(){return T.getStep}});var A=n(41921);Object.defineProperty(t,"RunEnvironment",{enumerable:!0,get:function(){return A.RunEnvironment}});var E=n(27984);Object.defineProperty(t,"ExecutionState",{enumerable:!0,get:function(){return E.ExecutionState}});var j=n(906);Object.defineProperty(t,"FlowOperationType",{enumerable:!0,get:function(){return j.FlowOperationType}});var k=n(58442);Object.defineProperty(t,"ListCollectionsSchema",{enumerable:!0,get:function(){return k.ListCollectionsSchema}});var _=n(55708);Object.defineProperty(t,"ListFlowsSchema",{enumerable:!0,get:function(){return _.ListFlowsSchema}});var C=n(33984);Object.defineProperty(t,"CreateCollectionSchema",{enumerable:!0,get:function(){return C.CreateCollectionSchema}});var I=n(47591);Object.defineProperty(t,"UpdateCollectionSchema",{enumerable:!0,get:function(){return I.UpdateCollectionSchema}});var R=n(82481);Object.defineProperty(t,"CreateFlowRequestSchema",{enumerable:!0,get:function(){return R.CreateFlowRequestSchema}});var N=n(95810);Object.defineProperty(t,"apId",{enumerable:!0,get:function(){return N.apId}}),Object.defineProperty(t,"ApId",{enumerable:!0,get:function(){return N.ApId}})},68032:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(75133),t)},75133:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UpsertInstanceRequest=void 0;const o=n(470),r=n(22141);t.UpsertInstanceRequest=o.Type.Object({collectionId:o.Type.String(),status:o.Type.Enum(r.InstanceStatus)})},40642:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(68032),t),r(n(22141),t)},22141:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(10436),t)},10436:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.InstanceStatus=void 0,(n=t.InstanceStatus||(t.InstanceStatus={})).ENABLED="ENABLED",n.DISABLED="DISABLED"},51278:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClaimTokenFromCloudRequest=void 0;const o=n(470);t.ClaimTokenFromCloudRequest=o.Type.Object({pieceName:o.Type.String({}),code:o.Type.String({})})},43090:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClaimTokenWithSecretRequest=void 0;const o=n(470);t.ClaimTokenWithSecretRequest=o.Type.Object({tokenUrl:o.Type.String({}),clientId:o.Type.String({}),clientSecret:o.Type.String({}),redirectUrl:o.Type.String({}),code:o.Type.String({})})},96754:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RefreshTokenFromCloudRequest=void 0;const o=n(470);t.RefreshTokenFromCloudRequest=o.Type.Object({pieceName:o.Type.String({}),refreshToken:o.Type.String({})})},20004:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PieceOptionRequestSchema=void 0,t.PieceOptionRequestSchema={body:{type:"object",properties:{stepName:{type:"string"},configName:{type:"string"},configs:{type:"object"}},required:["stepName","configName","configs"]}}},36145:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PutStoreEntryRequest=void 0;const o=n(470);t.PutStoreEntryRequest=o.Type.Object({key:o.Type.String({}),value:o.Type.Any({})})},76606:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserStatus=void 0,(t.UserStatus||(t.UserStatus={})).VERIFIED="VERIFIED"},982:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CodeRunStatus=void 0,(n=t.CodeRunStatus||(t.CodeRunStatus={})).OK="OK",n.RUNTIME_ERROR="RUNTIME_ERROR",n.CRASHED="CRASHED",n.TIMEOUT="TIMEOUT",n.INTERNAL_ERROR="INTERNAL_ERROR",n.UNKNOWN_ERROR="UNKNOWN_ERROR"},39491:e=>{"use strict";e.exports=require("assert")},14300:e=>{"use strict";e.exports=require("buffer")},32081:e=>{"use strict";e.exports=require("child_process")},6113:e=>{"use strict";e.exports=require("crypto")},9523:e=>{"use strict";e.exports=require("dns")},82361:e=>{"use strict";e.exports=require("events")},57147:e=>{"use strict";e.exports=require("fs")},13685:e=>{"use strict";e.exports=require("http")},85158:e=>{"use strict";e.exports=require("http2")},95687:e=>{"use strict";e.exports=require("https")},41808:e=>{"use strict";e.exports=require("net")},41041:e=>{"use strict";e.exports=require("node:url")},22037:e=>{"use strict";e.exports=require("os")},71017:e=>{"use strict";e.exports=require("path")},85477:e=>{"use strict";e.exports=require("punycode")},63477:e=>{"use strict";e.exports=require("querystring")},12781:e=>{"use strict";e.exports=require("stream")},71576:e=>{"use strict";e.exports=require("string_decoder")},24404:e=>{"use strict";e.exports=require("tls")},76224:e=>{"use strict";e.exports=require("tty")},57310:e=>{"use strict";e.exports=require("url")},73837:e=>{"use strict";e.exports=require("util")},59796:e=>{"use strict";e.exports=require("zlib")},5789:(e,t,n)=>{"use strict";const o=n(87534),r=n(57310),i=n(67841),a=n(13685),s=n(95687),l=n(72679),c=n(59796),p=n(12781),u=n(82361);function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const g=d(o),f=d(r),h=d(a),m=d(s),y=d(l),v=d(c),b=d(p),O=d(u);function w(e,t){return function(){return e.apply(t,arguments)}}const{toString:P}=Object.prototype,{getPrototypeOf:x}=Object,S=(T=Object.create(null),e=>{const t=P.call(e);return T[t]||(T[t]=t.slice(8,-1).toLowerCase())});var T;const A=e=>(e=e.toLowerCase(),t=>S(t)===e),E=e=>t=>typeof t===e,{isArray:j}=Array,k=E("undefined"),_=A("ArrayBuffer"),C=E("string"),I=E("function"),R=E("number"),N=e=>null!==e&&"object"==typeof e,D=e=>{if("object"!==S(e))return!1;const t=x(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},L=A("Date"),B=A("File"),M=A("Blob"),F=A("FileList"),U=A("URLSearchParams");function q(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let o,r;if("object"!=typeof e&&(e=[e]),j(e))for(o=0,r=e.length;o0;)if(o=n[r],t===o.toLowerCase())return o;return null}const H="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,G=e=>!k(e)&&e!==H,W=(z="undefined"!=typeof Uint8Array&&x(Uint8Array),e=>z&&e instanceof z);var z;const J=A("HTMLFormElement"),K=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Y=A("RegExp"),$=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};q(n,((n,r)=>{!1!==t(n,r,e)&&(o[r]=n)})),Object.defineProperties(e,o)},Q={isArray:j,isArrayBuffer:_,isBuffer:function(e){return null!==e&&!k(e)&&null!==e.constructor&&!k(e.constructor)&&I(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{const t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||P.call(e)===t||I(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&_(e.buffer),t},isString:C,isNumber:R,isBoolean:e=>!0===e||!1===e,isObject:N,isPlainObject:D,isUndefined:k,isDate:L,isFile:B,isBlob:M,isRegExp:Y,isFunction:I,isStream:e=>N(e)&&I(e.pipe),isURLSearchParams:U,isTypedArray:W,isFileList:F,forEach:q,merge:function e(){const{caseless:t}=G(this)&&this||{},n={},o=(o,r)=>{const i=t&&V(n,r)||r;D(n[i])&&D(o)?n[i]=e(n[i],o):D(o)?n[i]=e({},o):j(o)?n[i]=o.slice():n[i]=o};for(let e=0,t=arguments.length;e(q(t,((t,o)=>{n&&I(t)?e[o]=w(t,n):e[o]=t}),{allOwnKeys:o}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,o)=>{let r,i,a;const s={};if(t=t||{},null==e)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)a=r[i],o&&!o(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&x(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:S,kindOfTest:A,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return-1!==o&&o===n},toArray:e=>{if(!e)return null;if(j(e))return e;let t=e.length;if(!R(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const n=o.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const o=[];for(;null!==(n=e.exec(t));)o.push(n);return o},isHTMLForm:J,hasOwnProperty:K,hasOwnProp:K,reduceDescriptors:$,freezeMethods:e=>{$(e,((t,n)=>{if(I(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const o=e[n];I(o)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},o=e=>{e.forEach((e=>{n[e]=!0}))};return j(e)?o(e):o(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[_-\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:V,global:H,isContextDefined:G,toJSONObject:e=>{const t=new Array(10),n=(e,o)=>{if(N(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[o]=e;const r=j(e)?[]:{};return q(e,((e,t)=>{const i=n(e,o+1);!k(i)&&(r[t]=i)})),t[o]=void 0,r}}return e};return n(e,0)}};function X(e,t,n,o,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),r&&(this.response=r)}Q.inherits(X,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Q.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Z=X.prototype,ee={};function te(e){return Q.isPlainObject(e)||Q.isArray(e)}function ne(e){return Q.endsWith(e,"[]")?e.slice(0,-2):e}function oe(e,t,n){return e?e.concat(t).map((function(e,t){return e=ne(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{ee[e]={value:e}})),Object.defineProperties(X,ee),Object.defineProperty(Z,"isAxiosError",{value:!0}),X.from=(e,t,n,o,r,i)=>{const a=Object.create(Z);return Q.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),X.call(a,e.message,t,n,o,r),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const re=Q.toFlatObject(Q,{},null,(function(e){return/^is[A-Z]/.test(e)}));function ie(e,t,n){if(!Q.isObject(e))throw new TypeError("target must be an object");t=t||new(g.default||FormData);const o=(n=Q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Q.isUndefined(t[e])}))).metaTokens,r=n.visitor||p,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&(l=t)&&Q.isFunction(l.append)&&"FormData"===l[Symbol.toStringTag]&&l[Symbol.iterator];var l;if(!Q.isFunction(r))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(Q.isDate(e))return e.toISOString();if(!s&&Q.isBlob(e))throw new X("Blob is not supported. Use a Buffer instead.");return Q.isArrayBuffer(e)||Q.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function p(e,n,r){let s=e;if(e&&!r&&"object"==typeof e)if(Q.endsWith(n,"{}"))n=o?n:n.slice(0,-2),e=JSON.stringify(e);else if(Q.isArray(e)&&function(e){return Q.isArray(e)&&!e.some(te)}(e)||Q.isFileList(e)||Q.endsWith(n,"[]")&&(s=Q.toArray(e)))return n=ne(n),s.forEach((function(e,o){!Q.isUndefined(e)&&null!==e&&t.append(!0===a?oe([n],o,i):null===a?n:n+"[]",c(e))})),!1;return!!te(e)||(t.append(oe(r,n,i),c(e)),!1)}const u=[],d=Object.assign(re,{defaultVisitor:p,convertValue:c,isVisitable:te});if(!Q.isObject(e))throw new TypeError("data must be an object");return function e(n,o){if(!Q.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+o.join("."));u.push(n),Q.forEach(n,(function(n,i){!0===(!(Q.isUndefined(n)||null===n)&&r.call(t,n,Q.isString(i)?i.trim():i,o,d))&&e(n,o?o.concat(i):[i])})),u.pop()}}(e),t}function ae(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function se(e,t){this._pairs=[],e&&ie(e,this,t)}const le=se.prototype;function ce(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function pe(e,t,n){if(!t)return e;const o=n&&n.encode||ce,r=n&&n.serialize;let i;if(i=r?r(t,n):Q.isURLSearchParams(t)?t.toString():new se(t,n).toString(o),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}le.append=function(e,t){this._pairs.push([e,t])},le.toString=function(e){const t=e?function(t){return e.call(this,t,ae)}:ae;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ue=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Q.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},de={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ge={isNode:!0,classes:{URLSearchParams:f.default.URLSearchParams,FormData:g.default,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]};function fe(e){function t(e,n,o,r){let i=e[r++];const a=Number.isFinite(+i),s=r>=e.length;return i=!i&&Q.isArray(o)?o.length:i,s?(Q.hasOwnProp(o,i)?o[i]=[o[i],n]:o[i]=n,!a):(o[i]&&Q.isObject(o[i])||(o[i]=[]),t(e,n,o[i],r)&&Q.isArray(o[i])&&(o[i]=function(e){const t={},n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o{t(function(e){return Q.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),o,n,0)})),n}return null}const he={"Content-Type":void 0},me={transitional:de,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",o=n.indexOf("application/json")>-1,r=Q.isObject(e);if(r&&Q.isHTMLForm(e)&&(e=new FormData(e)),Q.isFormData(e))return o&&o?JSON.stringify(fe(e)):e;if(Q.isArrayBuffer(e)||Q.isBuffer(e)||Q.isStream(e)||Q.isFile(e)||Q.isBlob(e))return e;if(Q.isArrayBufferView(e))return e.buffer;if(Q.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ie(e,new ge.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,o){return Q.isBuffer(e)?(this.append(t,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Q.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ie(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return r||o?(t.setContentType("application/json",!1),function(e,t,n){if(Q.isString(e))try{return(0,JSON.parse)(e),Q.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||me.transitional,n=t&&t.forcedJSONParsing,o="json"===this.responseType;if(e&&Q.isString(e)&&(n&&!this.responseType||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw X.from(e,X.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ge.classes.FormData,Blob:ge.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Q.forEach(["delete","get","head"],(function(e){me.headers[e]={}})),Q.forEach(["post","put","patch"],(function(e){me.headers[e]=Q.merge(he)}));const ye=me,ve=Q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),be=Symbol("internals");function Oe(e){return e&&String(e).trim().toLowerCase()}function we(e){return!1===e||null==e?e:Q.isArray(e)?e.map(we):String(e)}function Pe(e,t,n,o){return Q.isFunction(o)?o.call(this,t,n):Q.isString(t)?Q.isString(o)?-1!==t.indexOf(o):Q.isRegExp(o)?o.test(t):void 0:void 0}class xe{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function r(e,t,n){const r=Oe(t);if(!r)throw new Error("header name must be a non-empty string");const i=Q.findKey(o,r);(!i||void 0===o[i]||!0===n||void 0===n&&!1!==o[i])&&(o[i||t]=we(e))}const i=(e,t)=>Q.forEach(e,((e,n)=>r(e,n,t)));return Q.isPlainObject(e)||e instanceof this.constructor?i(e,t):Q.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z]+$/.test(e.trim())?i((e=>{const t={};let n,o,r;return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),n=e.substring(0,r).trim().toLowerCase(),o=e.substring(r+1).trim(),!n||t[n]&&ve[n]||("set-cookie"===n?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)})),t})(e),t):null!=e&&r(t,e,n),this}get(e,t){if(e=Oe(e)){const n=Q.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}(e);if(Q.isFunction(t))return t.call(this,e,n);if(Q.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Oe(e)){const n=Q.findKey(this,e);return!(!n||t&&!Pe(0,this[n],n,t))}return!1}delete(e,t){const n=this;let o=!1;function r(e){if(e=Oe(e)){const r=Q.findKey(n,e);!r||t&&!Pe(0,n[r],r,t)||(delete n[r],o=!0)}}return Q.isArray(e)?e.forEach(r):r(e),o}clear(){return Object.keys(this).forEach(this.delete.bind(this))}normalize(e){const t=this,n={};return Q.forEach(this,((o,r)=>{const i=Q.findKey(n,r);if(i)return t[i]=we(o),void delete t[r];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(r):String(r).trim();a!==r&&delete t[r],t[a]=we(o),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Q.forEach(this,((n,o)=>{null!=n&&!1!==n&&(t[o]=e&&Q.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[be]=this[be]={accessors:{}}).accessors,n=this.prototype;function o(e){const o=Oe(e);t[o]||(function(e,t){const n=Q.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{value:function(e,n,r){return this[o].call(this,t,e,n,r)},configurable:!0})}))}(n,e),t[o]=!0)}return Q.isArray(e)?e.forEach(o):o(e),this}}xe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]),Q.freezeMethods(xe.prototype),Q.freezeMethods(xe);const Se=xe;function Te(e,t){const n=this||ye,o=t||n,r=Se.from(o.headers);let i=o.data;return Q.forEach(e,(function(e){i=e.call(n,i,r.normalize(),t?t.status:void 0)})),r.normalize(),i}function Ae(e){return!(!e||!e.__CANCEL__)}function Ee(e,t,n){X.call(this,null==e?"canceled":e,X.ERR_CANCELED,t,n),this.name="CanceledError"}function je(e,t,n){const o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new X("Request failed with status code "+n.status,[X.ERR_BAD_REQUEST,X.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function ke(e,t){return e&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}Q.inherits(Ee,X,{__CANCEL__:!0});const _e="1.2.2";function Ce(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Ie=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function Re(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=o[a];r||(r=l),n[i]=s,o[i]=l;let p=a,u=0;for(;p!==i;)u+=n[p++],p%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-r!Q.isUndefined(t[e])))).chunkSize});const t=this,n=this[Ne]={length:e.length,timeWindow:e.timeWindow,ticksRate:e.ticksRate,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null},o=Re(n.ticksRate*e.samplesCount,n.timeWindow);this.on("newListener",(e=>{"progress"===e&&(n.isCaptured||(n.isCaptured=!0))}));let r=0;n.updateProgress=function(e,t){let n=0;const o=1e3/t;let r=null;return function(t,i){const a=Date.now();if(t||a-n>o)return r&&(clearTimeout(r),r=null),n=a,e.apply(null,i);r||(r=setTimeout((()=>(r=null,n=Date.now(),e.apply(null,i))),o-(a-n)))}}((function(){const e=n.length,i=n.bytesSeen,a=i-r;if(!a||t.destroyed)return;const s=o(a);r=i,process.nextTick((()=>{t.emit("progress",{loaded:i,total:e,progress:e?i/e:void 0,bytes:a,rate:s||void 0,estimated:s&&e&&i<=e?(e-i)/s:void 0})}))}),n.ticksRate);const i=()=>{n.updateProgress(!0)};this.once("end",i),this.once("error",i)}_read(e){const t=this[Ne];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const o=this,r=this[Ne],i=r.maxRate,a=this.readableHighWaterMark,s=r.timeWindow,l=i/(1e3/s),c=!1!==r.minChunkSize?Math.max(r.minChunkSize,.01*l):0,p=(e,t)=>{const n=Buffer.byteLength(e);let p,u=null,d=a,g=0;if(i){const e=Date.now();(!r.ts||(g=e-r.ts)>=s)&&(r.ts=e,p=l-r.bytes,r.bytes=p<0?-p:0,g=0),p=l-r.bytes}if(i){if(p<=0)return setTimeout((()=>{t(null,e)}),s-g);pd&&n-d>c&&(u=e.subarray(d),e=e.subarray(0,d)),function(e,t){const n=Buffer.byteLength(e);r.bytesSeen+=n,r.bytes+=n,r.isCaptured&&r.updateProgress(),o.push(e)?process.nextTick(t):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(t)}}(e,u?()=>{process.nextTick(t,null,u)}:t)};p(e,(function e(t,o){if(t)return n(t);o?p(o,e):n(null)}))}setLength(e){return this[Ne].length=+e,this}}const Le=De,Be={flush:v.default.constants.Z_SYNC_FLUSH,finishFlush:v.default.constants.Z_SYNC_FLUSH},Me={flush:v.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:v.default.constants.BROTLI_OPERATION_FLUSH},Fe=Q.isFunction(v.default.createBrotliDecompress),{http:Ue,https:qe}=y.default,Ve=/https:?/,He=ge.protocols.map((e=>e+":"));function Ge(e){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e)}function We(e,t,n){let o=t;if(!o&&!1!==o){const e=i.getProxyForUrl(n);e&&(o=new URL(e))}if(o){if(o.username&&(o.auth=(o.username||"")+":"+(o.password||"")),o.auth){(o.auth.username||o.auth.password)&&(o.auth=(o.auth.username||"")+":"+(o.auth.password||""));const t=Buffer.from(o.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=o.hostname||o.host;e.hostname=t,e.host=t,e.port=o.port,e.path=n,o.protocol&&(e.protocol=o.protocol.includes(":")?o.protocol:`${o.protocol}:`)}e.beforeRedirects.proxy=function(e){We(e,t,e.href)}}const ze="undefined"!=typeof process&&"process"===Q.kindOf(process)&&function(e){return new Promise((function(t,n){let o=e.data;const r=e.responseType,i=e.responseEncoding,a=e.method.toUpperCase();let s,l,c,p=!1;const u=new O.default;function d(){s||(s=!0,e.cancelToken&&e.cancelToken.unsubscribe(w),e.signal&&e.signal.removeEventListener("abort",w),u.removeAllListeners())}function g(e,o){l||(l=!0,o&&(p=!0,d()),o?n(e):t(e))}const f=function(e){g(e)},y=function(e){g(e,!0)};function w(t){u.emit("abort",!t||t.type?new Ee(null,e,c):t)}u.once("abort",y),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(w),e.signal&&(e.signal.aborted?w():e.signal.addEventListener("abort",w)));const P=ke(e.baseURL,e.url),x=new URL(P),S=x.protocol||He[0];if("data:"===S){let t;if("GET"!==a)return je(f,y,{status:405,statusText:"method not allowed",headers:{},config:e});try{t=function(e,t,n){const o=n&&n.Blob||ge.classes.Blob,r=Ce(e);if(void 0===t&&o&&(t=!0),"data"===r){e=r.length?e.slice(r.length+1):e;const n=Ie.exec(e);if(!n)throw new X("Invalid URL",X.ERR_INVALID_URL);const i=n[1],a=n[2],s=n[3],l=Buffer.from(decodeURIComponent(s),a?"base64":"utf8");if(t){if(!o)throw new X("Blob is not supported",X.ERR_NOT_SUPPORT);return new o([l],{type:i})}return l}throw new X("Unsupported protocol "+r,X.ERR_NOT_SUPPORT)}(e.url,"blob"===r,{Blob:e.env&&e.env.Blob})}catch(t){throw X.from(t,X.ERR_BAD_REQUEST,e)}return"text"===r?(t=t.toString(i),i&&"utf8"!==i||(o=Q.stripBOM(t))):"stream"===r&&(t=b.default.Readable.from(t)),je(f,y,{data:t,status:200,statusText:"OK",headers:new Se,config:e})}if(-1===He.indexOf(S))return y(new X("Unsupported protocol "+S,X.ERR_BAD_REQUEST,e));const T=Se.from(e.headers).normalize();T.set("User-Agent","axios/"+_e,!1);const A=e.onDownloadProgress,E=e.onUploadProgress,j=e.maxRate;let k,_;if(Q.isFormData(o)&&Q.isFunction(o.getHeaders))T.set(o.getHeaders());else if(o&&!Q.isStream(o)){if(Buffer.isBuffer(o));else if(Q.isArrayBuffer(o))o=Buffer.from(new Uint8Array(o));else{if(!Q.isString(o))return y(new X("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",X.ERR_BAD_REQUEST,e));o=Buffer.from(o,"utf-8")}if(T.set("Content-Length",o.length,!1),e.maxBodyLength>-1&&o.length>e.maxBodyLength)return y(new X("Request body larger than maxBodyLength limit",X.ERR_BAD_REQUEST,e))}const C=Q.toFiniteNumber(T.getContentLength());let I,R;Q.isArray(j)?(k=j[0],_=j[1]):k=_=j,o&&(E||k)&&(Q.isStream(o)||(o=b.default.Readable.from(o,{objectMode:!1})),o=b.default.pipeline([o,new Le({length:C,maxRate:Q.toFiniteNumber(k)})],Q.noop),E&&o.on("progress",(e=>{E(Object.assign(e,{upload:!0}))}))),e.auth&&(I=(e.auth.username||"")+":"+(e.auth.password||"")),!I&&x.username&&(I=x.username+":"+x.password),I&&T.delete("authorization");try{R=pe(x.pathname+x.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const n=new Error(t.message);return n.config=e,n.url=e.url,n.exists=!0,y(n)}T.set("Accept-Encoding","gzip, compress, deflate"+(Fe?", br":""),!1);const N={path:R,method:a,headers:T.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:I,protocol:S,beforeRedirect:Ge,beforeRedirects:{}};let D;e.socketPath?N.socketPath=e.socketPath:(N.hostname=x.hostname,N.port=x.port,We(N,e.proxy,S+"//"+x.hostname+(x.port?":"+x.port:"")+N.path));const L=Ve.test(N.protocol);if(N.agent=L?e.httpsAgent:e.httpAgent,e.transport?D=e.transport:0===e.maxRedirects?D=L?m.default:h.default:(e.maxRedirects&&(N.maxRedirects=e.maxRedirects),e.beforeRedirect&&(N.beforeRedirects.config=e.beforeRedirect),D=L?qe:Ue),e.maxBodyLength>-1?N.maxBodyLength=e.maxBodyLength:N.maxBodyLength=1/0,e.insecureHTTPParser&&(N.insecureHTTPParser=e.insecureHTTPParser),c=D.request(N,(function(t){if(c.destroyed)return;const n=[t],o=+t.headers["content-length"];if(A){const e=new Le({length:Q.toFiniteNumber(o),maxRate:Q.toFiniteNumber(_)});A&&e.on("progress",(e=>{A(Object.assign(e,{download:!0}))})),n.push(e)}let s=t;const l=t.req||c;if(!1!==e.decompress&&t.headers["content-encoding"])switch("HEAD"!==a&&204!==t.statusCode||delete t.headers["content-encoding"],t.headers["content-encoding"]){case"gzip":case"x-gzip":case"compress":case"x-compress":case"deflate":n.push(v.default.createUnzip(Be)),delete t.headers["content-encoding"];break;case"br":Fe&&(n.push(v.default.createBrotliDecompress(Me)),delete t.headers["content-encoding"])}s=n.length>1?b.default.pipeline(n,Q.noop):n[0];const g=b.default.finished(s,(()=>{g(),d()})),h={status:t.statusCode,statusText:t.statusMessage,headers:new Se(t.headers),config:e,request:l};if("stream"===r)h.data=s,je(f,y,h);else{const t=[];let n=0;s.on("data",(function(o){t.push(o),n+=o.length,e.maxContentLength>-1&&n>e.maxContentLength&&(p=!0,s.destroy(),y(new X("maxContentLength size of "+e.maxContentLength+" exceeded",X.ERR_BAD_RESPONSE,e,l)))})),s.on("aborted",(function(){if(p)return;const t=new X("maxContentLength size of "+e.maxContentLength+" exceeded",X.ERR_BAD_RESPONSE,e,l);s.destroy(t),y(t)})),s.on("error",(function(t){c.destroyed||y(X.from(t,null,e,l))})),s.on("end",(function(){try{let e=1===t.length?t[0]:Buffer.concat(t);"arraybuffer"!==r&&(e=e.toString(i),i&&"utf8"!==i||(e=Q.stripBOM(e))),h.data=e}catch(t){y(X.from(t,null,e,h.request,h))}je(f,y,h)}))}u.once("abort",(e=>{s.destroyed||(s.emit("error",e),s.destroy())}))})),u.once("abort",(e=>{y(e),c.destroy(e)})),c.on("error",(function(t){y(X.from(t,null,e,c))})),c.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(isNaN(t))return void y(new X("error trying to parse `config.timeout` to int",X.ERR_BAD_OPTION_VALUE,e,c));c.setTimeout(t,(function(){if(l)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||de;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),y(new X(t,n.clarifyTimeoutError?X.ETIMEDOUT:X.ECONNABORTED,e,c)),w()}))}if(Q.isStream(o)){let t=!1,n=!1;o.on("end",(()=>{t=!0})),o.once("error",(e=>{n=!0,c.destroy(e)})),o.on("close",(()=>{t||n||w(new Ee("Request stream has been aborted",e,c))})),o.pipe(c)}else c.end(o)}))},Je=ge.isStandardBrowserEnv?{write:function(e,t,n,o,r,i){const a=[];a.push(e+"="+encodeURIComponent(t)),Q.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Q.isString(o)&&a.push("path="+o),Q.isString(r)&&a.push("domain="+r),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},Ke=ge.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function o(n){let o=n;return e&&(t.setAttribute("href",o),o=t.href),t.setAttribute("href",o),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=o(window.location.href),function(e){const t=Q.isString(e)?o(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function Ye(e,t){let n=0;const o=Re(50,250);return r=>{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,l=o(s);n=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:r};c[t?"download":"upload"]=!0,e(c)}}const $e={http:ze,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let o=e.data;const r=Se.from(e.headers).normalize(),i=e.responseType;let a;function s(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}Q.isFormData(o)&&(ge.isStandardBrowserEnv||ge.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let l=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";r.set("Authorization","Basic "+btoa(t+":"+n))}const c=ke(e.baseURL,e.url);function p(){if(!l)return;const o=Se.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());je((function(e){t(e),s()}),(function(e){n(e),s()}),{data:i&&"text"!==i&&"json"!==i?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:o,config:e,request:l}),l=null}if(l.open(e.method.toUpperCase(),pe(c,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(p)},l.onabort=function(){l&&(n(new X("Request aborted",X.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new X("Network Error",X.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const o=e.transitional||de;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new X(t,o.clarifyTimeoutError?X.ETIMEDOUT:X.ECONNABORTED,e,l)),l=null},ge.isStandardBrowserEnv){const t=(e.withCredentials||Ke(c))&&e.xsrfCookieName&&Je.read(e.xsrfCookieName);t&&r.set(e.xsrfHeaderName,t)}void 0===o&&r.setContentType(null),"setRequestHeader"in l&&Q.forEach(r.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),Q.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),i&&"json"!==i&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",Ye(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Ye(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=t=>{l&&(n(!t||t.type?new Ee(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const u=Ce(c);u&&-1===ge.protocols.indexOf(u)?n(new X("Unsupported protocol "+u+":",X.ERR_BAD_REQUEST,e)):l.send(o||null)}))}};Q.forEach($e,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));function Qe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ee(null,e)}function Xe(e){return Qe(e),e.headers=Se.from(e.headers),e.data=Te.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),(e=>{e=Q.isArray(e)?e:[e];const{length:t}=e;let n,o;for(let r=0;re instanceof Se?e.toJSON():e;function et(e,t){t=t||{};const n={};function o(e,t,n){return Q.isPlainObject(e)&&Q.isPlainObject(t)?Q.merge.call({caseless:n},e,t):Q.isPlainObject(t)?Q.merge({},t):Q.isArray(t)?t.slice():t}function r(e,t,n){return Q.isUndefined(t)?Q.isUndefined(e)?void 0:o(void 0,e,n):o(e,t,n)}function i(e,t){if(!Q.isUndefined(t))return o(void 0,t)}function a(e,t){return Q.isUndefined(t)?Q.isUndefined(e)?void 0:o(void 0,e):o(void 0,t)}function s(n,r,i){return i in t?o(n,r):i in e?o(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>r(Ze(e),Ze(t),!0)};return Q.forEach(Object.keys(e).concat(Object.keys(t)),(function(o){const i=l[o]||r,a=i(e[o],t[o],o);Q.isUndefined(a)&&i!==s||(n[o]=a)})),n}const tt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{tt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const nt={};tt.transitional=function(e,t,n){function o(e,t){return"[Axios v1.2.2] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,r,i)=>{if(!1===e)throw new X(o(r," has been removed"+(t?" in "+t:"")),X.ERR_DEPRECATED);return t&&!nt[r]&&(nt[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,i)}};const ot={assertOptions:function(e,t,n){if("object"!=typeof e)throw new X("options must be an object",X.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const i=o[r],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new X("option "+i+" must be "+n,X.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new X("Unknown option "+i,X.ERR_BAD_OPTION)}},validators:tt},rt=ot.validators;class it{constructor(e){this.defaults=e,this.interceptors={request:new ue,response:new ue}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=et(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:r}=t;let i;void 0!==n&&ot.assertOptions(n,{silentJSONParsing:rt.transitional(rt.boolean),forcedJSONParsing:rt.transitional(rt.boolean),clarifyTimeoutError:rt.transitional(rt.boolean)},!1),void 0!==o&&ot.assertOptions(o,{encode:rt.function,serialize:rt.function},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase(),i=r&&Q.merge(r.common,r[t.method]),i&&Q.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete r[e]})),t.headers=Se.concat(i,r);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let p,u=0;if(!s){const e=[Xe.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),p=e.length,c=Promise.resolve(t);u{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const o=new Promise((e=>{n.subscribe(e),t=e})).then(e);return o.cancel=function(){n.unsubscribe(t)},o},e((function(e,o,r){n.reason||(n.reason=new Ee(e,o,r),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new st((function(t){e=t})),cancel:e}}}const lt=st,ct={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ct).forEach((([e,t])=>{ct[t]=e}));const pt=ct,ut=function e(t){const n=new at(t),o=w(at.prototype.request,n);return Q.extend(o,at.prototype,n,{allOwnKeys:!0}),Q.extend(o,n,null,{allOwnKeys:!0}),o.create=function(n){return e(et(t,n))},o}(ye);ut.Axios=at,ut.CanceledError=Ee,ut.CancelToken=lt,ut.isCancel=Ae,ut.VERSION=_e,ut.toFormData=ie,ut.AxiosError=X,ut.Cancel=ut.CanceledError,ut.all=function(e){return Promise.all(e)},ut.spread=function(e){return function(t){return e.apply(null,t)}},ut.isAxiosError=function(e){return Q.isObject(e)&&!0===e.isAxiosError},ut.mergeConfig=et,ut.AxiosHeaders=Se,ut.formToJSON=e=>fe(Q.isHTMLForm(e)?new FormData(e):e),ut.HttpStatusCode=pt,ut.default=ut,e.exports=ut},15673:(e,t,n)=>{let o,r,i=n(6113),{urlAlphabet:a}=n(44571),s=e=>{!o||o.lengtho.length&&(i.randomFillSync(o),r=0),r+=e},l=e=>(s(e-=0),o.subarray(r-e,r)),c=(e,t,n)=>{let o=(2<<31-Math.clz32(e.length-1|1))-1,r=Math.ceil(1.6*o*t/e.length);return(i=t)=>{let a="";for(;;){let t=n(r),s=r;for(;s--;)if(a+=e[t[s]&o]||"",a.length===i)return a}}};e.exports={nanoid:(e=21)=>{s(e-=0);let t="";for(let n=r-e;nc(e,t,l),customRandom:c,urlAlphabet:a,random:l}},44571:e=>{e.exports={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"}},54250:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FetchError:()=>g,Headers:()=>_,Request:()=>z,Response:()=>M,default:()=>Q});var o=n(12781),r=n(13685),i=n(57310),a=n(89897),s=n(95687),l=n(59796);const c=o.Readable,p=Symbol("buffer"),u=Symbol("type");class d{constructor(){this[u]="";const e=arguments[0],t=arguments[1],n=[];let o=0;if(e){const t=e,r=Number(t.length);for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:{},r=n.size;let i=void 0===r?0:r;var a=n.timeout;let s=void 0===a?0:a;null==e?e=null:b(e)?e=Buffer.from(e.toString()):O(e)||Buffer.isBuffer(e)||("[object ArrayBuffer]"===Object.prototype.toString.call(e)?e=Buffer.from(e):ArrayBuffer.isView(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):e instanceof o||(e=Buffer.from(String(e)))),this[h]={body:e,disturbed:!1,error:null},this.size=i,this.timeout=s,e instanceof o&&e.on("error",(function(e){const n="AbortError"===e.name?e:new g(`Invalid response body while trying to fetch ${t.url}: ${e.message}`,"system",e);t[h].error=n}))}function v(){var e=this;if(this[h].disturbed)return y.Promise.reject(new TypeError(`body used already for: ${this.url}`));if(this[h].disturbed=!0,this[h].error)return y.Promise.reject(this[h].error);let t=this.body;if(null===t)return y.Promise.resolve(Buffer.alloc(0));if(O(t)&&(t=t.stream()),Buffer.isBuffer(t))return y.Promise.resolve(t);if(!(t instanceof o))return y.Promise.resolve(Buffer.alloc(0));let n=[],r=0,i=!1;return new y.Promise((function(o,a){let s;e.timeout&&(s=setTimeout((function(){i=!0,a(new g(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))}),e.timeout)),t.on("error",(function(t){"AbortError"===t.name?(i=!0,a(t)):a(new g(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))})),t.on("data",(function(t){if(!i&&null!==t){if(e.size&&r+t.length>e.size)return i=!0,void a(new g(`content size at ${e.url} over limit: ${e.size}`,"max-size"));r+=t.length,n.push(t)}})),t.on("end",(function(){if(!i){clearTimeout(s);try{o(Buffer.concat(n,r))}catch(t){a(new g(`Could not create Buffer from response body for ${e.url}: ${t.message}`,"system",t))}}}))}))}function b(e){return"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&("URLSearchParams"===e.constructor.name||"[object URLSearchParams]"===Object.prototype.toString.call(e)||"function"==typeof e.sort)}function O(e){return"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function w(e){let t,n,r=e.body;if(e.bodyUsed)throw new Error("cannot clone body after it is used");return r instanceof o&&"function"!=typeof r.getBoundary&&(t=new m,n=new m,r.pipe(t),r.pipe(n),e[h].body=t,r=n),r}function P(e){return null===e?null:"string"==typeof e?"text/plain;charset=UTF-8":b(e)?"application/x-www-form-urlencoded;charset=UTF-8":O(e)?e.type||null:Buffer.isBuffer(e)||"[object ArrayBuffer]"===Object.prototype.toString.call(e)||ArrayBuffer.isView(e)?null:"function"==typeof e.getBoundary?`multipart/form-data;boundary=${e.getBoundary()}`:e instanceof o?null:"text/plain;charset=UTF-8"}function x(e){const t=e.body;return null===t?0:O(t)?t.size:Buffer.isBuffer(t)?t.length:t&&"function"==typeof t.getLengthSync&&(t._lengthRetrievers&&0==t._lengthRetrievers.length||t.hasKnownLength&&t.hasKnownLength())?t.getLengthSync():null}y.prototype={get body(){return this[h].body},get bodyUsed(){return this[h].disturbed},arrayBuffer(){return v.call(this).then((function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}))},blob(){let e=this.headers&&this.headers.get("content-type")||"";return v.call(this).then((function(t){return Object.assign(new d([],{type:e.toLowerCase()}),{[p]:t})}))},json(){var e=this;return v.call(this).then((function(t){try{return JSON.parse(t.toString())}catch(t){return y.Promise.reject(new g(`invalid json response body at ${e.url} reason: ${t.message}`,"invalid-json"))}}))},text(){return v.call(this).then((function(e){return e.toString()}))},buffer(){return v.call(this)},textConverted(){var e=this;return v.call(this).then((function(t){return function(e,t){if("function"!=typeof f)throw new Error("The package `encoding` must be installed to use the textConverted() function");const n=t.get("content-type");let o,r,i="utf-8";return n&&(o=/charset=([^;]*)/i.exec(n)),r=e.slice(0,1024).toString(),!o&&r&&(o=/0&&void 0!==arguments[0]?arguments[0]:void 0;if(this[k]=Object.create(null),e instanceof _){const t=e.raw(),n=Object.keys(t);for(const e of n)for(const n of t[e])this.append(e,n)}else if(null==e);else{if("object"!=typeof e)throw new TypeError("Provided initializer must be an object");{const t=e[Symbol.iterator];if(null!=t){if("function"!=typeof t)throw new TypeError("Header pairs must be iterable");const n=[];for(const t of e){if("object"!=typeof t||"function"!=typeof t[Symbol.iterator])throw new TypeError("Each header pair must be iterable");n.push(Array.from(t))}for(const e of n){if(2!==e.length)throw new TypeError("Each header pair must be a name/value tuple");this.append(e[0],e[1])}}else for(const t of Object.keys(e)){const n=e[t];this.append(t,n)}}}}get(e){A(e=`${e}`);const t=j(this[k],e);return void 0===t?null:this[k][t].join(", ")}forEach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=C(this),o=0;for(;o1&&void 0!==arguments[1]?arguments[1]:"key+value";const n=Object.keys(e[k]).sort();return n.map("key"===t?function(e){return e.toLowerCase()}:"value"===t?function(t){return e[k][t].join(", ")}:function(t){return[t.toLowerCase(),e[k][t].join(", ")]})}_.prototype.entries=_.prototype[Symbol.iterator],Object.defineProperty(_.prototype,Symbol.toStringTag,{value:"Headers",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(_.prototype,{get:{enumerable:!0},forEach:{enumerable:!0},set:{enumerable:!0},append:{enumerable:!0},has:{enumerable:!0},delete:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0}});const I=Symbol("internal");function R(e,t){const n=Object.create(N);return n[I]={target:e,kind:t,index:0},n}const N=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==N)throw new TypeError("Value of `this` is not a HeadersIterator");var e=this[I];const t=e.target,n=e.kind,o=e.index,r=C(t,n);return o>=r.length?{value:void 0,done:!0}:(this[I].index=o+1,{value:r[o],done:!1})}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));function D(e){const t=Object.assign({__proto__:null},e[k]),n=j(e[k],"Host");return void 0!==n&&(t[n]=t[n][0]),t}Object.defineProperty(N,Symbol.toStringTag,{value:"HeadersIterator",writable:!1,enumerable:!1,configurable:!0});const L=Symbol("Response internals"),B=r.STATUS_CODES;class M{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};y.call(this,e,t);const n=t.status||200,o=new _(t.headers);if(null!=e&&!o.has("Content-Type")){const t=P(e);t&&o.append("Content-Type",t)}this[L]={url:t.url,status:n,statusText:t.statusText||B[n],headers:o,counter:t.counter}}get url(){return this[L].url||""}get status(){return this[L].status}get ok(){return this[L].status>=200&&this[L].status<300}get redirected(){return this[L].counter>0}get statusText(){return this[L].statusText}get headers(){return this[L].headers}clone(){return new M(w(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}y.mixIn(M.prototype),Object.defineProperties(M.prototype,{url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}}),Object.defineProperty(M.prototype,Symbol.toStringTag,{value:"Response",writable:!1,enumerable:!1,configurable:!0});const F=Symbol("Request internals"),U=i.URL||a.URL,q=i.parse,V=i.format;function H(e){return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(e)&&(e=new U(e).toString()),q(e)}const G="destroy"in o.Readable.prototype;function W(e){return"object"==typeof e&&"object"==typeof e[F]}class z{constructor(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};W(e)?t=H(e.url):(t=e&&e.href?H(e.href):H(`${e}`),e={});let o=n.method||e.method||"GET";if(o=o.toUpperCase(),(null!=n.body||W(e)&&null!==e.body)&&("GET"===o||"HEAD"===o))throw new TypeError("Request with GET/HEAD method cannot have body");let r=null!=n.body?n.body:W(e)&&null!==e.body?w(e):null;y.call(this,r,{timeout:n.timeout||e.timeout||0,size:n.size||e.size||0});const i=new _(n.headers||e.headers||{});if(null!=r&&!i.has("Content-Type")){const e=P(r);e&&i.append("Content-Type",e)}let a=W(e)?e.signal:null;if("signal"in n&&(a=n.signal),null!=a&&!function(e){const t=e&&"object"==typeof e&&Object.getPrototypeOf(e);return!(!t||"AbortSignal"!==t.constructor.name)}(a))throw new TypeError("Expected signal to be an instanceof AbortSignal");this[F]={method:o,redirect:n.redirect||e.redirect||"follow",headers:i,parsedURL:t,signal:a},this.follow=void 0!==n.follow?n.follow:void 0!==e.follow?e.follow:20,this.compress=void 0!==n.compress?n.compress:void 0===e.compress||e.compress,this.counter=n.counter||e.counter||0,this.agent=n.agent||e.agent}get method(){return this[F].method}get url(){return V(this[F].parsedURL)}get headers(){return this[F].headers}get redirect(){return this[F].redirect}get signal(){return this[F].signal}clone(){return new z(this)}}function J(e){Error.call(this,e),this.type="aborted",this.message=e,Error.captureStackTrace(this,this.constructor)}y.mixIn(z.prototype),Object.defineProperty(z.prototype,Symbol.toStringTag,{value:"Request",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(z.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0}}),J.prototype=Object.create(Error.prototype),J.prototype.constructor=J,J.prototype.name="AbortError";const K=i.URL||a.URL,Y=o.PassThrough;function $(e,t){if(!$.Promise)throw new Error("native promise missing, set fetch.Promise to your favorite alternative");return y.Promise=$.Promise,new $.Promise((function(n,i){const a=new z(e,t),c=function(e){const t=e[F].parsedURL,n=new _(e[F].headers);if(n.has("Accept")||n.set("Accept","*/*"),!t.protocol||!t.hostname)throw new TypeError("Only absolute URLs are supported");if(!/^https?:$/.test(t.protocol))throw new TypeError("Only HTTP(S) protocols are supported");if(e.signal&&e.body instanceof o.Readable&&!G)throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8");let r=null;if(null==e.body&&/^(POST|PUT)$/i.test(e.method)&&(r="0"),null!=e.body){const t=x(e);"number"==typeof t&&(r=String(t))}r&&n.set("Content-Length",r),n.has("User-Agent")||n.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"),e.compress&&!n.has("Accept-Encoding")&&n.set("Accept-Encoding","gzip,deflate");let i=e.agent;return"function"==typeof i&&(i=i(t)),n.has("Connection")||i||n.set("Connection","close"),Object.assign({},t,{method:e.method,headers:D(n),agent:i})}(a),p=("https:"===c.protocol?s:r).request,u=a.signal;let d=null;const f=function(){let e=new J("The user aborted a request.");i(e),a.body&&a.body instanceof o.Readable&&a.body.destroy(e),d&&d.body&&d.body.emit("error",e)};if(u&&u.aborted)return void f();const h=function(){f(),v()},m=p(c);let y;function v(){m.abort(),u&&u.removeEventListener("abort",h),clearTimeout(y)}u&&u.addEventListener("abort",h),a.timeout&&m.once("socket",(function(e){y=setTimeout((function(){i(new g(`network timeout at: ${a.url}`,"request-timeout")),v()}),a.timeout)})),m.on("error",(function(e){i(new g(`request to ${a.url} failed, reason: ${e.message}`,"system",e)),v()})),m.on("response",(function(e){clearTimeout(y);const t=function(e){const t=new _;for(const n of Object.keys(e))if(!S.test(n))if(Array.isArray(e[n]))for(const o of e[n])T.test(o)||(void 0===t[k][n]?t[k][n]=[o]:t[k][n].push(o));else T.test(e[n])||(t[k][n]=[e[n]]);return t}(e.headers);if($.isRedirect(e.statusCode)){const o=t.get("Location");let r=null;try{r=null===o?null:new K(o,a.url).toString()}catch(e){if("manual"!==a.redirect)return i(new g(`uri requested responds with an invalid redirect URL: ${o}`,"invalid-redirect")),void v()}switch(a.redirect){case"error":return i(new g(`uri requested responds with a redirect, redirect mode is set to error: ${a.url}`,"no-redirect")),void v();case"manual":if(null!==r)try{t.set("Location",r)}catch(e){i(e)}break;case"follow":if(null===r)break;if(a.counter>=a.follow)return i(new g(`maximum redirect reached at: ${a.url}`,"max-redirect")),void v();const o={headers:new _(a.headers),follow:a.follow,counter:a.counter+1,agent:a.agent,compress:a.compress,method:a.method,body:a.body,signal:a.signal,timeout:a.timeout,size:a.size};if(!function(e,t){const n=new K(t).hostname,o=new K(e).hostname;return n===o||"."===n[n.length-o.length-1]&&n.endsWith(o)}(a.url,r))for(const e of["authorization","www-authenticate","cookie","cookie2"])o.headers.delete(e);return 303!==e.statusCode&&a.body&&null===x(a)?(i(new g("Cannot follow redirect with body being a readable stream","unsupported-redirect")),void v()):(303!==e.statusCode&&(301!==e.statusCode&&302!==e.statusCode||"POST"!==a.method)||(o.method="GET",o.body=void 0,o.headers.delete("content-length")),n($(new z(r,o))),void v())}}e.once("end",(function(){u&&u.removeEventListener("abort",h)}));let o=e.pipe(new Y);const r={url:a.url,status:e.statusCode,statusText:e.statusMessage,headers:t,size:a.size,timeout:a.timeout,counter:a.counter},s=t.get("Content-Encoding");if(!a.compress||"HEAD"===a.method||null===s||204===e.statusCode||304===e.statusCode)return d=new M(o,r),void n(d);const c={flush:l.Z_SYNC_FLUSH,finishFlush:l.Z_SYNC_FLUSH};if("gzip"==s||"x-gzip"==s)return o=o.pipe(l.createGunzip(c)),d=new M(o,r),void n(d);if("deflate"!=s&&"x-deflate"!=s){if("br"==s&&"function"==typeof l.createBrotliDecompress)return o=o.pipe(l.createBrotliDecompress()),d=new M(o,r),void n(d);d=new M(o,r),n(d)}else e.pipe(new Y).once("data",(function(e){o=8==(15&e[0])?o.pipe(l.createInflate()):o.pipe(l.createInflateRaw()),d=new M(o,r),n(d)}))})),function(e,t){const n=t.body;null===n?e.end():O(n)?n.stream().pipe(e):Buffer.isBuffer(n)?(e.write(n),e.end()):n.pipe(e)}(m,a)}))}$.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},$.Promise=global.Promise;const Q=$},41548:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"cloud":{"nested":{"vision":{"nested":{"v1":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/cloud/vision/v1;vision","java_multiple_files":true,"java_outer_classname":"WebDetectionProto","java_package":"com.google.cloud.vision.v1","objc_class_prefix":"GCVN"},"nested":{"Vertex":{"fields":{"x":{"type":"int32","id":1},"y":{"type":"int32","id":2}}},"NormalizedVertex":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2}}},"BoundingPoly":{"fields":{"vertices":{"rule":"repeated","type":"Vertex","id":1},"normalizedVertices":{"rule":"repeated","type":"NormalizedVertex","id":2}}},"Position":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2},"z":{"type":"float","id":3}}},"ImageAnnotator":{"options":{"(google.api.default_host)":"vision.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-vision"},"methods":{"BatchAnnotateImages":{"requestType":"BatchAnnotateImagesRequest","responseType":"BatchAnnotateImagesResponse","options":{"(google.api.http).post":"/v1/images:annotate","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1/{parent=projects/*}/images:annotate","(google.api.http).additional_bindings.body":"*","(google.api.method_signature)":"requests"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/images:annotate","body":"*","additional_bindings":[{"post":"/v1/{parent=projects/*/locations/*}/images:annotate","body":"*"},{"post":"/v1/{parent=projects/*}/images:annotate","body":"*"}]}},{"(google.api.method_signature)":"requests"}]},"BatchAnnotateFiles":{"requestType":"BatchAnnotateFilesRequest","responseType":"BatchAnnotateFilesResponse","options":{"(google.api.http).post":"/v1/files:annotate","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1/{parent=projects/*}/files:annotate","(google.api.http).additional_bindings.body":"*","(google.api.method_signature)":"requests"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/files:annotate","body":"*","additional_bindings":[{"post":"/v1/{parent=projects/*/locations/*}/files:annotate","body":"*"},{"post":"/v1/{parent=projects/*}/files:annotate","body":"*"}]}},{"(google.api.method_signature)":"requests"}]},"AsyncBatchAnnotateImages":{"requestType":"AsyncBatchAnnotateImagesRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1/images:asyncBatchAnnotate","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1/{parent=projects/*}/images:asyncBatchAnnotate","(google.api.http).additional_bindings.body":"*","(google.api.method_signature)":"requests,output_config","(google.longrunning.operation_info).response_type":"AsyncBatchAnnotateImagesResponse","(google.longrunning.operation_info).metadata_type":"OperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/images:asyncBatchAnnotate","body":"*","additional_bindings":[{"post":"/v1/{parent=projects/*/locations/*}/images:asyncBatchAnnotate","body":"*"},{"post":"/v1/{parent=projects/*}/images:asyncBatchAnnotate","body":"*"}]}},{"(google.api.method_signature)":"requests,output_config"},{"(google.longrunning.operation_info)":{"response_type":"AsyncBatchAnnotateImagesResponse","metadata_type":"OperationMetadata"}}]},"AsyncBatchAnnotateFiles":{"requestType":"AsyncBatchAnnotateFilesRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1/files:asyncBatchAnnotate","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1/{parent=projects/*}/files:asyncBatchAnnotate","(google.api.http).additional_bindings.body":"*","(google.api.method_signature)":"requests","(google.longrunning.operation_info).response_type":"AsyncBatchAnnotateFilesResponse","(google.longrunning.operation_info).metadata_type":"OperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/files:asyncBatchAnnotate","body":"*","additional_bindings":[{"post":"/v1/{parent=projects/*/locations/*}/files:asyncBatchAnnotate","body":"*"},{"post":"/v1/{parent=projects/*}/files:asyncBatchAnnotate","body":"*"}]}},{"(google.api.method_signature)":"requests"},{"(google.longrunning.operation_info)":{"response_type":"AsyncBatchAnnotateFilesResponse","metadata_type":"OperationMetadata"}}]}}},"Likelihood":{"values":{"UNKNOWN":0,"VERY_UNLIKELY":1,"UNLIKELY":2,"POSSIBLE":3,"LIKELY":4,"VERY_LIKELY":5}},"Feature":{"fields":{"type":{"type":"Type","id":1},"maxResults":{"type":"int32","id":2},"model":{"type":"string","id":3}},"nested":{"Type":{"values":{"TYPE_UNSPECIFIED":0,"FACE_DETECTION":1,"LANDMARK_DETECTION":2,"LOGO_DETECTION":3,"LABEL_DETECTION":4,"TEXT_DETECTION":5,"DOCUMENT_TEXT_DETECTION":11,"SAFE_SEARCH_DETECTION":6,"IMAGE_PROPERTIES":7,"CROP_HINTS":9,"WEB_DETECTION":10,"PRODUCT_SEARCH":12,"OBJECT_LOCALIZATION":19}}}},"ImageSource":{"fields":{"gcsImageUri":{"type":"string","id":1},"imageUri":{"type":"string","id":2}}},"Image":{"fields":{"content":{"type":"bytes","id":1},"source":{"type":"ImageSource","id":2}}},"FaceAnnotation":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"fdBoundingPoly":{"type":"BoundingPoly","id":2},"landmarks":{"rule":"repeated","type":"Landmark","id":3},"rollAngle":{"type":"float","id":4},"panAngle":{"type":"float","id":5},"tiltAngle":{"type":"float","id":6},"detectionConfidence":{"type":"float","id":7},"landmarkingConfidence":{"type":"float","id":8},"joyLikelihood":{"type":"Likelihood","id":9},"sorrowLikelihood":{"type":"Likelihood","id":10},"angerLikelihood":{"type":"Likelihood","id":11},"surpriseLikelihood":{"type":"Likelihood","id":12},"underExposedLikelihood":{"type":"Likelihood","id":13},"blurredLikelihood":{"type":"Likelihood","id":14},"headwearLikelihood":{"type":"Likelihood","id":15}},"nested":{"Landmark":{"fields":{"type":{"type":"Type","id":3},"position":{"type":"Position","id":4}},"nested":{"Type":{"values":{"UNKNOWN_LANDMARK":0,"LEFT_EYE":1,"RIGHT_EYE":2,"LEFT_OF_LEFT_EYEBROW":3,"RIGHT_OF_LEFT_EYEBROW":4,"LEFT_OF_RIGHT_EYEBROW":5,"RIGHT_OF_RIGHT_EYEBROW":6,"MIDPOINT_BETWEEN_EYES":7,"NOSE_TIP":8,"UPPER_LIP":9,"LOWER_LIP":10,"MOUTH_LEFT":11,"MOUTH_RIGHT":12,"MOUTH_CENTER":13,"NOSE_BOTTOM_RIGHT":14,"NOSE_BOTTOM_LEFT":15,"NOSE_BOTTOM_CENTER":16,"LEFT_EYE_TOP_BOUNDARY":17,"LEFT_EYE_RIGHT_CORNER":18,"LEFT_EYE_BOTTOM_BOUNDARY":19,"LEFT_EYE_LEFT_CORNER":20,"RIGHT_EYE_TOP_BOUNDARY":21,"RIGHT_EYE_RIGHT_CORNER":22,"RIGHT_EYE_BOTTOM_BOUNDARY":23,"RIGHT_EYE_LEFT_CORNER":24,"LEFT_EYEBROW_UPPER_MIDPOINT":25,"RIGHT_EYEBROW_UPPER_MIDPOINT":26,"LEFT_EAR_TRAGION":27,"RIGHT_EAR_TRAGION":28,"LEFT_EYE_PUPIL":29,"RIGHT_EYE_PUPIL":30,"FOREHEAD_GLABELLA":31,"CHIN_GNATHION":32,"CHIN_LEFT_GONION":33,"CHIN_RIGHT_GONION":34,"LEFT_CHEEK_CENTER":35,"RIGHT_CHEEK_CENTER":36}}}}}},"LocationInfo":{"fields":{"latLng":{"type":"google.type.LatLng","id":1}}},"Property":{"fields":{"name":{"type":"string","id":1},"value":{"type":"string","id":2},"uint64Value":{"type":"uint64","id":3}}},"EntityAnnotation":{"fields":{"mid":{"type":"string","id":1},"locale":{"type":"string","id":2},"description":{"type":"string","id":3},"score":{"type":"float","id":4},"confidence":{"type":"float","id":5,"options":{"deprecated":true}},"topicality":{"type":"float","id":6},"boundingPoly":{"type":"BoundingPoly","id":7},"locations":{"rule":"repeated","type":"LocationInfo","id":8},"properties":{"rule":"repeated","type":"Property","id":9}}},"LocalizedObjectAnnotation":{"fields":{"mid":{"type":"string","id":1},"languageCode":{"type":"string","id":2},"name":{"type":"string","id":3},"score":{"type":"float","id":4},"boundingPoly":{"type":"BoundingPoly","id":5}}},"SafeSearchAnnotation":{"fields":{"adult":{"type":"Likelihood","id":1},"spoof":{"type":"Likelihood","id":2},"medical":{"type":"Likelihood","id":3},"violence":{"type":"Likelihood","id":4},"racy":{"type":"Likelihood","id":9}}},"LatLongRect":{"fields":{"minLatLng":{"type":"google.type.LatLng","id":1},"maxLatLng":{"type":"google.type.LatLng","id":2}}},"ColorInfo":{"fields":{"color":{"type":"google.type.Color","id":1},"score":{"type":"float","id":2},"pixelFraction":{"type":"float","id":3}}},"DominantColorsAnnotation":{"fields":{"colors":{"rule":"repeated","type":"ColorInfo","id":1}}},"ImageProperties":{"fields":{"dominantColors":{"type":"DominantColorsAnnotation","id":1}}},"CropHint":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"confidence":{"type":"float","id":2},"importanceFraction":{"type":"float","id":3}}},"CropHintsAnnotation":{"fields":{"cropHints":{"rule":"repeated","type":"CropHint","id":1}}},"CropHintsParams":{"fields":{"aspectRatios":{"rule":"repeated","type":"float","id":1}}},"WebDetectionParams":{"fields":{"includeGeoResults":{"type":"bool","id":2}}},"TextDetectionParams":{"fields":{"enableTextDetectionConfidenceScore":{"type":"bool","id":9},"advancedOcrOptions":{"rule":"repeated","type":"string","id":11}}},"ImageContext":{"fields":{"latLongRect":{"type":"LatLongRect","id":1},"languageHints":{"rule":"repeated","type":"string","id":2},"cropHintsParams":{"type":"CropHintsParams","id":4},"productSearchParams":{"type":"ProductSearchParams","id":5},"webDetectionParams":{"type":"WebDetectionParams","id":6},"textDetectionParams":{"type":"TextDetectionParams","id":12}}},"AnnotateImageRequest":{"fields":{"image":{"type":"Image","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3}}},"ImageAnnotationContext":{"fields":{"uri":{"type":"string","id":1},"pageNumber":{"type":"int32","id":2}}},"AnnotateImageResponse":{"fields":{"faceAnnotations":{"rule":"repeated","type":"FaceAnnotation","id":1},"landmarkAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":2},"logoAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":3},"labelAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":4},"localizedObjectAnnotations":{"rule":"repeated","type":"LocalizedObjectAnnotation","id":22},"textAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":5},"fullTextAnnotation":{"type":"TextAnnotation","id":12},"safeSearchAnnotation":{"type":"SafeSearchAnnotation","id":6},"imagePropertiesAnnotation":{"type":"ImageProperties","id":8},"cropHintsAnnotation":{"type":"CropHintsAnnotation","id":11},"webDetection":{"type":"WebDetection","id":13},"productSearchResults":{"type":"ProductSearchResults","id":14},"error":{"type":"google.rpc.Status","id":9},"context":{"type":"ImageAnnotationContext","id":21}}},"BatchAnnotateImagesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateImageRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"parent":{"type":"string","id":4}}},"BatchAnnotateImagesResponse":{"fields":{"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":1}}},"AnnotateFileRequest":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3},"pages":{"rule":"repeated","type":"int32","id":4}}},"AnnotateFileResponse":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":2},"totalPages":{"type":"int32","id":3},"error":{"type":"google.rpc.Status","id":4}}},"BatchAnnotateFilesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateFileRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"parent":{"type":"string","id":3}}},"BatchAnnotateFilesResponse":{"fields":{"responses":{"rule":"repeated","type":"AnnotateFileResponse","id":1}}},"AsyncAnnotateFileRequest":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3},"outputConfig":{"type":"OutputConfig","id":4}}},"AsyncAnnotateFileResponse":{"fields":{"outputConfig":{"type":"OutputConfig","id":1}}},"AsyncBatchAnnotateImagesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateImageRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"outputConfig":{"type":"OutputConfig","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"parent":{"type":"string","id":4}}},"AsyncBatchAnnotateImagesResponse":{"fields":{"outputConfig":{"type":"OutputConfig","id":1}}},"AsyncBatchAnnotateFilesRequest":{"fields":{"requests":{"rule":"repeated","type":"AsyncAnnotateFileRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"parent":{"type":"string","id":4}}},"AsyncBatchAnnotateFilesResponse":{"fields":{"responses":{"rule":"repeated","type":"AsyncAnnotateFileResponse","id":1}}},"InputConfig":{"fields":{"gcsSource":{"type":"GcsSource","id":1},"content":{"type":"bytes","id":3},"mimeType":{"type":"string","id":2}}},"OutputConfig":{"fields":{"gcsDestination":{"type":"GcsDestination","id":1},"batchSize":{"type":"int32","id":2}}},"GcsSource":{"fields":{"uri":{"type":"string","id":1}}},"GcsDestination":{"fields":{"uri":{"type":"string","id":1}}},"OperationMetadata":{"fields":{"state":{"type":"State","id":1},"createTime":{"type":"google.protobuf.Timestamp","id":5},"updateTime":{"type":"google.protobuf.Timestamp","id":6}},"nested":{"State":{"values":{"STATE_UNSPECIFIED":0,"CREATED":1,"RUNNING":2,"DONE":3,"CANCELLED":4}}}},"ProductSearchParams":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":9},"productSet":{"type":"string","id":6,"options":{"(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"productCategories":{"rule":"repeated","type":"string","id":7},"filter":{"type":"string","id":8}}},"ProductSearchResults":{"fields":{"indexTime":{"type":"google.protobuf.Timestamp","id":2},"results":{"rule":"repeated","type":"Result","id":5},"productGroupedResults":{"rule":"repeated","type":"GroupedResult","id":6}},"nested":{"Result":{"fields":{"product":{"type":"Product","id":1},"score":{"type":"float","id":2},"image":{"type":"string","id":3}}},"ObjectAnnotation":{"fields":{"mid":{"type":"string","id":1},"languageCode":{"type":"string","id":2},"name":{"type":"string","id":3},"score":{"type":"float","id":4}}},"GroupedResult":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"results":{"rule":"repeated","type":"Result","id":2},"objectAnnotations":{"rule":"repeated","type":"ObjectAnnotation","id":3}}}}},"ProductSearch":{"options":{"(google.api.default_host)":"vision.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-vision"},"methods":{"CreateProductSet":{"requestType":"CreateProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).post":"/v1/{parent=projects/*/locations/*}/productSets","(google.api.http).body":"product_set","(google.api.method_signature)":"parent,product_set,product_set_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{parent=projects/*/locations/*}/productSets","body":"product_set"}},{"(google.api.method_signature)":"parent,product_set,product_set_id"}]},"ListProductSets":{"requestType":"ListProductSetsRequest","responseType":"ListProductSetsResponse","options":{"(google.api.http).get":"/v1/{parent=projects/*/locations/*}/productSets","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{parent=projects/*/locations/*}/productSets"}},{"(google.api.method_signature)":"parent"}]},"GetProductSet":{"requestType":"GetProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).get":"/v1/{name=projects/*/locations/*/productSets/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=projects/*/locations/*/productSets/*}"}},{"(google.api.method_signature)":"name"}]},"UpdateProductSet":{"requestType":"UpdateProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).patch":"/v1/{product_set.name=projects/*/locations/*/productSets/*}","(google.api.http).body":"product_set","(google.api.method_signature)":"product_set,update_mask"},"parsedOptions":[{"(google.api.http)":{"patch":"/v1/{product_set.name=projects/*/locations/*/productSets/*}","body":"product_set"}},{"(google.api.method_signature)":"product_set,update_mask"}]},"DeleteProductSet":{"requestType":"DeleteProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1/{name=projects/*/locations/*/productSets/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1/{name=projects/*/locations/*/productSets/*}"}},{"(google.api.method_signature)":"name"}]},"CreateProduct":{"requestType":"CreateProductRequest","responseType":"Product","options":{"(google.api.http).post":"/v1/{parent=projects/*/locations/*}/products","(google.api.http).body":"product","(google.api.method_signature)":"parent,product,product_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{parent=projects/*/locations/*}/products","body":"product"}},{"(google.api.method_signature)":"parent,product,product_id"}]},"ListProducts":{"requestType":"ListProductsRequest","responseType":"ListProductsResponse","options":{"(google.api.http).get":"/v1/{parent=projects/*/locations/*}/products","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{parent=projects/*/locations/*}/products"}},{"(google.api.method_signature)":"parent"}]},"GetProduct":{"requestType":"GetProductRequest","responseType":"Product","options":{"(google.api.http).get":"/v1/{name=projects/*/locations/*/products/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=projects/*/locations/*/products/*}"}},{"(google.api.method_signature)":"name"}]},"UpdateProduct":{"requestType":"UpdateProductRequest","responseType":"Product","options":{"(google.api.http).patch":"/v1/{product.name=projects/*/locations/*/products/*}","(google.api.http).body":"product","(google.api.method_signature)":"product,update_mask"},"parsedOptions":[{"(google.api.http)":{"patch":"/v1/{product.name=projects/*/locations/*/products/*}","body":"product"}},{"(google.api.method_signature)":"product,update_mask"}]},"DeleteProduct":{"requestType":"DeleteProductRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1/{name=projects/*/locations/*/products/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1/{name=projects/*/locations/*/products/*}"}},{"(google.api.method_signature)":"name"}]},"CreateReferenceImage":{"requestType":"CreateReferenceImageRequest","responseType":"ReferenceImage","options":{"(google.api.http).post":"/v1/{parent=projects/*/locations/*/products/*}/referenceImages","(google.api.http).body":"reference_image","(google.api.method_signature)":"parent,reference_image,reference_image_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{parent=projects/*/locations/*/products/*}/referenceImages","body":"reference_image"}},{"(google.api.method_signature)":"parent,reference_image,reference_image_id"}]},"DeleteReferenceImage":{"requestType":"DeleteReferenceImageRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1/{name=projects/*/locations/*/products/*/referenceImages/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1/{name=projects/*/locations/*/products/*/referenceImages/*}"}},{"(google.api.method_signature)":"name"}]},"ListReferenceImages":{"requestType":"ListReferenceImagesRequest","responseType":"ListReferenceImagesResponse","options":{"(google.api.http).get":"/v1/{parent=projects/*/locations/*/products/*}/referenceImages","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{parent=projects/*/locations/*/products/*}/referenceImages"}},{"(google.api.method_signature)":"parent"}]},"GetReferenceImage":{"requestType":"GetReferenceImageRequest","responseType":"ReferenceImage","options":{"(google.api.http).get":"/v1/{name=projects/*/locations/*/products/*/referenceImages/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=projects/*/locations/*/products/*/referenceImages/*}"}},{"(google.api.method_signature)":"name"}]},"AddProductToProductSet":{"requestType":"AddProductToProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).post":"/v1/{name=projects/*/locations/*/productSets/*}:addProduct","(google.api.http).body":"*","(google.api.method_signature)":"name,product"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{name=projects/*/locations/*/productSets/*}:addProduct","body":"*"}},{"(google.api.method_signature)":"name,product"}]},"RemoveProductFromProductSet":{"requestType":"RemoveProductFromProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).post":"/v1/{name=projects/*/locations/*/productSets/*}:removeProduct","(google.api.http).body":"*","(google.api.method_signature)":"name,product"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{name=projects/*/locations/*/productSets/*}:removeProduct","body":"*"}},{"(google.api.method_signature)":"name,product"}]},"ListProductsInProductSet":{"requestType":"ListProductsInProductSetRequest","responseType":"ListProductsInProductSetResponse","options":{"(google.api.http).get":"/v1/{name=projects/*/locations/*/productSets/*}/products","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=projects/*/locations/*/productSets/*}/products"}},{"(google.api.method_signature)":"name"}]},"ImportProductSets":{"requestType":"ImportProductSetsRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1/{parent=projects/*/locations/*}/productSets:import","(google.api.http).body":"*","(google.api.method_signature)":"parent,input_config","(google.longrunning.operation_info).response_type":"ImportProductSetsResponse","(google.longrunning.operation_info).metadata_type":"BatchOperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{parent=projects/*/locations/*}/productSets:import","body":"*"}},{"(google.api.method_signature)":"parent,input_config"},{"(google.longrunning.operation_info)":{"response_type":"ImportProductSetsResponse","metadata_type":"BatchOperationMetadata"}}]},"PurgeProducts":{"requestType":"PurgeProductsRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1/{parent=projects/*/locations/*}/products:purge","(google.api.http).body":"*","(google.api.method_signature)":"parent","(google.longrunning.operation_info).response_type":"google.protobuf.Empty","(google.longrunning.operation_info).metadata_type":"BatchOperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{parent=projects/*/locations/*}/products:purge","body":"*"}},{"(google.api.method_signature)":"parent"},{"(google.longrunning.operation_info)":{"response_type":"google.protobuf.Empty","metadata_type":"BatchOperationMetadata"}}]}}},"Product":{"options":{"(google.api.resource).type":"vision.googleapis.com/Product","(google.api.resource).pattern":"projects/{project}/locations/{location}/products/{product}"},"fields":{"name":{"type":"string","id":1},"displayName":{"type":"string","id":2},"description":{"type":"string","id":3},"productCategory":{"type":"string","id":4,"options":{"(google.api.field_behavior)":"IMMUTABLE"}},"productLabels":{"rule":"repeated","type":"KeyValue","id":5}},"nested":{"KeyValue":{"fields":{"key":{"type":"string","id":1},"value":{"type":"string","id":2}}}}},"ProductSet":{"options":{"(google.api.resource).type":"vision.googleapis.com/ProductSet","(google.api.resource).pattern":"projects/{project}/locations/{location}/productSets/{product_set}"},"fields":{"name":{"type":"string","id":1},"displayName":{"type":"string","id":2},"indexTime":{"type":"google.protobuf.Timestamp","id":3,"options":{"(google.api.field_behavior)":"OUTPUT_ONLY"}},"indexError":{"type":"google.rpc.Status","id":4,"options":{"(google.api.field_behavior)":"OUTPUT_ONLY"}}}},"ReferenceImage":{"options":{"(google.api.resource).type":"vision.googleapis.com/ReferenceImage","(google.api.resource).pattern":"projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}"},"fields":{"name":{"type":"string","id":1},"uri":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"boundingPolys":{"rule":"repeated","type":"BoundingPoly","id":3,"options":{"(google.api.field_behavior)":"OPTIONAL"}}}},"CreateProductRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"product":{"type":"Product","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"productId":{"type":"string","id":3}}},"ListProductsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductsResponse":{"fields":{"products":{"rule":"repeated","type":"Product","id":1},"nextPageToken":{"type":"string","id":2}}},"GetProductRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"UpdateProductRequest":{"fields":{"product":{"type":"Product","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"updateMask":{"type":"google.protobuf.FieldMask","id":2}}},"DeleteProductRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"CreateProductSetRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"productSet":{"type":"ProductSet","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"productSetId":{"type":"string","id":3}}},"ListProductSetsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductSetsResponse":{"fields":{"productSets":{"rule":"repeated","type":"ProductSet","id":1},"nextPageToken":{"type":"string","id":2}}},"GetProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}}}},"UpdateProductSetRequest":{"fields":{"productSet":{"type":"ProductSet","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"updateMask":{"type":"google.protobuf.FieldMask","id":2}}},"DeleteProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}}}},"CreateReferenceImageRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}},"referenceImage":{"type":"ReferenceImage","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"referenceImageId":{"type":"string","id":3}}},"ListReferenceImagesRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListReferenceImagesResponse":{"fields":{"referenceImages":{"rule":"repeated","type":"ReferenceImage","id":1},"pageSize":{"type":"int32","id":2},"nextPageToken":{"type":"string","id":3}}},"GetReferenceImageRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ReferenceImage"}}}},"DeleteReferenceImageRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ReferenceImage"}}}},"AddProductToProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"product":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"RemoveProductFromProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"product":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"ListProductsInProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductsInProductSetResponse":{"fields":{"products":{"rule":"repeated","type":"Product","id":1},"nextPageToken":{"type":"string","id":2}}},"ImportProductSetsGcsSource":{"fields":{"csvFileUri":{"type":"string","id":1}}},"ImportProductSetsInputConfig":{"oneofs":{"source":{"oneof":["gcsSource"]}},"fields":{"gcsSource":{"type":"ImportProductSetsGcsSource","id":1}}},"ImportProductSetsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"inputConfig":{"type":"ImportProductSetsInputConfig","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"ImportProductSetsResponse":{"fields":{"referenceImages":{"rule":"repeated","type":"ReferenceImage","id":1},"statuses":{"rule":"repeated","type":"google.rpc.Status","id":2}}},"BatchOperationMetadata":{"fields":{"state":{"type":"State","id":1},"submitTime":{"type":"google.protobuf.Timestamp","id":2},"endTime":{"type":"google.protobuf.Timestamp","id":3}},"nested":{"State":{"values":{"STATE_UNSPECIFIED":0,"PROCESSING":1,"SUCCESSFUL":2,"FAILED":3,"CANCELLED":4}}}},"ProductSetPurgeConfig":{"fields":{"productSetId":{"type":"string","id":1}}},"PurgeProductsRequest":{"oneofs":{"target":{"oneof":["productSetPurgeConfig","deleteOrphanProducts"]}},"fields":{"productSetPurgeConfig":{"type":"ProductSetPurgeConfig","id":2},"deleteOrphanProducts":{"type":"bool","id":3},"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"force":{"type":"bool","id":4}}},"TextAnnotation":{"fields":{"pages":{"rule":"repeated","type":"Page","id":1},"text":{"type":"string","id":2}},"nested":{"DetectedLanguage":{"fields":{"languageCode":{"type":"string","id":1},"confidence":{"type":"float","id":2}}},"DetectedBreak":{"fields":{"type":{"type":"BreakType","id":1},"isPrefix":{"type":"bool","id":2}},"nested":{"BreakType":{"values":{"UNKNOWN":0,"SPACE":1,"SURE_SPACE":2,"EOL_SURE_SPACE":3,"HYPHEN":4,"LINE_BREAK":5}}}},"TextProperty":{"fields":{"detectedLanguages":{"rule":"repeated","type":"DetectedLanguage","id":1},"detectedBreak":{"type":"DetectedBreak","id":2}}}}},"Page":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"width":{"type":"int32","id":2},"height":{"type":"int32","id":3},"blocks":{"rule":"repeated","type":"Block","id":4},"confidence":{"type":"float","id":5}}},"Block":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"paragraphs":{"rule":"repeated","type":"Paragraph","id":3},"blockType":{"type":"BlockType","id":4},"confidence":{"type":"float","id":5}},"nested":{"BlockType":{"values":{"UNKNOWN":0,"TEXT":1,"TABLE":2,"PICTURE":3,"RULER":4,"BARCODE":5}}}},"Paragraph":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"words":{"rule":"repeated","type":"Word","id":3},"confidence":{"type":"float","id":4}}},"Word":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"symbols":{"rule":"repeated","type":"Symbol","id":3},"confidence":{"type":"float","id":4}}},"Symbol":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"text":{"type":"string","id":3},"confidence":{"type":"float","id":4}}},"WebDetection":{"fields":{"webEntities":{"rule":"repeated","type":"WebEntity","id":1},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":2},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":3},"pagesWithMatchingImages":{"rule":"repeated","type":"WebPage","id":4},"visuallySimilarImages":{"rule":"repeated","type":"WebImage","id":6},"bestGuessLabels":{"rule":"repeated","type":"WebLabel","id":8}},"nested":{"WebEntity":{"fields":{"entityId":{"type":"string","id":1},"score":{"type":"float","id":2},"description":{"type":"string","id":3}}},"WebImage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2}}},"WebPage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2},"pageTitle":{"type":"string","id":3},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":4},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":5}}},"WebLabel":{"fields":{"label":{"type":"string","id":1},"languageCode":{"type":"string","id":2}}}}}}},"v1p1beta1":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1;vision","java_multiple_files":true,"java_outer_classname":"WebDetectionProto","java_package":"com.google.cloud.vision.v1p1beta1"},"nested":{"Vertex":{"fields":{"x":{"type":"int32","id":1},"y":{"type":"int32","id":2}}},"BoundingPoly":{"fields":{"vertices":{"rule":"repeated","type":"Vertex","id":1}}},"Position":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2},"z":{"type":"float","id":3}}},"ImageAnnotator":{"options":{"(google.api.default_host)":"vision.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-vision"},"methods":{"BatchAnnotateImages":{"requestType":"BatchAnnotateImagesRequest","responseType":"BatchAnnotateImagesResponse","options":{"(google.api.http).post":"/v1p1beta1/images:annotate","(google.api.http).body":"*","(google.api.method_signature)":"requests"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p1beta1/images:annotate","body":"*"}},{"(google.api.method_signature)":"requests"}]}}},"Feature":{"fields":{"type":{"type":"Type","id":1},"maxResults":{"type":"int32","id":2},"model":{"type":"string","id":3}},"nested":{"Type":{"values":{"TYPE_UNSPECIFIED":0,"FACE_DETECTION":1,"LANDMARK_DETECTION":2,"LOGO_DETECTION":3,"LABEL_DETECTION":4,"TEXT_DETECTION":5,"DOCUMENT_TEXT_DETECTION":11,"SAFE_SEARCH_DETECTION":6,"IMAGE_PROPERTIES":7,"CROP_HINTS":9,"WEB_DETECTION":10}}}},"ImageSource":{"fields":{"gcsImageUri":{"type":"string","id":1},"imageUri":{"type":"string","id":2}}},"Image":{"fields":{"content":{"type":"bytes","id":1},"source":{"type":"ImageSource","id":2}}},"FaceAnnotation":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"fdBoundingPoly":{"type":"BoundingPoly","id":2},"landmarks":{"rule":"repeated","type":"Landmark","id":3},"rollAngle":{"type":"float","id":4},"panAngle":{"type":"float","id":5},"tiltAngle":{"type":"float","id":6},"detectionConfidence":{"type":"float","id":7},"landmarkingConfidence":{"type":"float","id":8},"joyLikelihood":{"type":"Likelihood","id":9},"sorrowLikelihood":{"type":"Likelihood","id":10},"angerLikelihood":{"type":"Likelihood","id":11},"surpriseLikelihood":{"type":"Likelihood","id":12},"underExposedLikelihood":{"type":"Likelihood","id":13},"blurredLikelihood":{"type":"Likelihood","id":14},"headwearLikelihood":{"type":"Likelihood","id":15}},"nested":{"Landmark":{"fields":{"type":{"type":"Type","id":3},"position":{"type":"Position","id":4}},"nested":{"Type":{"values":{"UNKNOWN_LANDMARK":0,"LEFT_EYE":1,"RIGHT_EYE":2,"LEFT_OF_LEFT_EYEBROW":3,"RIGHT_OF_LEFT_EYEBROW":4,"LEFT_OF_RIGHT_EYEBROW":5,"RIGHT_OF_RIGHT_EYEBROW":6,"MIDPOINT_BETWEEN_EYES":7,"NOSE_TIP":8,"UPPER_LIP":9,"LOWER_LIP":10,"MOUTH_LEFT":11,"MOUTH_RIGHT":12,"MOUTH_CENTER":13,"NOSE_BOTTOM_RIGHT":14,"NOSE_BOTTOM_LEFT":15,"NOSE_BOTTOM_CENTER":16,"LEFT_EYE_TOP_BOUNDARY":17,"LEFT_EYE_RIGHT_CORNER":18,"LEFT_EYE_BOTTOM_BOUNDARY":19,"LEFT_EYE_LEFT_CORNER":20,"RIGHT_EYE_TOP_BOUNDARY":21,"RIGHT_EYE_RIGHT_CORNER":22,"RIGHT_EYE_BOTTOM_BOUNDARY":23,"RIGHT_EYE_LEFT_CORNER":24,"LEFT_EYEBROW_UPPER_MIDPOINT":25,"RIGHT_EYEBROW_UPPER_MIDPOINT":26,"LEFT_EAR_TRAGION":27,"RIGHT_EAR_TRAGION":28,"LEFT_EYE_PUPIL":29,"RIGHT_EYE_PUPIL":30,"FOREHEAD_GLABELLA":31,"CHIN_GNATHION":32,"CHIN_LEFT_GONION":33,"CHIN_RIGHT_GONION":34}}}}}},"LocationInfo":{"fields":{"latLng":{"type":"google.type.LatLng","id":1}}},"Property":{"fields":{"name":{"type":"string","id":1},"value":{"type":"string","id":2},"uint64Value":{"type":"uint64","id":3}}},"EntityAnnotation":{"fields":{"mid":{"type":"string","id":1},"locale":{"type":"string","id":2},"description":{"type":"string","id":3},"score":{"type":"float","id":4},"confidence":{"type":"float","id":5},"topicality":{"type":"float","id":6},"boundingPoly":{"type":"BoundingPoly","id":7},"locations":{"rule":"repeated","type":"LocationInfo","id":8},"properties":{"rule":"repeated","type":"Property","id":9}}},"SafeSearchAnnotation":{"fields":{"adult":{"type":"Likelihood","id":1},"spoof":{"type":"Likelihood","id":2},"medical":{"type":"Likelihood","id":3},"violence":{"type":"Likelihood","id":4},"racy":{"type":"Likelihood","id":9}}},"LatLongRect":{"fields":{"minLatLng":{"type":"google.type.LatLng","id":1},"maxLatLng":{"type":"google.type.LatLng","id":2}}},"ColorInfo":{"fields":{"color":{"type":"google.type.Color","id":1},"score":{"type":"float","id":2},"pixelFraction":{"type":"float","id":3}}},"DominantColorsAnnotation":{"fields":{"colors":{"rule":"repeated","type":"ColorInfo","id":1}}},"ImageProperties":{"fields":{"dominantColors":{"type":"DominantColorsAnnotation","id":1}}},"CropHint":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"confidence":{"type":"float","id":2},"importanceFraction":{"type":"float","id":3}}},"CropHintsAnnotation":{"fields":{"cropHints":{"rule":"repeated","type":"CropHint","id":1}}},"CropHintsParams":{"fields":{"aspectRatios":{"rule":"repeated","type":"float","id":1}}},"WebDetectionParams":{"fields":{"includeGeoResults":{"type":"bool","id":2}}},"TextDetectionParams":{"fields":{"enableTextDetectionConfidenceScore":{"type":"bool","id":9},"advancedOcrOptions":{"rule":"repeated","type":"string","id":11}}},"ImageContext":{"fields":{"latLongRect":{"type":"LatLongRect","id":1},"languageHints":{"rule":"repeated","type":"string","id":2},"cropHintsParams":{"type":"CropHintsParams","id":4},"webDetectionParams":{"type":"WebDetectionParams","id":6},"textDetectionParams":{"type":"TextDetectionParams","id":12}}},"AnnotateImageRequest":{"fields":{"image":{"type":"Image","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3}}},"AnnotateImageResponse":{"fields":{"faceAnnotations":{"rule":"repeated","type":"FaceAnnotation","id":1},"landmarkAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":2},"logoAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":3},"labelAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":4},"textAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":5},"fullTextAnnotation":{"type":"TextAnnotation","id":12},"safeSearchAnnotation":{"type":"SafeSearchAnnotation","id":6},"imagePropertiesAnnotation":{"type":"ImageProperties","id":8},"cropHintsAnnotation":{"type":"CropHintsAnnotation","id":11},"webDetection":{"type":"WebDetection","id":13},"error":{"type":"google.rpc.Status","id":9}}},"BatchAnnotateImagesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateImageRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"BatchAnnotateImagesResponse":{"fields":{"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":1}}},"Likelihood":{"values":{"UNKNOWN":0,"VERY_UNLIKELY":1,"UNLIKELY":2,"POSSIBLE":3,"LIKELY":4,"VERY_LIKELY":5}},"TextAnnotation":{"fields":{"pages":{"rule":"repeated","type":"Page","id":1},"text":{"type":"string","id":2}},"nested":{"DetectedLanguage":{"fields":{"languageCode":{"type":"string","id":1},"confidence":{"type":"float","id":2}}},"DetectedBreak":{"fields":{"type":{"type":"BreakType","id":1},"isPrefix":{"type":"bool","id":2}},"nested":{"BreakType":{"values":{"UNKNOWN":0,"SPACE":1,"SURE_SPACE":2,"EOL_SURE_SPACE":3,"HYPHEN":4,"LINE_BREAK":5}}}},"TextProperty":{"fields":{"detectedLanguages":{"rule":"repeated","type":"DetectedLanguage","id":1},"detectedBreak":{"type":"DetectedBreak","id":2}}}}},"Page":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"width":{"type":"int32","id":2},"height":{"type":"int32","id":3},"blocks":{"rule":"repeated","type":"Block","id":4},"confidence":{"type":"float","id":5}}},"Block":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"paragraphs":{"rule":"repeated","type":"Paragraph","id":3},"blockType":{"type":"BlockType","id":4},"confidence":{"type":"float","id":5}},"nested":{"BlockType":{"values":{"UNKNOWN":0,"TEXT":1,"TABLE":2,"PICTURE":3,"RULER":4,"BARCODE":5}}}},"Paragraph":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"words":{"rule":"repeated","type":"Word","id":3},"confidence":{"type":"float","id":4}}},"Word":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"symbols":{"rule":"repeated","type":"Symbol","id":3},"confidence":{"type":"float","id":4}}},"Symbol":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"text":{"type":"string","id":3},"confidence":{"type":"float","id":4}}},"WebDetection":{"fields":{"webEntities":{"rule":"repeated","type":"WebEntity","id":1},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":2},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":3},"pagesWithMatchingImages":{"rule":"repeated","type":"WebPage","id":4},"visuallySimilarImages":{"rule":"repeated","type":"WebImage","id":6},"bestGuessLabels":{"rule":"repeated","type":"WebLabel","id":8}},"nested":{"WebEntity":{"fields":{"entityId":{"type":"string","id":1},"score":{"type":"float","id":2},"description":{"type":"string","id":3}}},"WebImage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2}}},"WebPage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2},"pageTitle":{"type":"string","id":3},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":4},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":5}}},"WebLabel":{"fields":{"label":{"type":"string","id":1},"languageCode":{"type":"string","id":2}}}}}}},"v1p2beta1":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1;vision","java_multiple_files":true,"java_outer_classname":"WebDetectionProto","java_package":"com.google.cloud.vision.v1p2beta1"},"nested":{"Vertex":{"fields":{"x":{"type":"int32","id":1},"y":{"type":"int32","id":2}}},"NormalizedVertex":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2}}},"BoundingPoly":{"fields":{"vertices":{"rule":"repeated","type":"Vertex","id":1},"normalizedVertices":{"rule":"repeated","type":"NormalizedVertex","id":2}}},"Position":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2},"z":{"type":"float","id":3}}},"ImageAnnotator":{"options":{"(google.api.default_host)":"vision.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-vision"},"methods":{"BatchAnnotateImages":{"requestType":"BatchAnnotateImagesRequest","responseType":"BatchAnnotateImagesResponse","options":{"(google.api.http).post":"/v1p2beta1/images:annotate","(google.api.http).body":"*","(google.api.method_signature)":"requests"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p2beta1/images:annotate","body":"*"}},{"(google.api.method_signature)":"requests"}]},"AsyncBatchAnnotateFiles":{"requestType":"AsyncBatchAnnotateFilesRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1p2beta1/files:asyncBatchAnnotate","(google.api.http).body":"*","(google.api.method_signature)":"requests","(google.longrunning.operation_info).response_type":"AsyncBatchAnnotateFilesResponse","(google.longrunning.operation_info).metadata_type":"OperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p2beta1/files:asyncBatchAnnotate","body":"*"}},{"(google.api.method_signature)":"requests"},{"(google.longrunning.operation_info)":{"response_type":"AsyncBatchAnnotateFilesResponse","metadata_type":"OperationMetadata"}}]}}},"Feature":{"fields":{"type":{"type":"Type","id":1},"maxResults":{"type":"int32","id":2},"model":{"type":"string","id":3}},"nested":{"Type":{"values":{"TYPE_UNSPECIFIED":0,"FACE_DETECTION":1,"LANDMARK_DETECTION":2,"LOGO_DETECTION":3,"LABEL_DETECTION":4,"TEXT_DETECTION":5,"DOCUMENT_TEXT_DETECTION":11,"SAFE_SEARCH_DETECTION":6,"IMAGE_PROPERTIES":7,"CROP_HINTS":9,"WEB_DETECTION":10}}}},"ImageSource":{"fields":{"gcsImageUri":{"type":"string","id":1},"imageUri":{"type":"string","id":2}}},"Image":{"fields":{"content":{"type":"bytes","id":1},"source":{"type":"ImageSource","id":2}}},"FaceAnnotation":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"fdBoundingPoly":{"type":"BoundingPoly","id":2},"landmarks":{"rule":"repeated","type":"Landmark","id":3},"rollAngle":{"type":"float","id":4},"panAngle":{"type":"float","id":5},"tiltAngle":{"type":"float","id":6},"detectionConfidence":{"type":"float","id":7},"landmarkingConfidence":{"type":"float","id":8},"joyLikelihood":{"type":"Likelihood","id":9},"sorrowLikelihood":{"type":"Likelihood","id":10},"angerLikelihood":{"type":"Likelihood","id":11},"surpriseLikelihood":{"type":"Likelihood","id":12},"underExposedLikelihood":{"type":"Likelihood","id":13},"blurredLikelihood":{"type":"Likelihood","id":14},"headwearLikelihood":{"type":"Likelihood","id":15}},"nested":{"Landmark":{"fields":{"type":{"type":"Type","id":3},"position":{"type":"Position","id":4}},"nested":{"Type":{"values":{"UNKNOWN_LANDMARK":0,"LEFT_EYE":1,"RIGHT_EYE":2,"LEFT_OF_LEFT_EYEBROW":3,"RIGHT_OF_LEFT_EYEBROW":4,"LEFT_OF_RIGHT_EYEBROW":5,"RIGHT_OF_RIGHT_EYEBROW":6,"MIDPOINT_BETWEEN_EYES":7,"NOSE_TIP":8,"UPPER_LIP":9,"LOWER_LIP":10,"MOUTH_LEFT":11,"MOUTH_RIGHT":12,"MOUTH_CENTER":13,"NOSE_BOTTOM_RIGHT":14,"NOSE_BOTTOM_LEFT":15,"NOSE_BOTTOM_CENTER":16,"LEFT_EYE_TOP_BOUNDARY":17,"LEFT_EYE_RIGHT_CORNER":18,"LEFT_EYE_BOTTOM_BOUNDARY":19,"LEFT_EYE_LEFT_CORNER":20,"RIGHT_EYE_TOP_BOUNDARY":21,"RIGHT_EYE_RIGHT_CORNER":22,"RIGHT_EYE_BOTTOM_BOUNDARY":23,"RIGHT_EYE_LEFT_CORNER":24,"LEFT_EYEBROW_UPPER_MIDPOINT":25,"RIGHT_EYEBROW_UPPER_MIDPOINT":26,"LEFT_EAR_TRAGION":27,"RIGHT_EAR_TRAGION":28,"LEFT_EYE_PUPIL":29,"RIGHT_EYE_PUPIL":30,"FOREHEAD_GLABELLA":31,"CHIN_GNATHION":32,"CHIN_LEFT_GONION":33,"CHIN_RIGHT_GONION":34}}}}}},"LocationInfo":{"fields":{"latLng":{"type":"google.type.LatLng","id":1}}},"Property":{"fields":{"name":{"type":"string","id":1},"value":{"type":"string","id":2},"uint64Value":{"type":"uint64","id":3}}},"EntityAnnotation":{"fields":{"mid":{"type":"string","id":1},"locale":{"type":"string","id":2},"description":{"type":"string","id":3},"score":{"type":"float","id":4},"confidence":{"type":"float","id":5},"topicality":{"type":"float","id":6},"boundingPoly":{"type":"BoundingPoly","id":7},"locations":{"rule":"repeated","type":"LocationInfo","id":8},"properties":{"rule":"repeated","type":"Property","id":9}}},"SafeSearchAnnotation":{"fields":{"adult":{"type":"Likelihood","id":1},"spoof":{"type":"Likelihood","id":2},"medical":{"type":"Likelihood","id":3},"violence":{"type":"Likelihood","id":4},"racy":{"type":"Likelihood","id":9}}},"LatLongRect":{"fields":{"minLatLng":{"type":"google.type.LatLng","id":1},"maxLatLng":{"type":"google.type.LatLng","id":2}}},"ColorInfo":{"fields":{"color":{"type":"google.type.Color","id":1},"score":{"type":"float","id":2},"pixelFraction":{"type":"float","id":3}}},"DominantColorsAnnotation":{"fields":{"colors":{"rule":"repeated","type":"ColorInfo","id":1}}},"ImageProperties":{"fields":{"dominantColors":{"type":"DominantColorsAnnotation","id":1}}},"CropHint":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"confidence":{"type":"float","id":2},"importanceFraction":{"type":"float","id":3}}},"CropHintsAnnotation":{"fields":{"cropHints":{"rule":"repeated","type":"CropHint","id":1}}},"CropHintsParams":{"fields":{"aspectRatios":{"rule":"repeated","type":"float","id":1}}},"WebDetectionParams":{"fields":{"includeGeoResults":{"type":"bool","id":2}}},"TextDetectionParams":{"fields":{"enableTextDetectionConfidenceScore":{"type":"bool","id":9},"advancedOcrOptions":{"rule":"repeated","type":"string","id":11}}},"ImageContext":{"fields":{"latLongRect":{"type":"LatLongRect","id":1},"languageHints":{"rule":"repeated","type":"string","id":2},"cropHintsParams":{"type":"CropHintsParams","id":4},"webDetectionParams":{"type":"WebDetectionParams","id":6},"textDetectionParams":{"type":"TextDetectionParams","id":12}}},"AnnotateImageRequest":{"fields":{"image":{"type":"Image","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3}}},"ImageAnnotationContext":{"fields":{"uri":{"type":"string","id":1},"pageNumber":{"type":"int32","id":2}}},"AnnotateImageResponse":{"fields":{"faceAnnotations":{"rule":"repeated","type":"FaceAnnotation","id":1},"landmarkAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":2},"logoAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":3},"labelAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":4},"textAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":5},"fullTextAnnotation":{"type":"TextAnnotation","id":12},"safeSearchAnnotation":{"type":"SafeSearchAnnotation","id":6},"imagePropertiesAnnotation":{"type":"ImageProperties","id":8},"cropHintsAnnotation":{"type":"CropHintsAnnotation","id":11},"webDetection":{"type":"WebDetection","id":13},"error":{"type":"google.rpc.Status","id":9},"context":{"type":"ImageAnnotationContext","id":21}}},"AnnotateFileResponse":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":2}}},"BatchAnnotateImagesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateImageRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"BatchAnnotateImagesResponse":{"fields":{"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":1}}},"AsyncAnnotateFileRequest":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3},"outputConfig":{"type":"OutputConfig","id":4}}},"AsyncAnnotateFileResponse":{"fields":{"outputConfig":{"type":"OutputConfig","id":1}}},"AsyncBatchAnnotateFilesRequest":{"fields":{"requests":{"rule":"repeated","type":"AsyncAnnotateFileRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"AsyncBatchAnnotateFilesResponse":{"fields":{"responses":{"rule":"repeated","type":"AsyncAnnotateFileResponse","id":1}}},"InputConfig":{"fields":{"gcsSource":{"type":"GcsSource","id":1},"mimeType":{"type":"string","id":2}}},"OutputConfig":{"fields":{"gcsDestination":{"type":"GcsDestination","id":1},"batchSize":{"type":"int32","id":2}}},"GcsSource":{"fields":{"uri":{"type":"string","id":1}}},"GcsDestination":{"fields":{"uri":{"type":"string","id":1}}},"OperationMetadata":{"fields":{"state":{"type":"State","id":1},"createTime":{"type":"google.protobuf.Timestamp","id":5},"updateTime":{"type":"google.protobuf.Timestamp","id":6}},"nested":{"State":{"values":{"STATE_UNSPECIFIED":0,"CREATED":1,"RUNNING":2,"DONE":3,"CANCELLED":4}}}},"Likelihood":{"values":{"UNKNOWN":0,"VERY_UNLIKELY":1,"UNLIKELY":2,"POSSIBLE":3,"LIKELY":4,"VERY_LIKELY":5}},"TextAnnotation":{"fields":{"pages":{"rule":"repeated","type":"Page","id":1},"text":{"type":"string","id":2}},"nested":{"DetectedLanguage":{"fields":{"languageCode":{"type":"string","id":1},"confidence":{"type":"float","id":2}}},"DetectedBreak":{"fields":{"type":{"type":"BreakType","id":1},"isPrefix":{"type":"bool","id":2}},"nested":{"BreakType":{"values":{"UNKNOWN":0,"SPACE":1,"SURE_SPACE":2,"EOL_SURE_SPACE":3,"HYPHEN":4,"LINE_BREAK":5}}}},"TextProperty":{"fields":{"detectedLanguages":{"rule":"repeated","type":"DetectedLanguage","id":1},"detectedBreak":{"type":"DetectedBreak","id":2}}}}},"Page":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"width":{"type":"int32","id":2},"height":{"type":"int32","id":3},"blocks":{"rule":"repeated","type":"Block","id":4},"confidence":{"type":"float","id":5}}},"Block":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"paragraphs":{"rule":"repeated","type":"Paragraph","id":3},"blockType":{"type":"BlockType","id":4},"confidence":{"type":"float","id":5}},"nested":{"BlockType":{"values":{"UNKNOWN":0,"TEXT":1,"TABLE":2,"PICTURE":3,"RULER":4,"BARCODE":5}}}},"Paragraph":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"words":{"rule":"repeated","type":"Word","id":3},"confidence":{"type":"float","id":4}}},"Word":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"symbols":{"rule":"repeated","type":"Symbol","id":3},"confidence":{"type":"float","id":4}}},"Symbol":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"text":{"type":"string","id":3},"confidence":{"type":"float","id":4}}},"WebDetection":{"fields":{"webEntities":{"rule":"repeated","type":"WebEntity","id":1},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":2},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":3},"pagesWithMatchingImages":{"rule":"repeated","type":"WebPage","id":4},"visuallySimilarImages":{"rule":"repeated","type":"WebImage","id":6},"bestGuessLabels":{"rule":"repeated","type":"WebLabel","id":8}},"nested":{"WebEntity":{"fields":{"entityId":{"type":"string","id":1},"score":{"type":"float","id":2},"description":{"type":"string","id":3}}},"WebImage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2}}},"WebPage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2},"pageTitle":{"type":"string","id":3},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":4},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":5}}},"WebLabel":{"fields":{"label":{"type":"string","id":1},"languageCode":{"type":"string","id":2}}}}}}},"v1p3beta1":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1;vision","java_multiple_files":true,"java_outer_classname":"WebDetectionProto","java_package":"com.google.cloud.vision.v1p3beta1","objc_class_prefix":"GCVN"},"nested":{"Vertex":{"fields":{"x":{"type":"int32","id":1},"y":{"type":"int32","id":2}}},"NormalizedVertex":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2}}},"BoundingPoly":{"fields":{"vertices":{"rule":"repeated","type":"Vertex","id":1},"normalizedVertices":{"rule":"repeated","type":"NormalizedVertex","id":2}}},"Position":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2},"z":{"type":"float","id":3}}},"ImageAnnotator":{"options":{"(google.api.default_host)":"vision.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-vision"},"methods":{"BatchAnnotateImages":{"requestType":"BatchAnnotateImagesRequest","responseType":"BatchAnnotateImagesResponse","options":{"(google.api.http).post":"/v1p3beta1/images:annotate","(google.api.http).body":"*","(google.api.method_signature)":"requests"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p3beta1/images:annotate","body":"*"}},{"(google.api.method_signature)":"requests"}]},"AsyncBatchAnnotateFiles":{"requestType":"AsyncBatchAnnotateFilesRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1p3beta1/files:asyncBatchAnnotate","(google.api.http).body":"*","(google.api.method_signature)":"requests","(google.longrunning.operation_info).response_type":"AsyncBatchAnnotateFilesResponse","(google.longrunning.operation_info).metadata_type":"OperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p3beta1/files:asyncBatchAnnotate","body":"*"}},{"(google.api.method_signature)":"requests"},{"(google.longrunning.operation_info)":{"response_type":"AsyncBatchAnnotateFilesResponse","metadata_type":"OperationMetadata"}}]}}},"Feature":{"fields":{"type":{"type":"Type","id":1},"maxResults":{"type":"int32","id":2},"model":{"type":"string","id":3}},"nested":{"Type":{"values":{"TYPE_UNSPECIFIED":0,"FACE_DETECTION":1,"LANDMARK_DETECTION":2,"LOGO_DETECTION":3,"LABEL_DETECTION":4,"TEXT_DETECTION":5,"DOCUMENT_TEXT_DETECTION":11,"SAFE_SEARCH_DETECTION":6,"IMAGE_PROPERTIES":7,"CROP_HINTS":9,"WEB_DETECTION":10,"PRODUCT_SEARCH":12,"OBJECT_LOCALIZATION":19}}}},"ImageSource":{"fields":{"gcsImageUri":{"type":"string","id":1},"imageUri":{"type":"string","id":2}}},"Image":{"fields":{"content":{"type":"bytes","id":1},"source":{"type":"ImageSource","id":2}}},"FaceAnnotation":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"fdBoundingPoly":{"type":"BoundingPoly","id":2},"landmarks":{"rule":"repeated","type":"Landmark","id":3},"rollAngle":{"type":"float","id":4},"panAngle":{"type":"float","id":5},"tiltAngle":{"type":"float","id":6},"detectionConfidence":{"type":"float","id":7},"landmarkingConfidence":{"type":"float","id":8},"joyLikelihood":{"type":"Likelihood","id":9},"sorrowLikelihood":{"type":"Likelihood","id":10},"angerLikelihood":{"type":"Likelihood","id":11},"surpriseLikelihood":{"type":"Likelihood","id":12},"underExposedLikelihood":{"type":"Likelihood","id":13},"blurredLikelihood":{"type":"Likelihood","id":14},"headwearLikelihood":{"type":"Likelihood","id":15}},"nested":{"Landmark":{"fields":{"type":{"type":"Type","id":3},"position":{"type":"Position","id":4}},"nested":{"Type":{"values":{"UNKNOWN_LANDMARK":0,"LEFT_EYE":1,"RIGHT_EYE":2,"LEFT_OF_LEFT_EYEBROW":3,"RIGHT_OF_LEFT_EYEBROW":4,"LEFT_OF_RIGHT_EYEBROW":5,"RIGHT_OF_RIGHT_EYEBROW":6,"MIDPOINT_BETWEEN_EYES":7,"NOSE_TIP":8,"UPPER_LIP":9,"LOWER_LIP":10,"MOUTH_LEFT":11,"MOUTH_RIGHT":12,"MOUTH_CENTER":13,"NOSE_BOTTOM_RIGHT":14,"NOSE_BOTTOM_LEFT":15,"NOSE_BOTTOM_CENTER":16,"LEFT_EYE_TOP_BOUNDARY":17,"LEFT_EYE_RIGHT_CORNER":18,"LEFT_EYE_BOTTOM_BOUNDARY":19,"LEFT_EYE_LEFT_CORNER":20,"RIGHT_EYE_TOP_BOUNDARY":21,"RIGHT_EYE_RIGHT_CORNER":22,"RIGHT_EYE_BOTTOM_BOUNDARY":23,"RIGHT_EYE_LEFT_CORNER":24,"LEFT_EYEBROW_UPPER_MIDPOINT":25,"RIGHT_EYEBROW_UPPER_MIDPOINT":26,"LEFT_EAR_TRAGION":27,"RIGHT_EAR_TRAGION":28,"LEFT_EYE_PUPIL":29,"RIGHT_EYE_PUPIL":30,"FOREHEAD_GLABELLA":31,"CHIN_GNATHION":32,"CHIN_LEFT_GONION":33,"CHIN_RIGHT_GONION":34}}}}}},"LocationInfo":{"fields":{"latLng":{"type":"google.type.LatLng","id":1}}},"Property":{"fields":{"name":{"type":"string","id":1},"value":{"type":"string","id":2},"uint64Value":{"type":"uint64","id":3}}},"EntityAnnotation":{"fields":{"mid":{"type":"string","id":1},"locale":{"type":"string","id":2},"description":{"type":"string","id":3},"score":{"type":"float","id":4},"confidence":{"type":"float","id":5},"topicality":{"type":"float","id":6},"boundingPoly":{"type":"BoundingPoly","id":7},"locations":{"rule":"repeated","type":"LocationInfo","id":8},"properties":{"rule":"repeated","type":"Property","id":9}}},"LocalizedObjectAnnotation":{"fields":{"mid":{"type":"string","id":1},"languageCode":{"type":"string","id":2},"name":{"type":"string","id":3},"score":{"type":"float","id":4},"boundingPoly":{"type":"BoundingPoly","id":5}}},"SafeSearchAnnotation":{"fields":{"adult":{"type":"Likelihood","id":1},"spoof":{"type":"Likelihood","id":2},"medical":{"type":"Likelihood","id":3},"violence":{"type":"Likelihood","id":4},"racy":{"type":"Likelihood","id":9}}},"LatLongRect":{"fields":{"minLatLng":{"type":"google.type.LatLng","id":1},"maxLatLng":{"type":"google.type.LatLng","id":2}}},"ColorInfo":{"fields":{"color":{"type":"google.type.Color","id":1},"score":{"type":"float","id":2},"pixelFraction":{"type":"float","id":3}}},"DominantColorsAnnotation":{"fields":{"colors":{"rule":"repeated","type":"ColorInfo","id":1}}},"ImageProperties":{"fields":{"dominantColors":{"type":"DominantColorsAnnotation","id":1}}},"CropHint":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"confidence":{"type":"float","id":2},"importanceFraction":{"type":"float","id":3}}},"CropHintsAnnotation":{"fields":{"cropHints":{"rule":"repeated","type":"CropHint","id":1}}},"CropHintsParams":{"fields":{"aspectRatios":{"rule":"repeated","type":"float","id":1}}},"WebDetectionParams":{"fields":{"includeGeoResults":{"type":"bool","id":2}}},"TextDetectionParams":{"fields":{"enableTextDetectionConfidenceScore":{"type":"bool","id":9},"advancedOcrOptions":{"rule":"repeated","type":"string","id":11}}},"ImageContext":{"fields":{"latLongRect":{"type":"LatLongRect","id":1},"languageHints":{"rule":"repeated","type":"string","id":2},"cropHintsParams":{"type":"CropHintsParams","id":4},"productSearchParams":{"type":"google.cloud.vision.v1p3beta1.ProductSearchParams","id":5},"webDetectionParams":{"type":"WebDetectionParams","id":6},"textDetectionParams":{"type":"TextDetectionParams","id":12}}},"AnnotateImageRequest":{"fields":{"image":{"type":"Image","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3}}},"ImageAnnotationContext":{"fields":{"uri":{"type":"string","id":1},"pageNumber":{"type":"int32","id":2}}},"AnnotateImageResponse":{"fields":{"faceAnnotations":{"rule":"repeated","type":"FaceAnnotation","id":1},"landmarkAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":2},"logoAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":3},"labelAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":4},"localizedObjectAnnotations":{"rule":"repeated","type":"LocalizedObjectAnnotation","id":22},"textAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":5},"fullTextAnnotation":{"type":"TextAnnotation","id":12},"safeSearchAnnotation":{"type":"SafeSearchAnnotation","id":6},"imagePropertiesAnnotation":{"type":"ImageProperties","id":8},"cropHintsAnnotation":{"type":"CropHintsAnnotation","id":11},"webDetection":{"type":"WebDetection","id":13},"productSearchResults":{"type":"google.cloud.vision.v1p3beta1.ProductSearchResults","id":14},"error":{"type":"google.rpc.Status","id":9},"context":{"type":"ImageAnnotationContext","id":21}}},"AnnotateFileResponse":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":2}}},"BatchAnnotateImagesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateImageRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"BatchAnnotateImagesResponse":{"fields":{"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":1}}},"AsyncAnnotateFileRequest":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3},"outputConfig":{"type":"OutputConfig","id":4}}},"AsyncAnnotateFileResponse":{"fields":{"outputConfig":{"type":"OutputConfig","id":1}}},"AsyncBatchAnnotateFilesRequest":{"fields":{"requests":{"rule":"repeated","type":"AsyncAnnotateFileRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"AsyncBatchAnnotateFilesResponse":{"fields":{"responses":{"rule":"repeated","type":"AsyncAnnotateFileResponse","id":1}}},"InputConfig":{"fields":{"gcsSource":{"type":"GcsSource","id":1},"mimeType":{"type":"string","id":2}}},"OutputConfig":{"fields":{"gcsDestination":{"type":"GcsDestination","id":1},"batchSize":{"type":"int32","id":2}}},"GcsSource":{"fields":{"uri":{"type":"string","id":1}}},"GcsDestination":{"fields":{"uri":{"type":"string","id":1}}},"Likelihood":{"values":{"UNKNOWN":0,"VERY_UNLIKELY":1,"UNLIKELY":2,"POSSIBLE":3,"LIKELY":4,"VERY_LIKELY":5}},"OperationMetadata":{"fields":{"state":{"type":"State","id":1},"createTime":{"type":"google.protobuf.Timestamp","id":5},"updateTime":{"type":"google.protobuf.Timestamp","id":6}},"nested":{"State":{"values":{"STATE_UNSPECIFIED":0,"CREATED":1,"RUNNING":2,"DONE":3,"CANCELLED":4}}}},"ProductSearchParams":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":9},"productSet":{"type":"string","id":6,"options":{"(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"productCategories":{"rule":"repeated","type":"string","id":7},"filter":{"type":"string","id":8}}},"ProductSearchResults":{"fields":{"indexTime":{"type":"google.protobuf.Timestamp","id":2},"results":{"rule":"repeated","type":"Result","id":5},"productGroupedResults":{"rule":"repeated","type":"GroupedResult","id":6}},"nested":{"Result":{"fields":{"product":{"type":"Product","id":1},"score":{"type":"float","id":2},"image":{"type":"string","id":3}}},"ObjectAnnotation":{"fields":{"mid":{"type":"string","id":1},"languageCode":{"type":"string","id":2},"name":{"type":"string","id":3},"score":{"type":"float","id":4}}},"GroupedResult":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"results":{"rule":"repeated","type":"Result","id":2},"objectAnnotations":{"rule":"repeated","type":"ObjectAnnotation","id":3}}}}},"ProductSearch":{"options":{"(google.api.default_host)":"vision.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-vision"},"methods":{"CreateProductSet":{"requestType":"CreateProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).post":"/v1p3beta1/{parent=projects/*/locations/*}/productSets","(google.api.http).body":"product_set","(google.api.method_signature)":"parent,product_set,product_set_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p3beta1/{parent=projects/*/locations/*}/productSets","body":"product_set"}},{"(google.api.method_signature)":"parent,product_set,product_set_id"}]},"ListProductSets":{"requestType":"ListProductSetsRequest","responseType":"ListProductSetsResponse","options":{"(google.api.http).get":"/v1p3beta1/{parent=projects/*/locations/*}/productSets","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p3beta1/{parent=projects/*/locations/*}/productSets"}},{"(google.api.method_signature)":"parent"}]},"GetProductSet":{"requestType":"GetProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).get":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}"}},{"(google.api.method_signature)":"name"}]},"UpdateProductSet":{"requestType":"UpdateProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).patch":"/v1p3beta1/{product_set.name=projects/*/locations/*/productSets/*}","(google.api.http).body":"product_set","(google.api.method_signature)":"product_set,update_mask"},"parsedOptions":[{"(google.api.http)":{"patch":"/v1p3beta1/{product_set.name=projects/*/locations/*/productSets/*}","body":"product_set"}},{"(google.api.method_signature)":"product_set,update_mask"}]},"DeleteProductSet":{"requestType":"DeleteProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}"}},{"(google.api.method_signature)":"name"}]},"CreateProduct":{"requestType":"CreateProductRequest","responseType":"Product","options":{"(google.api.http).post":"/v1p3beta1/{parent=projects/*/locations/*}/products","(google.api.http).body":"product","(google.api.method_signature)":"parent,product,product_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p3beta1/{parent=projects/*/locations/*}/products","body":"product"}},{"(google.api.method_signature)":"parent,product,product_id"}]},"ListProducts":{"requestType":"ListProductsRequest","responseType":"ListProductsResponse","options":{"(google.api.http).get":"/v1p3beta1/{parent=projects/*/locations/*}/products","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p3beta1/{parent=projects/*/locations/*}/products"}},{"(google.api.method_signature)":"parent"}]},"GetProduct":{"requestType":"GetProductRequest","responseType":"Product","options":{"(google.api.http).get":"/v1p3beta1/{name=projects/*/locations/*/products/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p3beta1/{name=projects/*/locations/*/products/*}"}},{"(google.api.method_signature)":"name"}]},"UpdateProduct":{"requestType":"UpdateProductRequest","responseType":"Product","options":{"(google.api.http).patch":"/v1p3beta1/{product.name=projects/*/locations/*/products/*}","(google.api.http).body":"product","(google.api.method_signature)":"product,update_mask"},"parsedOptions":[{"(google.api.http)":{"patch":"/v1p3beta1/{product.name=projects/*/locations/*/products/*}","body":"product"}},{"(google.api.method_signature)":"product,update_mask"}]},"DeleteProduct":{"requestType":"DeleteProductRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1p3beta1/{name=projects/*/locations/*/products/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1p3beta1/{name=projects/*/locations/*/products/*}"}},{"(google.api.method_signature)":"name"}]},"CreateReferenceImage":{"requestType":"CreateReferenceImageRequest","responseType":"ReferenceImage","options":{"(google.api.http).post":"/v1p3beta1/{parent=projects/*/locations/*/products/*}/referenceImages","(google.api.http).body":"reference_image","(google.api.method_signature)":"parent,reference_image,reference_image_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p3beta1/{parent=projects/*/locations/*/products/*}/referenceImages","body":"reference_image"}},{"(google.api.method_signature)":"parent,reference_image,reference_image_id"}]},"DeleteReferenceImage":{"requestType":"DeleteReferenceImageRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1p3beta1/{name=projects/*/locations/*/products/*/referenceImages/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1p3beta1/{name=projects/*/locations/*/products/*/referenceImages/*}"}},{"(google.api.method_signature)":"name"}]},"ListReferenceImages":{"requestType":"ListReferenceImagesRequest","responseType":"ListReferenceImagesResponse","options":{"(google.api.http).get":"/v1p3beta1/{parent=projects/*/locations/*/products/*}/referenceImages","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p3beta1/{parent=projects/*/locations/*/products/*}/referenceImages"}},{"(google.api.method_signature)":"parent"}]},"GetReferenceImage":{"requestType":"GetReferenceImageRequest","responseType":"ReferenceImage","options":{"(google.api.http).get":"/v1p3beta1/{name=projects/*/locations/*/products/*/referenceImages/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p3beta1/{name=projects/*/locations/*/products/*/referenceImages/*}"}},{"(google.api.method_signature)":"name"}]},"AddProductToProductSet":{"requestType":"AddProductToProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).post":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}:addProduct","(google.api.http).body":"*","(google.api.method_signature)":"name,product"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}:addProduct","body":"*"}},{"(google.api.method_signature)":"name,product"}]},"RemoveProductFromProductSet":{"requestType":"RemoveProductFromProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).post":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}:removeProduct","(google.api.http).body":"*","(google.api.method_signature)":"name,product"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}:removeProduct","body":"*"}},{"(google.api.method_signature)":"name,product"}]},"ListProductsInProductSet":{"requestType":"ListProductsInProductSetRequest","responseType":"ListProductsInProductSetResponse","options":{"(google.api.http).get":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}/products","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}/products"}},{"(google.api.method_signature)":"name"}]},"ImportProductSets":{"requestType":"ImportProductSetsRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1p3beta1/{parent=projects/*/locations/*}/productSets:import","(google.api.http).body":"*","(google.api.method_signature)":"parent,input_config","(google.longrunning.operation_info).response_type":"ImportProductSetsResponse","(google.longrunning.operation_info).metadata_type":"BatchOperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p3beta1/{parent=projects/*/locations/*}/productSets:import","body":"*"}},{"(google.api.method_signature)":"parent,input_config"},{"(google.longrunning.operation_info)":{"response_type":"ImportProductSetsResponse","metadata_type":"BatchOperationMetadata"}}]}}},"Product":{"options":{"(google.api.resource).type":"vision.googleapis.com/Product","(google.api.resource).pattern":"projects/{project}/locations/{location}/products/{product}"},"fields":{"name":{"type":"string","id":1},"displayName":{"type":"string","id":2},"description":{"type":"string","id":3},"productCategory":{"type":"string","id":4,"options":{"(google.api.field_behavior)":"IMMUTABLE"}},"productLabels":{"rule":"repeated","type":"KeyValue","id":5}},"nested":{"KeyValue":{"fields":{"key":{"type":"string","id":1},"value":{"type":"string","id":2}}}}},"ProductSet":{"options":{"(google.api.resource).type":"vision.googleapis.com/ProductSet","(google.api.resource).pattern":"projects/{project}/locations/{location}/productSets/{product_set}"},"fields":{"name":{"type":"string","id":1},"displayName":{"type":"string","id":2},"indexTime":{"type":"google.protobuf.Timestamp","id":3,"options":{"(google.api.field_behavior)":"OUTPUT_ONLY"}},"indexError":{"type":"google.rpc.Status","id":4,"options":{"(google.api.field_behavior)":"OUTPUT_ONLY"}}}},"ReferenceImage":{"options":{"(google.api.resource).type":"vision.googleapis.com/ReferenceImage","(google.api.resource).pattern":"projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}"},"fields":{"name":{"type":"string","id":1},"uri":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"boundingPolys":{"rule":"repeated","type":"BoundingPoly","id":3,"options":{"(google.api.field_behavior)":"OPTIONAL"}}}},"CreateProductRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"product":{"type":"Product","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"productId":{"type":"string","id":3}}},"ListProductsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductsResponse":{"fields":{"products":{"rule":"repeated","type":"Product","id":1},"nextPageToken":{"type":"string","id":2}}},"GetProductRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"UpdateProductRequest":{"fields":{"product":{"type":"Product","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"updateMask":{"type":"google.protobuf.FieldMask","id":2}}},"DeleteProductRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"CreateProductSetRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"productSet":{"type":"ProductSet","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"productSetId":{"type":"string","id":3}}},"ListProductSetsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductSetsResponse":{"fields":{"productSets":{"rule":"repeated","type":"ProductSet","id":1},"nextPageToken":{"type":"string","id":2}}},"GetProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}}}},"UpdateProductSetRequest":{"fields":{"productSet":{"type":"ProductSet","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"updateMask":{"type":"google.protobuf.FieldMask","id":2}}},"DeleteProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}}}},"CreateReferenceImageRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}},"referenceImage":{"type":"ReferenceImage","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"referenceImageId":{"type":"string","id":3}}},"ListReferenceImagesRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListReferenceImagesResponse":{"fields":{"referenceImages":{"rule":"repeated","type":"ReferenceImage","id":1},"pageSize":{"type":"int32","id":2},"nextPageToken":{"type":"string","id":3}}},"GetReferenceImageRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ReferenceImage"}}}},"DeleteReferenceImageRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ReferenceImage"}}}},"AddProductToProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"product":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"RemoveProductFromProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"product":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"ListProductsInProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductsInProductSetResponse":{"fields":{"products":{"rule":"repeated","type":"Product","id":1},"nextPageToken":{"type":"string","id":2}}},"ImportProductSetsGcsSource":{"fields":{"csvFileUri":{"type":"string","id":1}}},"ImportProductSetsInputConfig":{"oneofs":{"source":{"oneof":["gcsSource"]}},"fields":{"gcsSource":{"type":"ImportProductSetsGcsSource","id":1}}},"ImportProductSetsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"inputConfig":{"type":"ImportProductSetsInputConfig","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"ImportProductSetsResponse":{"fields":{"referenceImages":{"rule":"repeated","type":"ReferenceImage","id":1},"statuses":{"rule":"repeated","type":"google.rpc.Status","id":2}}},"BatchOperationMetadata":{"fields":{"state":{"type":"State","id":1},"submitTime":{"type":"google.protobuf.Timestamp","id":2},"endTime":{"type":"google.protobuf.Timestamp","id":3}},"nested":{"State":{"values":{"STATE_UNSPECIFIED":0,"PROCESSING":1,"SUCCESSFUL":2,"FAILED":3,"CANCELLED":4}}}},"TextAnnotation":{"fields":{"pages":{"rule":"repeated","type":"Page","id":1},"text":{"type":"string","id":2}},"nested":{"DetectedLanguage":{"fields":{"languageCode":{"type":"string","id":1},"confidence":{"type":"float","id":2}}},"DetectedBreak":{"fields":{"type":{"type":"BreakType","id":1},"isPrefix":{"type":"bool","id":2}},"nested":{"BreakType":{"values":{"UNKNOWN":0,"SPACE":1,"SURE_SPACE":2,"EOL_SURE_SPACE":3,"HYPHEN":4,"LINE_BREAK":5}}}},"TextProperty":{"fields":{"detectedLanguages":{"rule":"repeated","type":"DetectedLanguage","id":1},"detectedBreak":{"type":"DetectedBreak","id":2}}}}},"Page":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"width":{"type":"int32","id":2},"height":{"type":"int32","id":3},"blocks":{"rule":"repeated","type":"Block","id":4},"confidence":{"type":"float","id":5}}},"Block":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"paragraphs":{"rule":"repeated","type":"Paragraph","id":3},"blockType":{"type":"BlockType","id":4},"confidence":{"type":"float","id":5}},"nested":{"BlockType":{"values":{"UNKNOWN":0,"TEXT":1,"TABLE":2,"PICTURE":3,"RULER":4,"BARCODE":5}}}},"Paragraph":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"words":{"rule":"repeated","type":"Word","id":3},"confidence":{"type":"float","id":4}}},"Word":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"symbols":{"rule":"repeated","type":"Symbol","id":3},"confidence":{"type":"float","id":4}}},"Symbol":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"text":{"type":"string","id":3},"confidence":{"type":"float","id":4}}},"WebDetection":{"fields":{"webEntities":{"rule":"repeated","type":"WebEntity","id":1},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":2},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":3},"pagesWithMatchingImages":{"rule":"repeated","type":"WebPage","id":4},"visuallySimilarImages":{"rule":"repeated","type":"WebImage","id":6},"bestGuessLabels":{"rule":"repeated","type":"WebLabel","id":8}},"nested":{"WebEntity":{"fields":{"entityId":{"type":"string","id":1},"score":{"type":"float","id":2},"description":{"type":"string","id":3}}},"WebImage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2}}},"WebPage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2},"pageTitle":{"type":"string","id":3},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":4},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":5}}},"WebLabel":{"fields":{"label":{"type":"string","id":1},"languageCode":{"type":"string","id":2}}}}}}},"v1p4beta1":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1;vision","java_multiple_files":true,"java_outer_classname":"WebDetectionProto","java_package":"com.google.cloud.vision.v1p4beta1","objc_class_prefix":"GCVN"},"nested":{"FaceRecognitionParams":{"fields":{"celebritySet":{"rule":"repeated","type":"string","id":1}}},"Celebrity":{"fields":{"name":{"type":"string","id":1},"displayName":{"type":"string","id":2},"description":{"type":"string","id":3}}},"FaceRecognitionResult":{"fields":{"celebrity":{"type":"Celebrity","id":1},"confidence":{"type":"float","id":2}}},"Vertex":{"fields":{"x":{"type":"int32","id":1},"y":{"type":"int32","id":2}}},"NormalizedVertex":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2}}},"BoundingPoly":{"fields":{"vertices":{"rule":"repeated","type":"Vertex","id":1},"normalizedVertices":{"rule":"repeated","type":"NormalizedVertex","id":2}}},"Position":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2},"z":{"type":"float","id":3}}},"ImageAnnotator":{"options":{"(google.api.default_host)":"vision.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-vision"},"methods":{"BatchAnnotateImages":{"requestType":"BatchAnnotateImagesRequest","responseType":"BatchAnnotateImagesResponse","options":{"(google.api.http).post":"/v1p4beta1/images:annotate","(google.api.http).body":"*","(google.api.method_signature)":"requests"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/images:annotate","body":"*"}},{"(google.api.method_signature)":"requests"}]},"BatchAnnotateFiles":{"requestType":"BatchAnnotateFilesRequest","responseType":"BatchAnnotateFilesResponse","options":{"(google.api.http).post":"/v1p4beta1/files:annotate","(google.api.http).body":"*","(google.api.method_signature)":"requests"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/files:annotate","body":"*"}},{"(google.api.method_signature)":"requests"}]},"AsyncBatchAnnotateImages":{"requestType":"AsyncBatchAnnotateImagesRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1p4beta1/images:asyncBatchAnnotate","(google.api.http).body":"*","(google.api.method_signature)":"requests,output_config","(google.longrunning.operation_info).response_type":"AsyncBatchAnnotateImagesResponse","(google.longrunning.operation_info).metadata_type":"OperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/images:asyncBatchAnnotate","body":"*"}},{"(google.api.method_signature)":"requests,output_config"},{"(google.longrunning.operation_info)":{"response_type":"AsyncBatchAnnotateImagesResponse","metadata_type":"OperationMetadata"}}]},"AsyncBatchAnnotateFiles":{"requestType":"AsyncBatchAnnotateFilesRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1p4beta1/files:asyncBatchAnnotate","(google.api.http).body":"*","(google.api.method_signature)":"requests","(google.longrunning.operation_info).response_type":"AsyncBatchAnnotateFilesResponse","(google.longrunning.operation_info).metadata_type":"OperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/files:asyncBatchAnnotate","body":"*"}},{"(google.api.method_signature)":"requests"},{"(google.longrunning.operation_info)":{"response_type":"AsyncBatchAnnotateFilesResponse","metadata_type":"OperationMetadata"}}]}}},"Feature":{"fields":{"type":{"type":"Type","id":1},"maxResults":{"type":"int32","id":2},"model":{"type":"string","id":3}},"nested":{"Type":{"values":{"TYPE_UNSPECIFIED":0,"FACE_DETECTION":1,"LANDMARK_DETECTION":2,"LOGO_DETECTION":3,"LABEL_DETECTION":4,"TEXT_DETECTION":5,"DOCUMENT_TEXT_DETECTION":11,"SAFE_SEARCH_DETECTION":6,"IMAGE_PROPERTIES":7,"CROP_HINTS":9,"WEB_DETECTION":10,"PRODUCT_SEARCH":12,"OBJECT_LOCALIZATION":19}}}},"ImageSource":{"fields":{"gcsImageUri":{"type":"string","id":1},"imageUri":{"type":"string","id":2}}},"Image":{"fields":{"content":{"type":"bytes","id":1},"source":{"type":"ImageSource","id":2}}},"Likelihood":{"values":{"UNKNOWN":0,"VERY_UNLIKELY":1,"UNLIKELY":2,"POSSIBLE":3,"LIKELY":4,"VERY_LIKELY":5}},"FaceAnnotation":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"fdBoundingPoly":{"type":"BoundingPoly","id":2},"landmarks":{"rule":"repeated","type":"Landmark","id":3},"rollAngle":{"type":"float","id":4},"panAngle":{"type":"float","id":5},"tiltAngle":{"type":"float","id":6},"detectionConfidence":{"type":"float","id":7},"landmarkingConfidence":{"type":"float","id":8},"joyLikelihood":{"type":"Likelihood","id":9},"sorrowLikelihood":{"type":"Likelihood","id":10},"angerLikelihood":{"type":"Likelihood","id":11},"surpriseLikelihood":{"type":"Likelihood","id":12},"underExposedLikelihood":{"type":"Likelihood","id":13},"blurredLikelihood":{"type":"Likelihood","id":14},"headwearLikelihood":{"type":"Likelihood","id":15},"recognitionResult":{"rule":"repeated","type":"FaceRecognitionResult","id":16}},"nested":{"Landmark":{"fields":{"type":{"type":"Type","id":3},"position":{"type":"Position","id":4}},"nested":{"Type":{"values":{"UNKNOWN_LANDMARK":0,"LEFT_EYE":1,"RIGHT_EYE":2,"LEFT_OF_LEFT_EYEBROW":3,"RIGHT_OF_LEFT_EYEBROW":4,"LEFT_OF_RIGHT_EYEBROW":5,"RIGHT_OF_RIGHT_EYEBROW":6,"MIDPOINT_BETWEEN_EYES":7,"NOSE_TIP":8,"UPPER_LIP":9,"LOWER_LIP":10,"MOUTH_LEFT":11,"MOUTH_RIGHT":12,"MOUTH_CENTER":13,"NOSE_BOTTOM_RIGHT":14,"NOSE_BOTTOM_LEFT":15,"NOSE_BOTTOM_CENTER":16,"LEFT_EYE_TOP_BOUNDARY":17,"LEFT_EYE_RIGHT_CORNER":18,"LEFT_EYE_BOTTOM_BOUNDARY":19,"LEFT_EYE_LEFT_CORNER":20,"RIGHT_EYE_TOP_BOUNDARY":21,"RIGHT_EYE_RIGHT_CORNER":22,"RIGHT_EYE_BOTTOM_BOUNDARY":23,"RIGHT_EYE_LEFT_CORNER":24,"LEFT_EYEBROW_UPPER_MIDPOINT":25,"RIGHT_EYEBROW_UPPER_MIDPOINT":26,"LEFT_EAR_TRAGION":27,"RIGHT_EAR_TRAGION":28,"LEFT_EYE_PUPIL":29,"RIGHT_EYE_PUPIL":30,"FOREHEAD_GLABELLA":31,"CHIN_GNATHION":32,"CHIN_LEFT_GONION":33,"CHIN_RIGHT_GONION":34}}}}}},"LocationInfo":{"fields":{"latLng":{"type":"google.type.LatLng","id":1}}},"Property":{"fields":{"name":{"type":"string","id":1},"value":{"type":"string","id":2},"uint64Value":{"type":"uint64","id":3}}},"EntityAnnotation":{"fields":{"mid":{"type":"string","id":1},"locale":{"type":"string","id":2},"description":{"type":"string","id":3},"score":{"type":"float","id":4},"confidence":{"type":"float","id":5,"options":{"deprecated":true}},"topicality":{"type":"float","id":6},"boundingPoly":{"type":"BoundingPoly","id":7},"locations":{"rule":"repeated","type":"LocationInfo","id":8},"properties":{"rule":"repeated","type":"Property","id":9}}},"LocalizedObjectAnnotation":{"fields":{"mid":{"type":"string","id":1},"languageCode":{"type":"string","id":2},"name":{"type":"string","id":3},"score":{"type":"float","id":4},"boundingPoly":{"type":"BoundingPoly","id":5}}},"SafeSearchAnnotation":{"fields":{"adult":{"type":"Likelihood","id":1},"spoof":{"type":"Likelihood","id":2},"medical":{"type":"Likelihood","id":3},"violence":{"type":"Likelihood","id":4},"racy":{"type":"Likelihood","id":9}}},"LatLongRect":{"fields":{"minLatLng":{"type":"google.type.LatLng","id":1},"maxLatLng":{"type":"google.type.LatLng","id":2}}},"ColorInfo":{"fields":{"color":{"type":"google.type.Color","id":1},"score":{"type":"float","id":2},"pixelFraction":{"type":"float","id":3}}},"DominantColorsAnnotation":{"fields":{"colors":{"rule":"repeated","type":"ColorInfo","id":1}}},"ImageProperties":{"fields":{"dominantColors":{"type":"DominantColorsAnnotation","id":1}}},"CropHint":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"confidence":{"type":"float","id":2},"importanceFraction":{"type":"float","id":3}}},"CropHintsAnnotation":{"fields":{"cropHints":{"rule":"repeated","type":"CropHint","id":1}}},"CropHintsParams":{"fields":{"aspectRatios":{"rule":"repeated","type":"float","id":1}}},"WebDetectionParams":{"fields":{"includeGeoResults":{"type":"bool","id":2}}},"TextDetectionParams":{"fields":{"enableTextDetectionConfidenceScore":{"type":"bool","id":9},"advancedOcrOptions":{"rule":"repeated","type":"string","id":11}}},"ImageContext":{"fields":{"latLongRect":{"type":"LatLongRect","id":1},"languageHints":{"rule":"repeated","type":"string","id":2},"cropHintsParams":{"type":"CropHintsParams","id":4},"faceRecognitionParams":{"type":"FaceRecognitionParams","id":10},"productSearchParams":{"type":"ProductSearchParams","id":5},"webDetectionParams":{"type":"WebDetectionParams","id":6},"textDetectionParams":{"type":"TextDetectionParams","id":12}}},"AnnotateImageRequest":{"fields":{"image":{"type":"Image","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3}}},"ImageAnnotationContext":{"fields":{"uri":{"type":"string","id":1},"pageNumber":{"type":"int32","id":2}}},"AnnotateImageResponse":{"fields":{"faceAnnotations":{"rule":"repeated","type":"FaceAnnotation","id":1},"landmarkAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":2},"logoAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":3},"labelAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":4},"localizedObjectAnnotations":{"rule":"repeated","type":"LocalizedObjectAnnotation","id":22},"textAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":5},"fullTextAnnotation":{"type":"TextAnnotation","id":12},"safeSearchAnnotation":{"type":"SafeSearchAnnotation","id":6},"imagePropertiesAnnotation":{"type":"ImageProperties","id":8},"cropHintsAnnotation":{"type":"CropHintsAnnotation","id":11},"webDetection":{"type":"WebDetection","id":13},"productSearchResults":{"type":"ProductSearchResults","id":14},"error":{"type":"google.rpc.Status","id":9},"context":{"type":"ImageAnnotationContext","id":21}}},"BatchAnnotateImagesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateImageRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"BatchAnnotateImagesResponse":{"fields":{"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":1}}},"AnnotateFileRequest":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3},"pages":{"rule":"repeated","type":"int32","id":4}}},"AnnotateFileResponse":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":2},"totalPages":{"type":"int32","id":3},"error":{"type":"google.rpc.Status","id":4}}},"BatchAnnotateFilesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateFileRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"BatchAnnotateFilesResponse":{"fields":{"responses":{"rule":"repeated","type":"AnnotateFileResponse","id":1}}},"AsyncAnnotateFileRequest":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3},"outputConfig":{"type":"OutputConfig","id":4}}},"AsyncAnnotateFileResponse":{"fields":{"outputConfig":{"type":"OutputConfig","id":1}}},"AsyncBatchAnnotateImagesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateImageRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"outputConfig":{"type":"OutputConfig","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"AsyncBatchAnnotateImagesResponse":{"fields":{"outputConfig":{"type":"OutputConfig","id":1}}},"AsyncBatchAnnotateFilesRequest":{"fields":{"requests":{"rule":"repeated","type":"AsyncAnnotateFileRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"AsyncBatchAnnotateFilesResponse":{"fields":{"responses":{"rule":"repeated","type":"AsyncAnnotateFileResponse","id":1}}},"InputConfig":{"fields":{"gcsSource":{"type":"GcsSource","id":1},"content":{"type":"bytes","id":3},"mimeType":{"type":"string","id":2}}},"OutputConfig":{"fields":{"gcsDestination":{"type":"GcsDestination","id":1},"batchSize":{"type":"int32","id":2}}},"GcsSource":{"fields":{"uri":{"type":"string","id":1}}},"GcsDestination":{"fields":{"uri":{"type":"string","id":1}}},"OperationMetadata":{"fields":{"state":{"type":"State","id":1},"createTime":{"type":"google.protobuf.Timestamp","id":5},"updateTime":{"type":"google.protobuf.Timestamp","id":6}},"nested":{"State":{"values":{"STATE_UNSPECIFIED":0,"CREATED":1,"RUNNING":2,"DONE":3,"CANCELLED":4}}}},"ProductSearchParams":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":9},"productSet":{"type":"string","id":6,"options":{"(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"productCategories":{"rule":"repeated","type":"string","id":7},"filter":{"type":"string","id":8}}},"ProductSearchResults":{"fields":{"indexTime":{"type":"google.protobuf.Timestamp","id":2},"results":{"rule":"repeated","type":"Result","id":5},"productGroupedResults":{"rule":"repeated","type":"GroupedResult","id":6}},"nested":{"Result":{"fields":{"product":{"type":"Product","id":1},"score":{"type":"float","id":2},"image":{"type":"string","id":3}}},"ObjectAnnotation":{"fields":{"mid":{"type":"string","id":1},"languageCode":{"type":"string","id":2},"name":{"type":"string","id":3},"score":{"type":"float","id":4}}},"GroupedResult":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"results":{"rule":"repeated","type":"Result","id":2},"objectAnnotations":{"rule":"repeated","type":"ObjectAnnotation","id":3}}}}},"ProductSearch":{"options":{"(google.api.default_host)":"vision.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-vision"},"methods":{"CreateProductSet":{"requestType":"CreateProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).post":"/v1p4beta1/{parent=projects/*/locations/*}/productSets","(google.api.http).body":"product_set","(google.api.method_signature)":"parent,product_set,product_set_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/{parent=projects/*/locations/*}/productSets","body":"product_set"}},{"(google.api.method_signature)":"parent,product_set,product_set_id"}]},"ListProductSets":{"requestType":"ListProductSetsRequest","responseType":"ListProductSetsResponse","options":{"(google.api.http).get":"/v1p4beta1/{parent=projects/*/locations/*}/productSets","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p4beta1/{parent=projects/*/locations/*}/productSets"}},{"(google.api.method_signature)":"parent"}]},"GetProductSet":{"requestType":"GetProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).get":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}"}},{"(google.api.method_signature)":"name"}]},"UpdateProductSet":{"requestType":"UpdateProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).patch":"/v1p4beta1/{product_set.name=projects/*/locations/*/productSets/*}","(google.api.http).body":"product_set","(google.api.method_signature)":"product_set,update_mask"},"parsedOptions":[{"(google.api.http)":{"patch":"/v1p4beta1/{product_set.name=projects/*/locations/*/productSets/*}","body":"product_set"}},{"(google.api.method_signature)":"product_set,update_mask"}]},"DeleteProductSet":{"requestType":"DeleteProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}"}},{"(google.api.method_signature)":"name"}]},"CreateProduct":{"requestType":"CreateProductRequest","responseType":"Product","options":{"(google.api.http).post":"/v1p4beta1/{parent=projects/*/locations/*}/products","(google.api.http).body":"product","(google.api.method_signature)":"parent,product,product_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/{parent=projects/*/locations/*}/products","body":"product"}},{"(google.api.method_signature)":"parent,product,product_id"}]},"ListProducts":{"requestType":"ListProductsRequest","responseType":"ListProductsResponse","options":{"(google.api.http).get":"/v1p4beta1/{parent=projects/*/locations/*}/products","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p4beta1/{parent=projects/*/locations/*}/products"}},{"(google.api.method_signature)":"parent"}]},"GetProduct":{"requestType":"GetProductRequest","responseType":"Product","options":{"(google.api.http).get":"/v1p4beta1/{name=projects/*/locations/*/products/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p4beta1/{name=projects/*/locations/*/products/*}"}},{"(google.api.method_signature)":"name"}]},"UpdateProduct":{"requestType":"UpdateProductRequest","responseType":"Product","options":{"(google.api.http).patch":"/v1p4beta1/{product.name=projects/*/locations/*/products/*}","(google.api.http).body":"product","(google.api.method_signature)":"product,update_mask"},"parsedOptions":[{"(google.api.http)":{"patch":"/v1p4beta1/{product.name=projects/*/locations/*/products/*}","body":"product"}},{"(google.api.method_signature)":"product,update_mask"}]},"DeleteProduct":{"requestType":"DeleteProductRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1p4beta1/{name=projects/*/locations/*/products/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1p4beta1/{name=projects/*/locations/*/products/*}"}},{"(google.api.method_signature)":"name"}]},"CreateReferenceImage":{"requestType":"CreateReferenceImageRequest","responseType":"ReferenceImage","options":{"(google.api.http).post":"/v1p4beta1/{parent=projects/*/locations/*/products/*}/referenceImages","(google.api.http).body":"reference_image","(google.api.method_signature)":"parent,reference_image,reference_image_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/{parent=projects/*/locations/*/products/*}/referenceImages","body":"reference_image"}},{"(google.api.method_signature)":"parent,reference_image,reference_image_id"}]},"DeleteReferenceImage":{"requestType":"DeleteReferenceImageRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1p4beta1/{name=projects/*/locations/*/products/*/referenceImages/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1p4beta1/{name=projects/*/locations/*/products/*/referenceImages/*}"}},{"(google.api.method_signature)":"name"}]},"ListReferenceImages":{"requestType":"ListReferenceImagesRequest","responseType":"ListReferenceImagesResponse","options":{"(google.api.http).get":"/v1p4beta1/{parent=projects/*/locations/*/products/*}/referenceImages","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p4beta1/{parent=projects/*/locations/*/products/*}/referenceImages"}},{"(google.api.method_signature)":"parent"}]},"GetReferenceImage":{"requestType":"GetReferenceImageRequest","responseType":"ReferenceImage","options":{"(google.api.http).get":"/v1p4beta1/{name=projects/*/locations/*/products/*/referenceImages/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p4beta1/{name=projects/*/locations/*/products/*/referenceImages/*}"}},{"(google.api.method_signature)":"name"}]},"AddProductToProductSet":{"requestType":"AddProductToProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).post":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}:addProduct","(google.api.http).body":"*","(google.api.method_signature)":"name,product"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}:addProduct","body":"*"}},{"(google.api.method_signature)":"name,product"}]},"RemoveProductFromProductSet":{"requestType":"RemoveProductFromProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).post":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}:removeProduct","(google.api.http).body":"*","(google.api.method_signature)":"name,product"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}:removeProduct","body":"*"}},{"(google.api.method_signature)":"name,product"}]},"ListProductsInProductSet":{"requestType":"ListProductsInProductSetRequest","responseType":"ListProductsInProductSetResponse","options":{"(google.api.http).get":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}/products","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}/products"}},{"(google.api.method_signature)":"name"}]},"ImportProductSets":{"requestType":"ImportProductSetsRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1p4beta1/{parent=projects/*/locations/*}/productSets:import","(google.api.http).body":"*","(google.api.method_signature)":"parent,input_config","(google.longrunning.operation_info).response_type":"ImportProductSetsResponse","(google.longrunning.operation_info).metadata_type":"BatchOperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/{parent=projects/*/locations/*}/productSets:import","body":"*"}},{"(google.api.method_signature)":"parent,input_config"},{"(google.longrunning.operation_info)":{"response_type":"ImportProductSetsResponse","metadata_type":"BatchOperationMetadata"}}]},"PurgeProducts":{"requestType":"PurgeProductsRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1p4beta1/{parent=projects/*/locations/*}/products:purge","(google.api.http).body":"*","(google.api.method_signature)":"parent","(google.longrunning.operation_info).response_type":"google.protobuf.Empty","(google.longrunning.operation_info).metadata_type":"BatchOperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/{parent=projects/*/locations/*}/products:purge","body":"*"}},{"(google.api.method_signature)":"parent"},{"(google.longrunning.operation_info)":{"response_type":"google.protobuf.Empty","metadata_type":"BatchOperationMetadata"}}]}}},"Product":{"options":{"(google.api.resource).type":"vision.googleapis.com/Product","(google.api.resource).pattern":"projects/{project}/locations/{location}/products/{product}"},"fields":{"name":{"type":"string","id":1},"displayName":{"type":"string","id":2},"description":{"type":"string","id":3},"productCategory":{"type":"string","id":4,"options":{"(google.api.field_behavior)":"IMMUTABLE"}},"productLabels":{"rule":"repeated","type":"KeyValue","id":5}},"nested":{"KeyValue":{"fields":{"key":{"type":"string","id":1},"value":{"type":"string","id":2}}}}},"ProductSet":{"options":{"(google.api.resource).type":"vision.googleapis.com/ProductSet","(google.api.resource).pattern":"projects/{project}/locations/{location}/productSets/{product_set}"},"fields":{"name":{"type":"string","id":1},"displayName":{"type":"string","id":2},"indexTime":{"type":"google.protobuf.Timestamp","id":3,"options":{"(google.api.field_behavior)":"OUTPUT_ONLY"}},"indexError":{"type":"google.rpc.Status","id":4,"options":{"(google.api.field_behavior)":"OUTPUT_ONLY"}}}},"ReferenceImage":{"options":{"(google.api.resource).type":"vision.googleapis.com/ReferenceImage","(google.api.resource).pattern":"projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}"},"fields":{"name":{"type":"string","id":1},"uri":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"boundingPolys":{"rule":"repeated","type":"BoundingPoly","id":3,"options":{"(google.api.field_behavior)":"OPTIONAL"}}}},"CreateProductRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"product":{"type":"Product","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"productId":{"type":"string","id":3}}},"ListProductsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductsResponse":{"fields":{"products":{"rule":"repeated","type":"Product","id":1},"nextPageToken":{"type":"string","id":2}}},"GetProductRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"UpdateProductRequest":{"fields":{"product":{"type":"Product","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"updateMask":{"type":"google.protobuf.FieldMask","id":2}}},"DeleteProductRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"CreateProductSetRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"productSet":{"type":"ProductSet","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"productSetId":{"type":"string","id":3}}},"ListProductSetsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductSetsResponse":{"fields":{"productSets":{"rule":"repeated","type":"ProductSet","id":1},"nextPageToken":{"type":"string","id":2}}},"GetProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}}}},"UpdateProductSetRequest":{"fields":{"productSet":{"type":"ProductSet","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"updateMask":{"type":"google.protobuf.FieldMask","id":2}}},"DeleteProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}}}},"CreateReferenceImageRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}},"referenceImage":{"type":"ReferenceImage","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"referenceImageId":{"type":"string","id":3}}},"ListReferenceImagesRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListReferenceImagesResponse":{"fields":{"referenceImages":{"rule":"repeated","type":"ReferenceImage","id":1},"pageSize":{"type":"int32","id":2},"nextPageToken":{"type":"string","id":3}}},"GetReferenceImageRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ReferenceImage"}}}},"DeleteReferenceImageRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ReferenceImage"}}}},"AddProductToProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"product":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"RemoveProductFromProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"product":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"ListProductsInProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductsInProductSetResponse":{"fields":{"products":{"rule":"repeated","type":"Product","id":1},"nextPageToken":{"type":"string","id":2}}},"ImportProductSetsGcsSource":{"fields":{"csvFileUri":{"type":"string","id":1}}},"ImportProductSetsInputConfig":{"oneofs":{"source":{"oneof":["gcsSource"]}},"fields":{"gcsSource":{"type":"ImportProductSetsGcsSource","id":1}}},"ImportProductSetsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"inputConfig":{"type":"ImportProductSetsInputConfig","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"ImportProductSetsResponse":{"fields":{"referenceImages":{"rule":"repeated","type":"ReferenceImage","id":1},"statuses":{"rule":"repeated","type":"google.rpc.Status","id":2}}},"BatchOperationMetadata":{"fields":{"state":{"type":"State","id":1},"submitTime":{"type":"google.protobuf.Timestamp","id":2},"endTime":{"type":"google.protobuf.Timestamp","id":3}},"nested":{"State":{"values":{"STATE_UNSPECIFIED":0,"PROCESSING":1,"SUCCESSFUL":2,"FAILED":3,"CANCELLED":4}}}},"ProductSetPurgeConfig":{"fields":{"productSetId":{"type":"string","id":1}}},"PurgeProductsRequest":{"oneofs":{"target":{"oneof":["productSetPurgeConfig","deleteOrphanProducts"]}},"fields":{"productSetPurgeConfig":{"type":"ProductSetPurgeConfig","id":2},"deleteOrphanProducts":{"type":"bool","id":3},"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"force":{"type":"bool","id":4}}},"TextAnnotation":{"fields":{"pages":{"rule":"repeated","type":"Page","id":1},"text":{"type":"string","id":2}},"nested":{"DetectedLanguage":{"fields":{"languageCode":{"type":"string","id":1},"confidence":{"type":"float","id":2}}},"DetectedBreak":{"fields":{"type":{"type":"BreakType","id":1},"isPrefix":{"type":"bool","id":2}},"nested":{"BreakType":{"values":{"UNKNOWN":0,"SPACE":1,"SURE_SPACE":2,"EOL_SURE_SPACE":3,"HYPHEN":4,"LINE_BREAK":5}}}},"TextProperty":{"fields":{"detectedLanguages":{"rule":"repeated","type":"DetectedLanguage","id":1},"detectedBreak":{"type":"DetectedBreak","id":2}}}}},"Page":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"width":{"type":"int32","id":2},"height":{"type":"int32","id":3},"blocks":{"rule":"repeated","type":"Block","id":4},"confidence":{"type":"float","id":5}}},"Block":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"paragraphs":{"rule":"repeated","type":"Paragraph","id":3},"blockType":{"type":"BlockType","id":4},"confidence":{"type":"float","id":5}},"nested":{"BlockType":{"values":{"UNKNOWN":0,"TEXT":1,"TABLE":2,"PICTURE":3,"RULER":4,"BARCODE":5}}}},"Paragraph":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"words":{"rule":"repeated","type":"Word","id":3},"confidence":{"type":"float","id":4}}},"Word":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"symbols":{"rule":"repeated","type":"Symbol","id":3},"confidence":{"type":"float","id":4}}},"Symbol":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"text":{"type":"string","id":3},"confidence":{"type":"float","id":4}}},"WebDetection":{"fields":{"webEntities":{"rule":"repeated","type":"WebEntity","id":1},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":2},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":3},"pagesWithMatchingImages":{"rule":"repeated","type":"WebPage","id":4},"visuallySimilarImages":{"rule":"repeated","type":"WebImage","id":6},"bestGuessLabels":{"rule":"repeated","type":"WebLabel","id":8}},"nested":{"WebEntity":{"fields":{"entityId":{"type":"string","id":1},"score":{"type":"float","id":2},"description":{"type":"string","id":3}}},"WebImage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2}}},"WebPage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2},"pageTitle":{"type":"string","id":3},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":4},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":5}}},"WebLabel":{"fields":{"label":{"type":"string","id":1},"languageCode":{"type":"string","id":2}}}}}}}}}}},"api":{"options":{"go_package":"google.golang.org/genproto/googleapis/api/annotations;annotations","java_multiple_files":true,"java_outer_classname":"ResourceProto","java_package":"com.google.api","objc_class_prefix":"GAPI","cc_enable_arenas":true},"nested":{"http":{"type":"HttpRule","id":72295728,"extend":"google.protobuf.MethodOptions"},"Http":{"fields":{"rules":{"rule":"repeated","type":"HttpRule","id":1},"fullyDecodeReservedExpansion":{"type":"bool","id":2}}},"HttpRule":{"oneofs":{"pattern":{"oneof":["get","put","post","delete","patch","custom"]}},"fields":{"selector":{"type":"string","id":1},"get":{"type":"string","id":2},"put":{"type":"string","id":3},"post":{"type":"string","id":4},"delete":{"type":"string","id":5},"patch":{"type":"string","id":6},"custom":{"type":"CustomHttpPattern","id":8},"body":{"type":"string","id":7},"responseBody":{"type":"string","id":12},"additionalBindings":{"rule":"repeated","type":"HttpRule","id":11}}},"CustomHttpPattern":{"fields":{"kind":{"type":"string","id":1},"path":{"type":"string","id":2}}},"methodSignature":{"rule":"repeated","type":"string","id":1051,"extend":"google.protobuf.MethodOptions"},"defaultHost":{"type":"string","id":1049,"extend":"google.protobuf.ServiceOptions"},"oauthScopes":{"type":"string","id":1050,"extend":"google.protobuf.ServiceOptions"},"fieldBehavior":{"rule":"repeated","type":"google.api.FieldBehavior","id":1052,"extend":"google.protobuf.FieldOptions"},"FieldBehavior":{"values":{"FIELD_BEHAVIOR_UNSPECIFIED":0,"OPTIONAL":1,"REQUIRED":2,"OUTPUT_ONLY":3,"INPUT_ONLY":4,"IMMUTABLE":5,"UNORDERED_LIST":6,"NON_EMPTY_DEFAULT":7}},"resourceReference":{"type":"google.api.ResourceReference","id":1055,"extend":"google.protobuf.FieldOptions"},"resourceDefinition":{"rule":"repeated","type":"google.api.ResourceDescriptor","id":1053,"extend":"google.protobuf.FileOptions"},"resource":{"type":"google.api.ResourceDescriptor","id":1053,"extend":"google.protobuf.MessageOptions"},"ResourceDescriptor":{"fields":{"type":{"type":"string","id":1},"pattern":{"rule":"repeated","type":"string","id":2},"nameField":{"type":"string","id":3},"history":{"type":"History","id":4},"plural":{"type":"string","id":5},"singular":{"type":"string","id":6},"style":{"rule":"repeated","type":"Style","id":10}},"nested":{"History":{"values":{"HISTORY_UNSPECIFIED":0,"ORIGINALLY_SINGLE_PATTERN":1,"FUTURE_MULTI_PATTERN":2}},"Style":{"values":{"STYLE_UNSPECIFIED":0,"DECLARATIVE_FRIENDLY":1}}}},"ResourceReference":{"fields":{"type":{"type":"string","id":1},"childType":{"type":"string","id":2}}}}},"protobuf":{"options":{"go_package":"google.golang.org/protobuf/types/descriptorpb","java_package":"com.google.protobuf","java_outer_classname":"DescriptorProtos","csharp_namespace":"Google.Protobuf.Reflection","objc_class_prefix":"GPB","cc_enable_arenas":true,"optimize_for":"SPEED"},"nested":{"FileDescriptorSet":{"fields":{"file":{"rule":"repeated","type":"FileDescriptorProto","id":1}}},"FileDescriptorProto":{"fields":{"name":{"type":"string","id":1},"package":{"type":"string","id":2},"dependency":{"rule":"repeated","type":"string","id":3},"publicDependency":{"rule":"repeated","type":"int32","id":10,"options":{"packed":false}},"weakDependency":{"rule":"repeated","type":"int32","id":11,"options":{"packed":false}},"messageType":{"rule":"repeated","type":"DescriptorProto","id":4},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":5},"service":{"rule":"repeated","type":"ServiceDescriptorProto","id":6},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":7},"options":{"type":"FileOptions","id":8},"sourceCodeInfo":{"type":"SourceCodeInfo","id":9},"syntax":{"type":"string","id":12},"edition":{"type":"string","id":13}}},"DescriptorProto":{"fields":{"name":{"type":"string","id":1},"field":{"rule":"repeated","type":"FieldDescriptorProto","id":2},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":6},"nestedType":{"rule":"repeated","type":"DescriptorProto","id":3},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":4},"extensionRange":{"rule":"repeated","type":"ExtensionRange","id":5},"oneofDecl":{"rule":"repeated","type":"OneofDescriptorProto","id":8},"options":{"type":"MessageOptions","id":7},"reservedRange":{"rule":"repeated","type":"ReservedRange","id":9},"reservedName":{"rule":"repeated","type":"string","id":10}},"nested":{"ExtensionRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2},"options":{"type":"ExtensionRangeOptions","id":3}}},"ReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"ExtensionRangeOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"FieldDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":3},"label":{"type":"Label","id":4},"type":{"type":"Type","id":5},"typeName":{"type":"string","id":6},"extendee":{"type":"string","id":2},"defaultValue":{"type":"string","id":7},"oneofIndex":{"type":"int32","id":9},"jsonName":{"type":"string","id":10},"options":{"type":"FieldOptions","id":8},"proto3Optional":{"type":"bool","id":17}},"nested":{"Type":{"values":{"TYPE_DOUBLE":1,"TYPE_FLOAT":2,"TYPE_INT64":3,"TYPE_UINT64":4,"TYPE_INT32":5,"TYPE_FIXED64":6,"TYPE_FIXED32":7,"TYPE_BOOL":8,"TYPE_STRING":9,"TYPE_GROUP":10,"TYPE_MESSAGE":11,"TYPE_BYTES":12,"TYPE_UINT32":13,"TYPE_ENUM":14,"TYPE_SFIXED32":15,"TYPE_SFIXED64":16,"TYPE_SINT32":17,"TYPE_SINT64":18}},"Label":{"values":{"LABEL_OPTIONAL":1,"LABEL_REQUIRED":2,"LABEL_REPEATED":3}}}},"OneofDescriptorProto":{"fields":{"name":{"type":"string","id":1},"options":{"type":"OneofOptions","id":2}}},"EnumDescriptorProto":{"fields":{"name":{"type":"string","id":1},"value":{"rule":"repeated","type":"EnumValueDescriptorProto","id":2},"options":{"type":"EnumOptions","id":3},"reservedRange":{"rule":"repeated","type":"EnumReservedRange","id":4},"reservedName":{"rule":"repeated","type":"string","id":5}},"nested":{"EnumReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"EnumValueDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":2},"options":{"type":"EnumValueOptions","id":3}}},"ServiceDescriptorProto":{"fields":{"name":{"type":"string","id":1},"method":{"rule":"repeated","type":"MethodDescriptorProto","id":2},"options":{"type":"ServiceOptions","id":3}}},"MethodDescriptorProto":{"fields":{"name":{"type":"string","id":1},"inputType":{"type":"string","id":2},"outputType":{"type":"string","id":3},"options":{"type":"MethodOptions","id":4},"clientStreaming":{"type":"bool","id":5,"options":{"default":false}},"serverStreaming":{"type":"bool","id":6,"options":{"default":false}}}},"FileOptions":{"fields":{"javaPackage":{"type":"string","id":1},"javaOuterClassname":{"type":"string","id":8},"javaMultipleFiles":{"type":"bool","id":10,"options":{"default":false}},"javaGenerateEqualsAndHash":{"type":"bool","id":20,"options":{"deprecated":true}},"javaStringCheckUtf8":{"type":"bool","id":27,"options":{"default":false}},"optimizeFor":{"type":"OptimizeMode","id":9,"options":{"default":"SPEED"}},"goPackage":{"type":"string","id":11},"ccGenericServices":{"type":"bool","id":16,"options":{"default":false}},"javaGenericServices":{"type":"bool","id":17,"options":{"default":false}},"pyGenericServices":{"type":"bool","id":18,"options":{"default":false}},"phpGenericServices":{"type":"bool","id":42,"options":{"default":false}},"deprecated":{"type":"bool","id":23,"options":{"default":false}},"ccEnableArenas":{"type":"bool","id":31,"options":{"default":true}},"objcClassPrefix":{"type":"string","id":36},"csharpNamespace":{"type":"string","id":37},"swiftPrefix":{"type":"string","id":39},"phpClassPrefix":{"type":"string","id":40},"phpNamespace":{"type":"string","id":41},"phpMetadataNamespace":{"type":"string","id":44},"rubyPackage":{"type":"string","id":45},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[38,38]],"nested":{"OptimizeMode":{"values":{"SPEED":1,"CODE_SIZE":2,"LITE_RUNTIME":3}}}},"MessageOptions":{"fields":{"messageSetWireFormat":{"type":"bool","id":1,"options":{"default":false}},"noStandardDescriptorAccessor":{"type":"bool","id":2,"options":{"default":false}},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"mapEntry":{"type":"bool","id":7},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[4,4],[5,5],[6,6],[8,8],[9,9]]},"FieldOptions":{"fields":{"ctype":{"type":"CType","id":1,"options":{"default":"STRING"}},"packed":{"type":"bool","id":2},"jstype":{"type":"JSType","id":6,"options":{"default":"JS_NORMAL"}},"lazy":{"type":"bool","id":5,"options":{"default":false}},"unverifiedLazy":{"type":"bool","id":15,"options":{"default":false}},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"weak":{"type":"bool","id":10,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[4,4]],"nested":{"CType":{"values":{"STRING":0,"CORD":1,"STRING_PIECE":2}},"JSType":{"values":{"JS_NORMAL":0,"JS_STRING":1,"JS_NUMBER":2}}}},"OneofOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"EnumOptions":{"fields":{"allowAlias":{"type":"bool","id":2},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[5,5]]},"EnumValueOptions":{"fields":{"deprecated":{"type":"bool","id":1,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"ServiceOptions":{"fields":{"deprecated":{"type":"bool","id":33,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"MethodOptions":{"fields":{"deprecated":{"type":"bool","id":33,"options":{"default":false}},"idempotencyLevel":{"type":"IdempotencyLevel","id":34,"options":{"default":"IDEMPOTENCY_UNKNOWN"}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"nested":{"IdempotencyLevel":{"values":{"IDEMPOTENCY_UNKNOWN":0,"NO_SIDE_EFFECTS":1,"IDEMPOTENT":2}}}},"UninterpretedOption":{"fields":{"name":{"rule":"repeated","type":"NamePart","id":2},"identifierValue":{"type":"string","id":3},"positiveIntValue":{"type":"uint64","id":4},"negativeIntValue":{"type":"int64","id":5},"doubleValue":{"type":"double","id":6},"stringValue":{"type":"bytes","id":7},"aggregateValue":{"type":"string","id":8}},"nested":{"NamePart":{"fields":{"namePart":{"rule":"required","type":"string","id":1},"isExtension":{"rule":"required","type":"bool","id":2}}}}},"SourceCodeInfo":{"fields":{"location":{"rule":"repeated","type":"Location","id":1}},"nested":{"Location":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"span":{"rule":"repeated","type":"int32","id":2},"leadingComments":{"type":"string","id":3},"trailingComments":{"type":"string","id":4},"leadingDetachedComments":{"rule":"repeated","type":"string","id":6}}}}},"GeneratedCodeInfo":{"fields":{"annotation":{"rule":"repeated","type":"Annotation","id":1}},"nested":{"Annotation":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"sourceFile":{"type":"string","id":2},"begin":{"type":"int32","id":3},"end":{"type":"int32","id":4},"semantic":{"type":"Semantic","id":5}},"nested":{"Semantic":{"values":{"NONE":0,"SET":1,"ALIAS":2}}}}}},"Any":{"fields":{"type_url":{"type":"string","id":1},"value":{"type":"bytes","id":2}}},"Duration":{"fields":{"seconds":{"type":"int64","id":1},"nanos":{"type":"int32","id":2}}},"Empty":{"fields":{}},"FieldMask":{"fields":{"paths":{"rule":"repeated","type":"string","id":1}}},"Timestamp":{"fields":{"seconds":{"type":"int64","id":1},"nanos":{"type":"int32","id":2}}},"DoubleValue":{"fields":{"value":{"type":"double","id":1}}},"FloatValue":{"fields":{"value":{"type":"float","id":1}}},"Int64Value":{"fields":{"value":{"type":"int64","id":1}}},"UInt64Value":{"fields":{"value":{"type":"uint64","id":1}}},"Int32Value":{"fields":{"value":{"type":"int32","id":1}}},"UInt32Value":{"fields":{"value":{"type":"uint32","id":1}}},"BoolValue":{"fields":{"value":{"type":"bool","id":1}}},"StringValue":{"fields":{"value":{"type":"string","id":1}}},"BytesValue":{"fields":{"value":{"type":"bytes","id":1}}}}},"longrunning":{"options":{"cc_enable_arenas":true,"csharp_namespace":"Google.LongRunning","go_package":"google.golang.org/genproto/googleapis/longrunning;longrunning","java_multiple_files":true,"java_outer_classname":"OperationsProto","java_package":"com.google.longrunning","php_namespace":"Google\\\\LongRunning"},"nested":{"operationInfo":{"type":"google.longrunning.OperationInfo","id":1049,"extend":"google.protobuf.MethodOptions"},"Operations":{"options":{"(google.api.default_host)":"longrunning.googleapis.com"},"methods":{"ListOperations":{"requestType":"ListOperationsRequest","responseType":"ListOperationsResponse","options":{"(google.api.http).get":"/v1/{name=operations}","(google.api.method_signature)":"name,filter"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=operations}"}},{"(google.api.method_signature)":"name,filter"}]},"GetOperation":{"requestType":"GetOperationRequest","responseType":"Operation","options":{"(google.api.http).get":"/v1/{name=operations/**}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=operations/**}"}},{"(google.api.method_signature)":"name"}]},"DeleteOperation":{"requestType":"DeleteOperationRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1/{name=operations/**}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1/{name=operations/**}"}},{"(google.api.method_signature)":"name"}]},"CancelOperation":{"requestType":"CancelOperationRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).post":"/v1/{name=operations/**}:cancel","(google.api.http).body":"*","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{name=operations/**}:cancel","body":"*"}},{"(google.api.method_signature)":"name"}]},"WaitOperation":{"requestType":"WaitOperationRequest","responseType":"Operation"}}},"Operation":{"oneofs":{"result":{"oneof":["error","response"]}},"fields":{"name":{"type":"string","id":1},"metadata":{"type":"google.protobuf.Any","id":2},"done":{"type":"bool","id":3},"error":{"type":"google.rpc.Status","id":4},"response":{"type":"google.protobuf.Any","id":5}}},"GetOperationRequest":{"fields":{"name":{"type":"string","id":1}}},"ListOperationsRequest":{"fields":{"name":{"type":"string","id":4},"filter":{"type":"string","id":1},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListOperationsResponse":{"fields":{"operations":{"rule":"repeated","type":"Operation","id":1},"nextPageToken":{"type":"string","id":2}}},"CancelOperationRequest":{"fields":{"name":{"type":"string","id":1}}},"DeleteOperationRequest":{"fields":{"name":{"type":"string","id":1}}},"WaitOperationRequest":{"fields":{"name":{"type":"string","id":1},"timeout":{"type":"google.protobuf.Duration","id":2}}},"OperationInfo":{"fields":{"responseType":{"type":"string","id":1},"metadataType":{"type":"string","id":2}}}}},"rpc":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/rpc/status;status","java_multiple_files":true,"java_outer_classname":"StatusProto","java_package":"com.google.rpc","objc_class_prefix":"RPC"},"nested":{"Status":{"fields":{"code":{"type":"int32","id":1},"message":{"type":"string","id":2},"details":{"rule":"repeated","type":"google.protobuf.Any","id":3}}}}},"type":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/type/latlng;latlng","java_multiple_files":true,"java_outer_classname":"LatLngProto","java_package":"com.google.type","objc_class_prefix":"GTP"},"nested":{"Color":{"fields":{"red":{"type":"float","id":1},"green":{"type":"float","id":2},"blue":{"type":"float","id":3},"alpha":{"type":"google.protobuf.FloatValue","id":4}}},"LatLng":{"fields":{"latitude":{"type":"double","id":1},"longitude":{"type":"double","id":2}}}}}}}}}')},12827:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.vision.v1.ImageAnnotator":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"BatchAnnotateImages":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"BatchAnnotateFiles":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"AsyncBatchAnnotateImages":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"AsyncBatchAnnotateFiles":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"}}}}}')},19184:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.vision.v1.ProductSearch":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"CreateProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"ListProductSets":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"UpdateProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"DeleteProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"CreateProduct":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"ListProducts":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetProduct":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"UpdateProduct":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"DeleteProduct":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"CreateReferenceImage":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"DeleteReferenceImage":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"ListReferenceImages":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetReferenceImage":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"AddProductToProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"RemoveProductFromProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"ListProductsInProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"ImportProductSets":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"PurgeProducts":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"}}}}}')},10254:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.vision.v1p1beta1.ImageAnnotator":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"BatchAnnotateImages":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"}}}}}')},95184:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.vision.v1p2beta1.ImageAnnotator":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"BatchAnnotateImages":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"AsyncBatchAnnotateFiles":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"}}}}}')},9935:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.vision.v1p3beta1.ImageAnnotator":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"BatchAnnotateImages":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"AsyncBatchAnnotateFiles":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"}}}}}')},64828:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.vision.v1p3beta1.ProductSearch":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"CreateProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"ListProductSets":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"UpdateProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"DeleteProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"CreateProduct":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"ListProducts":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetProduct":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"UpdateProduct":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"DeleteProduct":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"CreateReferenceImage":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"DeleteReferenceImage":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"ListReferenceImages":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetReferenceImage":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"AddProductToProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"RemoveProductFromProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"ListProductsInProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"ImportProductSets":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"}}}}}')},55329:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.vision.v1p4beta1.ImageAnnotator":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"BatchAnnotateImages":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"BatchAnnotateFiles":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"AsyncBatchAnnotateImages":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"AsyncBatchAnnotateFiles":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"}}}}}')},4859:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.vision.v1p4beta1.ProductSearch":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"CreateProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"ListProductSets":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"UpdateProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"DeleteProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"CreateProduct":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"ListProducts":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetProduct":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"UpdateProduct":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"DeleteProduct":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"CreateReferenceImage":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"DeleteReferenceImage":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"ListReferenceImages":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetReferenceImage":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"AddProductToProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"RemoveProductFromProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"ListProductsInProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"ImportProductSets":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"PurgeProducts":{"retry_codes_name":"non_idempotent","retry_params_name":"default"}}}}}')},49724:e=>{"use strict";e.exports={i8:"3.0.1"}},14167:e=>{"use strict";e.exports={i8:"1.7.3"}},39665:e=>{"use strict";e.exports=JSON.parse('{"name":"google-auth-library","version":"8.7.0","author":"Google Inc.","description":"Google APIs Authentication Client Library for Node.js","engines":{"node":">=12"},"main":"./build/src/index.js","types":"./build/src/index.d.ts","repository":"googleapis/google-auth-library-nodejs.git","keywords":["google","api","google apis","client","client library"],"dependencies":{"arrify":"^2.0.0","base64-js":"^1.3.0","ecdsa-sig-formatter":"^1.0.11","fast-text-encoding":"^1.0.0","gaxios":"^5.0.0","gcp-metadata":"^5.0.0","gtoken":"^6.1.0","jws":"^4.0.0","lru-cache":"^6.0.0"},"devDependencies":{"@compodoc/compodoc":"^1.1.7","@types/base64-js":"^1.2.5","@types/chai":"^4.1.7","@types/jws":"^3.1.0","@types/lru-cache":"^5.0.0","@types/mocha":"^9.0.0","@types/mv":"^2.1.0","@types/ncp":"^2.0.1","@types/node":"^16.0.0","@types/sinon":"^10.0.0","@types/tmp":"^0.2.0","assert-rejects":"^1.0.0","c8":"^7.0.0","chai":"^4.2.0","codecov":"^3.0.2","execa":"^5.0.0","gts":"^3.1.0","is-docker":"^2.0.0","karma":"^6.0.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-firefox-launcher":"^2.0.0","karma-mocha":"^2.0.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^5.0.0","keypair":"^1.0.4","linkinator":"^4.0.0","mocha":"^9.2.2","mv":"^2.1.1","ncp":"^2.0.0","nock":"^13.0.0","null-loader":"^4.0.0","puppeteer":"^18.0.0","sinon":"^14.0.0","tmp":"^0.2.0","ts-loader":"^8.0.0","typescript":"^4.6.3","webpack":"^5.21.2","webpack-cli":"^4.0.0"},"files":["build/src","!build/src/**/*.map"],"scripts":{"test":"c8 mocha build/test","clean":"gts clean","prepare":"npm run compile","lint":"gts check","compile":"tsc -p .","fix":"gts fix","pretest":"npm run compile","docs":"compodoc src/","samples-setup":"cd samples/ && npm link ../ && npm run setup && cd ../","samples-test":"cd samples/ && npm link ../ && npm test && cd ../","system-test":"mocha build/system-test --timeout 60000","presystem-test":"npm run compile","webpack":"webpack","browser-test":"karma start","docs-test":"linkinator docs","predocs-test":"npm run docs","prelint":"cd samples; npm link ../; npm install","precompile":"gts clean"},"license":"Apache-2.0"}')},87451:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"iam":{"nested":{"v1":{"options":{"cc_enable_arenas":true,"csharp_namespace":"Google.Cloud.Iam.V1","go_package":"google.golang.org/genproto/googleapis/iam/v1;iam","java_multiple_files":true,"java_outer_classname":"PolicyProto","java_package":"com.google.iam.v1","php_namespace":"Google\\\\Cloud\\\\Iam\\\\V1"},"nested":{"IAMPolicy":{"options":{"(google.api.default_host)":"iam-meta-api.googleapis.com"},"methods":{"SetIamPolicy":{"requestType":"SetIamPolicyRequest","responseType":"Policy","options":{"(google.api.http).post":"/v1/{resource=**}:setIamPolicy","(google.api.http).body":"*"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{resource=**}:setIamPolicy","body":"*"}}]},"GetIamPolicy":{"requestType":"GetIamPolicyRequest","responseType":"Policy","options":{"(google.api.http).post":"/v1/{resource=**}:getIamPolicy","(google.api.http).body":"*"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{resource=**}:getIamPolicy","body":"*"}}]},"TestIamPermissions":{"requestType":"TestIamPermissionsRequest","responseType":"TestIamPermissionsResponse","options":{"(google.api.http).post":"/v1/{resource=**}:testIamPermissions","(google.api.http).body":"*"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{resource=**}:testIamPermissions","body":"*"}}]}}},"SetIamPolicyRequest":{"fields":{"resource":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"*"}},"policy":{"type":"Policy","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"GetIamPolicyRequest":{"fields":{"resource":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"*"}},"options":{"type":"GetPolicyOptions","id":2}}},"TestIamPermissionsRequest":{"fields":{"resource":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"*"}},"permissions":{"rule":"repeated","type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"TestIamPermissionsResponse":{"fields":{"permissions":{"rule":"repeated","type":"string","id":1}}},"GetPolicyOptions":{"fields":{"requestedPolicyVersion":{"type":"int32","id":1}}},"Policy":{"fields":{"version":{"type":"int32","id":1},"bindings":{"rule":"repeated","type":"Binding","id":4},"etag":{"type":"bytes","id":3}}},"Binding":{"fields":{"role":{"type":"string","id":1},"members":{"rule":"repeated","type":"string","id":2},"condition":{"type":"google.type.Expr","id":3}}},"PolicyDelta":{"fields":{"bindingDeltas":{"rule":"repeated","type":"BindingDelta","id":1},"auditConfigDeltas":{"rule":"repeated","type":"AuditConfigDelta","id":2}}},"BindingDelta":{"fields":{"action":{"type":"Action","id":1},"role":{"type":"string","id":2},"member":{"type":"string","id":3},"condition":{"type":"google.type.Expr","id":4}},"nested":{"Action":{"values":{"ACTION_UNSPECIFIED":0,"ADD":1,"REMOVE":2}}}},"AuditConfigDelta":{"fields":{"action":{"type":"Action","id":1},"service":{"type":"string","id":2},"exemptedMember":{"type":"string","id":3},"logType":{"type":"string","id":4}},"nested":{"Action":{"values":{"ACTION_UNSPECIFIED":0,"ADD":1,"REMOVE":2}}}},"logging":{"options":{"csharp_namespace":"Google.Cloud.Iam.V1.Logging","go_package":"google.golang.org/genproto/googleapis/iam/v1/logging;logging","java_multiple_files":true,"java_outer_classname":"AuditDataProto","java_package":"com.google.iam.v1.logging"},"nested":{"AuditData":{"fields":{"policyDelta":{"type":"google.iam.v1.PolicyDelta","id":2}}}}}}}}},"api":{"options":{"go_package":"google.golang.org/genproto/googleapis/api/annotations;annotations","java_multiple_files":true,"java_outer_classname":"ResourceProto","java_package":"com.google.api","objc_class_prefix":"GAPI","cc_enable_arenas":true},"nested":{"http":{"type":"HttpRule","id":72295728,"extend":"google.protobuf.MethodOptions"},"Http":{"fields":{"rules":{"rule":"repeated","type":"HttpRule","id":1},"fullyDecodeReservedExpansion":{"type":"bool","id":2}}},"HttpRule":{"oneofs":{"pattern":{"oneof":["get","put","post","delete","patch","custom"]}},"fields":{"selector":{"type":"string","id":1},"get":{"type":"string","id":2},"put":{"type":"string","id":3},"post":{"type":"string","id":4},"delete":{"type":"string","id":5},"patch":{"type":"string","id":6},"custom":{"type":"CustomHttpPattern","id":8},"body":{"type":"string","id":7},"responseBody":{"type":"string","id":12},"additionalBindings":{"rule":"repeated","type":"HttpRule","id":11}}},"CustomHttpPattern":{"fields":{"kind":{"type":"string","id":1},"path":{"type":"string","id":2}}},"methodSignature":{"rule":"repeated","type":"string","id":1051,"extend":"google.protobuf.MethodOptions"},"defaultHost":{"type":"string","id":1049,"extend":"google.protobuf.ServiceOptions"},"oauthScopes":{"type":"string","id":1050,"extend":"google.protobuf.ServiceOptions"},"fieldBehavior":{"rule":"repeated","type":"google.api.FieldBehavior","id":1052,"extend":"google.protobuf.FieldOptions"},"FieldBehavior":{"values":{"FIELD_BEHAVIOR_UNSPECIFIED":0,"OPTIONAL":1,"REQUIRED":2,"OUTPUT_ONLY":3,"INPUT_ONLY":4,"IMMUTABLE":5}},"resourceReference":{"type":"google.api.ResourceReference","id":1055,"extend":"google.protobuf.FieldOptions"},"resourceDefinition":{"rule":"repeated","type":"google.api.ResourceDescriptor","id":1053,"extend":"google.protobuf.FileOptions"},"resource":{"type":"google.api.ResourceDescriptor","id":1053,"extend":"google.protobuf.MessageOptions"},"ResourceDescriptor":{"fields":{"type":{"type":"string","id":1},"pattern":{"rule":"repeated","type":"string","id":2},"nameField":{"type":"string","id":3},"history":{"type":"History","id":4},"plural":{"type":"string","id":5},"singular":{"type":"string","id":6}},"nested":{"History":{"values":{"HISTORY_UNSPECIFIED":0,"ORIGINALLY_SINGLE_PATTERN":1,"FUTURE_MULTI_PATTERN":2}}}},"ResourceReference":{"fields":{"type":{"type":"string","id":1},"childType":{"type":"string","id":2}}}}},"protobuf":{"options":{"go_package":"github.com/golang/protobuf/protoc-gen-go/descriptor;descriptor","java_package":"com.google.protobuf","java_outer_classname":"DescriptorProtos","csharp_namespace":"Google.Protobuf.Reflection","objc_class_prefix":"GPB","cc_enable_arenas":true,"optimize_for":"SPEED"},"nested":{"FileDescriptorSet":{"fields":{"file":{"rule":"repeated","type":"FileDescriptorProto","id":1}}},"FileDescriptorProto":{"fields":{"name":{"type":"string","id":1},"package":{"type":"string","id":2},"dependency":{"rule":"repeated","type":"string","id":3},"publicDependency":{"rule":"repeated","type":"int32","id":10,"options":{"packed":false}},"weakDependency":{"rule":"repeated","type":"int32","id":11,"options":{"packed":false}},"messageType":{"rule":"repeated","type":"DescriptorProto","id":4},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":5},"service":{"rule":"repeated","type":"ServiceDescriptorProto","id":6},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":7},"options":{"type":"FileOptions","id":8},"sourceCodeInfo":{"type":"SourceCodeInfo","id":9},"syntax":{"type":"string","id":12}}},"DescriptorProto":{"fields":{"name":{"type":"string","id":1},"field":{"rule":"repeated","type":"FieldDescriptorProto","id":2},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":6},"nestedType":{"rule":"repeated","type":"DescriptorProto","id":3},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":4},"extensionRange":{"rule":"repeated","type":"ExtensionRange","id":5},"oneofDecl":{"rule":"repeated","type":"OneofDescriptorProto","id":8},"options":{"type":"MessageOptions","id":7},"reservedRange":{"rule":"repeated","type":"ReservedRange","id":9},"reservedName":{"rule":"repeated","type":"string","id":10}},"nested":{"ExtensionRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2},"options":{"type":"ExtensionRangeOptions","id":3}}},"ReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"ExtensionRangeOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"FieldDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":3},"label":{"type":"Label","id":4},"type":{"type":"Type","id":5},"typeName":{"type":"string","id":6},"extendee":{"type":"string","id":2},"defaultValue":{"type":"string","id":7},"oneofIndex":{"type":"int32","id":9},"jsonName":{"type":"string","id":10},"options":{"type":"FieldOptions","id":8},"proto3Optional":{"type":"bool","id":17}},"nested":{"Type":{"values":{"TYPE_DOUBLE":1,"TYPE_FLOAT":2,"TYPE_INT64":3,"TYPE_UINT64":4,"TYPE_INT32":5,"TYPE_FIXED64":6,"TYPE_FIXED32":7,"TYPE_BOOL":8,"TYPE_STRING":9,"TYPE_GROUP":10,"TYPE_MESSAGE":11,"TYPE_BYTES":12,"TYPE_UINT32":13,"TYPE_ENUM":14,"TYPE_SFIXED32":15,"TYPE_SFIXED64":16,"TYPE_SINT32":17,"TYPE_SINT64":18}},"Label":{"values":{"LABEL_OPTIONAL":1,"LABEL_REQUIRED":2,"LABEL_REPEATED":3}}}},"OneofDescriptorProto":{"fields":{"name":{"type":"string","id":1},"options":{"type":"OneofOptions","id":2}}},"EnumDescriptorProto":{"fields":{"name":{"type":"string","id":1},"value":{"rule":"repeated","type":"EnumValueDescriptorProto","id":2},"options":{"type":"EnumOptions","id":3},"reservedRange":{"rule":"repeated","type":"EnumReservedRange","id":4},"reservedName":{"rule":"repeated","type":"string","id":5}},"nested":{"EnumReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"EnumValueDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":2},"options":{"type":"EnumValueOptions","id":3}}},"ServiceDescriptorProto":{"fields":{"name":{"type":"string","id":1},"method":{"rule":"repeated","type":"MethodDescriptorProto","id":2},"options":{"type":"ServiceOptions","id":3}}},"MethodDescriptorProto":{"fields":{"name":{"type":"string","id":1},"inputType":{"type":"string","id":2},"outputType":{"type":"string","id":3},"options":{"type":"MethodOptions","id":4},"clientStreaming":{"type":"bool","id":5,"options":{"default":false}},"serverStreaming":{"type":"bool","id":6,"options":{"default":false}}}},"FileOptions":{"fields":{"javaPackage":{"type":"string","id":1},"javaOuterClassname":{"type":"string","id":8},"javaMultipleFiles":{"type":"bool","id":10,"options":{"default":false}},"javaGenerateEqualsAndHash":{"type":"bool","id":20,"options":{"deprecated":true}},"javaStringCheckUtf8":{"type":"bool","id":27,"options":{"default":false}},"optimizeFor":{"type":"OptimizeMode","id":9,"options":{"default":"SPEED"}},"goPackage":{"type":"string","id":11},"ccGenericServices":{"type":"bool","id":16,"options":{"default":false}},"javaGenericServices":{"type":"bool","id":17,"options":{"default":false}},"pyGenericServices":{"type":"bool","id":18,"options":{"default":false}},"phpGenericServices":{"type":"bool","id":42,"options":{"default":false}},"deprecated":{"type":"bool","id":23,"options":{"default":false}},"ccEnableArenas":{"type":"bool","id":31,"options":{"default":true}},"objcClassPrefix":{"type":"string","id":36},"csharpNamespace":{"type":"string","id":37},"swiftPrefix":{"type":"string","id":39},"phpClassPrefix":{"type":"string","id":40},"phpNamespace":{"type":"string","id":41},"phpMetadataNamespace":{"type":"string","id":44},"rubyPackage":{"type":"string","id":45},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[38,38]],"nested":{"OptimizeMode":{"values":{"SPEED":1,"CODE_SIZE":2,"LITE_RUNTIME":3}}}},"MessageOptions":{"fields":{"messageSetWireFormat":{"type":"bool","id":1,"options":{"default":false}},"noStandardDescriptorAccessor":{"type":"bool","id":2,"options":{"default":false}},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"mapEntry":{"type":"bool","id":7},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[8,8],[9,9]]},"FieldOptions":{"fields":{"ctype":{"type":"CType","id":1,"options":{"default":"STRING"}},"packed":{"type":"bool","id":2},"jstype":{"type":"JSType","id":6,"options":{"default":"JS_NORMAL"}},"lazy":{"type":"bool","id":5,"options":{"default":false}},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"weak":{"type":"bool","id":10,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[4,4]],"nested":{"CType":{"values":{"STRING":0,"CORD":1,"STRING_PIECE":2}},"JSType":{"values":{"JS_NORMAL":0,"JS_STRING":1,"JS_NUMBER":2}}}},"OneofOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"EnumOptions":{"fields":{"allowAlias":{"type":"bool","id":2},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[5,5]]},"EnumValueOptions":{"fields":{"deprecated":{"type":"bool","id":1,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"ServiceOptions":{"fields":{"deprecated":{"type":"bool","id":33,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"MethodOptions":{"fields":{"deprecated":{"type":"bool","id":33,"options":{"default":false}},"idempotencyLevel":{"type":"IdempotencyLevel","id":34,"options":{"default":"IDEMPOTENCY_UNKNOWN"}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"nested":{"IdempotencyLevel":{"values":{"IDEMPOTENCY_UNKNOWN":0,"NO_SIDE_EFFECTS":1,"IDEMPOTENT":2}}}},"UninterpretedOption":{"fields":{"name":{"rule":"repeated","type":"NamePart","id":2},"identifierValue":{"type":"string","id":3},"positiveIntValue":{"type":"uint64","id":4},"negativeIntValue":{"type":"int64","id":5},"doubleValue":{"type":"double","id":6},"stringValue":{"type":"bytes","id":7},"aggregateValue":{"type":"string","id":8}},"nested":{"NamePart":{"fields":{"namePart":{"rule":"required","type":"string","id":1},"isExtension":{"rule":"required","type":"bool","id":2}}}}},"SourceCodeInfo":{"fields":{"location":{"rule":"repeated","type":"Location","id":1}},"nested":{"Location":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"span":{"rule":"repeated","type":"int32","id":2},"leadingComments":{"type":"string","id":3},"trailingComments":{"type":"string","id":4},"leadingDetachedComments":{"rule":"repeated","type":"string","id":6}}}}},"GeneratedCodeInfo":{"fields":{"annotation":{"rule":"repeated","type":"Annotation","id":1}},"nested":{"Annotation":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"sourceFile":{"type":"string","id":2},"begin":{"type":"int32","id":3},"end":{"type":"int32","id":4}}}}}}},"type":{"options":{"go_package":"google.golang.org/genproto/googleapis/type/expr;expr","java_multiple_files":true,"java_outer_classname":"ExprProto","java_package":"com.google.type","objc_class_prefix":"GTP"},"nested":{"Expr":{"fields":{"expression":{"type":"string","id":1},"title":{"type":"string","id":2},"description":{"type":"string","id":3},"location":{"type":"string","id":4}}}}}}}}}')},98676:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"cloud":{"nested":{"location":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/cloud/location;location","java_multiple_files":true,"java_outer_classname":"LocationsProto","java_package":"com.google.cloud.location"},"nested":{"Locations":{"options":{"(google.api.default_host)":"cloud.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform"},"methods":{"ListLocations":{"requestType":"ListLocationsRequest","responseType":"ListLocationsResponse","options":{"(google.api.http).get":"/v1/{name=locations}","(google.api.http).additional_bindings.get":"/v1/{name=projects/*}/locations"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=locations}","additional_bindings":{"get":"/v1/{name=projects/*}/locations"}}}]},"GetLocation":{"requestType":"GetLocationRequest","responseType":"Location","options":{"(google.api.http).get":"/v1/{name=locations/*}","(google.api.http).additional_bindings.get":"/v1/{name=projects/*/locations/*}"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=locations/*}","additional_bindings":{"get":"/v1/{name=projects/*/locations/*}"}}}]}}},"ListLocationsRequest":{"fields":{"name":{"type":"string","id":1},"filter":{"type":"string","id":2},"pageSize":{"type":"int32","id":3},"pageToken":{"type":"string","id":4}}},"ListLocationsResponse":{"fields":{"locations":{"rule":"repeated","type":"Location","id":1},"nextPageToken":{"type":"string","id":2}}},"GetLocationRequest":{"fields":{"name":{"type":"string","id":1}}},"Location":{"fields":{"name":{"type":"string","id":1},"locationId":{"type":"string","id":4},"displayName":{"type":"string","id":5},"labels":{"keyType":"string","type":"string","id":2},"metadata":{"type":"google.protobuf.Any","id":3}}}}}}},"api":{"options":{"go_package":"google.golang.org/genproto/googleapis/api/annotations;annotations","java_multiple_files":true,"java_outer_classname":"ClientProto","java_package":"com.google.api","objc_class_prefix":"GAPI","cc_enable_arenas":true},"nested":{"http":{"type":"HttpRule","id":72295728,"extend":"google.protobuf.MethodOptions"},"Http":{"fields":{"rules":{"rule":"repeated","type":"HttpRule","id":1},"fullyDecodeReservedExpansion":{"type":"bool","id":2}}},"HttpRule":{"oneofs":{"pattern":{"oneof":["get","put","post","delete","patch","custom"]}},"fields":{"selector":{"type":"string","id":1},"get":{"type":"string","id":2},"put":{"type":"string","id":3},"post":{"type":"string","id":4},"delete":{"type":"string","id":5},"patch":{"type":"string","id":6},"custom":{"type":"CustomHttpPattern","id":8},"body":{"type":"string","id":7},"responseBody":{"type":"string","id":12},"additionalBindings":{"rule":"repeated","type":"HttpRule","id":11}}},"CustomHttpPattern":{"fields":{"kind":{"type":"string","id":1},"path":{"type":"string","id":2}}},"methodSignature":{"rule":"repeated","type":"string","id":1051,"extend":"google.protobuf.MethodOptions"},"defaultHost":{"type":"string","id":1049,"extend":"google.protobuf.ServiceOptions"},"oauthScopes":{"type":"string","id":1050,"extend":"google.protobuf.ServiceOptions"}}},"protobuf":{"options":{"go_package":"google.golang.org/protobuf/types/descriptorpb","java_package":"com.google.protobuf","java_outer_classname":"DescriptorProtos","csharp_namespace":"Google.Protobuf.Reflection","objc_class_prefix":"GPB","cc_enable_arenas":true,"optimize_for":"SPEED"},"nested":{"FileDescriptorSet":{"fields":{"file":{"rule":"repeated","type":"FileDescriptorProto","id":1}}},"FileDescriptorProto":{"fields":{"name":{"type":"string","id":1},"package":{"type":"string","id":2},"dependency":{"rule":"repeated","type":"string","id":3},"publicDependency":{"rule":"repeated","type":"int32","id":10,"options":{"packed":false}},"weakDependency":{"rule":"repeated","type":"int32","id":11,"options":{"packed":false}},"messageType":{"rule":"repeated","type":"DescriptorProto","id":4},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":5},"service":{"rule":"repeated","type":"ServiceDescriptorProto","id":6},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":7},"options":{"type":"FileOptions","id":8},"sourceCodeInfo":{"type":"SourceCodeInfo","id":9},"syntax":{"type":"string","id":12}}},"DescriptorProto":{"fields":{"name":{"type":"string","id":1},"field":{"rule":"repeated","type":"FieldDescriptorProto","id":2},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":6},"nestedType":{"rule":"repeated","type":"DescriptorProto","id":3},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":4},"extensionRange":{"rule":"repeated","type":"ExtensionRange","id":5},"oneofDecl":{"rule":"repeated","type":"OneofDescriptorProto","id":8},"options":{"type":"MessageOptions","id":7},"reservedRange":{"rule":"repeated","type":"ReservedRange","id":9},"reservedName":{"rule":"repeated","type":"string","id":10}},"nested":{"ExtensionRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2},"options":{"type":"ExtensionRangeOptions","id":3}}},"ReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"ExtensionRangeOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"FieldDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":3},"label":{"type":"Label","id":4},"type":{"type":"Type","id":5},"typeName":{"type":"string","id":6},"extendee":{"type":"string","id":2},"defaultValue":{"type":"string","id":7},"oneofIndex":{"type":"int32","id":9},"jsonName":{"type":"string","id":10},"options":{"type":"FieldOptions","id":8},"proto3Optional":{"type":"bool","id":17}},"nested":{"Type":{"values":{"TYPE_DOUBLE":1,"TYPE_FLOAT":2,"TYPE_INT64":3,"TYPE_UINT64":4,"TYPE_INT32":5,"TYPE_FIXED64":6,"TYPE_FIXED32":7,"TYPE_BOOL":8,"TYPE_STRING":9,"TYPE_GROUP":10,"TYPE_MESSAGE":11,"TYPE_BYTES":12,"TYPE_UINT32":13,"TYPE_ENUM":14,"TYPE_SFIXED32":15,"TYPE_SFIXED64":16,"TYPE_SINT32":17,"TYPE_SINT64":18}},"Label":{"values":{"LABEL_OPTIONAL":1,"LABEL_REQUIRED":2,"LABEL_REPEATED":3}}}},"OneofDescriptorProto":{"fields":{"name":{"type":"string","id":1},"options":{"type":"OneofOptions","id":2}}},"EnumDescriptorProto":{"fields":{"name":{"type":"string","id":1},"value":{"rule":"repeated","type":"EnumValueDescriptorProto","id":2},"options":{"type":"EnumOptions","id":3},"reservedRange":{"rule":"repeated","type":"EnumReservedRange","id":4},"reservedName":{"rule":"repeated","type":"string","id":5}},"nested":{"EnumReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"EnumValueDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":2},"options":{"type":"EnumValueOptions","id":3}}},"ServiceDescriptorProto":{"fields":{"name":{"type":"string","id":1},"method":{"rule":"repeated","type":"MethodDescriptorProto","id":2},"options":{"type":"ServiceOptions","id":3}}},"MethodDescriptorProto":{"fields":{"name":{"type":"string","id":1},"inputType":{"type":"string","id":2},"outputType":{"type":"string","id":3},"options":{"type":"MethodOptions","id":4},"clientStreaming":{"type":"bool","id":5,"options":{"default":false}},"serverStreaming":{"type":"bool","id":6,"options":{"default":false}}}},"FileOptions":{"fields":{"javaPackage":{"type":"string","id":1},"javaOuterClassname":{"type":"string","id":8},"javaMultipleFiles":{"type":"bool","id":10,"options":{"default":false}},"javaGenerateEqualsAndHash":{"type":"bool","id":20,"options":{"deprecated":true}},"javaStringCheckUtf8":{"type":"bool","id":27,"options":{"default":false}},"optimizeFor":{"type":"OptimizeMode","id":9,"options":{"default":"SPEED"}},"goPackage":{"type":"string","id":11},"ccGenericServices":{"type":"bool","id":16,"options":{"default":false}},"javaGenericServices":{"type":"bool","id":17,"options":{"default":false}},"pyGenericServices":{"type":"bool","id":18,"options":{"default":false}},"phpGenericServices":{"type":"bool","id":42,"options":{"default":false}},"deprecated":{"type":"bool","id":23,"options":{"default":false}},"ccEnableArenas":{"type":"bool","id":31,"options":{"default":true}},"objcClassPrefix":{"type":"string","id":36},"csharpNamespace":{"type":"string","id":37},"swiftPrefix":{"type":"string","id":39},"phpClassPrefix":{"type":"string","id":40},"phpNamespace":{"type":"string","id":41},"phpMetadataNamespace":{"type":"string","id":44},"rubyPackage":{"type":"string","id":45},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[38,38]],"nested":{"OptimizeMode":{"values":{"SPEED":1,"CODE_SIZE":2,"LITE_RUNTIME":3}}}},"MessageOptions":{"fields":{"messageSetWireFormat":{"type":"bool","id":1,"options":{"default":false}},"noStandardDescriptorAccessor":{"type":"bool","id":2,"options":{"default":false}},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"mapEntry":{"type":"bool","id":7},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[8,8],[9,9]]},"FieldOptions":{"fields":{"ctype":{"type":"CType","id":1,"options":{"default":"STRING"}},"packed":{"type":"bool","id":2},"jstype":{"type":"JSType","id":6,"options":{"default":"JS_NORMAL"}},"lazy":{"type":"bool","id":5,"options":{"default":false}},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"weak":{"type":"bool","id":10,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[4,4]],"nested":{"CType":{"values":{"STRING":0,"CORD":1,"STRING_PIECE":2}},"JSType":{"values":{"JS_NORMAL":0,"JS_STRING":1,"JS_NUMBER":2}}}},"OneofOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"EnumOptions":{"fields":{"allowAlias":{"type":"bool","id":2},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[5,5]]},"EnumValueOptions":{"fields":{"deprecated":{"type":"bool","id":1,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"ServiceOptions":{"fields":{"deprecated":{"type":"bool","id":33,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"MethodOptions":{"fields":{"deprecated":{"type":"bool","id":33,"options":{"default":false}},"idempotencyLevel":{"type":"IdempotencyLevel","id":34,"options":{"default":"IDEMPOTENCY_UNKNOWN"}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"nested":{"IdempotencyLevel":{"values":{"IDEMPOTENCY_UNKNOWN":0,"NO_SIDE_EFFECTS":1,"IDEMPOTENT":2}}}},"UninterpretedOption":{"fields":{"name":{"rule":"repeated","type":"NamePart","id":2},"identifierValue":{"type":"string","id":3},"positiveIntValue":{"type":"uint64","id":4},"negativeIntValue":{"type":"int64","id":5},"doubleValue":{"type":"double","id":6},"stringValue":{"type":"bytes","id":7},"aggregateValue":{"type":"string","id":8}},"nested":{"NamePart":{"fields":{"namePart":{"rule":"required","type":"string","id":1},"isExtension":{"rule":"required","type":"bool","id":2}}}}},"SourceCodeInfo":{"fields":{"location":{"rule":"repeated","type":"Location","id":1}},"nested":{"Location":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"span":{"rule":"repeated","type":"int32","id":2},"leadingComments":{"type":"string","id":3},"trailingComments":{"type":"string","id":4},"leadingDetachedComments":{"rule":"repeated","type":"string","id":6}}}}},"GeneratedCodeInfo":{"fields":{"annotation":{"rule":"repeated","type":"Annotation","id":1}},"nested":{"Annotation":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"sourceFile":{"type":"string","id":2},"begin":{"type":"int32","id":3},"end":{"type":"int32","id":4}}}}},"Any":{"fields":{"type_url":{"type":"string","id":1},"value":{"type":"bytes","id":2}}}}}}}}}')},37756:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"longrunning":{"options":{"cc_enable_arenas":true,"csharp_namespace":"Google.LongRunning","go_package":"google.golang.org/genproto/googleapis/longrunning;longrunning","java_multiple_files":true,"java_outer_classname":"OperationsProto","java_package":"com.google.longrunning","php_namespace":"Google\\\\LongRunning"},"nested":{"operationInfo":{"type":"google.longrunning.OperationInfo","id":1049,"extend":"google.protobuf.MethodOptions"},"Operations":{"options":{"(google.api.default_host)":"longrunning.googleapis.com"},"methods":{"ListOperations":{"requestType":"ListOperationsRequest","responseType":"ListOperationsResponse","options":{"(google.api.http).get":"/v1/{name=operations}","(google.api.method_signature)":"name,filter"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=operations}"}},{"(google.api.method_signature)":"name,filter"}]},"GetOperation":{"requestType":"GetOperationRequest","responseType":"Operation","options":{"(google.api.http).get":"/v1/operations/{name}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/operations/{name}"}},{"(google.api.method_signature)":"name"}]},"DeleteOperation":{"requestType":"DeleteOperationRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1/{name=operations/**}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1/{name=operations/**}"}},{"(google.api.method_signature)":"name"}]},"CancelOperation":{"requestType":"CancelOperationRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).post":"/v1/{name=operations/**}:cancel","(google.api.http).body":"*","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{name=operations/**}:cancel","body":"*"}},{"(google.api.method_signature)":"name"}]},"WaitOperation":{"requestType":"WaitOperationRequest","responseType":"Operation"}}},"Operation":{"oneofs":{"result":{"oneof":["error","response"]}},"fields":{"name":{"type":"string","id":1},"metadata":{"type":"google.protobuf.Any","id":2},"done":{"type":"bool","id":3},"error":{"type":"google.rpc.Status","id":4},"response":{"type":"google.protobuf.Any","id":5}}},"GetOperationRequest":{"fields":{"name":{"type":"string","id":1}}},"ListOperationsRequest":{"fields":{"name":{"type":"string","id":4},"filter":{"type":"string","id":1},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListOperationsResponse":{"fields":{"operations":{"rule":"repeated","type":"Operation","id":1},"nextPageToken":{"type":"string","id":2}}},"CancelOperationRequest":{"fields":{"name":{"type":"string","id":1}}},"DeleteOperationRequest":{"fields":{"name":{"type":"string","id":1}}},"WaitOperationRequest":{"fields":{"name":{"type":"string","id":1},"timeout":{"type":"google.protobuf.Duration","id":2}}},"OperationInfo":{"fields":{"responseType":{"type":"string","id":1},"metadataType":{"type":"string","id":2}}}}},"api":{"options":{"go_package":"google.golang.org/genproto/googleapis/api/annotations;annotations","java_multiple_files":true,"java_outer_classname":"ClientProto","java_package":"com.google.api","objc_class_prefix":"GAPI","cc_enable_arenas":true},"nested":{"http":{"type":"HttpRule","id":72295728,"extend":"google.protobuf.MethodOptions"},"Http":{"fields":{"rules":{"rule":"repeated","type":"HttpRule","id":1},"fullyDecodeReservedExpansion":{"type":"bool","id":2}}},"HttpRule":{"oneofs":{"pattern":{"oneof":["get","put","post","delete","patch","custom"]}},"fields":{"selector":{"type":"string","id":1},"get":{"type":"string","id":2},"put":{"type":"string","id":3},"post":{"type":"string","id":4},"delete":{"type":"string","id":5},"patch":{"type":"string","id":6},"custom":{"type":"CustomHttpPattern","id":8},"body":{"type":"string","id":7},"responseBody":{"type":"string","id":12},"additionalBindings":{"rule":"repeated","type":"HttpRule","id":11}}},"CustomHttpPattern":{"fields":{"kind":{"type":"string","id":1},"path":{"type":"string","id":2}}},"methodSignature":{"rule":"repeated","type":"string","id":1051,"extend":"google.protobuf.MethodOptions"},"defaultHost":{"type":"string","id":1049,"extend":"google.protobuf.ServiceOptions"},"oauthScopes":{"type":"string","id":1050,"extend":"google.protobuf.ServiceOptions"}}},"protobuf":{"options":{"go_package":"github.com/golang/protobuf/protoc-gen-go/descriptor;descriptor","java_package":"com.google.protobuf","java_outer_classname":"DescriptorProtos","csharp_namespace":"Google.Protobuf.Reflection","objc_class_prefix":"GPB","cc_enable_arenas":true,"optimize_for":"SPEED"},"nested":{"FileDescriptorSet":{"fields":{"file":{"rule":"repeated","type":"FileDescriptorProto","id":1}}},"FileDescriptorProto":{"fields":{"name":{"type":"string","id":1},"package":{"type":"string","id":2},"dependency":{"rule":"repeated","type":"string","id":3},"publicDependency":{"rule":"repeated","type":"int32","id":10,"options":{"packed":false}},"weakDependency":{"rule":"repeated","type":"int32","id":11,"options":{"packed":false}},"messageType":{"rule":"repeated","type":"DescriptorProto","id":4},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":5},"service":{"rule":"repeated","type":"ServiceDescriptorProto","id":6},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":7},"options":{"type":"FileOptions","id":8},"sourceCodeInfo":{"type":"SourceCodeInfo","id":9},"syntax":{"type":"string","id":12}}},"DescriptorProto":{"fields":{"name":{"type":"string","id":1},"field":{"rule":"repeated","type":"FieldDescriptorProto","id":2},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":6},"nestedType":{"rule":"repeated","type":"DescriptorProto","id":3},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":4},"extensionRange":{"rule":"repeated","type":"ExtensionRange","id":5},"oneofDecl":{"rule":"repeated","type":"OneofDescriptorProto","id":8},"options":{"type":"MessageOptions","id":7},"reservedRange":{"rule":"repeated","type":"ReservedRange","id":9},"reservedName":{"rule":"repeated","type":"string","id":10}},"nested":{"ExtensionRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2},"options":{"type":"ExtensionRangeOptions","id":3}}},"ReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"ExtensionRangeOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"FieldDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":3},"label":{"type":"Label","id":4},"type":{"type":"Type","id":5},"typeName":{"type":"string","id":6},"extendee":{"type":"string","id":2},"defaultValue":{"type":"string","id":7},"oneofIndex":{"type":"int32","id":9},"jsonName":{"type":"string","id":10},"options":{"type":"FieldOptions","id":8},"proto3Optional":{"type":"bool","id":17}},"nested":{"Type":{"values":{"TYPE_DOUBLE":1,"TYPE_FLOAT":2,"TYPE_INT64":3,"TYPE_UINT64":4,"TYPE_INT32":5,"TYPE_FIXED64":6,"TYPE_FIXED32":7,"TYPE_BOOL":8,"TYPE_STRING":9,"TYPE_GROUP":10,"TYPE_MESSAGE":11,"TYPE_BYTES":12,"TYPE_UINT32":13,"TYPE_ENUM":14,"TYPE_SFIXED32":15,"TYPE_SFIXED64":16,"TYPE_SINT32":17,"TYPE_SINT64":18}},"Label":{"values":{"LABEL_OPTIONAL":1,"LABEL_REQUIRED":2,"LABEL_REPEATED":3}}}},"OneofDescriptorProto":{"fields":{"name":{"type":"string","id":1},"options":{"type":"OneofOptions","id":2}}},"EnumDescriptorProto":{"fields":{"name":{"type":"string","id":1},"value":{"rule":"repeated","type":"EnumValueDescriptorProto","id":2},"options":{"type":"EnumOptions","id":3},"reservedRange":{"rule":"repeated","type":"EnumReservedRange","id":4},"reservedName":{"rule":"repeated","type":"string","id":5}},"nested":{"EnumReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"EnumValueDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":2},"options":{"type":"EnumValueOptions","id":3}}},"ServiceDescriptorProto":{"fields":{"name":{"type":"string","id":1},"method":{"rule":"repeated","type":"MethodDescriptorProto","id":2},"options":{"type":"ServiceOptions","id":3}}},"MethodDescriptorProto":{"fields":{"name":{"type":"string","id":1},"inputType":{"type":"string","id":2},"outputType":{"type":"string","id":3},"options":{"type":"MethodOptions","id":4},"clientStreaming":{"type":"bool","id":5,"options":{"default":false}},"serverStreaming":{"type":"bool","id":6,"options":{"default":false}}}},"FileOptions":{"fields":{"javaPackage":{"type":"string","id":1},"javaOuterClassname":{"type":"string","id":8},"javaMultipleFiles":{"type":"bool","id":10,"options":{"default":false}},"javaGenerateEqualsAndHash":{"type":"bool","id":20,"options":{"deprecated":true}},"javaStringCheckUtf8":{"type":"bool","id":27,"options":{"default":false}},"optimizeFor":{"type":"OptimizeMode","id":9,"options":{"default":"SPEED"}},"goPackage":{"type":"string","id":11},"ccGenericServices":{"type":"bool","id":16,"options":{"default":false}},"javaGenericServices":{"type":"bool","id":17,"options":{"default":false}},"pyGenericServices":{"type":"bool","id":18,"options":{"default":false}},"phpGenericServices":{"type":"bool","id":42,"options":{"default":false}},"deprecated":{"type":"bool","id":23,"options":{"default":false}},"ccEnableArenas":{"type":"bool","id":31,"options":{"default":true}},"objcClassPrefix":{"type":"string","id":36},"csharpNamespace":{"type":"string","id":37},"swiftPrefix":{"type":"string","id":39},"phpClassPrefix":{"type":"string","id":40},"phpNamespace":{"type":"string","id":41},"phpMetadataNamespace":{"type":"string","id":44},"rubyPackage":{"type":"string","id":45},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[38,38]],"nested":{"OptimizeMode":{"values":{"SPEED":1,"CODE_SIZE":2,"LITE_RUNTIME":3}}}},"MessageOptions":{"fields":{"messageSetWireFormat":{"type":"bool","id":1,"options":{"default":false}},"noStandardDescriptorAccessor":{"type":"bool","id":2,"options":{"default":false}},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"mapEntry":{"type":"bool","id":7},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[8,8],[9,9]]},"FieldOptions":{"fields":{"ctype":{"type":"CType","id":1,"options":{"default":"STRING"}},"packed":{"type":"bool","id":2},"jstype":{"type":"JSType","id":6,"options":{"default":"JS_NORMAL"}},"lazy":{"type":"bool","id":5,"options":{"default":false}},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"weak":{"type":"bool","id":10,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[4,4]],"nested":{"CType":{"values":{"STRING":0,"CORD":1,"STRING_PIECE":2}},"JSType":{"values":{"JS_NORMAL":0,"JS_STRING":1,"JS_NUMBER":2}}}},"OneofOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"EnumOptions":{"fields":{"allowAlias":{"type":"bool","id":2},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[5,5]]},"EnumValueOptions":{"fields":{"deprecated":{"type":"bool","id":1,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"ServiceOptions":{"fields":{"deprecated":{"type":"bool","id":33,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"MethodOptions":{"fields":{"deprecated":{"type":"bool","id":33,"options":{"default":false}},"idempotencyLevel":{"type":"IdempotencyLevel","id":34,"options":{"default":"IDEMPOTENCY_UNKNOWN"}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"nested":{"IdempotencyLevel":{"values":{"IDEMPOTENCY_UNKNOWN":0,"NO_SIDE_EFFECTS":1,"IDEMPOTENT":2}}}},"UninterpretedOption":{"fields":{"name":{"rule":"repeated","type":"NamePart","id":2},"identifierValue":{"type":"string","id":3},"positiveIntValue":{"type":"uint64","id":4},"negativeIntValue":{"type":"int64","id":5},"doubleValue":{"type":"double","id":6},"stringValue":{"type":"bytes","id":7},"aggregateValue":{"type":"string","id":8}},"nested":{"NamePart":{"fields":{"namePart":{"rule":"required","type":"string","id":1},"isExtension":{"rule":"required","type":"bool","id":2}}}}},"SourceCodeInfo":{"fields":{"location":{"rule":"repeated","type":"Location","id":1}},"nested":{"Location":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"span":{"rule":"repeated","type":"int32","id":2},"leadingComments":{"type":"string","id":3},"trailingComments":{"type":"string","id":4},"leadingDetachedComments":{"rule":"repeated","type":"string","id":6}}}}},"GeneratedCodeInfo":{"fields":{"annotation":{"rule":"repeated","type":"Annotation","id":1}},"nested":{"Annotation":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"sourceFile":{"type":"string","id":2},"begin":{"type":"int32","id":3},"end":{"type":"int32","id":4}}}}},"Any":{"fields":{"type_url":{"type":"string","id":1},"value":{"type":"bytes","id":2}}},"Duration":{"fields":{"seconds":{"type":"int64","id":1},"nanos":{"type":"int32","id":2}}},"Empty":{"fields":{}}}},"rpc":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/rpc/status;status","java_multiple_files":true,"java_outer_classname":"StatusProto","java_package":"com.google.rpc","objc_class_prefix":"RPC"},"nested":{"Status":{"fields":{"code":{"type":"int32","id":1},"message":{"type":"string","id":2},"details":{"rule":"repeated","type":"google.protobuf.Any","id":3}}}}}}}}}')},58234:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"protobuf":{"nested":{"Any":{"fields":{"type_url":{"type":"string","id":1},"value":{"type":"bytes","id":2}}},"Duration":{"fields":{"seconds":{"type":"int64","id":1},"nanos":{"type":"int32","id":2}}}}},"rpc":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/rpc/errdetails;errdetails","java_multiple_files":true,"java_outer_classname":"ErrorDetailsProto","java_package":"com.google.rpc","objc_class_prefix":"RPC"},"nested":{"Status":{"fields":{"code":{"type":"int32","id":1},"message":{"type":"string","id":2},"details":{"rule":"repeated","type":"google.protobuf.Any","id":3}}},"RetryInfo":{"fields":{"retryDelay":{"type":"google.protobuf.Duration","id":1}}},"DebugInfo":{"fields":{"stackEntries":{"rule":"repeated","type":"string","id":1},"detail":{"type":"string","id":2}}},"QuotaFailure":{"fields":{"violations":{"rule":"repeated","type":"Violation","id":1}},"nested":{"Violation":{"fields":{"subject":{"type":"string","id":1},"description":{"type":"string","id":2}}}}},"ErrorInfo":{"fields":{"reason":{"type":"string","id":1},"domain":{"type":"string","id":2},"metadata":{"keyType":"string","type":"string","id":3}}},"PreconditionFailure":{"fields":{"violations":{"rule":"repeated","type":"Violation","id":1}},"nested":{"Violation":{"fields":{"type":{"type":"string","id":1},"subject":{"type":"string","id":2},"description":{"type":"string","id":3}}}}},"BadRequest":{"fields":{"fieldViolations":{"rule":"repeated","type":"FieldViolation","id":1}},"nested":{"FieldViolation":{"fields":{"field":{"type":"string","id":1},"description":{"type":"string","id":2}}}}},"RequestInfo":{"fields":{"requestId":{"type":"string","id":1},"servingData":{"type":"string","id":2}}},"ResourceInfo":{"fields":{"resourceType":{"type":"string","id":1},"resourceName":{"type":"string","id":2},"owner":{"type":"string","id":3},"description":{"type":"string","id":4}}},"Help":{"fields":{"links":{"rule":"repeated","type":"Link","id":1}},"nested":{"Link":{"fields":{"description":{"type":"string","id":1},"url":{"type":"string","id":2}}}}},"LocalizedMessage":{"fields":{"locale":{"type":"string","id":1},"message":{"type":"string","id":2}}}}}}}}}')},9302:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.iam.v1.IAMPolicy":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":20000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":20000,"total_timeout_millis":600000}},"methods":{"GetIamPolicy":{"retry_codes_name":"non_idempotent","retry_params_name":"default"},"SetIamPolicy":{"retry_codes_name":"non_idempotent","retry_params_name":"default"},"TestIamPermissions":{"retry_codes_name":"non_idempotent","retry_params_name":"default"}}}}}')},93661:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.location.Locations":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"ListLocations":{"retry_codes_name":"non_idempotent","retry_params_name":"default"},"GetLocation":{"retry_codes_name":"non_idempotent","retry_params_name":"default"}}}}}')},91739:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.longrunning.Operations":{"retry_codes":{"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"],"non_idempotent":[]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":90000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":90000,"total_timeout_millis":600000}},"methods":{"GetOperation":{"timeout_millis":60000,"retry_codes_name":"idempotent","retry_params_name":"default"},"ListOperations":{"timeout_millis":60000,"retry_codes_name":"idempotent","retry_params_name":"default"},"CancelOperation":{"timeout_millis":60000,"retry_codes_name":"idempotent","retry_params_name":"default"},"DeleteOperation":{"timeout_millis":60000,"retry_codes_name":"idempotent","retry_params_name":"default"}}}}}')},54249:e=>{"use strict";e.exports=JSON.parse('["google/api/annotations.proto","google/api/auth.proto","google/api/backend.proto","google/api/billing.proto","google/api/client.proto","google/api/config_change.proto","google/api/consumer.proto","google/api/context.proto","google/api/control.proto","google/api/distribution.proto","google/api/documentation.proto","google/api/endpoint.proto","google/api/error_reason.proto","google/api/expr/conformance/v1alpha1/conformance_service.proto","google/api/expr/v1alpha1/checked.proto","google/api/expr/v1alpha1/eval.proto","google/api/expr/v1alpha1/explain.proto","google/api/expr/v1alpha1/syntax.proto","google/api/expr/v1alpha1/value.proto","google/api/expr/v1beta1/decl.proto","google/api/expr/v1beta1/eval.proto","google/api/expr/v1beta1/expr.proto","google/api/expr/v1beta1/source.proto","google/api/expr/v1beta1/value.proto","google/api/field_behavior.proto","google/api/http.proto","google/api/httpbody.proto","google/api/label.proto","google/api/launch_stage.proto","google/api/log.proto","google/api/logging.proto","google/api/metric.proto","google/api/monitored_resource.proto","google/api/monitoring.proto","google/api/quota.proto","google/api/resource.proto","google/api/routing.proto","google/api/service.proto","google/api/servicecontrol/v1/check_error.proto","google/api/servicecontrol/v1/distribution.proto","google/api/servicecontrol/v1/http_request.proto","google/api/servicecontrol/v1/log_entry.proto","google/api/servicecontrol/v1/metric_value.proto","google/api/servicecontrol/v1/operation.proto","google/api/servicecontrol/v1/quota_controller.proto","google/api/servicecontrol/v1/service_controller.proto","google/api/servicemanagement/v1/resources.proto","google/api/servicemanagement/v1/servicemanager.proto","google/api/serviceusage/v1/resources.proto","google/api/serviceusage/v1/serviceusage.proto","google/api/serviceusage/v1beta1/resources.proto","google/api/serviceusage/v1beta1/serviceusage.proto","google/api/source_info.proto","google/api/system_parameter.proto","google/api/usage.proto","google/api/visibility.proto","google/cloud/location/locations.proto","google/iam/v1/iam_policy.proto","google/iam/v1/logging/audit_data.proto","google/iam/v1/options.proto","google/iam/v1/policy.proto","google/logging/type/http_request.proto","google/logging/type/log_severity.proto","google/longrunning/operations.proto","google/monitoring/v3/alert.proto","google/monitoring/v3/alert_service.proto","google/monitoring/v3/common.proto","google/monitoring/v3/dropped_labels.proto","google/monitoring/v3/group.proto","google/monitoring/v3/group_service.proto","google/monitoring/v3/metric.proto","google/monitoring/v3/metric_service.proto","google/monitoring/v3/mutation_record.proto","google/monitoring/v3/notification.proto","google/monitoring/v3/notification_service.proto","google/monitoring/v3/query_service.proto","google/monitoring/v3/service.proto","google/monitoring/v3/service_service.proto","google/monitoring/v3/span_context.proto","google/monitoring/v3/uptime.proto","google/monitoring/v3/uptime_service.proto","google/protobuf/any.proto","google/protobuf/api.proto","google/protobuf/compiler/plugin.proto","google/protobuf/compiler/ruby/ruby_generated_code.proto","google/protobuf/compiler/ruby/ruby_generated_code_proto2.proto","google/protobuf/compiler/ruby/ruby_generated_code_proto2_import.proto","google/protobuf/compiler/ruby/ruby_generated_pkg_explicit.proto","google/protobuf/compiler/ruby/ruby_generated_pkg_explicit_legacy.proto","google/protobuf/compiler/ruby/ruby_generated_pkg_implicit.proto","google/protobuf/descriptor.proto","google/protobuf/duration.proto","google/protobuf/empty.proto","google/protobuf/field_mask.proto","google/protobuf/source_context.proto","google/protobuf/struct.proto","google/protobuf/timestamp.proto","google/protobuf/type.proto","google/protobuf/util/json_format.proto","google/protobuf/util/json_format_proto3.proto","google/protobuf/wrappers.proto","google/rpc/code.proto","google/rpc/context/attribute_context.proto","google/rpc/error_details.proto","google/rpc/status.proto","google/type/calendar_period.proto","google/type/color.proto","google/type/date.proto","google/type/datetime.proto","google/type/dayofweek.proto","google/type/decimal.proto","google/type/expr.proto","google/type/fraction.proto","google/type/interval.proto","google/type/latlng.proto","google/type/localized_text.proto","google/type/money.proto","google/type/month.proto","google/type/phone_number.proto","google/type/postal_address.proto","google/type/quaternion.proto","google/type/timeofday.proto"]')},54357:e=>{"use strict";e.exports={version:"3.5.2"}},66450:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},60769:e=>{"use strict";e.exports=JSON.parse('{"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomsvc+xml":["atomsvc"],"application/bdoc":["bdoc"],"application/ccxml+xml":["ccxml"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/font-tdpfr":["pfr"],"application/font-woff":[],"application/font-woff2":[],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/prs.cww":["cww"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":[],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":[],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":[],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":[],"application/x-msdownload":["com","bat"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["wmf","emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":[],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"application/xaml+xml":["xaml"],"application/xcap-diff+xml":["xdf"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":[],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mp3":[],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/wav":["wav"],"audio/wave":[],"audio/webm":["weba"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":[],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":[],"audio/x-wav":[],"audio/xm":["xm"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/g3fax":["g3"],"image/gif":["gif"],"image/ief":["ief"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/ktx":["ktx"],"image/png":["png"],"image/prs.btif":["btif"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/tiff":["tiff","tif"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":[],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/webp":["webp"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":[],"image/x-pcx":["pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/rfc822":["eml","mime"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.vtu":["vtu"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["x3db","x3dbz"],"model/x3d+vrml":["x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/hjson":["hjson"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/prs.lines.tag":["dsc"],"text/richtext":["rtx"],"text/rtf":[],"text/sgml":["sgml","sgm"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/vtt":["vtt"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":[],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"text/xml":[],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/webm":["webm"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}')},25043:e=>{"use strict";e.exports=JSON.parse('{"name":"openai","version":"3.1.0","description":"Node.js library for the OpenAI API","repository":{"type":"git","url":"git@github.com:openai/openai-node.git"},"keywords":["openai","open","ai","gpt-3","gpt3"],"author":"OpenAI","license":"MIT","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"tsc --outDir dist/"},"dependencies":{"axios":"^0.26.0","form-data":"^4.0.0"},"devDependencies":{"@types/node":"^12.11.5","typescript":"^3.6.4"}}')},71903:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"protobuf":{"nested":{"Api":{"fields":{"name":{"type":"string","id":1},"methods":{"rule":"repeated","type":"Method","id":2},"options":{"rule":"repeated","type":"Option","id":3},"version":{"type":"string","id":4},"sourceContext":{"type":"SourceContext","id":5},"mixins":{"rule":"repeated","type":"Mixin","id":6},"syntax":{"type":"Syntax","id":7}}},"Method":{"fields":{"name":{"type":"string","id":1},"requestTypeUrl":{"type":"string","id":2},"requestStreaming":{"type":"bool","id":3},"responseTypeUrl":{"type":"string","id":4},"responseStreaming":{"type":"bool","id":5},"options":{"rule":"repeated","type":"Option","id":6},"syntax":{"type":"Syntax","id":7}}},"Mixin":{"fields":{"name":{"type":"string","id":1},"root":{"type":"string","id":2}}},"SourceContext":{"fields":{"fileName":{"type":"string","id":1}}},"Option":{"fields":{"name":{"type":"string","id":1},"value":{"type":"Any","id":2}}},"Syntax":{"values":{"SYNTAX_PROTO2":0,"SYNTAX_PROTO3":1}}}}}}}}')},32186:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"protobuf":{"nested":{"FileDescriptorSet":{"fields":{"file":{"rule":"repeated","type":"FileDescriptorProto","id":1}}},"FileDescriptorProto":{"fields":{"name":{"type":"string","id":1},"package":{"type":"string","id":2},"dependency":{"rule":"repeated","type":"string","id":3},"publicDependency":{"rule":"repeated","type":"int32","id":10,"options":{"packed":false}},"weakDependency":{"rule":"repeated","type":"int32","id":11,"options":{"packed":false}},"messageType":{"rule":"repeated","type":"DescriptorProto","id":4},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":5},"service":{"rule":"repeated","type":"ServiceDescriptorProto","id":6},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":7},"options":{"type":"FileOptions","id":8},"sourceCodeInfo":{"type":"SourceCodeInfo","id":9},"syntax":{"type":"string","id":12}}},"DescriptorProto":{"fields":{"name":{"type":"string","id":1},"field":{"rule":"repeated","type":"FieldDescriptorProto","id":2},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":6},"nestedType":{"rule":"repeated","type":"DescriptorProto","id":3},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":4},"extensionRange":{"rule":"repeated","type":"ExtensionRange","id":5},"oneofDecl":{"rule":"repeated","type":"OneofDescriptorProto","id":8},"options":{"type":"MessageOptions","id":7},"reservedRange":{"rule":"repeated","type":"ReservedRange","id":9},"reservedName":{"rule":"repeated","type":"string","id":10}},"nested":{"ExtensionRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}},"ReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"FieldDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":3},"label":{"type":"Label","id":4},"type":{"type":"Type","id":5},"typeName":{"type":"string","id":6},"extendee":{"type":"string","id":2},"defaultValue":{"type":"string","id":7},"oneofIndex":{"type":"int32","id":9},"jsonName":{"type":"string","id":10},"options":{"type":"FieldOptions","id":8}},"nested":{"Type":{"values":{"TYPE_DOUBLE":1,"TYPE_FLOAT":2,"TYPE_INT64":3,"TYPE_UINT64":4,"TYPE_INT32":5,"TYPE_FIXED64":6,"TYPE_FIXED32":7,"TYPE_BOOL":8,"TYPE_STRING":9,"TYPE_GROUP":10,"TYPE_MESSAGE":11,"TYPE_BYTES":12,"TYPE_UINT32":13,"TYPE_ENUM":14,"TYPE_SFIXED32":15,"TYPE_SFIXED64":16,"TYPE_SINT32":17,"TYPE_SINT64":18}},"Label":{"values":{"LABEL_OPTIONAL":1,"LABEL_REQUIRED":2,"LABEL_REPEATED":3}}}},"OneofDescriptorProto":{"fields":{"name":{"type":"string","id":1},"options":{"type":"OneofOptions","id":2}}},"EnumDescriptorProto":{"fields":{"name":{"type":"string","id":1},"value":{"rule":"repeated","type":"EnumValueDescriptorProto","id":2},"options":{"type":"EnumOptions","id":3}}},"EnumValueDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":2},"options":{"type":"EnumValueOptions","id":3}}},"ServiceDescriptorProto":{"fields":{"name":{"type":"string","id":1},"method":{"rule":"repeated","type":"MethodDescriptorProto","id":2},"options":{"type":"ServiceOptions","id":3}}},"MethodDescriptorProto":{"fields":{"name":{"type":"string","id":1},"inputType":{"type":"string","id":2},"outputType":{"type":"string","id":3},"options":{"type":"MethodOptions","id":4},"clientStreaming":{"type":"bool","id":5},"serverStreaming":{"type":"bool","id":6}}},"FileOptions":{"fields":{"javaPackage":{"type":"string","id":1},"javaOuterClassname":{"type":"string","id":8},"javaMultipleFiles":{"type":"bool","id":10},"javaGenerateEqualsAndHash":{"type":"bool","id":20,"options":{"deprecated":true}},"javaStringCheckUtf8":{"type":"bool","id":27},"optimizeFor":{"type":"OptimizeMode","id":9,"options":{"default":"SPEED"}},"goPackage":{"type":"string","id":11},"ccGenericServices":{"type":"bool","id":16},"javaGenericServices":{"type":"bool","id":17},"pyGenericServices":{"type":"bool","id":18},"deprecated":{"type":"bool","id":23},"ccEnableArenas":{"type":"bool","id":31},"objcClassPrefix":{"type":"string","id":36},"csharpNamespace":{"type":"string","id":37},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[38,38]],"nested":{"OptimizeMode":{"values":{"SPEED":1,"CODE_SIZE":2,"LITE_RUNTIME":3}}}},"MessageOptions":{"fields":{"messageSetWireFormat":{"type":"bool","id":1},"noStandardDescriptorAccessor":{"type":"bool","id":2},"deprecated":{"type":"bool","id":3},"mapEntry":{"type":"bool","id":7},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[8,8]]},"FieldOptions":{"fields":{"ctype":{"type":"CType","id":1,"options":{"default":"STRING"}},"packed":{"type":"bool","id":2},"jstype":{"type":"JSType","id":6,"options":{"default":"JS_NORMAL"}},"lazy":{"type":"bool","id":5},"deprecated":{"type":"bool","id":3},"weak":{"type":"bool","id":10},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[4,4]],"nested":{"CType":{"values":{"STRING":0,"CORD":1,"STRING_PIECE":2}},"JSType":{"values":{"JS_NORMAL":0,"JS_STRING":1,"JS_NUMBER":2}}}},"OneofOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"EnumOptions":{"fields":{"allowAlias":{"type":"bool","id":2},"deprecated":{"type":"bool","id":3},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"EnumValueOptions":{"fields":{"deprecated":{"type":"bool","id":1},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"ServiceOptions":{"fields":{"deprecated":{"type":"bool","id":33},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"MethodOptions":{"fields":{"deprecated":{"type":"bool","id":33},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"UninterpretedOption":{"fields":{"name":{"rule":"repeated","type":"NamePart","id":2},"identifierValue":{"type":"string","id":3},"positiveIntValue":{"type":"uint64","id":4},"negativeIntValue":{"type":"int64","id":5},"doubleValue":{"type":"double","id":6},"stringValue":{"type":"bytes","id":7},"aggregateValue":{"type":"string","id":8}},"nested":{"NamePart":{"fields":{"namePart":{"rule":"required","type":"string","id":1},"isExtension":{"rule":"required","type":"bool","id":2}}}}},"SourceCodeInfo":{"fields":{"location":{"rule":"repeated","type":"Location","id":1}},"nested":{"Location":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"span":{"rule":"repeated","type":"int32","id":2},"leadingComments":{"type":"string","id":3},"trailingComments":{"type":"string","id":4},"leadingDetachedComments":{"rule":"repeated","type":"string","id":6}}}}},"GeneratedCodeInfo":{"fields":{"annotation":{"rule":"repeated","type":"Annotation","id":1}},"nested":{"Annotation":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"sourceFile":{"type":"string","id":2},"begin":{"type":"int32","id":3},"end":{"type":"int32","id":4}}}}}}}}}}}')},37887:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"protobuf":{"nested":{"SourceContext":{"fields":{"fileName":{"type":"string","id":1}}}}}}}}}')},20743:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"protobuf":{"nested":{"Type":{"fields":{"name":{"type":"string","id":1},"fields":{"rule":"repeated","type":"Field","id":2},"oneofs":{"rule":"repeated","type":"string","id":3},"options":{"rule":"repeated","type":"Option","id":4},"sourceContext":{"type":"SourceContext","id":5},"syntax":{"type":"Syntax","id":6}}},"Field":{"fields":{"kind":{"type":"Kind","id":1},"cardinality":{"type":"Cardinality","id":2},"number":{"type":"int32","id":3},"name":{"type":"string","id":4},"typeUrl":{"type":"string","id":6},"oneofIndex":{"type":"int32","id":7},"packed":{"type":"bool","id":8},"options":{"rule":"repeated","type":"Option","id":9},"jsonName":{"type":"string","id":10},"defaultValue":{"type":"string","id":11}},"nested":{"Kind":{"values":{"TYPE_UNKNOWN":0,"TYPE_DOUBLE":1,"TYPE_FLOAT":2,"TYPE_INT64":3,"TYPE_UINT64":4,"TYPE_INT32":5,"TYPE_FIXED64":6,"TYPE_FIXED32":7,"TYPE_BOOL":8,"TYPE_STRING":9,"TYPE_GROUP":10,"TYPE_MESSAGE":11,"TYPE_BYTES":12,"TYPE_UINT32":13,"TYPE_ENUM":14,"TYPE_SFIXED32":15,"TYPE_SFIXED64":16,"TYPE_SINT32":17,"TYPE_SINT64":18}},"Cardinality":{"values":{"CARDINALITY_UNKNOWN":0,"CARDINALITY_OPTIONAL":1,"CARDINALITY_REQUIRED":2,"CARDINALITY_REPEATED":3}}}},"Enum":{"fields":{"name":{"type":"string","id":1},"enumvalue":{"rule":"repeated","type":"EnumValue","id":2},"options":{"rule":"repeated","type":"Option","id":3},"sourceContext":{"type":"SourceContext","id":4},"syntax":{"type":"Syntax","id":5}}},"EnumValue":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":2},"options":{"rule":"repeated","type":"Option","id":3}}},"Option":{"fields":{"name":{"type":"string","id":1},"value":{"type":"Any","id":2}}},"Syntax":{"values":{"SYNTAX_PROTO2":0,"SYNTAX_PROTO3":1}},"Any":{"fields":{"type_url":{"type":"string","id":1},"value":{"type":"bytes","id":2}}},"SourceContext":{"fields":{"fileName":{"type":"string","id":1}}}}}}}}}')},86160:e=>{"use strict";e.exports=JSON.parse('{"name":"superagent","version":"3.8.1","description":"elegant & feature rich browser / node HTTP with a fluent API","scripts":{"prepare":"make all","test":"make test"},"keywords":["http","ajax","request","agent"],"license":"MIT","author":"TJ Holowaychuk ","contributors":["Kornel Lesiński ","Peter Lyons ","Hunter Loftis "],"repository":{"type":"git","url":"git://github.com/visionmedia/superagent.git"},"dependencies":{"component-emitter":"^1.2.0","cookiejar":"^2.1.0","debug":"^3.1.0","extend":"^3.0.0","form-data":"^2.3.1","formidable":"^1.1.1","methods":"^1.1.1","mime":"^1.4.1","qs":"^6.5.1","readable-stream":"^2.0.5"},"devDependencies":{"Base64":"^1.0.1","basic-auth-connect":"^1.0.0","body-parser":"^1.18.2","browserify":"^14.1.0","cookie-parser":"^1.4.3","express":"^4.16.0","express-session":"^1.15.6","marked":"^0.3.6","mocha":"^3.5.3","multer":"^1.3.0","should":"^11.2.0","should-http":"^0.1.1","zuul":"^3.11.1"},"browser":{"./lib/node/index.js":"./lib/client.js","./test/support/server.js":"./test/support/blank.js"},"component":{"scripts":{"superagent":"lib/client.js"}},"main":"./lib/node/index.js","engines":{"node":">= 4.0"}}')},53198:e=>{"use strict";e.exports=JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"],[[47,47],"disallowed_STD3_valid"],[[48,57],"valid"],[[58,64],"disallowed_STD3_valid"],[[65,65],"mapped",[97]],[[66,66],"mapped",[98]],[[67,67],"mapped",[99]],[[68,68],"mapped",[100]],[[69,69],"mapped",[101]],[[70,70],"mapped",[102]],[[71,71],"mapped",[103]],[[72,72],"mapped",[104]],[[73,73],"mapped",[105]],[[74,74],"mapped",[106]],[[75,75],"mapped",[107]],[[76,76],"mapped",[108]],[[77,77],"mapped",[109]],[[78,78],"mapped",[110]],[[79,79],"mapped",[111]],[[80,80],"mapped",[112]],[[81,81],"mapped",[113]],[[82,82],"mapped",[114]],[[83,83],"mapped",[115]],[[84,84],"mapped",[116]],[[85,85],"mapped",[117]],[[86,86],"mapped",[118]],[[87,87],"mapped",[119]],[[88,88],"mapped",[120]],[[89,89],"mapped",[121]],[[90,90],"mapped",[122]],[[91,96],"disallowed_STD3_valid"],[[97,122],"valid"],[[123,127],"disallowed_STD3_valid"],[[128,159],"disallowed"],[[160,160],"disallowed_STD3_mapped",[32]],[[161,167],"valid",[],"NV8"],[[168,168],"disallowed_STD3_mapped",[32,776]],[[169,169],"valid",[],"NV8"],[[170,170],"mapped",[97]],[[171,172],"valid",[],"NV8"],[[173,173],"ignored"],[[174,174],"valid",[],"NV8"],[[175,175],"disallowed_STD3_mapped",[32,772]],[[176,177],"valid",[],"NV8"],[[178,178],"mapped",[50]],[[179,179],"mapped",[51]],[[180,180],"disallowed_STD3_mapped",[32,769]],[[181,181],"mapped",[956]],[[182,182],"valid",[],"NV8"],[[183,183],"valid"],[[184,184],"disallowed_STD3_mapped",[32,807]],[[185,185],"mapped",[49]],[[186,186],"mapped",[111]],[[187,187],"valid",[],"NV8"],[[188,188],"mapped",[49,8260,52]],[[189,189],"mapped",[49,8260,50]],[[190,190],"mapped",[51,8260,52]],[[191,191],"valid",[],"NV8"],[[192,192],"mapped",[224]],[[193,193],"mapped",[225]],[[194,194],"mapped",[226]],[[195,195],"mapped",[227]],[[196,196],"mapped",[228]],[[197,197],"mapped",[229]],[[198,198],"mapped",[230]],[[199,199],"mapped",[231]],[[200,200],"mapped",[232]],[[201,201],"mapped",[233]],[[202,202],"mapped",[234]],[[203,203],"mapped",[235]],[[204,204],"mapped",[236]],[[205,205],"mapped",[237]],[[206,206],"mapped",[238]],[[207,207],"mapped",[239]],[[208,208],"mapped",[240]],[[209,209],"mapped",[241]],[[210,210],"mapped",[242]],[[211,211],"mapped",[243]],[[212,212],"mapped",[244]],[[213,213],"mapped",[245]],[[214,214],"mapped",[246]],[[215,215],"valid",[],"NV8"],[[216,216],"mapped",[248]],[[217,217],"mapped",[249]],[[218,218],"mapped",[250]],[[219,219],"mapped",[251]],[[220,220],"mapped",[252]],[[221,221],"mapped",[253]],[[222,222],"mapped",[254]],[[223,223],"deviation",[115,115]],[[224,246],"valid"],[[247,247],"valid",[],"NV8"],[[248,255],"valid"],[[256,256],"mapped",[257]],[[257,257],"valid"],[[258,258],"mapped",[259]],[[259,259],"valid"],[[260,260],"mapped",[261]],[[261,261],"valid"],[[262,262],"mapped",[263]],[[263,263],"valid"],[[264,264],"mapped",[265]],[[265,265],"valid"],[[266,266],"mapped",[267]],[[267,267],"valid"],[[268,268],"mapped",[269]],[[269,269],"valid"],[[270,270],"mapped",[271]],[[271,271],"valid"],[[272,272],"mapped",[273]],[[273,273],"valid"],[[274,274],"mapped",[275]],[[275,275],"valid"],[[276,276],"mapped",[277]],[[277,277],"valid"],[[278,278],"mapped",[279]],[[279,279],"valid"],[[280,280],"mapped",[281]],[[281,281],"valid"],[[282,282],"mapped",[283]],[[283,283],"valid"],[[284,284],"mapped",[285]],[[285,285],"valid"],[[286,286],"mapped",[287]],[[287,287],"valid"],[[288,288],"mapped",[289]],[[289,289],"valid"],[[290,290],"mapped",[291]],[[291,291],"valid"],[[292,292],"mapped",[293]],[[293,293],"valid"],[[294,294],"mapped",[295]],[[295,295],"valid"],[[296,296],"mapped",[297]],[[297,297],"valid"],[[298,298],"mapped",[299]],[[299,299],"valid"],[[300,300],"mapped",[301]],[[301,301],"valid"],[[302,302],"mapped",[303]],[[303,303],"valid"],[[304,304],"mapped",[105,775]],[[305,305],"valid"],[[306,307],"mapped",[105,106]],[[308,308],"mapped",[309]],[[309,309],"valid"],[[310,310],"mapped",[311]],[[311,312],"valid"],[[313,313],"mapped",[314]],[[314,314],"valid"],[[315,315],"mapped",[316]],[[316,316],"valid"],[[317,317],"mapped",[318]],[[318,318],"valid"],[[319,320],"mapped",[108,183]],[[321,321],"mapped",[322]],[[322,322],"valid"],[[323,323],"mapped",[324]],[[324,324],"valid"],[[325,325],"mapped",[326]],[[326,326],"valid"],[[327,327],"mapped",[328]],[[328,328],"valid"],[[329,329],"mapped",[700,110]],[[330,330],"mapped",[331]],[[331,331],"valid"],[[332,332],"mapped",[333]],[[333,333],"valid"],[[334,334],"mapped",[335]],[[335,335],"valid"],[[336,336],"mapped",[337]],[[337,337],"valid"],[[338,338],"mapped",[339]],[[339,339],"valid"],[[340,340],"mapped",[341]],[[341,341],"valid"],[[342,342],"mapped",[343]],[[343,343],"valid"],[[344,344],"mapped",[345]],[[345,345],"valid"],[[346,346],"mapped",[347]],[[347,347],"valid"],[[348,348],"mapped",[349]],[[349,349],"valid"],[[350,350],"mapped",[351]],[[351,351],"valid"],[[352,352],"mapped",[353]],[[353,353],"valid"],[[354,354],"mapped",[355]],[[355,355],"valid"],[[356,356],"mapped",[357]],[[357,357],"valid"],[[358,358],"mapped",[359]],[[359,359],"valid"],[[360,360],"mapped",[361]],[[361,361],"valid"],[[362,362],"mapped",[363]],[[363,363],"valid"],[[364,364],"mapped",[365]],[[365,365],"valid"],[[366,366],"mapped",[367]],[[367,367],"valid"],[[368,368],"mapped",[369]],[[369,369],"valid"],[[370,370],"mapped",[371]],[[371,371],"valid"],[[372,372],"mapped",[373]],[[373,373],"valid"],[[374,374],"mapped",[375]],[[375,375],"valid"],[[376,376],"mapped",[255]],[[377,377],"mapped",[378]],[[378,378],"valid"],[[379,379],"mapped",[380]],[[380,380],"valid"],[[381,381],"mapped",[382]],[[382,382],"valid"],[[383,383],"mapped",[115]],[[384,384],"valid"],[[385,385],"mapped",[595]],[[386,386],"mapped",[387]],[[387,387],"valid"],[[388,388],"mapped",[389]],[[389,389],"valid"],[[390,390],"mapped",[596]],[[391,391],"mapped",[392]],[[392,392],"valid"],[[393,393],"mapped",[598]],[[394,394],"mapped",[599]],[[395,395],"mapped",[396]],[[396,397],"valid"],[[398,398],"mapped",[477]],[[399,399],"mapped",[601]],[[400,400],"mapped",[603]],[[401,401],"mapped",[402]],[[402,402],"valid"],[[403,403],"mapped",[608]],[[404,404],"mapped",[611]],[[405,405],"valid"],[[406,406],"mapped",[617]],[[407,407],"mapped",[616]],[[408,408],"mapped",[409]],[[409,411],"valid"],[[412,412],"mapped",[623]],[[413,413],"mapped",[626]],[[414,414],"valid"],[[415,415],"mapped",[629]],[[416,416],"mapped",[417]],[[417,417],"valid"],[[418,418],"mapped",[419]],[[419,419],"valid"],[[420,420],"mapped",[421]],[[421,421],"valid"],[[422,422],"mapped",[640]],[[423,423],"mapped",[424]],[[424,424],"valid"],[[425,425],"mapped",[643]],[[426,427],"valid"],[[428,428],"mapped",[429]],[[429,429],"valid"],[[430,430],"mapped",[648]],[[431,431],"mapped",[432]],[[432,432],"valid"],[[433,433],"mapped",[650]],[[434,434],"mapped",[651]],[[435,435],"mapped",[436]],[[436,436],"valid"],[[437,437],"mapped",[438]],[[438,438],"valid"],[[439,439],"mapped",[658]],[[440,440],"mapped",[441]],[[441,443],"valid"],[[444,444],"mapped",[445]],[[445,451],"valid"],[[452,454],"mapped",[100,382]],[[455,457],"mapped",[108,106]],[[458,460],"mapped",[110,106]],[[461,461],"mapped",[462]],[[462,462],"valid"],[[463,463],"mapped",[464]],[[464,464],"valid"],[[465,465],"mapped",[466]],[[466,466],"valid"],[[467,467],"mapped",[468]],[[468,468],"valid"],[[469,469],"mapped",[470]],[[470,470],"valid"],[[471,471],"mapped",[472]],[[472,472],"valid"],[[473,473],"mapped",[474]],[[474,474],"valid"],[[475,475],"mapped",[476]],[[476,477],"valid"],[[478,478],"mapped",[479]],[[479,479],"valid"],[[480,480],"mapped",[481]],[[481,481],"valid"],[[482,482],"mapped",[483]],[[483,483],"valid"],[[484,484],"mapped",[485]],[[485,485],"valid"],[[486,486],"mapped",[487]],[[487,487],"valid"],[[488,488],"mapped",[489]],[[489,489],"valid"],[[490,490],"mapped",[491]],[[491,491],"valid"],[[492,492],"mapped",[493]],[[493,493],"valid"],[[494,494],"mapped",[495]],[[495,496],"valid"],[[497,499],"mapped",[100,122]],[[500,500],"mapped",[501]],[[501,501],"valid"],[[502,502],"mapped",[405]],[[503,503],"mapped",[447]],[[504,504],"mapped",[505]],[[505,505],"valid"],[[506,506],"mapped",[507]],[[507,507],"valid"],[[508,508],"mapped",[509]],[[509,509],"valid"],[[510,510],"mapped",[511]],[[511,511],"valid"],[[512,512],"mapped",[513]],[[513,513],"valid"],[[514,514],"mapped",[515]],[[515,515],"valid"],[[516,516],"mapped",[517]],[[517,517],"valid"],[[518,518],"mapped",[519]],[[519,519],"valid"],[[520,520],"mapped",[521]],[[521,521],"valid"],[[522,522],"mapped",[523]],[[523,523],"valid"],[[524,524],"mapped",[525]],[[525,525],"valid"],[[526,526],"mapped",[527]],[[527,527],"valid"],[[528,528],"mapped",[529]],[[529,529],"valid"],[[530,530],"mapped",[531]],[[531,531],"valid"],[[532,532],"mapped",[533]],[[533,533],"valid"],[[534,534],"mapped",[535]],[[535,535],"valid"],[[536,536],"mapped",[537]],[[537,537],"valid"],[[538,538],"mapped",[539]],[[539,539],"valid"],[[540,540],"mapped",[541]],[[541,541],"valid"],[[542,542],"mapped",[543]],[[543,543],"valid"],[[544,544],"mapped",[414]],[[545,545],"valid"],[[546,546],"mapped",[547]],[[547,547],"valid"],[[548,548],"mapped",[549]],[[549,549],"valid"],[[550,550],"mapped",[551]],[[551,551],"valid"],[[552,552],"mapped",[553]],[[553,553],"valid"],[[554,554],"mapped",[555]],[[555,555],"valid"],[[556,556],"mapped",[557]],[[557,557],"valid"],[[558,558],"mapped",[559]],[[559,559],"valid"],[[560,560],"mapped",[561]],[[561,561],"valid"],[[562,562],"mapped",[563]],[[563,563],"valid"],[[564,566],"valid"],[[567,569],"valid"],[[570,570],"mapped",[11365]],[[571,571],"mapped",[572]],[[572,572],"valid"],[[573,573],"mapped",[410]],[[574,574],"mapped",[11366]],[[575,576],"valid"],[[577,577],"mapped",[578]],[[578,578],"valid"],[[579,579],"mapped",[384]],[[580,580],"mapped",[649]],[[581,581],"mapped",[652]],[[582,582],"mapped",[583]],[[583,583],"valid"],[[584,584],"mapped",[585]],[[585,585],"valid"],[[586,586],"mapped",[587]],[[587,587],"valid"],[[588,588],"mapped",[589]],[[589,589],"valid"],[[590,590],"mapped",[591]],[[591,591],"valid"],[[592,680],"valid"],[[681,685],"valid"],[[686,687],"valid"],[[688,688],"mapped",[104]],[[689,689],"mapped",[614]],[[690,690],"mapped",[106]],[[691,691],"mapped",[114]],[[692,692],"mapped",[633]],[[693,693],"mapped",[635]],[[694,694],"mapped",[641]],[[695,695],"mapped",[119]],[[696,696],"mapped",[121]],[[697,705],"valid"],[[706,709],"valid",[],"NV8"],[[710,721],"valid"],[[722,727],"valid",[],"NV8"],[[728,728],"disallowed_STD3_mapped",[32,774]],[[729,729],"disallowed_STD3_mapped",[32,775]],[[730,730],"disallowed_STD3_mapped",[32,778]],[[731,731],"disallowed_STD3_mapped",[32,808]],[[732,732],"disallowed_STD3_mapped",[32,771]],[[733,733],"disallowed_STD3_mapped",[32,779]],[[734,734],"valid",[],"NV8"],[[735,735],"valid",[],"NV8"],[[736,736],"mapped",[611]],[[737,737],"mapped",[108]],[[738,738],"mapped",[115]],[[739,739],"mapped",[120]],[[740,740],"mapped",[661]],[[741,745],"valid",[],"NV8"],[[746,747],"valid",[],"NV8"],[[748,748],"valid"],[[749,749],"valid",[],"NV8"],[[750,750],"valid"],[[751,767],"valid",[],"NV8"],[[768,831],"valid"],[[832,832],"mapped",[768]],[[833,833],"mapped",[769]],[[834,834],"valid"],[[835,835],"mapped",[787]],[[836,836],"mapped",[776,769]],[[837,837],"mapped",[953]],[[838,846],"valid"],[[847,847],"ignored"],[[848,855],"valid"],[[856,860],"valid"],[[861,863],"valid"],[[864,865],"valid"],[[866,866],"valid"],[[867,879],"valid"],[[880,880],"mapped",[881]],[[881,881],"valid"],[[882,882],"mapped",[883]],[[883,883],"valid"],[[884,884],"mapped",[697]],[[885,885],"valid"],[[886,886],"mapped",[887]],[[887,887],"valid"],[[888,889],"disallowed"],[[890,890],"disallowed_STD3_mapped",[32,953]],[[891,893],"valid"],[[894,894],"disallowed_STD3_mapped",[59]],[[895,895],"mapped",[1011]],[[896,899],"disallowed"],[[900,900],"disallowed_STD3_mapped",[32,769]],[[901,901],"disallowed_STD3_mapped",[32,776,769]],[[902,902],"mapped",[940]],[[903,903],"mapped",[183]],[[904,904],"mapped",[941]],[[905,905],"mapped",[942]],[[906,906],"mapped",[943]],[[907,907],"disallowed"],[[908,908],"mapped",[972]],[[909,909],"disallowed"],[[910,910],"mapped",[973]],[[911,911],"mapped",[974]],[[912,912],"valid"],[[913,913],"mapped",[945]],[[914,914],"mapped",[946]],[[915,915],"mapped",[947]],[[916,916],"mapped",[948]],[[917,917],"mapped",[949]],[[918,918],"mapped",[950]],[[919,919],"mapped",[951]],[[920,920],"mapped",[952]],[[921,921],"mapped",[953]],[[922,922],"mapped",[954]],[[923,923],"mapped",[955]],[[924,924],"mapped",[956]],[[925,925],"mapped",[957]],[[926,926],"mapped",[958]],[[927,927],"mapped",[959]],[[928,928],"mapped",[960]],[[929,929],"mapped",[961]],[[930,930],"disallowed"],[[931,931],"mapped",[963]],[[932,932],"mapped",[964]],[[933,933],"mapped",[965]],[[934,934],"mapped",[966]],[[935,935],"mapped",[967]],[[936,936],"mapped",[968]],[[937,937],"mapped",[969]],[[938,938],"mapped",[970]],[[939,939],"mapped",[971]],[[940,961],"valid"],[[962,962],"deviation",[963]],[[963,974],"valid"],[[975,975],"mapped",[983]],[[976,976],"mapped",[946]],[[977,977],"mapped",[952]],[[978,978],"mapped",[965]],[[979,979],"mapped",[973]],[[980,980],"mapped",[971]],[[981,981],"mapped",[966]],[[982,982],"mapped",[960]],[[983,983],"valid"],[[984,984],"mapped",[985]],[[985,985],"valid"],[[986,986],"mapped",[987]],[[987,987],"valid"],[[988,988],"mapped",[989]],[[989,989],"valid"],[[990,990],"mapped",[991]],[[991,991],"valid"],[[992,992],"mapped",[993]],[[993,993],"valid"],[[994,994],"mapped",[995]],[[995,995],"valid"],[[996,996],"mapped",[997]],[[997,997],"valid"],[[998,998],"mapped",[999]],[[999,999],"valid"],[[1000,1000],"mapped",[1001]],[[1001,1001],"valid"],[[1002,1002],"mapped",[1003]],[[1003,1003],"valid"],[[1004,1004],"mapped",[1005]],[[1005,1005],"valid"],[[1006,1006],"mapped",[1007]],[[1007,1007],"valid"],[[1008,1008],"mapped",[954]],[[1009,1009],"mapped",[961]],[[1010,1010],"mapped",[963]],[[1011,1011],"valid"],[[1012,1012],"mapped",[952]],[[1013,1013],"mapped",[949]],[[1014,1014],"valid",[],"NV8"],[[1015,1015],"mapped",[1016]],[[1016,1016],"valid"],[[1017,1017],"mapped",[963]],[[1018,1018],"mapped",[1019]],[[1019,1019],"valid"],[[1020,1020],"valid"],[[1021,1021],"mapped",[891]],[[1022,1022],"mapped",[892]],[[1023,1023],"mapped",[893]],[[1024,1024],"mapped",[1104]],[[1025,1025],"mapped",[1105]],[[1026,1026],"mapped",[1106]],[[1027,1027],"mapped",[1107]],[[1028,1028],"mapped",[1108]],[[1029,1029],"mapped",[1109]],[[1030,1030],"mapped",[1110]],[[1031,1031],"mapped",[1111]],[[1032,1032],"mapped",[1112]],[[1033,1033],"mapped",[1113]],[[1034,1034],"mapped",[1114]],[[1035,1035],"mapped",[1115]],[[1036,1036],"mapped",[1116]],[[1037,1037],"mapped",[1117]],[[1038,1038],"mapped",[1118]],[[1039,1039],"mapped",[1119]],[[1040,1040],"mapped",[1072]],[[1041,1041],"mapped",[1073]],[[1042,1042],"mapped",[1074]],[[1043,1043],"mapped",[1075]],[[1044,1044],"mapped",[1076]],[[1045,1045],"mapped",[1077]],[[1046,1046],"mapped",[1078]],[[1047,1047],"mapped",[1079]],[[1048,1048],"mapped",[1080]],[[1049,1049],"mapped",[1081]],[[1050,1050],"mapped",[1082]],[[1051,1051],"mapped",[1083]],[[1052,1052],"mapped",[1084]],[[1053,1053],"mapped",[1085]],[[1054,1054],"mapped",[1086]],[[1055,1055],"mapped",[1087]],[[1056,1056],"mapped",[1088]],[[1057,1057],"mapped",[1089]],[[1058,1058],"mapped",[1090]],[[1059,1059],"mapped",[1091]],[[1060,1060],"mapped",[1092]],[[1061,1061],"mapped",[1093]],[[1062,1062],"mapped",[1094]],[[1063,1063],"mapped",[1095]],[[1064,1064],"mapped",[1096]],[[1065,1065],"mapped",[1097]],[[1066,1066],"mapped",[1098]],[[1067,1067],"mapped",[1099]],[[1068,1068],"mapped",[1100]],[[1069,1069],"mapped",[1101]],[[1070,1070],"mapped",[1102]],[[1071,1071],"mapped",[1103]],[[1072,1103],"valid"],[[1104,1104],"valid"],[[1105,1116],"valid"],[[1117,1117],"valid"],[[1118,1119],"valid"],[[1120,1120],"mapped",[1121]],[[1121,1121],"valid"],[[1122,1122],"mapped",[1123]],[[1123,1123],"valid"],[[1124,1124],"mapped",[1125]],[[1125,1125],"valid"],[[1126,1126],"mapped",[1127]],[[1127,1127],"valid"],[[1128,1128],"mapped",[1129]],[[1129,1129],"valid"],[[1130,1130],"mapped",[1131]],[[1131,1131],"valid"],[[1132,1132],"mapped",[1133]],[[1133,1133],"valid"],[[1134,1134],"mapped",[1135]],[[1135,1135],"valid"],[[1136,1136],"mapped",[1137]],[[1137,1137],"valid"],[[1138,1138],"mapped",[1139]],[[1139,1139],"valid"],[[1140,1140],"mapped",[1141]],[[1141,1141],"valid"],[[1142,1142],"mapped",[1143]],[[1143,1143],"valid"],[[1144,1144],"mapped",[1145]],[[1145,1145],"valid"],[[1146,1146],"mapped",[1147]],[[1147,1147],"valid"],[[1148,1148],"mapped",[1149]],[[1149,1149],"valid"],[[1150,1150],"mapped",[1151]],[[1151,1151],"valid"],[[1152,1152],"mapped",[1153]],[[1153,1153],"valid"],[[1154,1154],"valid",[],"NV8"],[[1155,1158],"valid"],[[1159,1159],"valid"],[[1160,1161],"valid",[],"NV8"],[[1162,1162],"mapped",[1163]],[[1163,1163],"valid"],[[1164,1164],"mapped",[1165]],[[1165,1165],"valid"],[[1166,1166],"mapped",[1167]],[[1167,1167],"valid"],[[1168,1168],"mapped",[1169]],[[1169,1169],"valid"],[[1170,1170],"mapped",[1171]],[[1171,1171],"valid"],[[1172,1172],"mapped",[1173]],[[1173,1173],"valid"],[[1174,1174],"mapped",[1175]],[[1175,1175],"valid"],[[1176,1176],"mapped",[1177]],[[1177,1177],"valid"],[[1178,1178],"mapped",[1179]],[[1179,1179],"valid"],[[1180,1180],"mapped",[1181]],[[1181,1181],"valid"],[[1182,1182],"mapped",[1183]],[[1183,1183],"valid"],[[1184,1184],"mapped",[1185]],[[1185,1185],"valid"],[[1186,1186],"mapped",[1187]],[[1187,1187],"valid"],[[1188,1188],"mapped",[1189]],[[1189,1189],"valid"],[[1190,1190],"mapped",[1191]],[[1191,1191],"valid"],[[1192,1192],"mapped",[1193]],[[1193,1193],"valid"],[[1194,1194],"mapped",[1195]],[[1195,1195],"valid"],[[1196,1196],"mapped",[1197]],[[1197,1197],"valid"],[[1198,1198],"mapped",[1199]],[[1199,1199],"valid"],[[1200,1200],"mapped",[1201]],[[1201,1201],"valid"],[[1202,1202],"mapped",[1203]],[[1203,1203],"valid"],[[1204,1204],"mapped",[1205]],[[1205,1205],"valid"],[[1206,1206],"mapped",[1207]],[[1207,1207],"valid"],[[1208,1208],"mapped",[1209]],[[1209,1209],"valid"],[[1210,1210],"mapped",[1211]],[[1211,1211],"valid"],[[1212,1212],"mapped",[1213]],[[1213,1213],"valid"],[[1214,1214],"mapped",[1215]],[[1215,1215],"valid"],[[1216,1216],"disallowed"],[[1217,1217],"mapped",[1218]],[[1218,1218],"valid"],[[1219,1219],"mapped",[1220]],[[1220,1220],"valid"],[[1221,1221],"mapped",[1222]],[[1222,1222],"valid"],[[1223,1223],"mapped",[1224]],[[1224,1224],"valid"],[[1225,1225],"mapped",[1226]],[[1226,1226],"valid"],[[1227,1227],"mapped",[1228]],[[1228,1228],"valid"],[[1229,1229],"mapped",[1230]],[[1230,1230],"valid"],[[1231,1231],"valid"],[[1232,1232],"mapped",[1233]],[[1233,1233],"valid"],[[1234,1234],"mapped",[1235]],[[1235,1235],"valid"],[[1236,1236],"mapped",[1237]],[[1237,1237],"valid"],[[1238,1238],"mapped",[1239]],[[1239,1239],"valid"],[[1240,1240],"mapped",[1241]],[[1241,1241],"valid"],[[1242,1242],"mapped",[1243]],[[1243,1243],"valid"],[[1244,1244],"mapped",[1245]],[[1245,1245],"valid"],[[1246,1246],"mapped",[1247]],[[1247,1247],"valid"],[[1248,1248],"mapped",[1249]],[[1249,1249],"valid"],[[1250,1250],"mapped",[1251]],[[1251,1251],"valid"],[[1252,1252],"mapped",[1253]],[[1253,1253],"valid"],[[1254,1254],"mapped",[1255]],[[1255,1255],"valid"],[[1256,1256],"mapped",[1257]],[[1257,1257],"valid"],[[1258,1258],"mapped",[1259]],[[1259,1259],"valid"],[[1260,1260],"mapped",[1261]],[[1261,1261],"valid"],[[1262,1262],"mapped",[1263]],[[1263,1263],"valid"],[[1264,1264],"mapped",[1265]],[[1265,1265],"valid"],[[1266,1266],"mapped",[1267]],[[1267,1267],"valid"],[[1268,1268],"mapped",[1269]],[[1269,1269],"valid"],[[1270,1270],"mapped",[1271]],[[1271,1271],"valid"],[[1272,1272],"mapped",[1273]],[[1273,1273],"valid"],[[1274,1274],"mapped",[1275]],[[1275,1275],"valid"],[[1276,1276],"mapped",[1277]],[[1277,1277],"valid"],[[1278,1278],"mapped",[1279]],[[1279,1279],"valid"],[[1280,1280],"mapped",[1281]],[[1281,1281],"valid"],[[1282,1282],"mapped",[1283]],[[1283,1283],"valid"],[[1284,1284],"mapped",[1285]],[[1285,1285],"valid"],[[1286,1286],"mapped",[1287]],[[1287,1287],"valid"],[[1288,1288],"mapped",[1289]],[[1289,1289],"valid"],[[1290,1290],"mapped",[1291]],[[1291,1291],"valid"],[[1292,1292],"mapped",[1293]],[[1293,1293],"valid"],[[1294,1294],"mapped",[1295]],[[1295,1295],"valid"],[[1296,1296],"mapped",[1297]],[[1297,1297],"valid"],[[1298,1298],"mapped",[1299]],[[1299,1299],"valid"],[[1300,1300],"mapped",[1301]],[[1301,1301],"valid"],[[1302,1302],"mapped",[1303]],[[1303,1303],"valid"],[[1304,1304],"mapped",[1305]],[[1305,1305],"valid"],[[1306,1306],"mapped",[1307]],[[1307,1307],"valid"],[[1308,1308],"mapped",[1309]],[[1309,1309],"valid"],[[1310,1310],"mapped",[1311]],[[1311,1311],"valid"],[[1312,1312],"mapped",[1313]],[[1313,1313],"valid"],[[1314,1314],"mapped",[1315]],[[1315,1315],"valid"],[[1316,1316],"mapped",[1317]],[[1317,1317],"valid"],[[1318,1318],"mapped",[1319]],[[1319,1319],"valid"],[[1320,1320],"mapped",[1321]],[[1321,1321],"valid"],[[1322,1322],"mapped",[1323]],[[1323,1323],"valid"],[[1324,1324],"mapped",[1325]],[[1325,1325],"valid"],[[1326,1326],"mapped",[1327]],[[1327,1327],"valid"],[[1328,1328],"disallowed"],[[1329,1329],"mapped",[1377]],[[1330,1330],"mapped",[1378]],[[1331,1331],"mapped",[1379]],[[1332,1332],"mapped",[1380]],[[1333,1333],"mapped",[1381]],[[1334,1334],"mapped",[1382]],[[1335,1335],"mapped",[1383]],[[1336,1336],"mapped",[1384]],[[1337,1337],"mapped",[1385]],[[1338,1338],"mapped",[1386]],[[1339,1339],"mapped",[1387]],[[1340,1340],"mapped",[1388]],[[1341,1341],"mapped",[1389]],[[1342,1342],"mapped",[1390]],[[1343,1343],"mapped",[1391]],[[1344,1344],"mapped",[1392]],[[1345,1345],"mapped",[1393]],[[1346,1346],"mapped",[1394]],[[1347,1347],"mapped",[1395]],[[1348,1348],"mapped",[1396]],[[1349,1349],"mapped",[1397]],[[1350,1350],"mapped",[1398]],[[1351,1351],"mapped",[1399]],[[1352,1352],"mapped",[1400]],[[1353,1353],"mapped",[1401]],[[1354,1354],"mapped",[1402]],[[1355,1355],"mapped",[1403]],[[1356,1356],"mapped",[1404]],[[1357,1357],"mapped",[1405]],[[1358,1358],"mapped",[1406]],[[1359,1359],"mapped",[1407]],[[1360,1360],"mapped",[1408]],[[1361,1361],"mapped",[1409]],[[1362,1362],"mapped",[1410]],[[1363,1363],"mapped",[1411]],[[1364,1364],"mapped",[1412]],[[1365,1365],"mapped",[1413]],[[1366,1366],"mapped",[1414]],[[1367,1368],"disallowed"],[[1369,1369],"valid"],[[1370,1375],"valid",[],"NV8"],[[1376,1376],"disallowed"],[[1377,1414],"valid"],[[1415,1415],"mapped",[1381,1410]],[[1416,1416],"disallowed"],[[1417,1417],"valid",[],"NV8"],[[1418,1418],"valid",[],"NV8"],[[1419,1420],"disallowed"],[[1421,1422],"valid",[],"NV8"],[[1423,1423],"valid",[],"NV8"],[[1424,1424],"disallowed"],[[1425,1441],"valid"],[[1442,1442],"valid"],[[1443,1455],"valid"],[[1456,1465],"valid"],[[1466,1466],"valid"],[[1467,1469],"valid"],[[1470,1470],"valid",[],"NV8"],[[1471,1471],"valid"],[[1472,1472],"valid",[],"NV8"],[[1473,1474],"valid"],[[1475,1475],"valid",[],"NV8"],[[1476,1476],"valid"],[[1477,1477],"valid"],[[1478,1478],"valid",[],"NV8"],[[1479,1479],"valid"],[[1480,1487],"disallowed"],[[1488,1514],"valid"],[[1515,1519],"disallowed"],[[1520,1524],"valid"],[[1525,1535],"disallowed"],[[1536,1539],"disallowed"],[[1540,1540],"disallowed"],[[1541,1541],"disallowed"],[[1542,1546],"valid",[],"NV8"],[[1547,1547],"valid",[],"NV8"],[[1548,1548],"valid",[],"NV8"],[[1549,1551],"valid",[],"NV8"],[[1552,1557],"valid"],[[1558,1562],"valid"],[[1563,1563],"valid",[],"NV8"],[[1564,1564],"disallowed"],[[1565,1565],"disallowed"],[[1566,1566],"valid",[],"NV8"],[[1567,1567],"valid",[],"NV8"],[[1568,1568],"valid"],[[1569,1594],"valid"],[[1595,1599],"valid"],[[1600,1600],"valid",[],"NV8"],[[1601,1618],"valid"],[[1619,1621],"valid"],[[1622,1624],"valid"],[[1625,1630],"valid"],[[1631,1631],"valid"],[[1632,1641],"valid"],[[1642,1645],"valid",[],"NV8"],[[1646,1647],"valid"],[[1648,1652],"valid"],[[1653,1653],"mapped",[1575,1652]],[[1654,1654],"mapped",[1608,1652]],[[1655,1655],"mapped",[1735,1652]],[[1656,1656],"mapped",[1610,1652]],[[1657,1719],"valid"],[[1720,1721],"valid"],[[1722,1726],"valid"],[[1727,1727],"valid"],[[1728,1742],"valid"],[[1743,1743],"valid"],[[1744,1747],"valid"],[[1748,1748],"valid",[],"NV8"],[[1749,1756],"valid"],[[1757,1757],"disallowed"],[[1758,1758],"valid",[],"NV8"],[[1759,1768],"valid"],[[1769,1769],"valid",[],"NV8"],[[1770,1773],"valid"],[[1774,1775],"valid"],[[1776,1785],"valid"],[[1786,1790],"valid"],[[1791,1791],"valid"],[[1792,1805],"valid",[],"NV8"],[[1806,1806],"disallowed"],[[1807,1807],"disallowed"],[[1808,1836],"valid"],[[1837,1839],"valid"],[[1840,1866],"valid"],[[1867,1868],"disallowed"],[[1869,1871],"valid"],[[1872,1901],"valid"],[[1902,1919],"valid"],[[1920,1968],"valid"],[[1969,1969],"valid"],[[1970,1983],"disallowed"],[[1984,2037],"valid"],[[2038,2042],"valid",[],"NV8"],[[2043,2047],"disallowed"],[[2048,2093],"valid"],[[2094,2095],"disallowed"],[[2096,2110],"valid",[],"NV8"],[[2111,2111],"disallowed"],[[2112,2139],"valid"],[[2140,2141],"disallowed"],[[2142,2142],"valid",[],"NV8"],[[2143,2207],"disallowed"],[[2208,2208],"valid"],[[2209,2209],"valid"],[[2210,2220],"valid"],[[2221,2226],"valid"],[[2227,2228],"valid"],[[2229,2274],"disallowed"],[[2275,2275],"valid"],[[2276,2302],"valid"],[[2303,2303],"valid"],[[2304,2304],"valid"],[[2305,2307],"valid"],[[2308,2308],"valid"],[[2309,2361],"valid"],[[2362,2363],"valid"],[[2364,2381],"valid"],[[2382,2382],"valid"],[[2383,2383],"valid"],[[2384,2388],"valid"],[[2389,2389],"valid"],[[2390,2391],"valid"],[[2392,2392],"mapped",[2325,2364]],[[2393,2393],"mapped",[2326,2364]],[[2394,2394],"mapped",[2327,2364]],[[2395,2395],"mapped",[2332,2364]],[[2396,2396],"mapped",[2337,2364]],[[2397,2397],"mapped",[2338,2364]],[[2398,2398],"mapped",[2347,2364]],[[2399,2399],"mapped",[2351,2364]],[[2400,2403],"valid"],[[2404,2405],"valid",[],"NV8"],[[2406,2415],"valid"],[[2416,2416],"valid",[],"NV8"],[[2417,2418],"valid"],[[2419,2423],"valid"],[[2424,2424],"valid"],[[2425,2426],"valid"],[[2427,2428],"valid"],[[2429,2429],"valid"],[[2430,2431],"valid"],[[2432,2432],"valid"],[[2433,2435],"valid"],[[2436,2436],"disallowed"],[[2437,2444],"valid"],[[2445,2446],"disallowed"],[[2447,2448],"valid"],[[2449,2450],"disallowed"],[[2451,2472],"valid"],[[2473,2473],"disallowed"],[[2474,2480],"valid"],[[2481,2481],"disallowed"],[[2482,2482],"valid"],[[2483,2485],"disallowed"],[[2486,2489],"valid"],[[2490,2491],"disallowed"],[[2492,2492],"valid"],[[2493,2493],"valid"],[[2494,2500],"valid"],[[2501,2502],"disallowed"],[[2503,2504],"valid"],[[2505,2506],"disallowed"],[[2507,2509],"valid"],[[2510,2510],"valid"],[[2511,2518],"disallowed"],[[2519,2519],"valid"],[[2520,2523],"disallowed"],[[2524,2524],"mapped",[2465,2492]],[[2525,2525],"mapped",[2466,2492]],[[2526,2526],"disallowed"],[[2527,2527],"mapped",[2479,2492]],[[2528,2531],"valid"],[[2532,2533],"disallowed"],[[2534,2545],"valid"],[[2546,2554],"valid",[],"NV8"],[[2555,2555],"valid",[],"NV8"],[[2556,2560],"disallowed"],[[2561,2561],"valid"],[[2562,2562],"valid"],[[2563,2563],"valid"],[[2564,2564],"disallowed"],[[2565,2570],"valid"],[[2571,2574],"disallowed"],[[2575,2576],"valid"],[[2577,2578],"disallowed"],[[2579,2600],"valid"],[[2601,2601],"disallowed"],[[2602,2608],"valid"],[[2609,2609],"disallowed"],[[2610,2610],"valid"],[[2611,2611],"mapped",[2610,2620]],[[2612,2612],"disallowed"],[[2613,2613],"valid"],[[2614,2614],"mapped",[2616,2620]],[[2615,2615],"disallowed"],[[2616,2617],"valid"],[[2618,2619],"disallowed"],[[2620,2620],"valid"],[[2621,2621],"disallowed"],[[2622,2626],"valid"],[[2627,2630],"disallowed"],[[2631,2632],"valid"],[[2633,2634],"disallowed"],[[2635,2637],"valid"],[[2638,2640],"disallowed"],[[2641,2641],"valid"],[[2642,2648],"disallowed"],[[2649,2649],"mapped",[2582,2620]],[[2650,2650],"mapped",[2583,2620]],[[2651,2651],"mapped",[2588,2620]],[[2652,2652],"valid"],[[2653,2653],"disallowed"],[[2654,2654],"mapped",[2603,2620]],[[2655,2661],"disallowed"],[[2662,2676],"valid"],[[2677,2677],"valid"],[[2678,2688],"disallowed"],[[2689,2691],"valid"],[[2692,2692],"disallowed"],[[2693,2699],"valid"],[[2700,2700],"valid"],[[2701,2701],"valid"],[[2702,2702],"disallowed"],[[2703,2705],"valid"],[[2706,2706],"disallowed"],[[2707,2728],"valid"],[[2729,2729],"disallowed"],[[2730,2736],"valid"],[[2737,2737],"disallowed"],[[2738,2739],"valid"],[[2740,2740],"disallowed"],[[2741,2745],"valid"],[[2746,2747],"disallowed"],[[2748,2757],"valid"],[[2758,2758],"disallowed"],[[2759,2761],"valid"],[[2762,2762],"disallowed"],[[2763,2765],"valid"],[[2766,2767],"disallowed"],[[2768,2768],"valid"],[[2769,2783],"disallowed"],[[2784,2784],"valid"],[[2785,2787],"valid"],[[2788,2789],"disallowed"],[[2790,2799],"valid"],[[2800,2800],"valid",[],"NV8"],[[2801,2801],"valid",[],"NV8"],[[2802,2808],"disallowed"],[[2809,2809],"valid"],[[2810,2816],"disallowed"],[[2817,2819],"valid"],[[2820,2820],"disallowed"],[[2821,2828],"valid"],[[2829,2830],"disallowed"],[[2831,2832],"valid"],[[2833,2834],"disallowed"],[[2835,2856],"valid"],[[2857,2857],"disallowed"],[[2858,2864],"valid"],[[2865,2865],"disallowed"],[[2866,2867],"valid"],[[2868,2868],"disallowed"],[[2869,2869],"valid"],[[2870,2873],"valid"],[[2874,2875],"disallowed"],[[2876,2883],"valid"],[[2884,2884],"valid"],[[2885,2886],"disallowed"],[[2887,2888],"valid"],[[2889,2890],"disallowed"],[[2891,2893],"valid"],[[2894,2901],"disallowed"],[[2902,2903],"valid"],[[2904,2907],"disallowed"],[[2908,2908],"mapped",[2849,2876]],[[2909,2909],"mapped",[2850,2876]],[[2910,2910],"disallowed"],[[2911,2913],"valid"],[[2914,2915],"valid"],[[2916,2917],"disallowed"],[[2918,2927],"valid"],[[2928,2928],"valid",[],"NV8"],[[2929,2929],"valid"],[[2930,2935],"valid",[],"NV8"],[[2936,2945],"disallowed"],[[2946,2947],"valid"],[[2948,2948],"disallowed"],[[2949,2954],"valid"],[[2955,2957],"disallowed"],[[2958,2960],"valid"],[[2961,2961],"disallowed"],[[2962,2965],"valid"],[[2966,2968],"disallowed"],[[2969,2970],"valid"],[[2971,2971],"disallowed"],[[2972,2972],"valid"],[[2973,2973],"disallowed"],[[2974,2975],"valid"],[[2976,2978],"disallowed"],[[2979,2980],"valid"],[[2981,2983],"disallowed"],[[2984,2986],"valid"],[[2987,2989],"disallowed"],[[2990,2997],"valid"],[[2998,2998],"valid"],[[2999,3001],"valid"],[[3002,3005],"disallowed"],[[3006,3010],"valid"],[[3011,3013],"disallowed"],[[3014,3016],"valid"],[[3017,3017],"disallowed"],[[3018,3021],"valid"],[[3022,3023],"disallowed"],[[3024,3024],"valid"],[[3025,3030],"disallowed"],[[3031,3031],"valid"],[[3032,3045],"disallowed"],[[3046,3046],"valid"],[[3047,3055],"valid"],[[3056,3058],"valid",[],"NV8"],[[3059,3066],"valid",[],"NV8"],[[3067,3071],"disallowed"],[[3072,3072],"valid"],[[3073,3075],"valid"],[[3076,3076],"disallowed"],[[3077,3084],"valid"],[[3085,3085],"disallowed"],[[3086,3088],"valid"],[[3089,3089],"disallowed"],[[3090,3112],"valid"],[[3113,3113],"disallowed"],[[3114,3123],"valid"],[[3124,3124],"valid"],[[3125,3129],"valid"],[[3130,3132],"disallowed"],[[3133,3133],"valid"],[[3134,3140],"valid"],[[3141,3141],"disallowed"],[[3142,3144],"valid"],[[3145,3145],"disallowed"],[[3146,3149],"valid"],[[3150,3156],"disallowed"],[[3157,3158],"valid"],[[3159,3159],"disallowed"],[[3160,3161],"valid"],[[3162,3162],"valid"],[[3163,3167],"disallowed"],[[3168,3169],"valid"],[[3170,3171],"valid"],[[3172,3173],"disallowed"],[[3174,3183],"valid"],[[3184,3191],"disallowed"],[[3192,3199],"valid",[],"NV8"],[[3200,3200],"disallowed"],[[3201,3201],"valid"],[[3202,3203],"valid"],[[3204,3204],"disallowed"],[[3205,3212],"valid"],[[3213,3213],"disallowed"],[[3214,3216],"valid"],[[3217,3217],"disallowed"],[[3218,3240],"valid"],[[3241,3241],"disallowed"],[[3242,3251],"valid"],[[3252,3252],"disallowed"],[[3253,3257],"valid"],[[3258,3259],"disallowed"],[[3260,3261],"valid"],[[3262,3268],"valid"],[[3269,3269],"disallowed"],[[3270,3272],"valid"],[[3273,3273],"disallowed"],[[3274,3277],"valid"],[[3278,3284],"disallowed"],[[3285,3286],"valid"],[[3287,3293],"disallowed"],[[3294,3294],"valid"],[[3295,3295],"disallowed"],[[3296,3297],"valid"],[[3298,3299],"valid"],[[3300,3301],"disallowed"],[[3302,3311],"valid"],[[3312,3312],"disallowed"],[[3313,3314],"valid"],[[3315,3328],"disallowed"],[[3329,3329],"valid"],[[3330,3331],"valid"],[[3332,3332],"disallowed"],[[3333,3340],"valid"],[[3341,3341],"disallowed"],[[3342,3344],"valid"],[[3345,3345],"disallowed"],[[3346,3368],"valid"],[[3369,3369],"valid"],[[3370,3385],"valid"],[[3386,3386],"valid"],[[3387,3388],"disallowed"],[[3389,3389],"valid"],[[3390,3395],"valid"],[[3396,3396],"valid"],[[3397,3397],"disallowed"],[[3398,3400],"valid"],[[3401,3401],"disallowed"],[[3402,3405],"valid"],[[3406,3406],"valid"],[[3407,3414],"disallowed"],[[3415,3415],"valid"],[[3416,3422],"disallowed"],[[3423,3423],"valid"],[[3424,3425],"valid"],[[3426,3427],"valid"],[[3428,3429],"disallowed"],[[3430,3439],"valid"],[[3440,3445],"valid",[],"NV8"],[[3446,3448],"disallowed"],[[3449,3449],"valid",[],"NV8"],[[3450,3455],"valid"],[[3456,3457],"disallowed"],[[3458,3459],"valid"],[[3460,3460],"disallowed"],[[3461,3478],"valid"],[[3479,3481],"disallowed"],[[3482,3505],"valid"],[[3506,3506],"disallowed"],[[3507,3515],"valid"],[[3516,3516],"disallowed"],[[3517,3517],"valid"],[[3518,3519],"disallowed"],[[3520,3526],"valid"],[[3527,3529],"disallowed"],[[3530,3530],"valid"],[[3531,3534],"disallowed"],[[3535,3540],"valid"],[[3541,3541],"disallowed"],[[3542,3542],"valid"],[[3543,3543],"disallowed"],[[3544,3551],"valid"],[[3552,3557],"disallowed"],[[3558,3567],"valid"],[[3568,3569],"disallowed"],[[3570,3571],"valid"],[[3572,3572],"valid",[],"NV8"],[[3573,3584],"disallowed"],[[3585,3634],"valid"],[[3635,3635],"mapped",[3661,3634]],[[3636,3642],"valid"],[[3643,3646],"disallowed"],[[3647,3647],"valid",[],"NV8"],[[3648,3662],"valid"],[[3663,3663],"valid",[],"NV8"],[[3664,3673],"valid"],[[3674,3675],"valid",[],"NV8"],[[3676,3712],"disallowed"],[[3713,3714],"valid"],[[3715,3715],"disallowed"],[[3716,3716],"valid"],[[3717,3718],"disallowed"],[[3719,3720],"valid"],[[3721,3721],"disallowed"],[[3722,3722],"valid"],[[3723,3724],"disallowed"],[[3725,3725],"valid"],[[3726,3731],"disallowed"],[[3732,3735],"valid"],[[3736,3736],"disallowed"],[[3737,3743],"valid"],[[3744,3744],"disallowed"],[[3745,3747],"valid"],[[3748,3748],"disallowed"],[[3749,3749],"valid"],[[3750,3750],"disallowed"],[[3751,3751],"valid"],[[3752,3753],"disallowed"],[[3754,3755],"valid"],[[3756,3756],"disallowed"],[[3757,3762],"valid"],[[3763,3763],"mapped",[3789,3762]],[[3764,3769],"valid"],[[3770,3770],"disallowed"],[[3771,3773],"valid"],[[3774,3775],"disallowed"],[[3776,3780],"valid"],[[3781,3781],"disallowed"],[[3782,3782],"valid"],[[3783,3783],"disallowed"],[[3784,3789],"valid"],[[3790,3791],"disallowed"],[[3792,3801],"valid"],[[3802,3803],"disallowed"],[[3804,3804],"mapped",[3755,3737]],[[3805,3805],"mapped",[3755,3745]],[[3806,3807],"valid"],[[3808,3839],"disallowed"],[[3840,3840],"valid"],[[3841,3850],"valid",[],"NV8"],[[3851,3851],"valid"],[[3852,3852],"mapped",[3851]],[[3853,3863],"valid",[],"NV8"],[[3864,3865],"valid"],[[3866,3871],"valid",[],"NV8"],[[3872,3881],"valid"],[[3882,3892],"valid",[],"NV8"],[[3893,3893],"valid"],[[3894,3894],"valid",[],"NV8"],[[3895,3895],"valid"],[[3896,3896],"valid",[],"NV8"],[[3897,3897],"valid"],[[3898,3901],"valid",[],"NV8"],[[3902,3906],"valid"],[[3907,3907],"mapped",[3906,4023]],[[3908,3911],"valid"],[[3912,3912],"disallowed"],[[3913,3916],"valid"],[[3917,3917],"mapped",[3916,4023]],[[3918,3921],"valid"],[[3922,3922],"mapped",[3921,4023]],[[3923,3926],"valid"],[[3927,3927],"mapped",[3926,4023]],[[3928,3931],"valid"],[[3932,3932],"mapped",[3931,4023]],[[3933,3944],"valid"],[[3945,3945],"mapped",[3904,4021]],[[3946,3946],"valid"],[[3947,3948],"valid"],[[3949,3952],"disallowed"],[[3953,3954],"valid"],[[3955,3955],"mapped",[3953,3954]],[[3956,3956],"valid"],[[3957,3957],"mapped",[3953,3956]],[[3958,3958],"mapped",[4018,3968]],[[3959,3959],"mapped",[4018,3953,3968]],[[3960,3960],"mapped",[4019,3968]],[[3961,3961],"mapped",[4019,3953,3968]],[[3962,3968],"valid"],[[3969,3969],"mapped",[3953,3968]],[[3970,3972],"valid"],[[3973,3973],"valid",[],"NV8"],[[3974,3979],"valid"],[[3980,3983],"valid"],[[3984,3986],"valid"],[[3987,3987],"mapped",[3986,4023]],[[3988,3989],"valid"],[[3990,3990],"valid"],[[3991,3991],"valid"],[[3992,3992],"disallowed"],[[3993,3996],"valid"],[[3997,3997],"mapped",[3996,4023]],[[3998,4001],"valid"],[[4002,4002],"mapped",[4001,4023]],[[4003,4006],"valid"],[[4007,4007],"mapped",[4006,4023]],[[4008,4011],"valid"],[[4012,4012],"mapped",[4011,4023]],[[4013,4013],"valid"],[[4014,4016],"valid"],[[4017,4023],"valid"],[[4024,4024],"valid"],[[4025,4025],"mapped",[3984,4021]],[[4026,4028],"valid"],[[4029,4029],"disallowed"],[[4030,4037],"valid",[],"NV8"],[[4038,4038],"valid"],[[4039,4044],"valid",[],"NV8"],[[4045,4045],"disallowed"],[[4046,4046],"valid",[],"NV8"],[[4047,4047],"valid",[],"NV8"],[[4048,4049],"valid",[],"NV8"],[[4050,4052],"valid",[],"NV8"],[[4053,4056],"valid",[],"NV8"],[[4057,4058],"valid",[],"NV8"],[[4059,4095],"disallowed"],[[4096,4129],"valid"],[[4130,4130],"valid"],[[4131,4135],"valid"],[[4136,4136],"valid"],[[4137,4138],"valid"],[[4139,4139],"valid"],[[4140,4146],"valid"],[[4147,4149],"valid"],[[4150,4153],"valid"],[[4154,4159],"valid"],[[4160,4169],"valid"],[[4170,4175],"valid",[],"NV8"],[[4176,4185],"valid"],[[4186,4249],"valid"],[[4250,4253],"valid"],[[4254,4255],"valid",[],"NV8"],[[4256,4293],"disallowed"],[[4294,4294],"disallowed"],[[4295,4295],"mapped",[11559]],[[4296,4300],"disallowed"],[[4301,4301],"mapped",[11565]],[[4302,4303],"disallowed"],[[4304,4342],"valid"],[[4343,4344],"valid"],[[4345,4346],"valid"],[[4347,4347],"valid",[],"NV8"],[[4348,4348],"mapped",[4316]],[[4349,4351],"valid"],[[4352,4441],"valid",[],"NV8"],[[4442,4446],"valid",[],"NV8"],[[4447,4448],"disallowed"],[[4449,4514],"valid",[],"NV8"],[[4515,4519],"valid",[],"NV8"],[[4520,4601],"valid",[],"NV8"],[[4602,4607],"valid",[],"NV8"],[[4608,4614],"valid"],[[4615,4615],"valid"],[[4616,4678],"valid"],[[4679,4679],"valid"],[[4680,4680],"valid"],[[4681,4681],"disallowed"],[[4682,4685],"valid"],[[4686,4687],"disallowed"],[[4688,4694],"valid"],[[4695,4695],"disallowed"],[[4696,4696],"valid"],[[4697,4697],"disallowed"],[[4698,4701],"valid"],[[4702,4703],"disallowed"],[[4704,4742],"valid"],[[4743,4743],"valid"],[[4744,4744],"valid"],[[4745,4745],"disallowed"],[[4746,4749],"valid"],[[4750,4751],"disallowed"],[[4752,4782],"valid"],[[4783,4783],"valid"],[[4784,4784],"valid"],[[4785,4785],"disallowed"],[[4786,4789],"valid"],[[4790,4791],"disallowed"],[[4792,4798],"valid"],[[4799,4799],"disallowed"],[[4800,4800],"valid"],[[4801,4801],"disallowed"],[[4802,4805],"valid"],[[4806,4807],"disallowed"],[[4808,4814],"valid"],[[4815,4815],"valid"],[[4816,4822],"valid"],[[4823,4823],"disallowed"],[[4824,4846],"valid"],[[4847,4847],"valid"],[[4848,4878],"valid"],[[4879,4879],"valid"],[[4880,4880],"valid"],[[4881,4881],"disallowed"],[[4882,4885],"valid"],[[4886,4887],"disallowed"],[[4888,4894],"valid"],[[4895,4895],"valid"],[[4896,4934],"valid"],[[4935,4935],"valid"],[[4936,4954],"valid"],[[4955,4956],"disallowed"],[[4957,4958],"valid"],[[4959,4959],"valid"],[[4960,4960],"valid",[],"NV8"],[[4961,4988],"valid",[],"NV8"],[[4989,4991],"disallowed"],[[4992,5007],"valid"],[[5008,5017],"valid",[],"NV8"],[[5018,5023],"disallowed"],[[5024,5108],"valid"],[[5109,5109],"valid"],[[5110,5111],"disallowed"],[[5112,5112],"mapped",[5104]],[[5113,5113],"mapped",[5105]],[[5114,5114],"mapped",[5106]],[[5115,5115],"mapped",[5107]],[[5116,5116],"mapped",[5108]],[[5117,5117],"mapped",[5109]],[[5118,5119],"disallowed"],[[5120,5120],"valid",[],"NV8"],[[5121,5740],"valid"],[[5741,5742],"valid",[],"NV8"],[[5743,5750],"valid"],[[5751,5759],"valid"],[[5760,5760],"disallowed"],[[5761,5786],"valid"],[[5787,5788],"valid",[],"NV8"],[[5789,5791],"disallowed"],[[5792,5866],"valid"],[[5867,5872],"valid",[],"NV8"],[[5873,5880],"valid"],[[5881,5887],"disallowed"],[[5888,5900],"valid"],[[5901,5901],"disallowed"],[[5902,5908],"valid"],[[5909,5919],"disallowed"],[[5920,5940],"valid"],[[5941,5942],"valid",[],"NV8"],[[5943,5951],"disallowed"],[[5952,5971],"valid"],[[5972,5983],"disallowed"],[[5984,5996],"valid"],[[5997,5997],"disallowed"],[[5998,6000],"valid"],[[6001,6001],"disallowed"],[[6002,6003],"valid"],[[6004,6015],"disallowed"],[[6016,6067],"valid"],[[6068,6069],"disallowed"],[[6070,6099],"valid"],[[6100,6102],"valid",[],"NV8"],[[6103,6103],"valid"],[[6104,6107],"valid",[],"NV8"],[[6108,6108],"valid"],[[6109,6109],"valid"],[[6110,6111],"disallowed"],[[6112,6121],"valid"],[[6122,6127],"disallowed"],[[6128,6137],"valid",[],"NV8"],[[6138,6143],"disallowed"],[[6144,6149],"valid",[],"NV8"],[[6150,6150],"disallowed"],[[6151,6154],"valid",[],"NV8"],[[6155,6157],"ignored"],[[6158,6158],"disallowed"],[[6159,6159],"disallowed"],[[6160,6169],"valid"],[[6170,6175],"disallowed"],[[6176,6263],"valid"],[[6264,6271],"disallowed"],[[6272,6313],"valid"],[[6314,6314],"valid"],[[6315,6319],"disallowed"],[[6320,6389],"valid"],[[6390,6399],"disallowed"],[[6400,6428],"valid"],[[6429,6430],"valid"],[[6431,6431],"disallowed"],[[6432,6443],"valid"],[[6444,6447],"disallowed"],[[6448,6459],"valid"],[[6460,6463],"disallowed"],[[6464,6464],"valid",[],"NV8"],[[6465,6467],"disallowed"],[[6468,6469],"valid",[],"NV8"],[[6470,6509],"valid"],[[6510,6511],"disallowed"],[[6512,6516],"valid"],[[6517,6527],"disallowed"],[[6528,6569],"valid"],[[6570,6571],"valid"],[[6572,6575],"disallowed"],[[6576,6601],"valid"],[[6602,6607],"disallowed"],[[6608,6617],"valid"],[[6618,6618],"valid",[],"XV8"],[[6619,6621],"disallowed"],[[6622,6623],"valid",[],"NV8"],[[6624,6655],"valid",[],"NV8"],[[6656,6683],"valid"],[[6684,6685],"disallowed"],[[6686,6687],"valid",[],"NV8"],[[6688,6750],"valid"],[[6751,6751],"disallowed"],[[6752,6780],"valid"],[[6781,6782],"disallowed"],[[6783,6793],"valid"],[[6794,6799],"disallowed"],[[6800,6809],"valid"],[[6810,6815],"disallowed"],[[6816,6822],"valid",[],"NV8"],[[6823,6823],"valid"],[[6824,6829],"valid",[],"NV8"],[[6830,6831],"disallowed"],[[6832,6845],"valid"],[[6846,6846],"valid",[],"NV8"],[[6847,6911],"disallowed"],[[6912,6987],"valid"],[[6988,6991],"disallowed"],[[6992,7001],"valid"],[[7002,7018],"valid",[],"NV8"],[[7019,7027],"valid"],[[7028,7036],"valid",[],"NV8"],[[7037,7039],"disallowed"],[[7040,7082],"valid"],[[7083,7085],"valid"],[[7086,7097],"valid"],[[7098,7103],"valid"],[[7104,7155],"valid"],[[7156,7163],"disallowed"],[[7164,7167],"valid",[],"NV8"],[[7168,7223],"valid"],[[7224,7226],"disallowed"],[[7227,7231],"valid",[],"NV8"],[[7232,7241],"valid"],[[7242,7244],"disallowed"],[[7245,7293],"valid"],[[7294,7295],"valid",[],"NV8"],[[7296,7359],"disallowed"],[[7360,7367],"valid",[],"NV8"],[[7368,7375],"disallowed"],[[7376,7378],"valid"],[[7379,7379],"valid",[],"NV8"],[[7380,7410],"valid"],[[7411,7414],"valid"],[[7415,7415],"disallowed"],[[7416,7417],"valid"],[[7418,7423],"disallowed"],[[7424,7467],"valid"],[[7468,7468],"mapped",[97]],[[7469,7469],"mapped",[230]],[[7470,7470],"mapped",[98]],[[7471,7471],"valid"],[[7472,7472],"mapped",[100]],[[7473,7473],"mapped",[101]],[[7474,7474],"mapped",[477]],[[7475,7475],"mapped",[103]],[[7476,7476],"mapped",[104]],[[7477,7477],"mapped",[105]],[[7478,7478],"mapped",[106]],[[7479,7479],"mapped",[107]],[[7480,7480],"mapped",[108]],[[7481,7481],"mapped",[109]],[[7482,7482],"mapped",[110]],[[7483,7483],"valid"],[[7484,7484],"mapped",[111]],[[7485,7485],"mapped",[547]],[[7486,7486],"mapped",[112]],[[7487,7487],"mapped",[114]],[[7488,7488],"mapped",[116]],[[7489,7489],"mapped",[117]],[[7490,7490],"mapped",[119]],[[7491,7491],"mapped",[97]],[[7492,7492],"mapped",[592]],[[7493,7493],"mapped",[593]],[[7494,7494],"mapped",[7426]],[[7495,7495],"mapped",[98]],[[7496,7496],"mapped",[100]],[[7497,7497],"mapped",[101]],[[7498,7498],"mapped",[601]],[[7499,7499],"mapped",[603]],[[7500,7500],"mapped",[604]],[[7501,7501],"mapped",[103]],[[7502,7502],"valid"],[[7503,7503],"mapped",[107]],[[7504,7504],"mapped",[109]],[[7505,7505],"mapped",[331]],[[7506,7506],"mapped",[111]],[[7507,7507],"mapped",[596]],[[7508,7508],"mapped",[7446]],[[7509,7509],"mapped",[7447]],[[7510,7510],"mapped",[112]],[[7511,7511],"mapped",[116]],[[7512,7512],"mapped",[117]],[[7513,7513],"mapped",[7453]],[[7514,7514],"mapped",[623]],[[7515,7515],"mapped",[118]],[[7516,7516],"mapped",[7461]],[[7517,7517],"mapped",[946]],[[7518,7518],"mapped",[947]],[[7519,7519],"mapped",[948]],[[7520,7520],"mapped",[966]],[[7521,7521],"mapped",[967]],[[7522,7522],"mapped",[105]],[[7523,7523],"mapped",[114]],[[7524,7524],"mapped",[117]],[[7525,7525],"mapped",[118]],[[7526,7526],"mapped",[946]],[[7527,7527],"mapped",[947]],[[7528,7528],"mapped",[961]],[[7529,7529],"mapped",[966]],[[7530,7530],"mapped",[967]],[[7531,7531],"valid"],[[7532,7543],"valid"],[[7544,7544],"mapped",[1085]],[[7545,7578],"valid"],[[7579,7579],"mapped",[594]],[[7580,7580],"mapped",[99]],[[7581,7581],"mapped",[597]],[[7582,7582],"mapped",[240]],[[7583,7583],"mapped",[604]],[[7584,7584],"mapped",[102]],[[7585,7585],"mapped",[607]],[[7586,7586],"mapped",[609]],[[7587,7587],"mapped",[613]],[[7588,7588],"mapped",[616]],[[7589,7589],"mapped",[617]],[[7590,7590],"mapped",[618]],[[7591,7591],"mapped",[7547]],[[7592,7592],"mapped",[669]],[[7593,7593],"mapped",[621]],[[7594,7594],"mapped",[7557]],[[7595,7595],"mapped",[671]],[[7596,7596],"mapped",[625]],[[7597,7597],"mapped",[624]],[[7598,7598],"mapped",[626]],[[7599,7599],"mapped",[627]],[[7600,7600],"mapped",[628]],[[7601,7601],"mapped",[629]],[[7602,7602],"mapped",[632]],[[7603,7603],"mapped",[642]],[[7604,7604],"mapped",[643]],[[7605,7605],"mapped",[427]],[[7606,7606],"mapped",[649]],[[7607,7607],"mapped",[650]],[[7608,7608],"mapped",[7452]],[[7609,7609],"mapped",[651]],[[7610,7610],"mapped",[652]],[[7611,7611],"mapped",[122]],[[7612,7612],"mapped",[656]],[[7613,7613],"mapped",[657]],[[7614,7614],"mapped",[658]],[[7615,7615],"mapped",[952]],[[7616,7619],"valid"],[[7620,7626],"valid"],[[7627,7654],"valid"],[[7655,7669],"valid"],[[7670,7675],"disallowed"],[[7676,7676],"valid"],[[7677,7677],"valid"],[[7678,7679],"valid"],[[7680,7680],"mapped",[7681]],[[7681,7681],"valid"],[[7682,7682],"mapped",[7683]],[[7683,7683],"valid"],[[7684,7684],"mapped",[7685]],[[7685,7685],"valid"],[[7686,7686],"mapped",[7687]],[[7687,7687],"valid"],[[7688,7688],"mapped",[7689]],[[7689,7689],"valid"],[[7690,7690],"mapped",[7691]],[[7691,7691],"valid"],[[7692,7692],"mapped",[7693]],[[7693,7693],"valid"],[[7694,7694],"mapped",[7695]],[[7695,7695],"valid"],[[7696,7696],"mapped",[7697]],[[7697,7697],"valid"],[[7698,7698],"mapped",[7699]],[[7699,7699],"valid"],[[7700,7700],"mapped",[7701]],[[7701,7701],"valid"],[[7702,7702],"mapped",[7703]],[[7703,7703],"valid"],[[7704,7704],"mapped",[7705]],[[7705,7705],"valid"],[[7706,7706],"mapped",[7707]],[[7707,7707],"valid"],[[7708,7708],"mapped",[7709]],[[7709,7709],"valid"],[[7710,7710],"mapped",[7711]],[[7711,7711],"valid"],[[7712,7712],"mapped",[7713]],[[7713,7713],"valid"],[[7714,7714],"mapped",[7715]],[[7715,7715],"valid"],[[7716,7716],"mapped",[7717]],[[7717,7717],"valid"],[[7718,7718],"mapped",[7719]],[[7719,7719],"valid"],[[7720,7720],"mapped",[7721]],[[7721,7721],"valid"],[[7722,7722],"mapped",[7723]],[[7723,7723],"valid"],[[7724,7724],"mapped",[7725]],[[7725,7725],"valid"],[[7726,7726],"mapped",[7727]],[[7727,7727],"valid"],[[7728,7728],"mapped",[7729]],[[7729,7729],"valid"],[[7730,7730],"mapped",[7731]],[[7731,7731],"valid"],[[7732,7732],"mapped",[7733]],[[7733,7733],"valid"],[[7734,7734],"mapped",[7735]],[[7735,7735],"valid"],[[7736,7736],"mapped",[7737]],[[7737,7737],"valid"],[[7738,7738],"mapped",[7739]],[[7739,7739],"valid"],[[7740,7740],"mapped",[7741]],[[7741,7741],"valid"],[[7742,7742],"mapped",[7743]],[[7743,7743],"valid"],[[7744,7744],"mapped",[7745]],[[7745,7745],"valid"],[[7746,7746],"mapped",[7747]],[[7747,7747],"valid"],[[7748,7748],"mapped",[7749]],[[7749,7749],"valid"],[[7750,7750],"mapped",[7751]],[[7751,7751],"valid"],[[7752,7752],"mapped",[7753]],[[7753,7753],"valid"],[[7754,7754],"mapped",[7755]],[[7755,7755],"valid"],[[7756,7756],"mapped",[7757]],[[7757,7757],"valid"],[[7758,7758],"mapped",[7759]],[[7759,7759],"valid"],[[7760,7760],"mapped",[7761]],[[7761,7761],"valid"],[[7762,7762],"mapped",[7763]],[[7763,7763],"valid"],[[7764,7764],"mapped",[7765]],[[7765,7765],"valid"],[[7766,7766],"mapped",[7767]],[[7767,7767],"valid"],[[7768,7768],"mapped",[7769]],[[7769,7769],"valid"],[[7770,7770],"mapped",[7771]],[[7771,7771],"valid"],[[7772,7772],"mapped",[7773]],[[7773,7773],"valid"],[[7774,7774],"mapped",[7775]],[[7775,7775],"valid"],[[7776,7776],"mapped",[7777]],[[7777,7777],"valid"],[[7778,7778],"mapped",[7779]],[[7779,7779],"valid"],[[7780,7780],"mapped",[7781]],[[7781,7781],"valid"],[[7782,7782],"mapped",[7783]],[[7783,7783],"valid"],[[7784,7784],"mapped",[7785]],[[7785,7785],"valid"],[[7786,7786],"mapped",[7787]],[[7787,7787],"valid"],[[7788,7788],"mapped",[7789]],[[7789,7789],"valid"],[[7790,7790],"mapped",[7791]],[[7791,7791],"valid"],[[7792,7792],"mapped",[7793]],[[7793,7793],"valid"],[[7794,7794],"mapped",[7795]],[[7795,7795],"valid"],[[7796,7796],"mapped",[7797]],[[7797,7797],"valid"],[[7798,7798],"mapped",[7799]],[[7799,7799],"valid"],[[7800,7800],"mapped",[7801]],[[7801,7801],"valid"],[[7802,7802],"mapped",[7803]],[[7803,7803],"valid"],[[7804,7804],"mapped",[7805]],[[7805,7805],"valid"],[[7806,7806],"mapped",[7807]],[[7807,7807],"valid"],[[7808,7808],"mapped",[7809]],[[7809,7809],"valid"],[[7810,7810],"mapped",[7811]],[[7811,7811],"valid"],[[7812,7812],"mapped",[7813]],[[7813,7813],"valid"],[[7814,7814],"mapped",[7815]],[[7815,7815],"valid"],[[7816,7816],"mapped",[7817]],[[7817,7817],"valid"],[[7818,7818],"mapped",[7819]],[[7819,7819],"valid"],[[7820,7820],"mapped",[7821]],[[7821,7821],"valid"],[[7822,7822],"mapped",[7823]],[[7823,7823],"valid"],[[7824,7824],"mapped",[7825]],[[7825,7825],"valid"],[[7826,7826],"mapped",[7827]],[[7827,7827],"valid"],[[7828,7828],"mapped",[7829]],[[7829,7833],"valid"],[[7834,7834],"mapped",[97,702]],[[7835,7835],"mapped",[7777]],[[7836,7837],"valid"],[[7838,7838],"mapped",[115,115]],[[7839,7839],"valid"],[[7840,7840],"mapped",[7841]],[[7841,7841],"valid"],[[7842,7842],"mapped",[7843]],[[7843,7843],"valid"],[[7844,7844],"mapped",[7845]],[[7845,7845],"valid"],[[7846,7846],"mapped",[7847]],[[7847,7847],"valid"],[[7848,7848],"mapped",[7849]],[[7849,7849],"valid"],[[7850,7850],"mapped",[7851]],[[7851,7851],"valid"],[[7852,7852],"mapped",[7853]],[[7853,7853],"valid"],[[7854,7854],"mapped",[7855]],[[7855,7855],"valid"],[[7856,7856],"mapped",[7857]],[[7857,7857],"valid"],[[7858,7858],"mapped",[7859]],[[7859,7859],"valid"],[[7860,7860],"mapped",[7861]],[[7861,7861],"valid"],[[7862,7862],"mapped",[7863]],[[7863,7863],"valid"],[[7864,7864],"mapped",[7865]],[[7865,7865],"valid"],[[7866,7866],"mapped",[7867]],[[7867,7867],"valid"],[[7868,7868],"mapped",[7869]],[[7869,7869],"valid"],[[7870,7870],"mapped",[7871]],[[7871,7871],"valid"],[[7872,7872],"mapped",[7873]],[[7873,7873],"valid"],[[7874,7874],"mapped",[7875]],[[7875,7875],"valid"],[[7876,7876],"mapped",[7877]],[[7877,7877],"valid"],[[7878,7878],"mapped",[7879]],[[7879,7879],"valid"],[[7880,7880],"mapped",[7881]],[[7881,7881],"valid"],[[7882,7882],"mapped",[7883]],[[7883,7883],"valid"],[[7884,7884],"mapped",[7885]],[[7885,7885],"valid"],[[7886,7886],"mapped",[7887]],[[7887,7887],"valid"],[[7888,7888],"mapped",[7889]],[[7889,7889],"valid"],[[7890,7890],"mapped",[7891]],[[7891,7891],"valid"],[[7892,7892],"mapped",[7893]],[[7893,7893],"valid"],[[7894,7894],"mapped",[7895]],[[7895,7895],"valid"],[[7896,7896],"mapped",[7897]],[[7897,7897],"valid"],[[7898,7898],"mapped",[7899]],[[7899,7899],"valid"],[[7900,7900],"mapped",[7901]],[[7901,7901],"valid"],[[7902,7902],"mapped",[7903]],[[7903,7903],"valid"],[[7904,7904],"mapped",[7905]],[[7905,7905],"valid"],[[7906,7906],"mapped",[7907]],[[7907,7907],"valid"],[[7908,7908],"mapped",[7909]],[[7909,7909],"valid"],[[7910,7910],"mapped",[7911]],[[7911,7911],"valid"],[[7912,7912],"mapped",[7913]],[[7913,7913],"valid"],[[7914,7914],"mapped",[7915]],[[7915,7915],"valid"],[[7916,7916],"mapped",[7917]],[[7917,7917],"valid"],[[7918,7918],"mapped",[7919]],[[7919,7919],"valid"],[[7920,7920],"mapped",[7921]],[[7921,7921],"valid"],[[7922,7922],"mapped",[7923]],[[7923,7923],"valid"],[[7924,7924],"mapped",[7925]],[[7925,7925],"valid"],[[7926,7926],"mapped",[7927]],[[7927,7927],"valid"],[[7928,7928],"mapped",[7929]],[[7929,7929],"valid"],[[7930,7930],"mapped",[7931]],[[7931,7931],"valid"],[[7932,7932],"mapped",[7933]],[[7933,7933],"valid"],[[7934,7934],"mapped",[7935]],[[7935,7935],"valid"],[[7936,7943],"valid"],[[7944,7944],"mapped",[7936]],[[7945,7945],"mapped",[7937]],[[7946,7946],"mapped",[7938]],[[7947,7947],"mapped",[7939]],[[7948,7948],"mapped",[7940]],[[7949,7949],"mapped",[7941]],[[7950,7950],"mapped",[7942]],[[7951,7951],"mapped",[7943]],[[7952,7957],"valid"],[[7958,7959],"disallowed"],[[7960,7960],"mapped",[7952]],[[7961,7961],"mapped",[7953]],[[7962,7962],"mapped",[7954]],[[7963,7963],"mapped",[7955]],[[7964,7964],"mapped",[7956]],[[7965,7965],"mapped",[7957]],[[7966,7967],"disallowed"],[[7968,7975],"valid"],[[7976,7976],"mapped",[7968]],[[7977,7977],"mapped",[7969]],[[7978,7978],"mapped",[7970]],[[7979,7979],"mapped",[7971]],[[7980,7980],"mapped",[7972]],[[7981,7981],"mapped",[7973]],[[7982,7982],"mapped",[7974]],[[7983,7983],"mapped",[7975]],[[7984,7991],"valid"],[[7992,7992],"mapped",[7984]],[[7993,7993],"mapped",[7985]],[[7994,7994],"mapped",[7986]],[[7995,7995],"mapped",[7987]],[[7996,7996],"mapped",[7988]],[[7997,7997],"mapped",[7989]],[[7998,7998],"mapped",[7990]],[[7999,7999],"mapped",[7991]],[[8000,8005],"valid"],[[8006,8007],"disallowed"],[[8008,8008],"mapped",[8000]],[[8009,8009],"mapped",[8001]],[[8010,8010],"mapped",[8002]],[[8011,8011],"mapped",[8003]],[[8012,8012],"mapped",[8004]],[[8013,8013],"mapped",[8005]],[[8014,8015],"disallowed"],[[8016,8023],"valid"],[[8024,8024],"disallowed"],[[8025,8025],"mapped",[8017]],[[8026,8026],"disallowed"],[[8027,8027],"mapped",[8019]],[[8028,8028],"disallowed"],[[8029,8029],"mapped",[8021]],[[8030,8030],"disallowed"],[[8031,8031],"mapped",[8023]],[[8032,8039],"valid"],[[8040,8040],"mapped",[8032]],[[8041,8041],"mapped",[8033]],[[8042,8042],"mapped",[8034]],[[8043,8043],"mapped",[8035]],[[8044,8044],"mapped",[8036]],[[8045,8045],"mapped",[8037]],[[8046,8046],"mapped",[8038]],[[8047,8047],"mapped",[8039]],[[8048,8048],"valid"],[[8049,8049],"mapped",[940]],[[8050,8050],"valid"],[[8051,8051],"mapped",[941]],[[8052,8052],"valid"],[[8053,8053],"mapped",[942]],[[8054,8054],"valid"],[[8055,8055],"mapped",[943]],[[8056,8056],"valid"],[[8057,8057],"mapped",[972]],[[8058,8058],"valid"],[[8059,8059],"mapped",[973]],[[8060,8060],"valid"],[[8061,8061],"mapped",[974]],[[8062,8063],"disallowed"],[[8064,8064],"mapped",[7936,953]],[[8065,8065],"mapped",[7937,953]],[[8066,8066],"mapped",[7938,953]],[[8067,8067],"mapped",[7939,953]],[[8068,8068],"mapped",[7940,953]],[[8069,8069],"mapped",[7941,953]],[[8070,8070],"mapped",[7942,953]],[[8071,8071],"mapped",[7943,953]],[[8072,8072],"mapped",[7936,953]],[[8073,8073],"mapped",[7937,953]],[[8074,8074],"mapped",[7938,953]],[[8075,8075],"mapped",[7939,953]],[[8076,8076],"mapped",[7940,953]],[[8077,8077],"mapped",[7941,953]],[[8078,8078],"mapped",[7942,953]],[[8079,8079],"mapped",[7943,953]],[[8080,8080],"mapped",[7968,953]],[[8081,8081],"mapped",[7969,953]],[[8082,8082],"mapped",[7970,953]],[[8083,8083],"mapped",[7971,953]],[[8084,8084],"mapped",[7972,953]],[[8085,8085],"mapped",[7973,953]],[[8086,8086],"mapped",[7974,953]],[[8087,8087],"mapped",[7975,953]],[[8088,8088],"mapped",[7968,953]],[[8089,8089],"mapped",[7969,953]],[[8090,8090],"mapped",[7970,953]],[[8091,8091],"mapped",[7971,953]],[[8092,8092],"mapped",[7972,953]],[[8093,8093],"mapped",[7973,953]],[[8094,8094],"mapped",[7974,953]],[[8095,8095],"mapped",[7975,953]],[[8096,8096],"mapped",[8032,953]],[[8097,8097],"mapped",[8033,953]],[[8098,8098],"mapped",[8034,953]],[[8099,8099],"mapped",[8035,953]],[[8100,8100],"mapped",[8036,953]],[[8101,8101],"mapped",[8037,953]],[[8102,8102],"mapped",[8038,953]],[[8103,8103],"mapped",[8039,953]],[[8104,8104],"mapped",[8032,953]],[[8105,8105],"mapped",[8033,953]],[[8106,8106],"mapped",[8034,953]],[[8107,8107],"mapped",[8035,953]],[[8108,8108],"mapped",[8036,953]],[[8109,8109],"mapped",[8037,953]],[[8110,8110],"mapped",[8038,953]],[[8111,8111],"mapped",[8039,953]],[[8112,8113],"valid"],[[8114,8114],"mapped",[8048,953]],[[8115,8115],"mapped",[945,953]],[[8116,8116],"mapped",[940,953]],[[8117,8117],"disallowed"],[[8118,8118],"valid"],[[8119,8119],"mapped",[8118,953]],[[8120,8120],"mapped",[8112]],[[8121,8121],"mapped",[8113]],[[8122,8122],"mapped",[8048]],[[8123,8123],"mapped",[940]],[[8124,8124],"mapped",[945,953]],[[8125,8125],"disallowed_STD3_mapped",[32,787]],[[8126,8126],"mapped",[953]],[[8127,8127],"disallowed_STD3_mapped",[32,787]],[[8128,8128],"disallowed_STD3_mapped",[32,834]],[[8129,8129],"disallowed_STD3_mapped",[32,776,834]],[[8130,8130],"mapped",[8052,953]],[[8131,8131],"mapped",[951,953]],[[8132,8132],"mapped",[942,953]],[[8133,8133],"disallowed"],[[8134,8134],"valid"],[[8135,8135],"mapped",[8134,953]],[[8136,8136],"mapped",[8050]],[[8137,8137],"mapped",[941]],[[8138,8138],"mapped",[8052]],[[8139,8139],"mapped",[942]],[[8140,8140],"mapped",[951,953]],[[8141,8141],"disallowed_STD3_mapped",[32,787,768]],[[8142,8142],"disallowed_STD3_mapped",[32,787,769]],[[8143,8143],"disallowed_STD3_mapped",[32,787,834]],[[8144,8146],"valid"],[[8147,8147],"mapped",[912]],[[8148,8149],"disallowed"],[[8150,8151],"valid"],[[8152,8152],"mapped",[8144]],[[8153,8153],"mapped",[8145]],[[8154,8154],"mapped",[8054]],[[8155,8155],"mapped",[943]],[[8156,8156],"disallowed"],[[8157,8157],"disallowed_STD3_mapped",[32,788,768]],[[8158,8158],"disallowed_STD3_mapped",[32,788,769]],[[8159,8159],"disallowed_STD3_mapped",[32,788,834]],[[8160,8162],"valid"],[[8163,8163],"mapped",[944]],[[8164,8167],"valid"],[[8168,8168],"mapped",[8160]],[[8169,8169],"mapped",[8161]],[[8170,8170],"mapped",[8058]],[[8171,8171],"mapped",[973]],[[8172,8172],"mapped",[8165]],[[8173,8173],"disallowed_STD3_mapped",[32,776,768]],[[8174,8174],"disallowed_STD3_mapped",[32,776,769]],[[8175,8175],"disallowed_STD3_mapped",[96]],[[8176,8177],"disallowed"],[[8178,8178],"mapped",[8060,953]],[[8179,8179],"mapped",[969,953]],[[8180,8180],"mapped",[974,953]],[[8181,8181],"disallowed"],[[8182,8182],"valid"],[[8183,8183],"mapped",[8182,953]],[[8184,8184],"mapped",[8056]],[[8185,8185],"mapped",[972]],[[8186,8186],"mapped",[8060]],[[8187,8187],"mapped",[974]],[[8188,8188],"mapped",[969,953]],[[8189,8189],"disallowed_STD3_mapped",[32,769]],[[8190,8190],"disallowed_STD3_mapped",[32,788]],[[8191,8191],"disallowed"],[[8192,8202],"disallowed_STD3_mapped",[32]],[[8203,8203],"ignored"],[[8204,8205],"deviation",[]],[[8206,8207],"disallowed"],[[8208,8208],"valid",[],"NV8"],[[8209,8209],"mapped",[8208]],[[8210,8214],"valid",[],"NV8"],[[8215,8215],"disallowed_STD3_mapped",[32,819]],[[8216,8227],"valid",[],"NV8"],[[8228,8230],"disallowed"],[[8231,8231],"valid",[],"NV8"],[[8232,8238],"disallowed"],[[8239,8239],"disallowed_STD3_mapped",[32]],[[8240,8242],"valid",[],"NV8"],[[8243,8243],"mapped",[8242,8242]],[[8244,8244],"mapped",[8242,8242,8242]],[[8245,8245],"valid",[],"NV8"],[[8246,8246],"mapped",[8245,8245]],[[8247,8247],"mapped",[8245,8245,8245]],[[8248,8251],"valid",[],"NV8"],[[8252,8252],"disallowed_STD3_mapped",[33,33]],[[8253,8253],"valid",[],"NV8"],[[8254,8254],"disallowed_STD3_mapped",[32,773]],[[8255,8262],"valid",[],"NV8"],[[8263,8263],"disallowed_STD3_mapped",[63,63]],[[8264,8264],"disallowed_STD3_mapped",[63,33]],[[8265,8265],"disallowed_STD3_mapped",[33,63]],[[8266,8269],"valid",[],"NV8"],[[8270,8274],"valid",[],"NV8"],[[8275,8276],"valid",[],"NV8"],[[8277,8278],"valid",[],"NV8"],[[8279,8279],"mapped",[8242,8242,8242,8242]],[[8280,8286],"valid",[],"NV8"],[[8287,8287],"disallowed_STD3_mapped",[32]],[[8288,8288],"ignored"],[[8289,8291],"disallowed"],[[8292,8292],"ignored"],[[8293,8293],"disallowed"],[[8294,8297],"disallowed"],[[8298,8303],"disallowed"],[[8304,8304],"mapped",[48]],[[8305,8305],"mapped",[105]],[[8306,8307],"disallowed"],[[8308,8308],"mapped",[52]],[[8309,8309],"mapped",[53]],[[8310,8310],"mapped",[54]],[[8311,8311],"mapped",[55]],[[8312,8312],"mapped",[56]],[[8313,8313],"mapped",[57]],[[8314,8314],"disallowed_STD3_mapped",[43]],[[8315,8315],"mapped",[8722]],[[8316,8316],"disallowed_STD3_mapped",[61]],[[8317,8317],"disallowed_STD3_mapped",[40]],[[8318,8318],"disallowed_STD3_mapped",[41]],[[8319,8319],"mapped",[110]],[[8320,8320],"mapped",[48]],[[8321,8321],"mapped",[49]],[[8322,8322],"mapped",[50]],[[8323,8323],"mapped",[51]],[[8324,8324],"mapped",[52]],[[8325,8325],"mapped",[53]],[[8326,8326],"mapped",[54]],[[8327,8327],"mapped",[55]],[[8328,8328],"mapped",[56]],[[8329,8329],"mapped",[57]],[[8330,8330],"disallowed_STD3_mapped",[43]],[[8331,8331],"mapped",[8722]],[[8332,8332],"disallowed_STD3_mapped",[61]],[[8333,8333],"disallowed_STD3_mapped",[40]],[[8334,8334],"disallowed_STD3_mapped",[41]],[[8335,8335],"disallowed"],[[8336,8336],"mapped",[97]],[[8337,8337],"mapped",[101]],[[8338,8338],"mapped",[111]],[[8339,8339],"mapped",[120]],[[8340,8340],"mapped",[601]],[[8341,8341],"mapped",[104]],[[8342,8342],"mapped",[107]],[[8343,8343],"mapped",[108]],[[8344,8344],"mapped",[109]],[[8345,8345],"mapped",[110]],[[8346,8346],"mapped",[112]],[[8347,8347],"mapped",[115]],[[8348,8348],"mapped",[116]],[[8349,8351],"disallowed"],[[8352,8359],"valid",[],"NV8"],[[8360,8360],"mapped",[114,115]],[[8361,8362],"valid",[],"NV8"],[[8363,8363],"valid",[],"NV8"],[[8364,8364],"valid",[],"NV8"],[[8365,8367],"valid",[],"NV8"],[[8368,8369],"valid",[],"NV8"],[[8370,8373],"valid",[],"NV8"],[[8374,8376],"valid",[],"NV8"],[[8377,8377],"valid",[],"NV8"],[[8378,8378],"valid",[],"NV8"],[[8379,8381],"valid",[],"NV8"],[[8382,8382],"valid",[],"NV8"],[[8383,8399],"disallowed"],[[8400,8417],"valid",[],"NV8"],[[8418,8419],"valid",[],"NV8"],[[8420,8426],"valid",[],"NV8"],[[8427,8427],"valid",[],"NV8"],[[8428,8431],"valid",[],"NV8"],[[8432,8432],"valid",[],"NV8"],[[8433,8447],"disallowed"],[[8448,8448],"disallowed_STD3_mapped",[97,47,99]],[[8449,8449],"disallowed_STD3_mapped",[97,47,115]],[[8450,8450],"mapped",[99]],[[8451,8451],"mapped",[176,99]],[[8452,8452],"valid",[],"NV8"],[[8453,8453],"disallowed_STD3_mapped",[99,47,111]],[[8454,8454],"disallowed_STD3_mapped",[99,47,117]],[[8455,8455],"mapped",[603]],[[8456,8456],"valid",[],"NV8"],[[8457,8457],"mapped",[176,102]],[[8458,8458],"mapped",[103]],[[8459,8462],"mapped",[104]],[[8463,8463],"mapped",[295]],[[8464,8465],"mapped",[105]],[[8466,8467],"mapped",[108]],[[8468,8468],"valid",[],"NV8"],[[8469,8469],"mapped",[110]],[[8470,8470],"mapped",[110,111]],[[8471,8472],"valid",[],"NV8"],[[8473,8473],"mapped",[112]],[[8474,8474],"mapped",[113]],[[8475,8477],"mapped",[114]],[[8478,8479],"valid",[],"NV8"],[[8480,8480],"mapped",[115,109]],[[8481,8481],"mapped",[116,101,108]],[[8482,8482],"mapped",[116,109]],[[8483,8483],"valid",[],"NV8"],[[8484,8484],"mapped",[122]],[[8485,8485],"valid",[],"NV8"],[[8486,8486],"mapped",[969]],[[8487,8487],"valid",[],"NV8"],[[8488,8488],"mapped",[122]],[[8489,8489],"valid",[],"NV8"],[[8490,8490],"mapped",[107]],[[8491,8491],"mapped",[229]],[[8492,8492],"mapped",[98]],[[8493,8493],"mapped",[99]],[[8494,8494],"valid",[],"NV8"],[[8495,8496],"mapped",[101]],[[8497,8497],"mapped",[102]],[[8498,8498],"disallowed"],[[8499,8499],"mapped",[109]],[[8500,8500],"mapped",[111]],[[8501,8501],"mapped",[1488]],[[8502,8502],"mapped",[1489]],[[8503,8503],"mapped",[1490]],[[8504,8504],"mapped",[1491]],[[8505,8505],"mapped",[105]],[[8506,8506],"valid",[],"NV8"],[[8507,8507],"mapped",[102,97,120]],[[8508,8508],"mapped",[960]],[[8509,8510],"mapped",[947]],[[8511,8511],"mapped",[960]],[[8512,8512],"mapped",[8721]],[[8513,8516],"valid",[],"NV8"],[[8517,8518],"mapped",[100]],[[8519,8519],"mapped",[101]],[[8520,8520],"mapped",[105]],[[8521,8521],"mapped",[106]],[[8522,8523],"valid",[],"NV8"],[[8524,8524],"valid",[],"NV8"],[[8525,8525],"valid",[],"NV8"],[[8526,8526],"valid"],[[8527,8527],"valid",[],"NV8"],[[8528,8528],"mapped",[49,8260,55]],[[8529,8529],"mapped",[49,8260,57]],[[8530,8530],"mapped",[49,8260,49,48]],[[8531,8531],"mapped",[49,8260,51]],[[8532,8532],"mapped",[50,8260,51]],[[8533,8533],"mapped",[49,8260,53]],[[8534,8534],"mapped",[50,8260,53]],[[8535,8535],"mapped",[51,8260,53]],[[8536,8536],"mapped",[52,8260,53]],[[8537,8537],"mapped",[49,8260,54]],[[8538,8538],"mapped",[53,8260,54]],[[8539,8539],"mapped",[49,8260,56]],[[8540,8540],"mapped",[51,8260,56]],[[8541,8541],"mapped",[53,8260,56]],[[8542,8542],"mapped",[55,8260,56]],[[8543,8543],"mapped",[49,8260]],[[8544,8544],"mapped",[105]],[[8545,8545],"mapped",[105,105]],[[8546,8546],"mapped",[105,105,105]],[[8547,8547],"mapped",[105,118]],[[8548,8548],"mapped",[118]],[[8549,8549],"mapped",[118,105]],[[8550,8550],"mapped",[118,105,105]],[[8551,8551],"mapped",[118,105,105,105]],[[8552,8552],"mapped",[105,120]],[[8553,8553],"mapped",[120]],[[8554,8554],"mapped",[120,105]],[[8555,8555],"mapped",[120,105,105]],[[8556,8556],"mapped",[108]],[[8557,8557],"mapped",[99]],[[8558,8558],"mapped",[100]],[[8559,8559],"mapped",[109]],[[8560,8560],"mapped",[105]],[[8561,8561],"mapped",[105,105]],[[8562,8562],"mapped",[105,105,105]],[[8563,8563],"mapped",[105,118]],[[8564,8564],"mapped",[118]],[[8565,8565],"mapped",[118,105]],[[8566,8566],"mapped",[118,105,105]],[[8567,8567],"mapped",[118,105,105,105]],[[8568,8568],"mapped",[105,120]],[[8569,8569],"mapped",[120]],[[8570,8570],"mapped",[120,105]],[[8571,8571],"mapped",[120,105,105]],[[8572,8572],"mapped",[108]],[[8573,8573],"mapped",[99]],[[8574,8574],"mapped",[100]],[[8575,8575],"mapped",[109]],[[8576,8578],"valid",[],"NV8"],[[8579,8579],"disallowed"],[[8580,8580],"valid"],[[8581,8584],"valid",[],"NV8"],[[8585,8585],"mapped",[48,8260,51]],[[8586,8587],"valid",[],"NV8"],[[8588,8591],"disallowed"],[[8592,8682],"valid",[],"NV8"],[[8683,8691],"valid",[],"NV8"],[[8692,8703],"valid",[],"NV8"],[[8704,8747],"valid",[],"NV8"],[[8748,8748],"mapped",[8747,8747]],[[8749,8749],"mapped",[8747,8747,8747]],[[8750,8750],"valid",[],"NV8"],[[8751,8751],"mapped",[8750,8750]],[[8752,8752],"mapped",[8750,8750,8750]],[[8753,8799],"valid",[],"NV8"],[[8800,8800],"disallowed_STD3_valid"],[[8801,8813],"valid",[],"NV8"],[[8814,8815],"disallowed_STD3_valid"],[[8816,8945],"valid",[],"NV8"],[[8946,8959],"valid",[],"NV8"],[[8960,8960],"valid",[],"NV8"],[[8961,8961],"valid",[],"NV8"],[[8962,9000],"valid",[],"NV8"],[[9001,9001],"mapped",[12296]],[[9002,9002],"mapped",[12297]],[[9003,9082],"valid",[],"NV8"],[[9083,9083],"valid",[],"NV8"],[[9084,9084],"valid",[],"NV8"],[[9085,9114],"valid",[],"NV8"],[[9115,9166],"valid",[],"NV8"],[[9167,9168],"valid",[],"NV8"],[[9169,9179],"valid",[],"NV8"],[[9180,9191],"valid",[],"NV8"],[[9192,9192],"valid",[],"NV8"],[[9193,9203],"valid",[],"NV8"],[[9204,9210],"valid",[],"NV8"],[[9211,9215],"disallowed"],[[9216,9252],"valid",[],"NV8"],[[9253,9254],"valid",[],"NV8"],[[9255,9279],"disallowed"],[[9280,9290],"valid",[],"NV8"],[[9291,9311],"disallowed"],[[9312,9312],"mapped",[49]],[[9313,9313],"mapped",[50]],[[9314,9314],"mapped",[51]],[[9315,9315],"mapped",[52]],[[9316,9316],"mapped",[53]],[[9317,9317],"mapped",[54]],[[9318,9318],"mapped",[55]],[[9319,9319],"mapped",[56]],[[9320,9320],"mapped",[57]],[[9321,9321],"mapped",[49,48]],[[9322,9322],"mapped",[49,49]],[[9323,9323],"mapped",[49,50]],[[9324,9324],"mapped",[49,51]],[[9325,9325],"mapped",[49,52]],[[9326,9326],"mapped",[49,53]],[[9327,9327],"mapped",[49,54]],[[9328,9328],"mapped",[49,55]],[[9329,9329],"mapped",[49,56]],[[9330,9330],"mapped",[49,57]],[[9331,9331],"mapped",[50,48]],[[9332,9332],"disallowed_STD3_mapped",[40,49,41]],[[9333,9333],"disallowed_STD3_mapped",[40,50,41]],[[9334,9334],"disallowed_STD3_mapped",[40,51,41]],[[9335,9335],"disallowed_STD3_mapped",[40,52,41]],[[9336,9336],"disallowed_STD3_mapped",[40,53,41]],[[9337,9337],"disallowed_STD3_mapped",[40,54,41]],[[9338,9338],"disallowed_STD3_mapped",[40,55,41]],[[9339,9339],"disallowed_STD3_mapped",[40,56,41]],[[9340,9340],"disallowed_STD3_mapped",[40,57,41]],[[9341,9341],"disallowed_STD3_mapped",[40,49,48,41]],[[9342,9342],"disallowed_STD3_mapped",[40,49,49,41]],[[9343,9343],"disallowed_STD3_mapped",[40,49,50,41]],[[9344,9344],"disallowed_STD3_mapped",[40,49,51,41]],[[9345,9345],"disallowed_STD3_mapped",[40,49,52,41]],[[9346,9346],"disallowed_STD3_mapped",[40,49,53,41]],[[9347,9347],"disallowed_STD3_mapped",[40,49,54,41]],[[9348,9348],"disallowed_STD3_mapped",[40,49,55,41]],[[9349,9349],"disallowed_STD3_mapped",[40,49,56,41]],[[9350,9350],"disallowed_STD3_mapped",[40,49,57,41]],[[9351,9351],"disallowed_STD3_mapped",[40,50,48,41]],[[9352,9371],"disallowed"],[[9372,9372],"disallowed_STD3_mapped",[40,97,41]],[[9373,9373],"disallowed_STD3_mapped",[40,98,41]],[[9374,9374],"disallowed_STD3_mapped",[40,99,41]],[[9375,9375],"disallowed_STD3_mapped",[40,100,41]],[[9376,9376],"disallowed_STD3_mapped",[40,101,41]],[[9377,9377],"disallowed_STD3_mapped",[40,102,41]],[[9378,9378],"disallowed_STD3_mapped",[40,103,41]],[[9379,9379],"disallowed_STD3_mapped",[40,104,41]],[[9380,9380],"disallowed_STD3_mapped",[40,105,41]],[[9381,9381],"disallowed_STD3_mapped",[40,106,41]],[[9382,9382],"disallowed_STD3_mapped",[40,107,41]],[[9383,9383],"disallowed_STD3_mapped",[40,108,41]],[[9384,9384],"disallowed_STD3_mapped",[40,109,41]],[[9385,9385],"disallowed_STD3_mapped",[40,110,41]],[[9386,9386],"disallowed_STD3_mapped",[40,111,41]],[[9387,9387],"disallowed_STD3_mapped",[40,112,41]],[[9388,9388],"disallowed_STD3_mapped",[40,113,41]],[[9389,9389],"disallowed_STD3_mapped",[40,114,41]],[[9390,9390],"disallowed_STD3_mapped",[40,115,41]],[[9391,9391],"disallowed_STD3_mapped",[40,116,41]],[[9392,9392],"disallowed_STD3_mapped",[40,117,41]],[[9393,9393],"disallowed_STD3_mapped",[40,118,41]],[[9394,9394],"disallowed_STD3_mapped",[40,119,41]],[[9395,9395],"disallowed_STD3_mapped",[40,120,41]],[[9396,9396],"disallowed_STD3_mapped",[40,121,41]],[[9397,9397],"disallowed_STD3_mapped",[40,122,41]],[[9398,9398],"mapped",[97]],[[9399,9399],"mapped",[98]],[[9400,9400],"mapped",[99]],[[9401,9401],"mapped",[100]],[[9402,9402],"mapped",[101]],[[9403,9403],"mapped",[102]],[[9404,9404],"mapped",[103]],[[9405,9405],"mapped",[104]],[[9406,9406],"mapped",[105]],[[9407,9407],"mapped",[106]],[[9408,9408],"mapped",[107]],[[9409,9409],"mapped",[108]],[[9410,9410],"mapped",[109]],[[9411,9411],"mapped",[110]],[[9412,9412],"mapped",[111]],[[9413,9413],"mapped",[112]],[[9414,9414],"mapped",[113]],[[9415,9415],"mapped",[114]],[[9416,9416],"mapped",[115]],[[9417,9417],"mapped",[116]],[[9418,9418],"mapped",[117]],[[9419,9419],"mapped",[118]],[[9420,9420],"mapped",[119]],[[9421,9421],"mapped",[120]],[[9422,9422],"mapped",[121]],[[9423,9423],"mapped",[122]],[[9424,9424],"mapped",[97]],[[9425,9425],"mapped",[98]],[[9426,9426],"mapped",[99]],[[9427,9427],"mapped",[100]],[[9428,9428],"mapped",[101]],[[9429,9429],"mapped",[102]],[[9430,9430],"mapped",[103]],[[9431,9431],"mapped",[104]],[[9432,9432],"mapped",[105]],[[9433,9433],"mapped",[106]],[[9434,9434],"mapped",[107]],[[9435,9435],"mapped",[108]],[[9436,9436],"mapped",[109]],[[9437,9437],"mapped",[110]],[[9438,9438],"mapped",[111]],[[9439,9439],"mapped",[112]],[[9440,9440],"mapped",[113]],[[9441,9441],"mapped",[114]],[[9442,9442],"mapped",[115]],[[9443,9443],"mapped",[116]],[[9444,9444],"mapped",[117]],[[9445,9445],"mapped",[118]],[[9446,9446],"mapped",[119]],[[9447,9447],"mapped",[120]],[[9448,9448],"mapped",[121]],[[9449,9449],"mapped",[122]],[[9450,9450],"mapped",[48]],[[9451,9470],"valid",[],"NV8"],[[9471,9471],"valid",[],"NV8"],[[9472,9621],"valid",[],"NV8"],[[9622,9631],"valid",[],"NV8"],[[9632,9711],"valid",[],"NV8"],[[9712,9719],"valid",[],"NV8"],[[9720,9727],"valid",[],"NV8"],[[9728,9747],"valid",[],"NV8"],[[9748,9749],"valid",[],"NV8"],[[9750,9751],"valid",[],"NV8"],[[9752,9752],"valid",[],"NV8"],[[9753,9753],"valid",[],"NV8"],[[9754,9839],"valid",[],"NV8"],[[9840,9841],"valid",[],"NV8"],[[9842,9853],"valid",[],"NV8"],[[9854,9855],"valid",[],"NV8"],[[9856,9865],"valid",[],"NV8"],[[9866,9873],"valid",[],"NV8"],[[9874,9884],"valid",[],"NV8"],[[9885,9885],"valid",[],"NV8"],[[9886,9887],"valid",[],"NV8"],[[9888,9889],"valid",[],"NV8"],[[9890,9905],"valid",[],"NV8"],[[9906,9906],"valid",[],"NV8"],[[9907,9916],"valid",[],"NV8"],[[9917,9919],"valid",[],"NV8"],[[9920,9923],"valid",[],"NV8"],[[9924,9933],"valid",[],"NV8"],[[9934,9934],"valid",[],"NV8"],[[9935,9953],"valid",[],"NV8"],[[9954,9954],"valid",[],"NV8"],[[9955,9955],"valid",[],"NV8"],[[9956,9959],"valid",[],"NV8"],[[9960,9983],"valid",[],"NV8"],[[9984,9984],"valid",[],"NV8"],[[9985,9988],"valid",[],"NV8"],[[9989,9989],"valid",[],"NV8"],[[9990,9993],"valid",[],"NV8"],[[9994,9995],"valid",[],"NV8"],[[9996,10023],"valid",[],"NV8"],[[10024,10024],"valid",[],"NV8"],[[10025,10059],"valid",[],"NV8"],[[10060,10060],"valid",[],"NV8"],[[10061,10061],"valid",[],"NV8"],[[10062,10062],"valid",[],"NV8"],[[10063,10066],"valid",[],"NV8"],[[10067,10069],"valid",[],"NV8"],[[10070,10070],"valid",[],"NV8"],[[10071,10071],"valid",[],"NV8"],[[10072,10078],"valid",[],"NV8"],[[10079,10080],"valid",[],"NV8"],[[10081,10087],"valid",[],"NV8"],[[10088,10101],"valid",[],"NV8"],[[10102,10132],"valid",[],"NV8"],[[10133,10135],"valid",[],"NV8"],[[10136,10159],"valid",[],"NV8"],[[10160,10160],"valid",[],"NV8"],[[10161,10174],"valid",[],"NV8"],[[10175,10175],"valid",[],"NV8"],[[10176,10182],"valid",[],"NV8"],[[10183,10186],"valid",[],"NV8"],[[10187,10187],"valid",[],"NV8"],[[10188,10188],"valid",[],"NV8"],[[10189,10189],"valid",[],"NV8"],[[10190,10191],"valid",[],"NV8"],[[10192,10219],"valid",[],"NV8"],[[10220,10223],"valid",[],"NV8"],[[10224,10239],"valid",[],"NV8"],[[10240,10495],"valid",[],"NV8"],[[10496,10763],"valid",[],"NV8"],[[10764,10764],"mapped",[8747,8747,8747,8747]],[[10765,10867],"valid",[],"NV8"],[[10868,10868],"disallowed_STD3_mapped",[58,58,61]],[[10869,10869],"disallowed_STD3_mapped",[61,61]],[[10870,10870],"disallowed_STD3_mapped",[61,61,61]],[[10871,10971],"valid",[],"NV8"],[[10972,10972],"mapped",[10973,824]],[[10973,11007],"valid",[],"NV8"],[[11008,11021],"valid",[],"NV8"],[[11022,11027],"valid",[],"NV8"],[[11028,11034],"valid",[],"NV8"],[[11035,11039],"valid",[],"NV8"],[[11040,11043],"valid",[],"NV8"],[[11044,11084],"valid",[],"NV8"],[[11085,11087],"valid",[],"NV8"],[[11088,11092],"valid",[],"NV8"],[[11093,11097],"valid",[],"NV8"],[[11098,11123],"valid",[],"NV8"],[[11124,11125],"disallowed"],[[11126,11157],"valid",[],"NV8"],[[11158,11159],"disallowed"],[[11160,11193],"valid",[],"NV8"],[[11194,11196],"disallowed"],[[11197,11208],"valid",[],"NV8"],[[11209,11209],"disallowed"],[[11210,11217],"valid",[],"NV8"],[[11218,11243],"disallowed"],[[11244,11247],"valid",[],"NV8"],[[11248,11263],"disallowed"],[[11264,11264],"mapped",[11312]],[[11265,11265],"mapped",[11313]],[[11266,11266],"mapped",[11314]],[[11267,11267],"mapped",[11315]],[[11268,11268],"mapped",[11316]],[[11269,11269],"mapped",[11317]],[[11270,11270],"mapped",[11318]],[[11271,11271],"mapped",[11319]],[[11272,11272],"mapped",[11320]],[[11273,11273],"mapped",[11321]],[[11274,11274],"mapped",[11322]],[[11275,11275],"mapped",[11323]],[[11276,11276],"mapped",[11324]],[[11277,11277],"mapped",[11325]],[[11278,11278],"mapped",[11326]],[[11279,11279],"mapped",[11327]],[[11280,11280],"mapped",[11328]],[[11281,11281],"mapped",[11329]],[[11282,11282],"mapped",[11330]],[[11283,11283],"mapped",[11331]],[[11284,11284],"mapped",[11332]],[[11285,11285],"mapped",[11333]],[[11286,11286],"mapped",[11334]],[[11287,11287],"mapped",[11335]],[[11288,11288],"mapped",[11336]],[[11289,11289],"mapped",[11337]],[[11290,11290],"mapped",[11338]],[[11291,11291],"mapped",[11339]],[[11292,11292],"mapped",[11340]],[[11293,11293],"mapped",[11341]],[[11294,11294],"mapped",[11342]],[[11295,11295],"mapped",[11343]],[[11296,11296],"mapped",[11344]],[[11297,11297],"mapped",[11345]],[[11298,11298],"mapped",[11346]],[[11299,11299],"mapped",[11347]],[[11300,11300],"mapped",[11348]],[[11301,11301],"mapped",[11349]],[[11302,11302],"mapped",[11350]],[[11303,11303],"mapped",[11351]],[[11304,11304],"mapped",[11352]],[[11305,11305],"mapped",[11353]],[[11306,11306],"mapped",[11354]],[[11307,11307],"mapped",[11355]],[[11308,11308],"mapped",[11356]],[[11309,11309],"mapped",[11357]],[[11310,11310],"mapped",[11358]],[[11311,11311],"disallowed"],[[11312,11358],"valid"],[[11359,11359],"disallowed"],[[11360,11360],"mapped",[11361]],[[11361,11361],"valid"],[[11362,11362],"mapped",[619]],[[11363,11363],"mapped",[7549]],[[11364,11364],"mapped",[637]],[[11365,11366],"valid"],[[11367,11367],"mapped",[11368]],[[11368,11368],"valid"],[[11369,11369],"mapped",[11370]],[[11370,11370],"valid"],[[11371,11371],"mapped",[11372]],[[11372,11372],"valid"],[[11373,11373],"mapped",[593]],[[11374,11374],"mapped",[625]],[[11375,11375],"mapped",[592]],[[11376,11376],"mapped",[594]],[[11377,11377],"valid"],[[11378,11378],"mapped",[11379]],[[11379,11379],"valid"],[[11380,11380],"valid"],[[11381,11381],"mapped",[11382]],[[11382,11383],"valid"],[[11384,11387],"valid"],[[11388,11388],"mapped",[106]],[[11389,11389],"mapped",[118]],[[11390,11390],"mapped",[575]],[[11391,11391],"mapped",[576]],[[11392,11392],"mapped",[11393]],[[11393,11393],"valid"],[[11394,11394],"mapped",[11395]],[[11395,11395],"valid"],[[11396,11396],"mapped",[11397]],[[11397,11397],"valid"],[[11398,11398],"mapped",[11399]],[[11399,11399],"valid"],[[11400,11400],"mapped",[11401]],[[11401,11401],"valid"],[[11402,11402],"mapped",[11403]],[[11403,11403],"valid"],[[11404,11404],"mapped",[11405]],[[11405,11405],"valid"],[[11406,11406],"mapped",[11407]],[[11407,11407],"valid"],[[11408,11408],"mapped",[11409]],[[11409,11409],"valid"],[[11410,11410],"mapped",[11411]],[[11411,11411],"valid"],[[11412,11412],"mapped",[11413]],[[11413,11413],"valid"],[[11414,11414],"mapped",[11415]],[[11415,11415],"valid"],[[11416,11416],"mapped",[11417]],[[11417,11417],"valid"],[[11418,11418],"mapped",[11419]],[[11419,11419],"valid"],[[11420,11420],"mapped",[11421]],[[11421,11421],"valid"],[[11422,11422],"mapped",[11423]],[[11423,11423],"valid"],[[11424,11424],"mapped",[11425]],[[11425,11425],"valid"],[[11426,11426],"mapped",[11427]],[[11427,11427],"valid"],[[11428,11428],"mapped",[11429]],[[11429,11429],"valid"],[[11430,11430],"mapped",[11431]],[[11431,11431],"valid"],[[11432,11432],"mapped",[11433]],[[11433,11433],"valid"],[[11434,11434],"mapped",[11435]],[[11435,11435],"valid"],[[11436,11436],"mapped",[11437]],[[11437,11437],"valid"],[[11438,11438],"mapped",[11439]],[[11439,11439],"valid"],[[11440,11440],"mapped",[11441]],[[11441,11441],"valid"],[[11442,11442],"mapped",[11443]],[[11443,11443],"valid"],[[11444,11444],"mapped",[11445]],[[11445,11445],"valid"],[[11446,11446],"mapped",[11447]],[[11447,11447],"valid"],[[11448,11448],"mapped",[11449]],[[11449,11449],"valid"],[[11450,11450],"mapped",[11451]],[[11451,11451],"valid"],[[11452,11452],"mapped",[11453]],[[11453,11453],"valid"],[[11454,11454],"mapped",[11455]],[[11455,11455],"valid"],[[11456,11456],"mapped",[11457]],[[11457,11457],"valid"],[[11458,11458],"mapped",[11459]],[[11459,11459],"valid"],[[11460,11460],"mapped",[11461]],[[11461,11461],"valid"],[[11462,11462],"mapped",[11463]],[[11463,11463],"valid"],[[11464,11464],"mapped",[11465]],[[11465,11465],"valid"],[[11466,11466],"mapped",[11467]],[[11467,11467],"valid"],[[11468,11468],"mapped",[11469]],[[11469,11469],"valid"],[[11470,11470],"mapped",[11471]],[[11471,11471],"valid"],[[11472,11472],"mapped",[11473]],[[11473,11473],"valid"],[[11474,11474],"mapped",[11475]],[[11475,11475],"valid"],[[11476,11476],"mapped",[11477]],[[11477,11477],"valid"],[[11478,11478],"mapped",[11479]],[[11479,11479],"valid"],[[11480,11480],"mapped",[11481]],[[11481,11481],"valid"],[[11482,11482],"mapped",[11483]],[[11483,11483],"valid"],[[11484,11484],"mapped",[11485]],[[11485,11485],"valid"],[[11486,11486],"mapped",[11487]],[[11487,11487],"valid"],[[11488,11488],"mapped",[11489]],[[11489,11489],"valid"],[[11490,11490],"mapped",[11491]],[[11491,11492],"valid"],[[11493,11498],"valid",[],"NV8"],[[11499,11499],"mapped",[11500]],[[11500,11500],"valid"],[[11501,11501],"mapped",[11502]],[[11502,11505],"valid"],[[11506,11506],"mapped",[11507]],[[11507,11507],"valid"],[[11508,11512],"disallowed"],[[11513,11519],"valid",[],"NV8"],[[11520,11557],"valid"],[[11558,11558],"disallowed"],[[11559,11559],"valid"],[[11560,11564],"disallowed"],[[11565,11565],"valid"],[[11566,11567],"disallowed"],[[11568,11621],"valid"],[[11622,11623],"valid"],[[11624,11630],"disallowed"],[[11631,11631],"mapped",[11617]],[[11632,11632],"valid",[],"NV8"],[[11633,11646],"disallowed"],[[11647,11647],"valid"],[[11648,11670],"valid"],[[11671,11679],"disallowed"],[[11680,11686],"valid"],[[11687,11687],"disallowed"],[[11688,11694],"valid"],[[11695,11695],"disallowed"],[[11696,11702],"valid"],[[11703,11703],"disallowed"],[[11704,11710],"valid"],[[11711,11711],"disallowed"],[[11712,11718],"valid"],[[11719,11719],"disallowed"],[[11720,11726],"valid"],[[11727,11727],"disallowed"],[[11728,11734],"valid"],[[11735,11735],"disallowed"],[[11736,11742],"valid"],[[11743,11743],"disallowed"],[[11744,11775],"valid"],[[11776,11799],"valid",[],"NV8"],[[11800,11803],"valid",[],"NV8"],[[11804,11805],"valid",[],"NV8"],[[11806,11822],"valid",[],"NV8"],[[11823,11823],"valid"],[[11824,11824],"valid",[],"NV8"],[[11825,11825],"valid",[],"NV8"],[[11826,11835],"valid",[],"NV8"],[[11836,11842],"valid",[],"NV8"],[[11843,11903],"disallowed"],[[11904,11929],"valid",[],"NV8"],[[11930,11930],"disallowed"],[[11931,11934],"valid",[],"NV8"],[[11935,11935],"mapped",[27597]],[[11936,12018],"valid",[],"NV8"],[[12019,12019],"mapped",[40863]],[[12020,12031],"disallowed"],[[12032,12032],"mapped",[19968]],[[12033,12033],"mapped",[20008]],[[12034,12034],"mapped",[20022]],[[12035,12035],"mapped",[20031]],[[12036,12036],"mapped",[20057]],[[12037,12037],"mapped",[20101]],[[12038,12038],"mapped",[20108]],[[12039,12039],"mapped",[20128]],[[12040,12040],"mapped",[20154]],[[12041,12041],"mapped",[20799]],[[12042,12042],"mapped",[20837]],[[12043,12043],"mapped",[20843]],[[12044,12044],"mapped",[20866]],[[12045,12045],"mapped",[20886]],[[12046,12046],"mapped",[20907]],[[12047,12047],"mapped",[20960]],[[12048,12048],"mapped",[20981]],[[12049,12049],"mapped",[20992]],[[12050,12050],"mapped",[21147]],[[12051,12051],"mapped",[21241]],[[12052,12052],"mapped",[21269]],[[12053,12053],"mapped",[21274]],[[12054,12054],"mapped",[21304]],[[12055,12055],"mapped",[21313]],[[12056,12056],"mapped",[21340]],[[12057,12057],"mapped",[21353]],[[12058,12058],"mapped",[21378]],[[12059,12059],"mapped",[21430]],[[12060,12060],"mapped",[21448]],[[12061,12061],"mapped",[21475]],[[12062,12062],"mapped",[22231]],[[12063,12063],"mapped",[22303]],[[12064,12064],"mapped",[22763]],[[12065,12065],"mapped",[22786]],[[12066,12066],"mapped",[22794]],[[12067,12067],"mapped",[22805]],[[12068,12068],"mapped",[22823]],[[12069,12069],"mapped",[22899]],[[12070,12070],"mapped",[23376]],[[12071,12071],"mapped",[23424]],[[12072,12072],"mapped",[23544]],[[12073,12073],"mapped",[23567]],[[12074,12074],"mapped",[23586]],[[12075,12075],"mapped",[23608]],[[12076,12076],"mapped",[23662]],[[12077,12077],"mapped",[23665]],[[12078,12078],"mapped",[24027]],[[12079,12079],"mapped",[24037]],[[12080,12080],"mapped",[24049]],[[12081,12081],"mapped",[24062]],[[12082,12082],"mapped",[24178]],[[12083,12083],"mapped",[24186]],[[12084,12084],"mapped",[24191]],[[12085,12085],"mapped",[24308]],[[12086,12086],"mapped",[24318]],[[12087,12087],"mapped",[24331]],[[12088,12088],"mapped",[24339]],[[12089,12089],"mapped",[24400]],[[12090,12090],"mapped",[24417]],[[12091,12091],"mapped",[24435]],[[12092,12092],"mapped",[24515]],[[12093,12093],"mapped",[25096]],[[12094,12094],"mapped",[25142]],[[12095,12095],"mapped",[25163]],[[12096,12096],"mapped",[25903]],[[12097,12097],"mapped",[25908]],[[12098,12098],"mapped",[25991]],[[12099,12099],"mapped",[26007]],[[12100,12100],"mapped",[26020]],[[12101,12101],"mapped",[26041]],[[12102,12102],"mapped",[26080]],[[12103,12103],"mapped",[26085]],[[12104,12104],"mapped",[26352]],[[12105,12105],"mapped",[26376]],[[12106,12106],"mapped",[26408]],[[12107,12107],"mapped",[27424]],[[12108,12108],"mapped",[27490]],[[12109,12109],"mapped",[27513]],[[12110,12110],"mapped",[27571]],[[12111,12111],"mapped",[27595]],[[12112,12112],"mapped",[27604]],[[12113,12113],"mapped",[27611]],[[12114,12114],"mapped",[27663]],[[12115,12115],"mapped",[27668]],[[12116,12116],"mapped",[27700]],[[12117,12117],"mapped",[28779]],[[12118,12118],"mapped",[29226]],[[12119,12119],"mapped",[29238]],[[12120,12120],"mapped",[29243]],[[12121,12121],"mapped",[29247]],[[12122,12122],"mapped",[29255]],[[12123,12123],"mapped",[29273]],[[12124,12124],"mapped",[29275]],[[12125,12125],"mapped",[29356]],[[12126,12126],"mapped",[29572]],[[12127,12127],"mapped",[29577]],[[12128,12128],"mapped",[29916]],[[12129,12129],"mapped",[29926]],[[12130,12130],"mapped",[29976]],[[12131,12131],"mapped",[29983]],[[12132,12132],"mapped",[29992]],[[12133,12133],"mapped",[30000]],[[12134,12134],"mapped",[30091]],[[12135,12135],"mapped",[30098]],[[12136,12136],"mapped",[30326]],[[12137,12137],"mapped",[30333]],[[12138,12138],"mapped",[30382]],[[12139,12139],"mapped",[30399]],[[12140,12140],"mapped",[30446]],[[12141,12141],"mapped",[30683]],[[12142,12142],"mapped",[30690]],[[12143,12143],"mapped",[30707]],[[12144,12144],"mapped",[31034]],[[12145,12145],"mapped",[31160]],[[12146,12146],"mapped",[31166]],[[12147,12147],"mapped",[31348]],[[12148,12148],"mapped",[31435]],[[12149,12149],"mapped",[31481]],[[12150,12150],"mapped",[31859]],[[12151,12151],"mapped",[31992]],[[12152,12152],"mapped",[32566]],[[12153,12153],"mapped",[32593]],[[12154,12154],"mapped",[32650]],[[12155,12155],"mapped",[32701]],[[12156,12156],"mapped",[32769]],[[12157,12157],"mapped",[32780]],[[12158,12158],"mapped",[32786]],[[12159,12159],"mapped",[32819]],[[12160,12160],"mapped",[32895]],[[12161,12161],"mapped",[32905]],[[12162,12162],"mapped",[33251]],[[12163,12163],"mapped",[33258]],[[12164,12164],"mapped",[33267]],[[12165,12165],"mapped",[33276]],[[12166,12166],"mapped",[33292]],[[12167,12167],"mapped",[33307]],[[12168,12168],"mapped",[33311]],[[12169,12169],"mapped",[33390]],[[12170,12170],"mapped",[33394]],[[12171,12171],"mapped",[33400]],[[12172,12172],"mapped",[34381]],[[12173,12173],"mapped",[34411]],[[12174,12174],"mapped",[34880]],[[12175,12175],"mapped",[34892]],[[12176,12176],"mapped",[34915]],[[12177,12177],"mapped",[35198]],[[12178,12178],"mapped",[35211]],[[12179,12179],"mapped",[35282]],[[12180,12180],"mapped",[35328]],[[12181,12181],"mapped",[35895]],[[12182,12182],"mapped",[35910]],[[12183,12183],"mapped",[35925]],[[12184,12184],"mapped",[35960]],[[12185,12185],"mapped",[35997]],[[12186,12186],"mapped",[36196]],[[12187,12187],"mapped",[36208]],[[12188,12188],"mapped",[36275]],[[12189,12189],"mapped",[36523]],[[12190,12190],"mapped",[36554]],[[12191,12191],"mapped",[36763]],[[12192,12192],"mapped",[36784]],[[12193,12193],"mapped",[36789]],[[12194,12194],"mapped",[37009]],[[12195,12195],"mapped",[37193]],[[12196,12196],"mapped",[37318]],[[12197,12197],"mapped",[37324]],[[12198,12198],"mapped",[37329]],[[12199,12199],"mapped",[38263]],[[12200,12200],"mapped",[38272]],[[12201,12201],"mapped",[38428]],[[12202,12202],"mapped",[38582]],[[12203,12203],"mapped",[38585]],[[12204,12204],"mapped",[38632]],[[12205,12205],"mapped",[38737]],[[12206,12206],"mapped",[38750]],[[12207,12207],"mapped",[38754]],[[12208,12208],"mapped",[38761]],[[12209,12209],"mapped",[38859]],[[12210,12210],"mapped",[38893]],[[12211,12211],"mapped",[38899]],[[12212,12212],"mapped",[38913]],[[12213,12213],"mapped",[39080]],[[12214,12214],"mapped",[39131]],[[12215,12215],"mapped",[39135]],[[12216,12216],"mapped",[39318]],[[12217,12217],"mapped",[39321]],[[12218,12218],"mapped",[39340]],[[12219,12219],"mapped",[39592]],[[12220,12220],"mapped",[39640]],[[12221,12221],"mapped",[39647]],[[12222,12222],"mapped",[39717]],[[12223,12223],"mapped",[39727]],[[12224,12224],"mapped",[39730]],[[12225,12225],"mapped",[39740]],[[12226,12226],"mapped",[39770]],[[12227,12227],"mapped",[40165]],[[12228,12228],"mapped",[40565]],[[12229,12229],"mapped",[40575]],[[12230,12230],"mapped",[40613]],[[12231,12231],"mapped",[40635]],[[12232,12232],"mapped",[40643]],[[12233,12233],"mapped",[40653]],[[12234,12234],"mapped",[40657]],[[12235,12235],"mapped",[40697]],[[12236,12236],"mapped",[40701]],[[12237,12237],"mapped",[40718]],[[12238,12238],"mapped",[40723]],[[12239,12239],"mapped",[40736]],[[12240,12240],"mapped",[40763]],[[12241,12241],"mapped",[40778]],[[12242,12242],"mapped",[40786]],[[12243,12243],"mapped",[40845]],[[12244,12244],"mapped",[40860]],[[12245,12245],"mapped",[40864]],[[12246,12271],"disallowed"],[[12272,12283],"disallowed"],[[12284,12287],"disallowed"],[[12288,12288],"disallowed_STD3_mapped",[32]],[[12289,12289],"valid",[],"NV8"],[[12290,12290],"mapped",[46]],[[12291,12292],"valid",[],"NV8"],[[12293,12295],"valid"],[[12296,12329],"valid",[],"NV8"],[[12330,12333],"valid"],[[12334,12341],"valid",[],"NV8"],[[12342,12342],"mapped",[12306]],[[12343,12343],"valid",[],"NV8"],[[12344,12344],"mapped",[21313]],[[12345,12345],"mapped",[21316]],[[12346,12346],"mapped",[21317]],[[12347,12347],"valid",[],"NV8"],[[12348,12348],"valid"],[[12349,12349],"valid",[],"NV8"],[[12350,12350],"valid",[],"NV8"],[[12351,12351],"valid",[],"NV8"],[[12352,12352],"disallowed"],[[12353,12436],"valid"],[[12437,12438],"valid"],[[12439,12440],"disallowed"],[[12441,12442],"valid"],[[12443,12443],"disallowed_STD3_mapped",[32,12441]],[[12444,12444],"disallowed_STD3_mapped",[32,12442]],[[12445,12446],"valid"],[[12447,12447],"mapped",[12424,12426]],[[12448,12448],"valid",[],"NV8"],[[12449,12542],"valid"],[[12543,12543],"mapped",[12467,12488]],[[12544,12548],"disallowed"],[[12549,12588],"valid"],[[12589,12589],"valid"],[[12590,12592],"disallowed"],[[12593,12593],"mapped",[4352]],[[12594,12594],"mapped",[4353]],[[12595,12595],"mapped",[4522]],[[12596,12596],"mapped",[4354]],[[12597,12597],"mapped",[4524]],[[12598,12598],"mapped",[4525]],[[12599,12599],"mapped",[4355]],[[12600,12600],"mapped",[4356]],[[12601,12601],"mapped",[4357]],[[12602,12602],"mapped",[4528]],[[12603,12603],"mapped",[4529]],[[12604,12604],"mapped",[4530]],[[12605,12605],"mapped",[4531]],[[12606,12606],"mapped",[4532]],[[12607,12607],"mapped",[4533]],[[12608,12608],"mapped",[4378]],[[12609,12609],"mapped",[4358]],[[12610,12610],"mapped",[4359]],[[12611,12611],"mapped",[4360]],[[12612,12612],"mapped",[4385]],[[12613,12613],"mapped",[4361]],[[12614,12614],"mapped",[4362]],[[12615,12615],"mapped",[4363]],[[12616,12616],"mapped",[4364]],[[12617,12617],"mapped",[4365]],[[12618,12618],"mapped",[4366]],[[12619,12619],"mapped",[4367]],[[12620,12620],"mapped",[4368]],[[12621,12621],"mapped",[4369]],[[12622,12622],"mapped",[4370]],[[12623,12623],"mapped",[4449]],[[12624,12624],"mapped",[4450]],[[12625,12625],"mapped",[4451]],[[12626,12626],"mapped",[4452]],[[12627,12627],"mapped",[4453]],[[12628,12628],"mapped",[4454]],[[12629,12629],"mapped",[4455]],[[12630,12630],"mapped",[4456]],[[12631,12631],"mapped",[4457]],[[12632,12632],"mapped",[4458]],[[12633,12633],"mapped",[4459]],[[12634,12634],"mapped",[4460]],[[12635,12635],"mapped",[4461]],[[12636,12636],"mapped",[4462]],[[12637,12637],"mapped",[4463]],[[12638,12638],"mapped",[4464]],[[12639,12639],"mapped",[4465]],[[12640,12640],"mapped",[4466]],[[12641,12641],"mapped",[4467]],[[12642,12642],"mapped",[4468]],[[12643,12643],"mapped",[4469]],[[12644,12644],"disallowed"],[[12645,12645],"mapped",[4372]],[[12646,12646],"mapped",[4373]],[[12647,12647],"mapped",[4551]],[[12648,12648],"mapped",[4552]],[[12649,12649],"mapped",[4556]],[[12650,12650],"mapped",[4558]],[[12651,12651],"mapped",[4563]],[[12652,12652],"mapped",[4567]],[[12653,12653],"mapped",[4569]],[[12654,12654],"mapped",[4380]],[[12655,12655],"mapped",[4573]],[[12656,12656],"mapped",[4575]],[[12657,12657],"mapped",[4381]],[[12658,12658],"mapped",[4382]],[[12659,12659],"mapped",[4384]],[[12660,12660],"mapped",[4386]],[[12661,12661],"mapped",[4387]],[[12662,12662],"mapped",[4391]],[[12663,12663],"mapped",[4393]],[[12664,12664],"mapped",[4395]],[[12665,12665],"mapped",[4396]],[[12666,12666],"mapped",[4397]],[[12667,12667],"mapped",[4398]],[[12668,12668],"mapped",[4399]],[[12669,12669],"mapped",[4402]],[[12670,12670],"mapped",[4406]],[[12671,12671],"mapped",[4416]],[[12672,12672],"mapped",[4423]],[[12673,12673],"mapped",[4428]],[[12674,12674],"mapped",[4593]],[[12675,12675],"mapped",[4594]],[[12676,12676],"mapped",[4439]],[[12677,12677],"mapped",[4440]],[[12678,12678],"mapped",[4441]],[[12679,12679],"mapped",[4484]],[[12680,12680],"mapped",[4485]],[[12681,12681],"mapped",[4488]],[[12682,12682],"mapped",[4497]],[[12683,12683],"mapped",[4498]],[[12684,12684],"mapped",[4500]],[[12685,12685],"mapped",[4510]],[[12686,12686],"mapped",[4513]],[[12687,12687],"disallowed"],[[12688,12689],"valid",[],"NV8"],[[12690,12690],"mapped",[19968]],[[12691,12691],"mapped",[20108]],[[12692,12692],"mapped",[19977]],[[12693,12693],"mapped",[22235]],[[12694,12694],"mapped",[19978]],[[12695,12695],"mapped",[20013]],[[12696,12696],"mapped",[19979]],[[12697,12697],"mapped",[30002]],[[12698,12698],"mapped",[20057]],[[12699,12699],"mapped",[19993]],[[12700,12700],"mapped",[19969]],[[12701,12701],"mapped",[22825]],[[12702,12702],"mapped",[22320]],[[12703,12703],"mapped",[20154]],[[12704,12727],"valid"],[[12728,12730],"valid"],[[12731,12735],"disallowed"],[[12736,12751],"valid",[],"NV8"],[[12752,12771],"valid",[],"NV8"],[[12772,12783],"disallowed"],[[12784,12799],"valid"],[[12800,12800],"disallowed_STD3_mapped",[40,4352,41]],[[12801,12801],"disallowed_STD3_mapped",[40,4354,41]],[[12802,12802],"disallowed_STD3_mapped",[40,4355,41]],[[12803,12803],"disallowed_STD3_mapped",[40,4357,41]],[[12804,12804],"disallowed_STD3_mapped",[40,4358,41]],[[12805,12805],"disallowed_STD3_mapped",[40,4359,41]],[[12806,12806],"disallowed_STD3_mapped",[40,4361,41]],[[12807,12807],"disallowed_STD3_mapped",[40,4363,41]],[[12808,12808],"disallowed_STD3_mapped",[40,4364,41]],[[12809,12809],"disallowed_STD3_mapped",[40,4366,41]],[[12810,12810],"disallowed_STD3_mapped",[40,4367,41]],[[12811,12811],"disallowed_STD3_mapped",[40,4368,41]],[[12812,12812],"disallowed_STD3_mapped",[40,4369,41]],[[12813,12813],"disallowed_STD3_mapped",[40,4370,41]],[[12814,12814],"disallowed_STD3_mapped",[40,44032,41]],[[12815,12815],"disallowed_STD3_mapped",[40,45208,41]],[[12816,12816],"disallowed_STD3_mapped",[40,45796,41]],[[12817,12817],"disallowed_STD3_mapped",[40,46972,41]],[[12818,12818],"disallowed_STD3_mapped",[40,47560,41]],[[12819,12819],"disallowed_STD3_mapped",[40,48148,41]],[[12820,12820],"disallowed_STD3_mapped",[40,49324,41]],[[12821,12821],"disallowed_STD3_mapped",[40,50500,41]],[[12822,12822],"disallowed_STD3_mapped",[40,51088,41]],[[12823,12823],"disallowed_STD3_mapped",[40,52264,41]],[[12824,12824],"disallowed_STD3_mapped",[40,52852,41]],[[12825,12825],"disallowed_STD3_mapped",[40,53440,41]],[[12826,12826],"disallowed_STD3_mapped",[40,54028,41]],[[12827,12827],"disallowed_STD3_mapped",[40,54616,41]],[[12828,12828],"disallowed_STD3_mapped",[40,51452,41]],[[12829,12829],"disallowed_STD3_mapped",[40,50724,51204,41]],[[12830,12830],"disallowed_STD3_mapped",[40,50724,54980,41]],[[12831,12831],"disallowed"],[[12832,12832],"disallowed_STD3_mapped",[40,19968,41]],[[12833,12833],"disallowed_STD3_mapped",[40,20108,41]],[[12834,12834],"disallowed_STD3_mapped",[40,19977,41]],[[12835,12835],"disallowed_STD3_mapped",[40,22235,41]],[[12836,12836],"disallowed_STD3_mapped",[40,20116,41]],[[12837,12837],"disallowed_STD3_mapped",[40,20845,41]],[[12838,12838],"disallowed_STD3_mapped",[40,19971,41]],[[12839,12839],"disallowed_STD3_mapped",[40,20843,41]],[[12840,12840],"disallowed_STD3_mapped",[40,20061,41]],[[12841,12841],"disallowed_STD3_mapped",[40,21313,41]],[[12842,12842],"disallowed_STD3_mapped",[40,26376,41]],[[12843,12843],"disallowed_STD3_mapped",[40,28779,41]],[[12844,12844],"disallowed_STD3_mapped",[40,27700,41]],[[12845,12845],"disallowed_STD3_mapped",[40,26408,41]],[[12846,12846],"disallowed_STD3_mapped",[40,37329,41]],[[12847,12847],"disallowed_STD3_mapped",[40,22303,41]],[[12848,12848],"disallowed_STD3_mapped",[40,26085,41]],[[12849,12849],"disallowed_STD3_mapped",[40,26666,41]],[[12850,12850],"disallowed_STD3_mapped",[40,26377,41]],[[12851,12851],"disallowed_STD3_mapped",[40,31038,41]],[[12852,12852],"disallowed_STD3_mapped",[40,21517,41]],[[12853,12853],"disallowed_STD3_mapped",[40,29305,41]],[[12854,12854],"disallowed_STD3_mapped",[40,36001,41]],[[12855,12855],"disallowed_STD3_mapped",[40,31069,41]],[[12856,12856],"disallowed_STD3_mapped",[40,21172,41]],[[12857,12857],"disallowed_STD3_mapped",[40,20195,41]],[[12858,12858],"disallowed_STD3_mapped",[40,21628,41]],[[12859,12859],"disallowed_STD3_mapped",[40,23398,41]],[[12860,12860],"disallowed_STD3_mapped",[40,30435,41]],[[12861,12861],"disallowed_STD3_mapped",[40,20225,41]],[[12862,12862],"disallowed_STD3_mapped",[40,36039,41]],[[12863,12863],"disallowed_STD3_mapped",[40,21332,41]],[[12864,12864],"disallowed_STD3_mapped",[40,31085,41]],[[12865,12865],"disallowed_STD3_mapped",[40,20241,41]],[[12866,12866],"disallowed_STD3_mapped",[40,33258,41]],[[12867,12867],"disallowed_STD3_mapped",[40,33267,41]],[[12868,12868],"mapped",[21839]],[[12869,12869],"mapped",[24188]],[[12870,12870],"mapped",[25991]],[[12871,12871],"mapped",[31631]],[[12872,12879],"valid",[],"NV8"],[[12880,12880],"mapped",[112,116,101]],[[12881,12881],"mapped",[50,49]],[[12882,12882],"mapped",[50,50]],[[12883,12883],"mapped",[50,51]],[[12884,12884],"mapped",[50,52]],[[12885,12885],"mapped",[50,53]],[[12886,12886],"mapped",[50,54]],[[12887,12887],"mapped",[50,55]],[[12888,12888],"mapped",[50,56]],[[12889,12889],"mapped",[50,57]],[[12890,12890],"mapped",[51,48]],[[12891,12891],"mapped",[51,49]],[[12892,12892],"mapped",[51,50]],[[12893,12893],"mapped",[51,51]],[[12894,12894],"mapped",[51,52]],[[12895,12895],"mapped",[51,53]],[[12896,12896],"mapped",[4352]],[[12897,12897],"mapped",[4354]],[[12898,12898],"mapped",[4355]],[[12899,12899],"mapped",[4357]],[[12900,12900],"mapped",[4358]],[[12901,12901],"mapped",[4359]],[[12902,12902],"mapped",[4361]],[[12903,12903],"mapped",[4363]],[[12904,12904],"mapped",[4364]],[[12905,12905],"mapped",[4366]],[[12906,12906],"mapped",[4367]],[[12907,12907],"mapped",[4368]],[[12908,12908],"mapped",[4369]],[[12909,12909],"mapped",[4370]],[[12910,12910],"mapped",[44032]],[[12911,12911],"mapped",[45208]],[[12912,12912],"mapped",[45796]],[[12913,12913],"mapped",[46972]],[[12914,12914],"mapped",[47560]],[[12915,12915],"mapped",[48148]],[[12916,12916],"mapped",[49324]],[[12917,12917],"mapped",[50500]],[[12918,12918],"mapped",[51088]],[[12919,12919],"mapped",[52264]],[[12920,12920],"mapped",[52852]],[[12921,12921],"mapped",[53440]],[[12922,12922],"mapped",[54028]],[[12923,12923],"mapped",[54616]],[[12924,12924],"mapped",[52280,44256]],[[12925,12925],"mapped",[51452,51032]],[[12926,12926],"mapped",[50864]],[[12927,12927],"valid",[],"NV8"],[[12928,12928],"mapped",[19968]],[[12929,12929],"mapped",[20108]],[[12930,12930],"mapped",[19977]],[[12931,12931],"mapped",[22235]],[[12932,12932],"mapped",[20116]],[[12933,12933],"mapped",[20845]],[[12934,12934],"mapped",[19971]],[[12935,12935],"mapped",[20843]],[[12936,12936],"mapped",[20061]],[[12937,12937],"mapped",[21313]],[[12938,12938],"mapped",[26376]],[[12939,12939],"mapped",[28779]],[[12940,12940],"mapped",[27700]],[[12941,12941],"mapped",[26408]],[[12942,12942],"mapped",[37329]],[[12943,12943],"mapped",[22303]],[[12944,12944],"mapped",[26085]],[[12945,12945],"mapped",[26666]],[[12946,12946],"mapped",[26377]],[[12947,12947],"mapped",[31038]],[[12948,12948],"mapped",[21517]],[[12949,12949],"mapped",[29305]],[[12950,12950],"mapped",[36001]],[[12951,12951],"mapped",[31069]],[[12952,12952],"mapped",[21172]],[[12953,12953],"mapped",[31192]],[[12954,12954],"mapped",[30007]],[[12955,12955],"mapped",[22899]],[[12956,12956],"mapped",[36969]],[[12957,12957],"mapped",[20778]],[[12958,12958],"mapped",[21360]],[[12959,12959],"mapped",[27880]],[[12960,12960],"mapped",[38917]],[[12961,12961],"mapped",[20241]],[[12962,12962],"mapped",[20889]],[[12963,12963],"mapped",[27491]],[[12964,12964],"mapped",[19978]],[[12965,12965],"mapped",[20013]],[[12966,12966],"mapped",[19979]],[[12967,12967],"mapped",[24038]],[[12968,12968],"mapped",[21491]],[[12969,12969],"mapped",[21307]],[[12970,12970],"mapped",[23447]],[[12971,12971],"mapped",[23398]],[[12972,12972],"mapped",[30435]],[[12973,12973],"mapped",[20225]],[[12974,12974],"mapped",[36039]],[[12975,12975],"mapped",[21332]],[[12976,12976],"mapped",[22812]],[[12977,12977],"mapped",[51,54]],[[12978,12978],"mapped",[51,55]],[[12979,12979],"mapped",[51,56]],[[12980,12980],"mapped",[51,57]],[[12981,12981],"mapped",[52,48]],[[12982,12982],"mapped",[52,49]],[[12983,12983],"mapped",[52,50]],[[12984,12984],"mapped",[52,51]],[[12985,12985],"mapped",[52,52]],[[12986,12986],"mapped",[52,53]],[[12987,12987],"mapped",[52,54]],[[12988,12988],"mapped",[52,55]],[[12989,12989],"mapped",[52,56]],[[12990,12990],"mapped",[52,57]],[[12991,12991],"mapped",[53,48]],[[12992,12992],"mapped",[49,26376]],[[12993,12993],"mapped",[50,26376]],[[12994,12994],"mapped",[51,26376]],[[12995,12995],"mapped",[52,26376]],[[12996,12996],"mapped",[53,26376]],[[12997,12997],"mapped",[54,26376]],[[12998,12998],"mapped",[55,26376]],[[12999,12999],"mapped",[56,26376]],[[13000,13000],"mapped",[57,26376]],[[13001,13001],"mapped",[49,48,26376]],[[13002,13002],"mapped",[49,49,26376]],[[13003,13003],"mapped",[49,50,26376]],[[13004,13004],"mapped",[104,103]],[[13005,13005],"mapped",[101,114,103]],[[13006,13006],"mapped",[101,118]],[[13007,13007],"mapped",[108,116,100]],[[13008,13008],"mapped",[12450]],[[13009,13009],"mapped",[12452]],[[13010,13010],"mapped",[12454]],[[13011,13011],"mapped",[12456]],[[13012,13012],"mapped",[12458]],[[13013,13013],"mapped",[12459]],[[13014,13014],"mapped",[12461]],[[13015,13015],"mapped",[12463]],[[13016,13016],"mapped",[12465]],[[13017,13017],"mapped",[12467]],[[13018,13018],"mapped",[12469]],[[13019,13019],"mapped",[12471]],[[13020,13020],"mapped",[12473]],[[13021,13021],"mapped",[12475]],[[13022,13022],"mapped",[12477]],[[13023,13023],"mapped",[12479]],[[13024,13024],"mapped",[12481]],[[13025,13025],"mapped",[12484]],[[13026,13026],"mapped",[12486]],[[13027,13027],"mapped",[12488]],[[13028,13028],"mapped",[12490]],[[13029,13029],"mapped",[12491]],[[13030,13030],"mapped",[12492]],[[13031,13031],"mapped",[12493]],[[13032,13032],"mapped",[12494]],[[13033,13033],"mapped",[12495]],[[13034,13034],"mapped",[12498]],[[13035,13035],"mapped",[12501]],[[13036,13036],"mapped",[12504]],[[13037,13037],"mapped",[12507]],[[13038,13038],"mapped",[12510]],[[13039,13039],"mapped",[12511]],[[13040,13040],"mapped",[12512]],[[13041,13041],"mapped",[12513]],[[13042,13042],"mapped",[12514]],[[13043,13043],"mapped",[12516]],[[13044,13044],"mapped",[12518]],[[13045,13045],"mapped",[12520]],[[13046,13046],"mapped",[12521]],[[13047,13047],"mapped",[12522]],[[13048,13048],"mapped",[12523]],[[13049,13049],"mapped",[12524]],[[13050,13050],"mapped",[12525]],[[13051,13051],"mapped",[12527]],[[13052,13052],"mapped",[12528]],[[13053,13053],"mapped",[12529]],[[13054,13054],"mapped",[12530]],[[13055,13055],"disallowed"],[[13056,13056],"mapped",[12450,12497,12540,12488]],[[13057,13057],"mapped",[12450,12523,12501,12449]],[[13058,13058],"mapped",[12450,12531,12506,12450]],[[13059,13059],"mapped",[12450,12540,12523]],[[13060,13060],"mapped",[12452,12491,12531,12464]],[[13061,13061],"mapped",[12452,12531,12481]],[[13062,13062],"mapped",[12454,12457,12531]],[[13063,13063],"mapped",[12456,12473,12463,12540,12489]],[[13064,13064],"mapped",[12456,12540,12459,12540]],[[13065,13065],"mapped",[12458,12531,12473]],[[13066,13066],"mapped",[12458,12540,12512]],[[13067,13067],"mapped",[12459,12452,12522]],[[13068,13068],"mapped",[12459,12521,12483,12488]],[[13069,13069],"mapped",[12459,12525,12522,12540]],[[13070,13070],"mapped",[12460,12525,12531]],[[13071,13071],"mapped",[12460,12531,12510]],[[13072,13072],"mapped",[12462,12460]],[[13073,13073],"mapped",[12462,12491,12540]],[[13074,13074],"mapped",[12461,12517,12522,12540]],[[13075,13075],"mapped",[12462,12523,12480,12540]],[[13076,13076],"mapped",[12461,12525]],[[13077,13077],"mapped",[12461,12525,12464,12521,12512]],[[13078,13078],"mapped",[12461,12525,12513,12540,12488,12523]],[[13079,13079],"mapped",[12461,12525,12527,12483,12488]],[[13080,13080],"mapped",[12464,12521,12512]],[[13081,13081],"mapped",[12464,12521,12512,12488,12531]],[[13082,13082],"mapped",[12463,12523,12476,12452,12525]],[[13083,13083],"mapped",[12463,12525,12540,12493]],[[13084,13084],"mapped",[12465,12540,12473]],[[13085,13085],"mapped",[12467,12523,12490]],[[13086,13086],"mapped",[12467,12540,12509]],[[13087,13087],"mapped",[12469,12452,12463,12523]],[[13088,13088],"mapped",[12469,12531,12481,12540,12512]],[[13089,13089],"mapped",[12471,12522,12531,12464]],[[13090,13090],"mapped",[12475,12531,12481]],[[13091,13091],"mapped",[12475,12531,12488]],[[13092,13092],"mapped",[12480,12540,12473]],[[13093,13093],"mapped",[12487,12471]],[[13094,13094],"mapped",[12489,12523]],[[13095,13095],"mapped",[12488,12531]],[[13096,13096],"mapped",[12490,12494]],[[13097,13097],"mapped",[12494,12483,12488]],[[13098,13098],"mapped",[12495,12452,12484]],[[13099,13099],"mapped",[12497,12540,12475,12531,12488]],[[13100,13100],"mapped",[12497,12540,12484]],[[13101,13101],"mapped",[12496,12540,12524,12523]],[[13102,13102],"mapped",[12500,12450,12473,12488,12523]],[[13103,13103],"mapped",[12500,12463,12523]],[[13104,13104],"mapped",[12500,12467]],[[13105,13105],"mapped",[12499,12523]],[[13106,13106],"mapped",[12501,12449,12521,12483,12489]],[[13107,13107],"mapped",[12501,12451,12540,12488]],[[13108,13108],"mapped",[12502,12483,12471,12455,12523]],[[13109,13109],"mapped",[12501,12521,12531]],[[13110,13110],"mapped",[12504,12463,12479,12540,12523]],[[13111,13111],"mapped",[12506,12477]],[[13112,13112],"mapped",[12506,12491,12498]],[[13113,13113],"mapped",[12504,12523,12484]],[[13114,13114],"mapped",[12506,12531,12473]],[[13115,13115],"mapped",[12506,12540,12472]],[[13116,13116],"mapped",[12505,12540,12479]],[[13117,13117],"mapped",[12509,12452,12531,12488]],[[13118,13118],"mapped",[12508,12523,12488]],[[13119,13119],"mapped",[12507,12531]],[[13120,13120],"mapped",[12509,12531,12489]],[[13121,13121],"mapped",[12507,12540,12523]],[[13122,13122],"mapped",[12507,12540,12531]],[[13123,13123],"mapped",[12510,12452,12463,12525]],[[13124,13124],"mapped",[12510,12452,12523]],[[13125,13125],"mapped",[12510,12483,12495]],[[13126,13126],"mapped",[12510,12523,12463]],[[13127,13127],"mapped",[12510,12531,12471,12519,12531]],[[13128,13128],"mapped",[12511,12463,12525,12531]],[[13129,13129],"mapped",[12511,12522]],[[13130,13130],"mapped",[12511,12522,12496,12540,12523]],[[13131,13131],"mapped",[12513,12460]],[[13132,13132],"mapped",[12513,12460,12488,12531]],[[13133,13133],"mapped",[12513,12540,12488,12523]],[[13134,13134],"mapped",[12516,12540,12489]],[[13135,13135],"mapped",[12516,12540,12523]],[[13136,13136],"mapped",[12518,12450,12531]],[[13137,13137],"mapped",[12522,12483,12488,12523]],[[13138,13138],"mapped",[12522,12521]],[[13139,13139],"mapped",[12523,12500,12540]],[[13140,13140],"mapped",[12523,12540,12502,12523]],[[13141,13141],"mapped",[12524,12512]],[[13142,13142],"mapped",[12524,12531,12488,12466,12531]],[[13143,13143],"mapped",[12527,12483,12488]],[[13144,13144],"mapped",[48,28857]],[[13145,13145],"mapped",[49,28857]],[[13146,13146],"mapped",[50,28857]],[[13147,13147],"mapped",[51,28857]],[[13148,13148],"mapped",[52,28857]],[[13149,13149],"mapped",[53,28857]],[[13150,13150],"mapped",[54,28857]],[[13151,13151],"mapped",[55,28857]],[[13152,13152],"mapped",[56,28857]],[[13153,13153],"mapped",[57,28857]],[[13154,13154],"mapped",[49,48,28857]],[[13155,13155],"mapped",[49,49,28857]],[[13156,13156],"mapped",[49,50,28857]],[[13157,13157],"mapped",[49,51,28857]],[[13158,13158],"mapped",[49,52,28857]],[[13159,13159],"mapped",[49,53,28857]],[[13160,13160],"mapped",[49,54,28857]],[[13161,13161],"mapped",[49,55,28857]],[[13162,13162],"mapped",[49,56,28857]],[[13163,13163],"mapped",[49,57,28857]],[[13164,13164],"mapped",[50,48,28857]],[[13165,13165],"mapped",[50,49,28857]],[[13166,13166],"mapped",[50,50,28857]],[[13167,13167],"mapped",[50,51,28857]],[[13168,13168],"mapped",[50,52,28857]],[[13169,13169],"mapped",[104,112,97]],[[13170,13170],"mapped",[100,97]],[[13171,13171],"mapped",[97,117]],[[13172,13172],"mapped",[98,97,114]],[[13173,13173],"mapped",[111,118]],[[13174,13174],"mapped",[112,99]],[[13175,13175],"mapped",[100,109]],[[13176,13176],"mapped",[100,109,50]],[[13177,13177],"mapped",[100,109,51]],[[13178,13178],"mapped",[105,117]],[[13179,13179],"mapped",[24179,25104]],[[13180,13180],"mapped",[26157,21644]],[[13181,13181],"mapped",[22823,27491]],[[13182,13182],"mapped",[26126,27835]],[[13183,13183],"mapped",[26666,24335,20250,31038]],[[13184,13184],"mapped",[112,97]],[[13185,13185],"mapped",[110,97]],[[13186,13186],"mapped",[956,97]],[[13187,13187],"mapped",[109,97]],[[13188,13188],"mapped",[107,97]],[[13189,13189],"mapped",[107,98]],[[13190,13190],"mapped",[109,98]],[[13191,13191],"mapped",[103,98]],[[13192,13192],"mapped",[99,97,108]],[[13193,13193],"mapped",[107,99,97,108]],[[13194,13194],"mapped",[112,102]],[[13195,13195],"mapped",[110,102]],[[13196,13196],"mapped",[956,102]],[[13197,13197],"mapped",[956,103]],[[13198,13198],"mapped",[109,103]],[[13199,13199],"mapped",[107,103]],[[13200,13200],"mapped",[104,122]],[[13201,13201],"mapped",[107,104,122]],[[13202,13202],"mapped",[109,104,122]],[[13203,13203],"mapped",[103,104,122]],[[13204,13204],"mapped",[116,104,122]],[[13205,13205],"mapped",[956,108]],[[13206,13206],"mapped",[109,108]],[[13207,13207],"mapped",[100,108]],[[13208,13208],"mapped",[107,108]],[[13209,13209],"mapped",[102,109]],[[13210,13210],"mapped",[110,109]],[[13211,13211],"mapped",[956,109]],[[13212,13212],"mapped",[109,109]],[[13213,13213],"mapped",[99,109]],[[13214,13214],"mapped",[107,109]],[[13215,13215],"mapped",[109,109,50]],[[13216,13216],"mapped",[99,109,50]],[[13217,13217],"mapped",[109,50]],[[13218,13218],"mapped",[107,109,50]],[[13219,13219],"mapped",[109,109,51]],[[13220,13220],"mapped",[99,109,51]],[[13221,13221],"mapped",[109,51]],[[13222,13222],"mapped",[107,109,51]],[[13223,13223],"mapped",[109,8725,115]],[[13224,13224],"mapped",[109,8725,115,50]],[[13225,13225],"mapped",[112,97]],[[13226,13226],"mapped",[107,112,97]],[[13227,13227],"mapped",[109,112,97]],[[13228,13228],"mapped",[103,112,97]],[[13229,13229],"mapped",[114,97,100]],[[13230,13230],"mapped",[114,97,100,8725,115]],[[13231,13231],"mapped",[114,97,100,8725,115,50]],[[13232,13232],"mapped",[112,115]],[[13233,13233],"mapped",[110,115]],[[13234,13234],"mapped",[956,115]],[[13235,13235],"mapped",[109,115]],[[13236,13236],"mapped",[112,118]],[[13237,13237],"mapped",[110,118]],[[13238,13238],"mapped",[956,118]],[[13239,13239],"mapped",[109,118]],[[13240,13240],"mapped",[107,118]],[[13241,13241],"mapped",[109,118]],[[13242,13242],"mapped",[112,119]],[[13243,13243],"mapped",[110,119]],[[13244,13244],"mapped",[956,119]],[[13245,13245],"mapped",[109,119]],[[13246,13246],"mapped",[107,119]],[[13247,13247],"mapped",[109,119]],[[13248,13248],"mapped",[107,969]],[[13249,13249],"mapped",[109,969]],[[13250,13250],"disallowed"],[[13251,13251],"mapped",[98,113]],[[13252,13252],"mapped",[99,99]],[[13253,13253],"mapped",[99,100]],[[13254,13254],"mapped",[99,8725,107,103]],[[13255,13255],"disallowed"],[[13256,13256],"mapped",[100,98]],[[13257,13257],"mapped",[103,121]],[[13258,13258],"mapped",[104,97]],[[13259,13259],"mapped",[104,112]],[[13260,13260],"mapped",[105,110]],[[13261,13261],"mapped",[107,107]],[[13262,13262],"mapped",[107,109]],[[13263,13263],"mapped",[107,116]],[[13264,13264],"mapped",[108,109]],[[13265,13265],"mapped",[108,110]],[[13266,13266],"mapped",[108,111,103]],[[13267,13267],"mapped",[108,120]],[[13268,13268],"mapped",[109,98]],[[13269,13269],"mapped",[109,105,108]],[[13270,13270],"mapped",[109,111,108]],[[13271,13271],"mapped",[112,104]],[[13272,13272],"disallowed"],[[13273,13273],"mapped",[112,112,109]],[[13274,13274],"mapped",[112,114]],[[13275,13275],"mapped",[115,114]],[[13276,13276],"mapped",[115,118]],[[13277,13277],"mapped",[119,98]],[[13278,13278],"mapped",[118,8725,109]],[[13279,13279],"mapped",[97,8725,109]],[[13280,13280],"mapped",[49,26085]],[[13281,13281],"mapped",[50,26085]],[[13282,13282],"mapped",[51,26085]],[[13283,13283],"mapped",[52,26085]],[[13284,13284],"mapped",[53,26085]],[[13285,13285],"mapped",[54,26085]],[[13286,13286],"mapped",[55,26085]],[[13287,13287],"mapped",[56,26085]],[[13288,13288],"mapped",[57,26085]],[[13289,13289],"mapped",[49,48,26085]],[[13290,13290],"mapped",[49,49,26085]],[[13291,13291],"mapped",[49,50,26085]],[[13292,13292],"mapped",[49,51,26085]],[[13293,13293],"mapped",[49,52,26085]],[[13294,13294],"mapped",[49,53,26085]],[[13295,13295],"mapped",[49,54,26085]],[[13296,13296],"mapped",[49,55,26085]],[[13297,13297],"mapped",[49,56,26085]],[[13298,13298],"mapped",[49,57,26085]],[[13299,13299],"mapped",[50,48,26085]],[[13300,13300],"mapped",[50,49,26085]],[[13301,13301],"mapped",[50,50,26085]],[[13302,13302],"mapped",[50,51,26085]],[[13303,13303],"mapped",[50,52,26085]],[[13304,13304],"mapped",[50,53,26085]],[[13305,13305],"mapped",[50,54,26085]],[[13306,13306],"mapped",[50,55,26085]],[[13307,13307],"mapped",[50,56,26085]],[[13308,13308],"mapped",[50,57,26085]],[[13309,13309],"mapped",[51,48,26085]],[[13310,13310],"mapped",[51,49,26085]],[[13311,13311],"mapped",[103,97,108]],[[13312,19893],"valid"],[[19894,19903],"disallowed"],[[19904,19967],"valid",[],"NV8"],[[19968,40869],"valid"],[[40870,40891],"valid"],[[40892,40899],"valid"],[[40900,40907],"valid"],[[40908,40908],"valid"],[[40909,40917],"valid"],[[40918,40959],"disallowed"],[[40960,42124],"valid"],[[42125,42127],"disallowed"],[[42128,42145],"valid",[],"NV8"],[[42146,42147],"valid",[],"NV8"],[[42148,42163],"valid",[],"NV8"],[[42164,42164],"valid",[],"NV8"],[[42165,42176],"valid",[],"NV8"],[[42177,42177],"valid",[],"NV8"],[[42178,42180],"valid",[],"NV8"],[[42181,42181],"valid",[],"NV8"],[[42182,42182],"valid",[],"NV8"],[[42183,42191],"disallowed"],[[42192,42237],"valid"],[[42238,42239],"valid",[],"NV8"],[[42240,42508],"valid"],[[42509,42511],"valid",[],"NV8"],[[42512,42539],"valid"],[[42540,42559],"disallowed"],[[42560,42560],"mapped",[42561]],[[42561,42561],"valid"],[[42562,42562],"mapped",[42563]],[[42563,42563],"valid"],[[42564,42564],"mapped",[42565]],[[42565,42565],"valid"],[[42566,42566],"mapped",[42567]],[[42567,42567],"valid"],[[42568,42568],"mapped",[42569]],[[42569,42569],"valid"],[[42570,42570],"mapped",[42571]],[[42571,42571],"valid"],[[42572,42572],"mapped",[42573]],[[42573,42573],"valid"],[[42574,42574],"mapped",[42575]],[[42575,42575],"valid"],[[42576,42576],"mapped",[42577]],[[42577,42577],"valid"],[[42578,42578],"mapped",[42579]],[[42579,42579],"valid"],[[42580,42580],"mapped",[42581]],[[42581,42581],"valid"],[[42582,42582],"mapped",[42583]],[[42583,42583],"valid"],[[42584,42584],"mapped",[42585]],[[42585,42585],"valid"],[[42586,42586],"mapped",[42587]],[[42587,42587],"valid"],[[42588,42588],"mapped",[42589]],[[42589,42589],"valid"],[[42590,42590],"mapped",[42591]],[[42591,42591],"valid"],[[42592,42592],"mapped",[42593]],[[42593,42593],"valid"],[[42594,42594],"mapped",[42595]],[[42595,42595],"valid"],[[42596,42596],"mapped",[42597]],[[42597,42597],"valid"],[[42598,42598],"mapped",[42599]],[[42599,42599],"valid"],[[42600,42600],"mapped",[42601]],[[42601,42601],"valid"],[[42602,42602],"mapped",[42603]],[[42603,42603],"valid"],[[42604,42604],"mapped",[42605]],[[42605,42607],"valid"],[[42608,42611],"valid",[],"NV8"],[[42612,42619],"valid"],[[42620,42621],"valid"],[[42622,42622],"valid",[],"NV8"],[[42623,42623],"valid"],[[42624,42624],"mapped",[42625]],[[42625,42625],"valid"],[[42626,42626],"mapped",[42627]],[[42627,42627],"valid"],[[42628,42628],"mapped",[42629]],[[42629,42629],"valid"],[[42630,42630],"mapped",[42631]],[[42631,42631],"valid"],[[42632,42632],"mapped",[42633]],[[42633,42633],"valid"],[[42634,42634],"mapped",[42635]],[[42635,42635],"valid"],[[42636,42636],"mapped",[42637]],[[42637,42637],"valid"],[[42638,42638],"mapped",[42639]],[[42639,42639],"valid"],[[42640,42640],"mapped",[42641]],[[42641,42641],"valid"],[[42642,42642],"mapped",[42643]],[[42643,42643],"valid"],[[42644,42644],"mapped",[42645]],[[42645,42645],"valid"],[[42646,42646],"mapped",[42647]],[[42647,42647],"valid"],[[42648,42648],"mapped",[42649]],[[42649,42649],"valid"],[[42650,42650],"mapped",[42651]],[[42651,42651],"valid"],[[42652,42652],"mapped",[1098]],[[42653,42653],"mapped",[1100]],[[42654,42654],"valid"],[[42655,42655],"valid"],[[42656,42725],"valid"],[[42726,42735],"valid",[],"NV8"],[[42736,42737],"valid"],[[42738,42743],"valid",[],"NV8"],[[42744,42751],"disallowed"],[[42752,42774],"valid",[],"NV8"],[[42775,42778],"valid"],[[42779,42783],"valid"],[[42784,42785],"valid",[],"NV8"],[[42786,42786],"mapped",[42787]],[[42787,42787],"valid"],[[42788,42788],"mapped",[42789]],[[42789,42789],"valid"],[[42790,42790],"mapped",[42791]],[[42791,42791],"valid"],[[42792,42792],"mapped",[42793]],[[42793,42793],"valid"],[[42794,42794],"mapped",[42795]],[[42795,42795],"valid"],[[42796,42796],"mapped",[42797]],[[42797,42797],"valid"],[[42798,42798],"mapped",[42799]],[[42799,42801],"valid"],[[42802,42802],"mapped",[42803]],[[42803,42803],"valid"],[[42804,42804],"mapped",[42805]],[[42805,42805],"valid"],[[42806,42806],"mapped",[42807]],[[42807,42807],"valid"],[[42808,42808],"mapped",[42809]],[[42809,42809],"valid"],[[42810,42810],"mapped",[42811]],[[42811,42811],"valid"],[[42812,42812],"mapped",[42813]],[[42813,42813],"valid"],[[42814,42814],"mapped",[42815]],[[42815,42815],"valid"],[[42816,42816],"mapped",[42817]],[[42817,42817],"valid"],[[42818,42818],"mapped",[42819]],[[42819,42819],"valid"],[[42820,42820],"mapped",[42821]],[[42821,42821],"valid"],[[42822,42822],"mapped",[42823]],[[42823,42823],"valid"],[[42824,42824],"mapped",[42825]],[[42825,42825],"valid"],[[42826,42826],"mapped",[42827]],[[42827,42827],"valid"],[[42828,42828],"mapped",[42829]],[[42829,42829],"valid"],[[42830,42830],"mapped",[42831]],[[42831,42831],"valid"],[[42832,42832],"mapped",[42833]],[[42833,42833],"valid"],[[42834,42834],"mapped",[42835]],[[42835,42835],"valid"],[[42836,42836],"mapped",[42837]],[[42837,42837],"valid"],[[42838,42838],"mapped",[42839]],[[42839,42839],"valid"],[[42840,42840],"mapped",[42841]],[[42841,42841],"valid"],[[42842,42842],"mapped",[42843]],[[42843,42843],"valid"],[[42844,42844],"mapped",[42845]],[[42845,42845],"valid"],[[42846,42846],"mapped",[42847]],[[42847,42847],"valid"],[[42848,42848],"mapped",[42849]],[[42849,42849],"valid"],[[42850,42850],"mapped",[42851]],[[42851,42851],"valid"],[[42852,42852],"mapped",[42853]],[[42853,42853],"valid"],[[42854,42854],"mapped",[42855]],[[42855,42855],"valid"],[[42856,42856],"mapped",[42857]],[[42857,42857],"valid"],[[42858,42858],"mapped",[42859]],[[42859,42859],"valid"],[[42860,42860],"mapped",[42861]],[[42861,42861],"valid"],[[42862,42862],"mapped",[42863]],[[42863,42863],"valid"],[[42864,42864],"mapped",[42863]],[[42865,42872],"valid"],[[42873,42873],"mapped",[42874]],[[42874,42874],"valid"],[[42875,42875],"mapped",[42876]],[[42876,42876],"valid"],[[42877,42877],"mapped",[7545]],[[42878,42878],"mapped",[42879]],[[42879,42879],"valid"],[[42880,42880],"mapped",[42881]],[[42881,42881],"valid"],[[42882,42882],"mapped",[42883]],[[42883,42883],"valid"],[[42884,42884],"mapped",[42885]],[[42885,42885],"valid"],[[42886,42886],"mapped",[42887]],[[42887,42888],"valid"],[[42889,42890],"valid",[],"NV8"],[[42891,42891],"mapped",[42892]],[[42892,42892],"valid"],[[42893,42893],"mapped",[613]],[[42894,42894],"valid"],[[42895,42895],"valid"],[[42896,42896],"mapped",[42897]],[[42897,42897],"valid"],[[42898,42898],"mapped",[42899]],[[42899,42899],"valid"],[[42900,42901],"valid"],[[42902,42902],"mapped",[42903]],[[42903,42903],"valid"],[[42904,42904],"mapped",[42905]],[[42905,42905],"valid"],[[42906,42906],"mapped",[42907]],[[42907,42907],"valid"],[[42908,42908],"mapped",[42909]],[[42909,42909],"valid"],[[42910,42910],"mapped",[42911]],[[42911,42911],"valid"],[[42912,42912],"mapped",[42913]],[[42913,42913],"valid"],[[42914,42914],"mapped",[42915]],[[42915,42915],"valid"],[[42916,42916],"mapped",[42917]],[[42917,42917],"valid"],[[42918,42918],"mapped",[42919]],[[42919,42919],"valid"],[[42920,42920],"mapped",[42921]],[[42921,42921],"valid"],[[42922,42922],"mapped",[614]],[[42923,42923],"mapped",[604]],[[42924,42924],"mapped",[609]],[[42925,42925],"mapped",[620]],[[42926,42927],"disallowed"],[[42928,42928],"mapped",[670]],[[42929,42929],"mapped",[647]],[[42930,42930],"mapped",[669]],[[42931,42931],"mapped",[43859]],[[42932,42932],"mapped",[42933]],[[42933,42933],"valid"],[[42934,42934],"mapped",[42935]],[[42935,42935],"valid"],[[42936,42998],"disallowed"],[[42999,42999],"valid"],[[43000,43000],"mapped",[295]],[[43001,43001],"mapped",[339]],[[43002,43002],"valid"],[[43003,43007],"valid"],[[43008,43047],"valid"],[[43048,43051],"valid",[],"NV8"],[[43052,43055],"disallowed"],[[43056,43065],"valid",[],"NV8"],[[43066,43071],"disallowed"],[[43072,43123],"valid"],[[43124,43127],"valid",[],"NV8"],[[43128,43135],"disallowed"],[[43136,43204],"valid"],[[43205,43213],"disallowed"],[[43214,43215],"valid",[],"NV8"],[[43216,43225],"valid"],[[43226,43231],"disallowed"],[[43232,43255],"valid"],[[43256,43258],"valid",[],"NV8"],[[43259,43259],"valid"],[[43260,43260],"valid",[],"NV8"],[[43261,43261],"valid"],[[43262,43263],"disallowed"],[[43264,43309],"valid"],[[43310,43311],"valid",[],"NV8"],[[43312,43347],"valid"],[[43348,43358],"disallowed"],[[43359,43359],"valid",[],"NV8"],[[43360,43388],"valid",[],"NV8"],[[43389,43391],"disallowed"],[[43392,43456],"valid"],[[43457,43469],"valid",[],"NV8"],[[43470,43470],"disallowed"],[[43471,43481],"valid"],[[43482,43485],"disallowed"],[[43486,43487],"valid",[],"NV8"],[[43488,43518],"valid"],[[43519,43519],"disallowed"],[[43520,43574],"valid"],[[43575,43583],"disallowed"],[[43584,43597],"valid"],[[43598,43599],"disallowed"],[[43600,43609],"valid"],[[43610,43611],"disallowed"],[[43612,43615],"valid",[],"NV8"],[[43616,43638],"valid"],[[43639,43641],"valid",[],"NV8"],[[43642,43643],"valid"],[[43644,43647],"valid"],[[43648,43714],"valid"],[[43715,43738],"disallowed"],[[43739,43741],"valid"],[[43742,43743],"valid",[],"NV8"],[[43744,43759],"valid"],[[43760,43761],"valid",[],"NV8"],[[43762,43766],"valid"],[[43767,43776],"disallowed"],[[43777,43782],"valid"],[[43783,43784],"disallowed"],[[43785,43790],"valid"],[[43791,43792],"disallowed"],[[43793,43798],"valid"],[[43799,43807],"disallowed"],[[43808,43814],"valid"],[[43815,43815],"disallowed"],[[43816,43822],"valid"],[[43823,43823],"disallowed"],[[43824,43866],"valid"],[[43867,43867],"valid",[],"NV8"],[[43868,43868],"mapped",[42791]],[[43869,43869],"mapped",[43831]],[[43870,43870],"mapped",[619]],[[43871,43871],"mapped",[43858]],[[43872,43875],"valid"],[[43876,43877],"valid"],[[43878,43887],"disallowed"],[[43888,43888],"mapped",[5024]],[[43889,43889],"mapped",[5025]],[[43890,43890],"mapped",[5026]],[[43891,43891],"mapped",[5027]],[[43892,43892],"mapped",[5028]],[[43893,43893],"mapped",[5029]],[[43894,43894],"mapped",[5030]],[[43895,43895],"mapped",[5031]],[[43896,43896],"mapped",[5032]],[[43897,43897],"mapped",[5033]],[[43898,43898],"mapped",[5034]],[[43899,43899],"mapped",[5035]],[[43900,43900],"mapped",[5036]],[[43901,43901],"mapped",[5037]],[[43902,43902],"mapped",[5038]],[[43903,43903],"mapped",[5039]],[[43904,43904],"mapped",[5040]],[[43905,43905],"mapped",[5041]],[[43906,43906],"mapped",[5042]],[[43907,43907],"mapped",[5043]],[[43908,43908],"mapped",[5044]],[[43909,43909],"mapped",[5045]],[[43910,43910],"mapped",[5046]],[[43911,43911],"mapped",[5047]],[[43912,43912],"mapped",[5048]],[[43913,43913],"mapped",[5049]],[[43914,43914],"mapped",[5050]],[[43915,43915],"mapped",[5051]],[[43916,43916],"mapped",[5052]],[[43917,43917],"mapped",[5053]],[[43918,43918],"mapped",[5054]],[[43919,43919],"mapped",[5055]],[[43920,43920],"mapped",[5056]],[[43921,43921],"mapped",[5057]],[[43922,43922],"mapped",[5058]],[[43923,43923],"mapped",[5059]],[[43924,43924],"mapped",[5060]],[[43925,43925],"mapped",[5061]],[[43926,43926],"mapped",[5062]],[[43927,43927],"mapped",[5063]],[[43928,43928],"mapped",[5064]],[[43929,43929],"mapped",[5065]],[[43930,43930],"mapped",[5066]],[[43931,43931],"mapped",[5067]],[[43932,43932],"mapped",[5068]],[[43933,43933],"mapped",[5069]],[[43934,43934],"mapped",[5070]],[[43935,43935],"mapped",[5071]],[[43936,43936],"mapped",[5072]],[[43937,43937],"mapped",[5073]],[[43938,43938],"mapped",[5074]],[[43939,43939],"mapped",[5075]],[[43940,43940],"mapped",[5076]],[[43941,43941],"mapped",[5077]],[[43942,43942],"mapped",[5078]],[[43943,43943],"mapped",[5079]],[[43944,43944],"mapped",[5080]],[[43945,43945],"mapped",[5081]],[[43946,43946],"mapped",[5082]],[[43947,43947],"mapped",[5083]],[[43948,43948],"mapped",[5084]],[[43949,43949],"mapped",[5085]],[[43950,43950],"mapped",[5086]],[[43951,43951],"mapped",[5087]],[[43952,43952],"mapped",[5088]],[[43953,43953],"mapped",[5089]],[[43954,43954],"mapped",[5090]],[[43955,43955],"mapped",[5091]],[[43956,43956],"mapped",[5092]],[[43957,43957],"mapped",[5093]],[[43958,43958],"mapped",[5094]],[[43959,43959],"mapped",[5095]],[[43960,43960],"mapped",[5096]],[[43961,43961],"mapped",[5097]],[[43962,43962],"mapped",[5098]],[[43963,43963],"mapped",[5099]],[[43964,43964],"mapped",[5100]],[[43965,43965],"mapped",[5101]],[[43966,43966],"mapped",[5102]],[[43967,43967],"mapped",[5103]],[[43968,44010],"valid"],[[44011,44011],"valid",[],"NV8"],[[44012,44013],"valid"],[[44014,44015],"disallowed"],[[44016,44025],"valid"],[[44026,44031],"disallowed"],[[44032,55203],"valid"],[[55204,55215],"disallowed"],[[55216,55238],"valid",[],"NV8"],[[55239,55242],"disallowed"],[[55243,55291],"valid",[],"NV8"],[[55292,55295],"disallowed"],[[55296,57343],"disallowed"],[[57344,63743],"disallowed"],[[63744,63744],"mapped",[35912]],[[63745,63745],"mapped",[26356]],[[63746,63746],"mapped",[36554]],[[63747,63747],"mapped",[36040]],[[63748,63748],"mapped",[28369]],[[63749,63749],"mapped",[20018]],[[63750,63750],"mapped",[21477]],[[63751,63752],"mapped",[40860]],[[63753,63753],"mapped",[22865]],[[63754,63754],"mapped",[37329]],[[63755,63755],"mapped",[21895]],[[63756,63756],"mapped",[22856]],[[63757,63757],"mapped",[25078]],[[63758,63758],"mapped",[30313]],[[63759,63759],"mapped",[32645]],[[63760,63760],"mapped",[34367]],[[63761,63761],"mapped",[34746]],[[63762,63762],"mapped",[35064]],[[63763,63763],"mapped",[37007]],[[63764,63764],"mapped",[27138]],[[63765,63765],"mapped",[27931]],[[63766,63766],"mapped",[28889]],[[63767,63767],"mapped",[29662]],[[63768,63768],"mapped",[33853]],[[63769,63769],"mapped",[37226]],[[63770,63770],"mapped",[39409]],[[63771,63771],"mapped",[20098]],[[63772,63772],"mapped",[21365]],[[63773,63773],"mapped",[27396]],[[63774,63774],"mapped",[29211]],[[63775,63775],"mapped",[34349]],[[63776,63776],"mapped",[40478]],[[63777,63777],"mapped",[23888]],[[63778,63778],"mapped",[28651]],[[63779,63779],"mapped",[34253]],[[63780,63780],"mapped",[35172]],[[63781,63781],"mapped",[25289]],[[63782,63782],"mapped",[33240]],[[63783,63783],"mapped",[34847]],[[63784,63784],"mapped",[24266]],[[63785,63785],"mapped",[26391]],[[63786,63786],"mapped",[28010]],[[63787,63787],"mapped",[29436]],[[63788,63788],"mapped",[37070]],[[63789,63789],"mapped",[20358]],[[63790,63790],"mapped",[20919]],[[63791,63791],"mapped",[21214]],[[63792,63792],"mapped",[25796]],[[63793,63793],"mapped",[27347]],[[63794,63794],"mapped",[29200]],[[63795,63795],"mapped",[30439]],[[63796,63796],"mapped",[32769]],[[63797,63797],"mapped",[34310]],[[63798,63798],"mapped",[34396]],[[63799,63799],"mapped",[36335]],[[63800,63800],"mapped",[38706]],[[63801,63801],"mapped",[39791]],[[63802,63802],"mapped",[40442]],[[63803,63803],"mapped",[30860]],[[63804,63804],"mapped",[31103]],[[63805,63805],"mapped",[32160]],[[63806,63806],"mapped",[33737]],[[63807,63807],"mapped",[37636]],[[63808,63808],"mapped",[40575]],[[63809,63809],"mapped",[35542]],[[63810,63810],"mapped",[22751]],[[63811,63811],"mapped",[24324]],[[63812,63812],"mapped",[31840]],[[63813,63813],"mapped",[32894]],[[63814,63814],"mapped",[29282]],[[63815,63815],"mapped",[30922]],[[63816,63816],"mapped",[36034]],[[63817,63817],"mapped",[38647]],[[63818,63818],"mapped",[22744]],[[63819,63819],"mapped",[23650]],[[63820,63820],"mapped",[27155]],[[63821,63821],"mapped",[28122]],[[63822,63822],"mapped",[28431]],[[63823,63823],"mapped",[32047]],[[63824,63824],"mapped",[32311]],[[63825,63825],"mapped",[38475]],[[63826,63826],"mapped",[21202]],[[63827,63827],"mapped",[32907]],[[63828,63828],"mapped",[20956]],[[63829,63829],"mapped",[20940]],[[63830,63830],"mapped",[31260]],[[63831,63831],"mapped",[32190]],[[63832,63832],"mapped",[33777]],[[63833,63833],"mapped",[38517]],[[63834,63834],"mapped",[35712]],[[63835,63835],"mapped",[25295]],[[63836,63836],"mapped",[27138]],[[63837,63837],"mapped",[35582]],[[63838,63838],"mapped",[20025]],[[63839,63839],"mapped",[23527]],[[63840,63840],"mapped",[24594]],[[63841,63841],"mapped",[29575]],[[63842,63842],"mapped",[30064]],[[63843,63843],"mapped",[21271]],[[63844,63844],"mapped",[30971]],[[63845,63845],"mapped",[20415]],[[63846,63846],"mapped",[24489]],[[63847,63847],"mapped",[19981]],[[63848,63848],"mapped",[27852]],[[63849,63849],"mapped",[25976]],[[63850,63850],"mapped",[32034]],[[63851,63851],"mapped",[21443]],[[63852,63852],"mapped",[22622]],[[63853,63853],"mapped",[30465]],[[63854,63854],"mapped",[33865]],[[63855,63855],"mapped",[35498]],[[63856,63856],"mapped",[27578]],[[63857,63857],"mapped",[36784]],[[63858,63858],"mapped",[27784]],[[63859,63859],"mapped",[25342]],[[63860,63860],"mapped",[33509]],[[63861,63861],"mapped",[25504]],[[63862,63862],"mapped",[30053]],[[63863,63863],"mapped",[20142]],[[63864,63864],"mapped",[20841]],[[63865,63865],"mapped",[20937]],[[63866,63866],"mapped",[26753]],[[63867,63867],"mapped",[31975]],[[63868,63868],"mapped",[33391]],[[63869,63869],"mapped",[35538]],[[63870,63870],"mapped",[37327]],[[63871,63871],"mapped",[21237]],[[63872,63872],"mapped",[21570]],[[63873,63873],"mapped",[22899]],[[63874,63874],"mapped",[24300]],[[63875,63875],"mapped",[26053]],[[63876,63876],"mapped",[28670]],[[63877,63877],"mapped",[31018]],[[63878,63878],"mapped",[38317]],[[63879,63879],"mapped",[39530]],[[63880,63880],"mapped",[40599]],[[63881,63881],"mapped",[40654]],[[63882,63882],"mapped",[21147]],[[63883,63883],"mapped",[26310]],[[63884,63884],"mapped",[27511]],[[63885,63885],"mapped",[36706]],[[63886,63886],"mapped",[24180]],[[63887,63887],"mapped",[24976]],[[63888,63888],"mapped",[25088]],[[63889,63889],"mapped",[25754]],[[63890,63890],"mapped",[28451]],[[63891,63891],"mapped",[29001]],[[63892,63892],"mapped",[29833]],[[63893,63893],"mapped",[31178]],[[63894,63894],"mapped",[32244]],[[63895,63895],"mapped",[32879]],[[63896,63896],"mapped",[36646]],[[63897,63897],"mapped",[34030]],[[63898,63898],"mapped",[36899]],[[63899,63899],"mapped",[37706]],[[63900,63900],"mapped",[21015]],[[63901,63901],"mapped",[21155]],[[63902,63902],"mapped",[21693]],[[63903,63903],"mapped",[28872]],[[63904,63904],"mapped",[35010]],[[63905,63905],"mapped",[35498]],[[63906,63906],"mapped",[24265]],[[63907,63907],"mapped",[24565]],[[63908,63908],"mapped",[25467]],[[63909,63909],"mapped",[27566]],[[63910,63910],"mapped",[31806]],[[63911,63911],"mapped",[29557]],[[63912,63912],"mapped",[20196]],[[63913,63913],"mapped",[22265]],[[63914,63914],"mapped",[23527]],[[63915,63915],"mapped",[23994]],[[63916,63916],"mapped",[24604]],[[63917,63917],"mapped",[29618]],[[63918,63918],"mapped",[29801]],[[63919,63919],"mapped",[32666]],[[63920,63920],"mapped",[32838]],[[63921,63921],"mapped",[37428]],[[63922,63922],"mapped",[38646]],[[63923,63923],"mapped",[38728]],[[63924,63924],"mapped",[38936]],[[63925,63925],"mapped",[20363]],[[63926,63926],"mapped",[31150]],[[63927,63927],"mapped",[37300]],[[63928,63928],"mapped",[38584]],[[63929,63929],"mapped",[24801]],[[63930,63930],"mapped",[20102]],[[63931,63931],"mapped",[20698]],[[63932,63932],"mapped",[23534]],[[63933,63933],"mapped",[23615]],[[63934,63934],"mapped",[26009]],[[63935,63935],"mapped",[27138]],[[63936,63936],"mapped",[29134]],[[63937,63937],"mapped",[30274]],[[63938,63938],"mapped",[34044]],[[63939,63939],"mapped",[36988]],[[63940,63940],"mapped",[40845]],[[63941,63941],"mapped",[26248]],[[63942,63942],"mapped",[38446]],[[63943,63943],"mapped",[21129]],[[63944,63944],"mapped",[26491]],[[63945,63945],"mapped",[26611]],[[63946,63946],"mapped",[27969]],[[63947,63947],"mapped",[28316]],[[63948,63948],"mapped",[29705]],[[63949,63949],"mapped",[30041]],[[63950,63950],"mapped",[30827]],[[63951,63951],"mapped",[32016]],[[63952,63952],"mapped",[39006]],[[63953,63953],"mapped",[20845]],[[63954,63954],"mapped",[25134]],[[63955,63955],"mapped",[38520]],[[63956,63956],"mapped",[20523]],[[63957,63957],"mapped",[23833]],[[63958,63958],"mapped",[28138]],[[63959,63959],"mapped",[36650]],[[63960,63960],"mapped",[24459]],[[63961,63961],"mapped",[24900]],[[63962,63962],"mapped",[26647]],[[63963,63963],"mapped",[29575]],[[63964,63964],"mapped",[38534]],[[63965,63965],"mapped",[21033]],[[63966,63966],"mapped",[21519]],[[63967,63967],"mapped",[23653]],[[63968,63968],"mapped",[26131]],[[63969,63969],"mapped",[26446]],[[63970,63970],"mapped",[26792]],[[63971,63971],"mapped",[27877]],[[63972,63972],"mapped",[29702]],[[63973,63973],"mapped",[30178]],[[63974,63974],"mapped",[32633]],[[63975,63975],"mapped",[35023]],[[63976,63976],"mapped",[35041]],[[63977,63977],"mapped",[37324]],[[63978,63978],"mapped",[38626]],[[63979,63979],"mapped",[21311]],[[63980,63980],"mapped",[28346]],[[63981,63981],"mapped",[21533]],[[63982,63982],"mapped",[29136]],[[63983,63983],"mapped",[29848]],[[63984,63984],"mapped",[34298]],[[63985,63985],"mapped",[38563]],[[63986,63986],"mapped",[40023]],[[63987,63987],"mapped",[40607]],[[63988,63988],"mapped",[26519]],[[63989,63989],"mapped",[28107]],[[63990,63990],"mapped",[33256]],[[63991,63991],"mapped",[31435]],[[63992,63992],"mapped",[31520]],[[63993,63993],"mapped",[31890]],[[63994,63994],"mapped",[29376]],[[63995,63995],"mapped",[28825]],[[63996,63996],"mapped",[35672]],[[63997,63997],"mapped",[20160]],[[63998,63998],"mapped",[33590]],[[63999,63999],"mapped",[21050]],[[64000,64000],"mapped",[20999]],[[64001,64001],"mapped",[24230]],[[64002,64002],"mapped",[25299]],[[64003,64003],"mapped",[31958]],[[64004,64004],"mapped",[23429]],[[64005,64005],"mapped",[27934]],[[64006,64006],"mapped",[26292]],[[64007,64007],"mapped",[36667]],[[64008,64008],"mapped",[34892]],[[64009,64009],"mapped",[38477]],[[64010,64010],"mapped",[35211]],[[64011,64011],"mapped",[24275]],[[64012,64012],"mapped",[20800]],[[64013,64013],"mapped",[21952]],[[64014,64015],"valid"],[[64016,64016],"mapped",[22618]],[[64017,64017],"valid"],[[64018,64018],"mapped",[26228]],[[64019,64020],"valid"],[[64021,64021],"mapped",[20958]],[[64022,64022],"mapped",[29482]],[[64023,64023],"mapped",[30410]],[[64024,64024],"mapped",[31036]],[[64025,64025],"mapped",[31070]],[[64026,64026],"mapped",[31077]],[[64027,64027],"mapped",[31119]],[[64028,64028],"mapped",[38742]],[[64029,64029],"mapped",[31934]],[[64030,64030],"mapped",[32701]],[[64031,64031],"valid"],[[64032,64032],"mapped",[34322]],[[64033,64033],"valid"],[[64034,64034],"mapped",[35576]],[[64035,64036],"valid"],[[64037,64037],"mapped",[36920]],[[64038,64038],"mapped",[37117]],[[64039,64041],"valid"],[[64042,64042],"mapped",[39151]],[[64043,64043],"mapped",[39164]],[[64044,64044],"mapped",[39208]],[[64045,64045],"mapped",[40372]],[[64046,64046],"mapped",[37086]],[[64047,64047],"mapped",[38583]],[[64048,64048],"mapped",[20398]],[[64049,64049],"mapped",[20711]],[[64050,64050],"mapped",[20813]],[[64051,64051],"mapped",[21193]],[[64052,64052],"mapped",[21220]],[[64053,64053],"mapped",[21329]],[[64054,64054],"mapped",[21917]],[[64055,64055],"mapped",[22022]],[[64056,64056],"mapped",[22120]],[[64057,64057],"mapped",[22592]],[[64058,64058],"mapped",[22696]],[[64059,64059],"mapped",[23652]],[[64060,64060],"mapped",[23662]],[[64061,64061],"mapped",[24724]],[[64062,64062],"mapped",[24936]],[[64063,64063],"mapped",[24974]],[[64064,64064],"mapped",[25074]],[[64065,64065],"mapped",[25935]],[[64066,64066],"mapped",[26082]],[[64067,64067],"mapped",[26257]],[[64068,64068],"mapped",[26757]],[[64069,64069],"mapped",[28023]],[[64070,64070],"mapped",[28186]],[[64071,64071],"mapped",[28450]],[[64072,64072],"mapped",[29038]],[[64073,64073],"mapped",[29227]],[[64074,64074],"mapped",[29730]],[[64075,64075],"mapped",[30865]],[[64076,64076],"mapped",[31038]],[[64077,64077],"mapped",[31049]],[[64078,64078],"mapped",[31048]],[[64079,64079],"mapped",[31056]],[[64080,64080],"mapped",[31062]],[[64081,64081],"mapped",[31069]],[[64082,64082],"mapped",[31117]],[[64083,64083],"mapped",[31118]],[[64084,64084],"mapped",[31296]],[[64085,64085],"mapped",[31361]],[[64086,64086],"mapped",[31680]],[[64087,64087],"mapped",[32244]],[[64088,64088],"mapped",[32265]],[[64089,64089],"mapped",[32321]],[[64090,64090],"mapped",[32626]],[[64091,64091],"mapped",[32773]],[[64092,64092],"mapped",[33261]],[[64093,64094],"mapped",[33401]],[[64095,64095],"mapped",[33879]],[[64096,64096],"mapped",[35088]],[[64097,64097],"mapped",[35222]],[[64098,64098],"mapped",[35585]],[[64099,64099],"mapped",[35641]],[[64100,64100],"mapped",[36051]],[[64101,64101],"mapped",[36104]],[[64102,64102],"mapped",[36790]],[[64103,64103],"mapped",[36920]],[[64104,64104],"mapped",[38627]],[[64105,64105],"mapped",[38911]],[[64106,64106],"mapped",[38971]],[[64107,64107],"mapped",[24693]],[[64108,64108],"mapped",[148206]],[[64109,64109],"mapped",[33304]],[[64110,64111],"disallowed"],[[64112,64112],"mapped",[20006]],[[64113,64113],"mapped",[20917]],[[64114,64114],"mapped",[20840]],[[64115,64115],"mapped",[20352]],[[64116,64116],"mapped",[20805]],[[64117,64117],"mapped",[20864]],[[64118,64118],"mapped",[21191]],[[64119,64119],"mapped",[21242]],[[64120,64120],"mapped",[21917]],[[64121,64121],"mapped",[21845]],[[64122,64122],"mapped",[21913]],[[64123,64123],"mapped",[21986]],[[64124,64124],"mapped",[22618]],[[64125,64125],"mapped",[22707]],[[64126,64126],"mapped",[22852]],[[64127,64127],"mapped",[22868]],[[64128,64128],"mapped",[23138]],[[64129,64129],"mapped",[23336]],[[64130,64130],"mapped",[24274]],[[64131,64131],"mapped",[24281]],[[64132,64132],"mapped",[24425]],[[64133,64133],"mapped",[24493]],[[64134,64134],"mapped",[24792]],[[64135,64135],"mapped",[24910]],[[64136,64136],"mapped",[24840]],[[64137,64137],"mapped",[24974]],[[64138,64138],"mapped",[24928]],[[64139,64139],"mapped",[25074]],[[64140,64140],"mapped",[25140]],[[64141,64141],"mapped",[25540]],[[64142,64142],"mapped",[25628]],[[64143,64143],"mapped",[25682]],[[64144,64144],"mapped",[25942]],[[64145,64145],"mapped",[26228]],[[64146,64146],"mapped",[26391]],[[64147,64147],"mapped",[26395]],[[64148,64148],"mapped",[26454]],[[64149,64149],"mapped",[27513]],[[64150,64150],"mapped",[27578]],[[64151,64151],"mapped",[27969]],[[64152,64152],"mapped",[28379]],[[64153,64153],"mapped",[28363]],[[64154,64154],"mapped",[28450]],[[64155,64155],"mapped",[28702]],[[64156,64156],"mapped",[29038]],[[64157,64157],"mapped",[30631]],[[64158,64158],"mapped",[29237]],[[64159,64159],"mapped",[29359]],[[64160,64160],"mapped",[29482]],[[64161,64161],"mapped",[29809]],[[64162,64162],"mapped",[29958]],[[64163,64163],"mapped",[30011]],[[64164,64164],"mapped",[30237]],[[64165,64165],"mapped",[30239]],[[64166,64166],"mapped",[30410]],[[64167,64167],"mapped",[30427]],[[64168,64168],"mapped",[30452]],[[64169,64169],"mapped",[30538]],[[64170,64170],"mapped",[30528]],[[64171,64171],"mapped",[30924]],[[64172,64172],"mapped",[31409]],[[64173,64173],"mapped",[31680]],[[64174,64174],"mapped",[31867]],[[64175,64175],"mapped",[32091]],[[64176,64176],"mapped",[32244]],[[64177,64177],"mapped",[32574]],[[64178,64178],"mapped",[32773]],[[64179,64179],"mapped",[33618]],[[64180,64180],"mapped",[33775]],[[64181,64181],"mapped",[34681]],[[64182,64182],"mapped",[35137]],[[64183,64183],"mapped",[35206]],[[64184,64184],"mapped",[35222]],[[64185,64185],"mapped",[35519]],[[64186,64186],"mapped",[35576]],[[64187,64187],"mapped",[35531]],[[64188,64188],"mapped",[35585]],[[64189,64189],"mapped",[35582]],[[64190,64190],"mapped",[35565]],[[64191,64191],"mapped",[35641]],[[64192,64192],"mapped",[35722]],[[64193,64193],"mapped",[36104]],[[64194,64194],"mapped",[36664]],[[64195,64195],"mapped",[36978]],[[64196,64196],"mapped",[37273]],[[64197,64197],"mapped",[37494]],[[64198,64198],"mapped",[38524]],[[64199,64199],"mapped",[38627]],[[64200,64200],"mapped",[38742]],[[64201,64201],"mapped",[38875]],[[64202,64202],"mapped",[38911]],[[64203,64203],"mapped",[38923]],[[64204,64204],"mapped",[38971]],[[64205,64205],"mapped",[39698]],[[64206,64206],"mapped",[40860]],[[64207,64207],"mapped",[141386]],[[64208,64208],"mapped",[141380]],[[64209,64209],"mapped",[144341]],[[64210,64210],"mapped",[15261]],[[64211,64211],"mapped",[16408]],[[64212,64212],"mapped",[16441]],[[64213,64213],"mapped",[152137]],[[64214,64214],"mapped",[154832]],[[64215,64215],"mapped",[163539]],[[64216,64216],"mapped",[40771]],[[64217,64217],"mapped",[40846]],[[64218,64255],"disallowed"],[[64256,64256],"mapped",[102,102]],[[64257,64257],"mapped",[102,105]],[[64258,64258],"mapped",[102,108]],[[64259,64259],"mapped",[102,102,105]],[[64260,64260],"mapped",[102,102,108]],[[64261,64262],"mapped",[115,116]],[[64263,64274],"disallowed"],[[64275,64275],"mapped",[1396,1398]],[[64276,64276],"mapped",[1396,1381]],[[64277,64277],"mapped",[1396,1387]],[[64278,64278],"mapped",[1406,1398]],[[64279,64279],"mapped",[1396,1389]],[[64280,64284],"disallowed"],[[64285,64285],"mapped",[1497,1460]],[[64286,64286],"valid"],[[64287,64287],"mapped",[1522,1463]],[[64288,64288],"mapped",[1506]],[[64289,64289],"mapped",[1488]],[[64290,64290],"mapped",[1491]],[[64291,64291],"mapped",[1492]],[[64292,64292],"mapped",[1499]],[[64293,64293],"mapped",[1500]],[[64294,64294],"mapped",[1501]],[[64295,64295],"mapped",[1512]],[[64296,64296],"mapped",[1514]],[[64297,64297],"disallowed_STD3_mapped",[43]],[[64298,64298],"mapped",[1513,1473]],[[64299,64299],"mapped",[1513,1474]],[[64300,64300],"mapped",[1513,1468,1473]],[[64301,64301],"mapped",[1513,1468,1474]],[[64302,64302],"mapped",[1488,1463]],[[64303,64303],"mapped",[1488,1464]],[[64304,64304],"mapped",[1488,1468]],[[64305,64305],"mapped",[1489,1468]],[[64306,64306],"mapped",[1490,1468]],[[64307,64307],"mapped",[1491,1468]],[[64308,64308],"mapped",[1492,1468]],[[64309,64309],"mapped",[1493,1468]],[[64310,64310],"mapped",[1494,1468]],[[64311,64311],"disallowed"],[[64312,64312],"mapped",[1496,1468]],[[64313,64313],"mapped",[1497,1468]],[[64314,64314],"mapped",[1498,1468]],[[64315,64315],"mapped",[1499,1468]],[[64316,64316],"mapped",[1500,1468]],[[64317,64317],"disallowed"],[[64318,64318],"mapped",[1502,1468]],[[64319,64319],"disallowed"],[[64320,64320],"mapped",[1504,1468]],[[64321,64321],"mapped",[1505,1468]],[[64322,64322],"disallowed"],[[64323,64323],"mapped",[1507,1468]],[[64324,64324],"mapped",[1508,1468]],[[64325,64325],"disallowed"],[[64326,64326],"mapped",[1510,1468]],[[64327,64327],"mapped",[1511,1468]],[[64328,64328],"mapped",[1512,1468]],[[64329,64329],"mapped",[1513,1468]],[[64330,64330],"mapped",[1514,1468]],[[64331,64331],"mapped",[1493,1465]],[[64332,64332],"mapped",[1489,1471]],[[64333,64333],"mapped",[1499,1471]],[[64334,64334],"mapped",[1508,1471]],[[64335,64335],"mapped",[1488,1500]],[[64336,64337],"mapped",[1649]],[[64338,64341],"mapped",[1659]],[[64342,64345],"mapped",[1662]],[[64346,64349],"mapped",[1664]],[[64350,64353],"mapped",[1658]],[[64354,64357],"mapped",[1663]],[[64358,64361],"mapped",[1657]],[[64362,64365],"mapped",[1700]],[[64366,64369],"mapped",[1702]],[[64370,64373],"mapped",[1668]],[[64374,64377],"mapped",[1667]],[[64378,64381],"mapped",[1670]],[[64382,64385],"mapped",[1671]],[[64386,64387],"mapped",[1677]],[[64388,64389],"mapped",[1676]],[[64390,64391],"mapped",[1678]],[[64392,64393],"mapped",[1672]],[[64394,64395],"mapped",[1688]],[[64396,64397],"mapped",[1681]],[[64398,64401],"mapped",[1705]],[[64402,64405],"mapped",[1711]],[[64406,64409],"mapped",[1715]],[[64410,64413],"mapped",[1713]],[[64414,64415],"mapped",[1722]],[[64416,64419],"mapped",[1723]],[[64420,64421],"mapped",[1728]],[[64422,64425],"mapped",[1729]],[[64426,64429],"mapped",[1726]],[[64430,64431],"mapped",[1746]],[[64432,64433],"mapped",[1747]],[[64434,64449],"valid",[],"NV8"],[[64450,64466],"disallowed"],[[64467,64470],"mapped",[1709]],[[64471,64472],"mapped",[1735]],[[64473,64474],"mapped",[1734]],[[64475,64476],"mapped",[1736]],[[64477,64477],"mapped",[1735,1652]],[[64478,64479],"mapped",[1739]],[[64480,64481],"mapped",[1733]],[[64482,64483],"mapped",[1737]],[[64484,64487],"mapped",[1744]],[[64488,64489],"mapped",[1609]],[[64490,64491],"mapped",[1574,1575]],[[64492,64493],"mapped",[1574,1749]],[[64494,64495],"mapped",[1574,1608]],[[64496,64497],"mapped",[1574,1735]],[[64498,64499],"mapped",[1574,1734]],[[64500,64501],"mapped",[1574,1736]],[[64502,64504],"mapped",[1574,1744]],[[64505,64507],"mapped",[1574,1609]],[[64508,64511],"mapped",[1740]],[[64512,64512],"mapped",[1574,1580]],[[64513,64513],"mapped",[1574,1581]],[[64514,64514],"mapped",[1574,1605]],[[64515,64515],"mapped",[1574,1609]],[[64516,64516],"mapped",[1574,1610]],[[64517,64517],"mapped",[1576,1580]],[[64518,64518],"mapped",[1576,1581]],[[64519,64519],"mapped",[1576,1582]],[[64520,64520],"mapped",[1576,1605]],[[64521,64521],"mapped",[1576,1609]],[[64522,64522],"mapped",[1576,1610]],[[64523,64523],"mapped",[1578,1580]],[[64524,64524],"mapped",[1578,1581]],[[64525,64525],"mapped",[1578,1582]],[[64526,64526],"mapped",[1578,1605]],[[64527,64527],"mapped",[1578,1609]],[[64528,64528],"mapped",[1578,1610]],[[64529,64529],"mapped",[1579,1580]],[[64530,64530],"mapped",[1579,1605]],[[64531,64531],"mapped",[1579,1609]],[[64532,64532],"mapped",[1579,1610]],[[64533,64533],"mapped",[1580,1581]],[[64534,64534],"mapped",[1580,1605]],[[64535,64535],"mapped",[1581,1580]],[[64536,64536],"mapped",[1581,1605]],[[64537,64537],"mapped",[1582,1580]],[[64538,64538],"mapped",[1582,1581]],[[64539,64539],"mapped",[1582,1605]],[[64540,64540],"mapped",[1587,1580]],[[64541,64541],"mapped",[1587,1581]],[[64542,64542],"mapped",[1587,1582]],[[64543,64543],"mapped",[1587,1605]],[[64544,64544],"mapped",[1589,1581]],[[64545,64545],"mapped",[1589,1605]],[[64546,64546],"mapped",[1590,1580]],[[64547,64547],"mapped",[1590,1581]],[[64548,64548],"mapped",[1590,1582]],[[64549,64549],"mapped",[1590,1605]],[[64550,64550],"mapped",[1591,1581]],[[64551,64551],"mapped",[1591,1605]],[[64552,64552],"mapped",[1592,1605]],[[64553,64553],"mapped",[1593,1580]],[[64554,64554],"mapped",[1593,1605]],[[64555,64555],"mapped",[1594,1580]],[[64556,64556],"mapped",[1594,1605]],[[64557,64557],"mapped",[1601,1580]],[[64558,64558],"mapped",[1601,1581]],[[64559,64559],"mapped",[1601,1582]],[[64560,64560],"mapped",[1601,1605]],[[64561,64561],"mapped",[1601,1609]],[[64562,64562],"mapped",[1601,1610]],[[64563,64563],"mapped",[1602,1581]],[[64564,64564],"mapped",[1602,1605]],[[64565,64565],"mapped",[1602,1609]],[[64566,64566],"mapped",[1602,1610]],[[64567,64567],"mapped",[1603,1575]],[[64568,64568],"mapped",[1603,1580]],[[64569,64569],"mapped",[1603,1581]],[[64570,64570],"mapped",[1603,1582]],[[64571,64571],"mapped",[1603,1604]],[[64572,64572],"mapped",[1603,1605]],[[64573,64573],"mapped",[1603,1609]],[[64574,64574],"mapped",[1603,1610]],[[64575,64575],"mapped",[1604,1580]],[[64576,64576],"mapped",[1604,1581]],[[64577,64577],"mapped",[1604,1582]],[[64578,64578],"mapped",[1604,1605]],[[64579,64579],"mapped",[1604,1609]],[[64580,64580],"mapped",[1604,1610]],[[64581,64581],"mapped",[1605,1580]],[[64582,64582],"mapped",[1605,1581]],[[64583,64583],"mapped",[1605,1582]],[[64584,64584],"mapped",[1605,1605]],[[64585,64585],"mapped",[1605,1609]],[[64586,64586],"mapped",[1605,1610]],[[64587,64587],"mapped",[1606,1580]],[[64588,64588],"mapped",[1606,1581]],[[64589,64589],"mapped",[1606,1582]],[[64590,64590],"mapped",[1606,1605]],[[64591,64591],"mapped",[1606,1609]],[[64592,64592],"mapped",[1606,1610]],[[64593,64593],"mapped",[1607,1580]],[[64594,64594],"mapped",[1607,1605]],[[64595,64595],"mapped",[1607,1609]],[[64596,64596],"mapped",[1607,1610]],[[64597,64597],"mapped",[1610,1580]],[[64598,64598],"mapped",[1610,1581]],[[64599,64599],"mapped",[1610,1582]],[[64600,64600],"mapped",[1610,1605]],[[64601,64601],"mapped",[1610,1609]],[[64602,64602],"mapped",[1610,1610]],[[64603,64603],"mapped",[1584,1648]],[[64604,64604],"mapped",[1585,1648]],[[64605,64605],"mapped",[1609,1648]],[[64606,64606],"disallowed_STD3_mapped",[32,1612,1617]],[[64607,64607],"disallowed_STD3_mapped",[32,1613,1617]],[[64608,64608],"disallowed_STD3_mapped",[32,1614,1617]],[[64609,64609],"disallowed_STD3_mapped",[32,1615,1617]],[[64610,64610],"disallowed_STD3_mapped",[32,1616,1617]],[[64611,64611],"disallowed_STD3_mapped",[32,1617,1648]],[[64612,64612],"mapped",[1574,1585]],[[64613,64613],"mapped",[1574,1586]],[[64614,64614],"mapped",[1574,1605]],[[64615,64615],"mapped",[1574,1606]],[[64616,64616],"mapped",[1574,1609]],[[64617,64617],"mapped",[1574,1610]],[[64618,64618],"mapped",[1576,1585]],[[64619,64619],"mapped",[1576,1586]],[[64620,64620],"mapped",[1576,1605]],[[64621,64621],"mapped",[1576,1606]],[[64622,64622],"mapped",[1576,1609]],[[64623,64623],"mapped",[1576,1610]],[[64624,64624],"mapped",[1578,1585]],[[64625,64625],"mapped",[1578,1586]],[[64626,64626],"mapped",[1578,1605]],[[64627,64627],"mapped",[1578,1606]],[[64628,64628],"mapped",[1578,1609]],[[64629,64629],"mapped",[1578,1610]],[[64630,64630],"mapped",[1579,1585]],[[64631,64631],"mapped",[1579,1586]],[[64632,64632],"mapped",[1579,1605]],[[64633,64633],"mapped",[1579,1606]],[[64634,64634],"mapped",[1579,1609]],[[64635,64635],"mapped",[1579,1610]],[[64636,64636],"mapped",[1601,1609]],[[64637,64637],"mapped",[1601,1610]],[[64638,64638],"mapped",[1602,1609]],[[64639,64639],"mapped",[1602,1610]],[[64640,64640],"mapped",[1603,1575]],[[64641,64641],"mapped",[1603,1604]],[[64642,64642],"mapped",[1603,1605]],[[64643,64643],"mapped",[1603,1609]],[[64644,64644],"mapped",[1603,1610]],[[64645,64645],"mapped",[1604,1605]],[[64646,64646],"mapped",[1604,1609]],[[64647,64647],"mapped",[1604,1610]],[[64648,64648],"mapped",[1605,1575]],[[64649,64649],"mapped",[1605,1605]],[[64650,64650],"mapped",[1606,1585]],[[64651,64651],"mapped",[1606,1586]],[[64652,64652],"mapped",[1606,1605]],[[64653,64653],"mapped",[1606,1606]],[[64654,64654],"mapped",[1606,1609]],[[64655,64655],"mapped",[1606,1610]],[[64656,64656],"mapped",[1609,1648]],[[64657,64657],"mapped",[1610,1585]],[[64658,64658],"mapped",[1610,1586]],[[64659,64659],"mapped",[1610,1605]],[[64660,64660],"mapped",[1610,1606]],[[64661,64661],"mapped",[1610,1609]],[[64662,64662],"mapped",[1610,1610]],[[64663,64663],"mapped",[1574,1580]],[[64664,64664],"mapped",[1574,1581]],[[64665,64665],"mapped",[1574,1582]],[[64666,64666],"mapped",[1574,1605]],[[64667,64667],"mapped",[1574,1607]],[[64668,64668],"mapped",[1576,1580]],[[64669,64669],"mapped",[1576,1581]],[[64670,64670],"mapped",[1576,1582]],[[64671,64671],"mapped",[1576,1605]],[[64672,64672],"mapped",[1576,1607]],[[64673,64673],"mapped",[1578,1580]],[[64674,64674],"mapped",[1578,1581]],[[64675,64675],"mapped",[1578,1582]],[[64676,64676],"mapped",[1578,1605]],[[64677,64677],"mapped",[1578,1607]],[[64678,64678],"mapped",[1579,1605]],[[64679,64679],"mapped",[1580,1581]],[[64680,64680],"mapped",[1580,1605]],[[64681,64681],"mapped",[1581,1580]],[[64682,64682],"mapped",[1581,1605]],[[64683,64683],"mapped",[1582,1580]],[[64684,64684],"mapped",[1582,1605]],[[64685,64685],"mapped",[1587,1580]],[[64686,64686],"mapped",[1587,1581]],[[64687,64687],"mapped",[1587,1582]],[[64688,64688],"mapped",[1587,1605]],[[64689,64689],"mapped",[1589,1581]],[[64690,64690],"mapped",[1589,1582]],[[64691,64691],"mapped",[1589,1605]],[[64692,64692],"mapped",[1590,1580]],[[64693,64693],"mapped",[1590,1581]],[[64694,64694],"mapped",[1590,1582]],[[64695,64695],"mapped",[1590,1605]],[[64696,64696],"mapped",[1591,1581]],[[64697,64697],"mapped",[1592,1605]],[[64698,64698],"mapped",[1593,1580]],[[64699,64699],"mapped",[1593,1605]],[[64700,64700],"mapped",[1594,1580]],[[64701,64701],"mapped",[1594,1605]],[[64702,64702],"mapped",[1601,1580]],[[64703,64703],"mapped",[1601,1581]],[[64704,64704],"mapped",[1601,1582]],[[64705,64705],"mapped",[1601,1605]],[[64706,64706],"mapped",[1602,1581]],[[64707,64707],"mapped",[1602,1605]],[[64708,64708],"mapped",[1603,1580]],[[64709,64709],"mapped",[1603,1581]],[[64710,64710],"mapped",[1603,1582]],[[64711,64711],"mapped",[1603,1604]],[[64712,64712],"mapped",[1603,1605]],[[64713,64713],"mapped",[1604,1580]],[[64714,64714],"mapped",[1604,1581]],[[64715,64715],"mapped",[1604,1582]],[[64716,64716],"mapped",[1604,1605]],[[64717,64717],"mapped",[1604,1607]],[[64718,64718],"mapped",[1605,1580]],[[64719,64719],"mapped",[1605,1581]],[[64720,64720],"mapped",[1605,1582]],[[64721,64721],"mapped",[1605,1605]],[[64722,64722],"mapped",[1606,1580]],[[64723,64723],"mapped",[1606,1581]],[[64724,64724],"mapped",[1606,1582]],[[64725,64725],"mapped",[1606,1605]],[[64726,64726],"mapped",[1606,1607]],[[64727,64727],"mapped",[1607,1580]],[[64728,64728],"mapped",[1607,1605]],[[64729,64729],"mapped",[1607,1648]],[[64730,64730],"mapped",[1610,1580]],[[64731,64731],"mapped",[1610,1581]],[[64732,64732],"mapped",[1610,1582]],[[64733,64733],"mapped",[1610,1605]],[[64734,64734],"mapped",[1610,1607]],[[64735,64735],"mapped",[1574,1605]],[[64736,64736],"mapped",[1574,1607]],[[64737,64737],"mapped",[1576,1605]],[[64738,64738],"mapped",[1576,1607]],[[64739,64739],"mapped",[1578,1605]],[[64740,64740],"mapped",[1578,1607]],[[64741,64741],"mapped",[1579,1605]],[[64742,64742],"mapped",[1579,1607]],[[64743,64743],"mapped",[1587,1605]],[[64744,64744],"mapped",[1587,1607]],[[64745,64745],"mapped",[1588,1605]],[[64746,64746],"mapped",[1588,1607]],[[64747,64747],"mapped",[1603,1604]],[[64748,64748],"mapped",[1603,1605]],[[64749,64749],"mapped",[1604,1605]],[[64750,64750],"mapped",[1606,1605]],[[64751,64751],"mapped",[1606,1607]],[[64752,64752],"mapped",[1610,1605]],[[64753,64753],"mapped",[1610,1607]],[[64754,64754],"mapped",[1600,1614,1617]],[[64755,64755],"mapped",[1600,1615,1617]],[[64756,64756],"mapped",[1600,1616,1617]],[[64757,64757],"mapped",[1591,1609]],[[64758,64758],"mapped",[1591,1610]],[[64759,64759],"mapped",[1593,1609]],[[64760,64760],"mapped",[1593,1610]],[[64761,64761],"mapped",[1594,1609]],[[64762,64762],"mapped",[1594,1610]],[[64763,64763],"mapped",[1587,1609]],[[64764,64764],"mapped",[1587,1610]],[[64765,64765],"mapped",[1588,1609]],[[64766,64766],"mapped",[1588,1610]],[[64767,64767],"mapped",[1581,1609]],[[64768,64768],"mapped",[1581,1610]],[[64769,64769],"mapped",[1580,1609]],[[64770,64770],"mapped",[1580,1610]],[[64771,64771],"mapped",[1582,1609]],[[64772,64772],"mapped",[1582,1610]],[[64773,64773],"mapped",[1589,1609]],[[64774,64774],"mapped",[1589,1610]],[[64775,64775],"mapped",[1590,1609]],[[64776,64776],"mapped",[1590,1610]],[[64777,64777],"mapped",[1588,1580]],[[64778,64778],"mapped",[1588,1581]],[[64779,64779],"mapped",[1588,1582]],[[64780,64780],"mapped",[1588,1605]],[[64781,64781],"mapped",[1588,1585]],[[64782,64782],"mapped",[1587,1585]],[[64783,64783],"mapped",[1589,1585]],[[64784,64784],"mapped",[1590,1585]],[[64785,64785],"mapped",[1591,1609]],[[64786,64786],"mapped",[1591,1610]],[[64787,64787],"mapped",[1593,1609]],[[64788,64788],"mapped",[1593,1610]],[[64789,64789],"mapped",[1594,1609]],[[64790,64790],"mapped",[1594,1610]],[[64791,64791],"mapped",[1587,1609]],[[64792,64792],"mapped",[1587,1610]],[[64793,64793],"mapped",[1588,1609]],[[64794,64794],"mapped",[1588,1610]],[[64795,64795],"mapped",[1581,1609]],[[64796,64796],"mapped",[1581,1610]],[[64797,64797],"mapped",[1580,1609]],[[64798,64798],"mapped",[1580,1610]],[[64799,64799],"mapped",[1582,1609]],[[64800,64800],"mapped",[1582,1610]],[[64801,64801],"mapped",[1589,1609]],[[64802,64802],"mapped",[1589,1610]],[[64803,64803],"mapped",[1590,1609]],[[64804,64804],"mapped",[1590,1610]],[[64805,64805],"mapped",[1588,1580]],[[64806,64806],"mapped",[1588,1581]],[[64807,64807],"mapped",[1588,1582]],[[64808,64808],"mapped",[1588,1605]],[[64809,64809],"mapped",[1588,1585]],[[64810,64810],"mapped",[1587,1585]],[[64811,64811],"mapped",[1589,1585]],[[64812,64812],"mapped",[1590,1585]],[[64813,64813],"mapped",[1588,1580]],[[64814,64814],"mapped",[1588,1581]],[[64815,64815],"mapped",[1588,1582]],[[64816,64816],"mapped",[1588,1605]],[[64817,64817],"mapped",[1587,1607]],[[64818,64818],"mapped",[1588,1607]],[[64819,64819],"mapped",[1591,1605]],[[64820,64820],"mapped",[1587,1580]],[[64821,64821],"mapped",[1587,1581]],[[64822,64822],"mapped",[1587,1582]],[[64823,64823],"mapped",[1588,1580]],[[64824,64824],"mapped",[1588,1581]],[[64825,64825],"mapped",[1588,1582]],[[64826,64826],"mapped",[1591,1605]],[[64827,64827],"mapped",[1592,1605]],[[64828,64829],"mapped",[1575,1611]],[[64830,64831],"valid",[],"NV8"],[[64832,64847],"disallowed"],[[64848,64848],"mapped",[1578,1580,1605]],[[64849,64850],"mapped",[1578,1581,1580]],[[64851,64851],"mapped",[1578,1581,1605]],[[64852,64852],"mapped",[1578,1582,1605]],[[64853,64853],"mapped",[1578,1605,1580]],[[64854,64854],"mapped",[1578,1605,1581]],[[64855,64855],"mapped",[1578,1605,1582]],[[64856,64857],"mapped",[1580,1605,1581]],[[64858,64858],"mapped",[1581,1605,1610]],[[64859,64859],"mapped",[1581,1605,1609]],[[64860,64860],"mapped",[1587,1581,1580]],[[64861,64861],"mapped",[1587,1580,1581]],[[64862,64862],"mapped",[1587,1580,1609]],[[64863,64864],"mapped",[1587,1605,1581]],[[64865,64865],"mapped",[1587,1605,1580]],[[64866,64867],"mapped",[1587,1605,1605]],[[64868,64869],"mapped",[1589,1581,1581]],[[64870,64870],"mapped",[1589,1605,1605]],[[64871,64872],"mapped",[1588,1581,1605]],[[64873,64873],"mapped",[1588,1580,1610]],[[64874,64875],"mapped",[1588,1605,1582]],[[64876,64877],"mapped",[1588,1605,1605]],[[64878,64878],"mapped",[1590,1581,1609]],[[64879,64880],"mapped",[1590,1582,1605]],[[64881,64882],"mapped",[1591,1605,1581]],[[64883,64883],"mapped",[1591,1605,1605]],[[64884,64884],"mapped",[1591,1605,1610]],[[64885,64885],"mapped",[1593,1580,1605]],[[64886,64887],"mapped",[1593,1605,1605]],[[64888,64888],"mapped",[1593,1605,1609]],[[64889,64889],"mapped",[1594,1605,1605]],[[64890,64890],"mapped",[1594,1605,1610]],[[64891,64891],"mapped",[1594,1605,1609]],[[64892,64893],"mapped",[1601,1582,1605]],[[64894,64894],"mapped",[1602,1605,1581]],[[64895,64895],"mapped",[1602,1605,1605]],[[64896,64896],"mapped",[1604,1581,1605]],[[64897,64897],"mapped",[1604,1581,1610]],[[64898,64898],"mapped",[1604,1581,1609]],[[64899,64900],"mapped",[1604,1580,1580]],[[64901,64902],"mapped",[1604,1582,1605]],[[64903,64904],"mapped",[1604,1605,1581]],[[64905,64905],"mapped",[1605,1581,1580]],[[64906,64906],"mapped",[1605,1581,1605]],[[64907,64907],"mapped",[1605,1581,1610]],[[64908,64908],"mapped",[1605,1580,1581]],[[64909,64909],"mapped",[1605,1580,1605]],[[64910,64910],"mapped",[1605,1582,1580]],[[64911,64911],"mapped",[1605,1582,1605]],[[64912,64913],"disallowed"],[[64914,64914],"mapped",[1605,1580,1582]],[[64915,64915],"mapped",[1607,1605,1580]],[[64916,64916],"mapped",[1607,1605,1605]],[[64917,64917],"mapped",[1606,1581,1605]],[[64918,64918],"mapped",[1606,1581,1609]],[[64919,64920],"mapped",[1606,1580,1605]],[[64921,64921],"mapped",[1606,1580,1609]],[[64922,64922],"mapped",[1606,1605,1610]],[[64923,64923],"mapped",[1606,1605,1609]],[[64924,64925],"mapped",[1610,1605,1605]],[[64926,64926],"mapped",[1576,1582,1610]],[[64927,64927],"mapped",[1578,1580,1610]],[[64928,64928],"mapped",[1578,1580,1609]],[[64929,64929],"mapped",[1578,1582,1610]],[[64930,64930],"mapped",[1578,1582,1609]],[[64931,64931],"mapped",[1578,1605,1610]],[[64932,64932],"mapped",[1578,1605,1609]],[[64933,64933],"mapped",[1580,1605,1610]],[[64934,64934],"mapped",[1580,1581,1609]],[[64935,64935],"mapped",[1580,1605,1609]],[[64936,64936],"mapped",[1587,1582,1609]],[[64937,64937],"mapped",[1589,1581,1610]],[[64938,64938],"mapped",[1588,1581,1610]],[[64939,64939],"mapped",[1590,1581,1610]],[[64940,64940],"mapped",[1604,1580,1610]],[[64941,64941],"mapped",[1604,1605,1610]],[[64942,64942],"mapped",[1610,1581,1610]],[[64943,64943],"mapped",[1610,1580,1610]],[[64944,64944],"mapped",[1610,1605,1610]],[[64945,64945],"mapped",[1605,1605,1610]],[[64946,64946],"mapped",[1602,1605,1610]],[[64947,64947],"mapped",[1606,1581,1610]],[[64948,64948],"mapped",[1602,1605,1581]],[[64949,64949],"mapped",[1604,1581,1605]],[[64950,64950],"mapped",[1593,1605,1610]],[[64951,64951],"mapped",[1603,1605,1610]],[[64952,64952],"mapped",[1606,1580,1581]],[[64953,64953],"mapped",[1605,1582,1610]],[[64954,64954],"mapped",[1604,1580,1605]],[[64955,64955],"mapped",[1603,1605,1605]],[[64956,64956],"mapped",[1604,1580,1605]],[[64957,64957],"mapped",[1606,1580,1581]],[[64958,64958],"mapped",[1580,1581,1610]],[[64959,64959],"mapped",[1581,1580,1610]],[[64960,64960],"mapped",[1605,1580,1610]],[[64961,64961],"mapped",[1601,1605,1610]],[[64962,64962],"mapped",[1576,1581,1610]],[[64963,64963],"mapped",[1603,1605,1605]],[[64964,64964],"mapped",[1593,1580,1605]],[[64965,64965],"mapped",[1589,1605,1605]],[[64966,64966],"mapped",[1587,1582,1610]],[[64967,64967],"mapped",[1606,1580,1610]],[[64968,64975],"disallowed"],[[64976,65007],"disallowed"],[[65008,65008],"mapped",[1589,1604,1746]],[[65009,65009],"mapped",[1602,1604,1746]],[[65010,65010],"mapped",[1575,1604,1604,1607]],[[65011,65011],"mapped",[1575,1603,1576,1585]],[[65012,65012],"mapped",[1605,1581,1605,1583]],[[65013,65013],"mapped",[1589,1604,1593,1605]],[[65014,65014],"mapped",[1585,1587,1608,1604]],[[65015,65015],"mapped",[1593,1604,1610,1607]],[[65016,65016],"mapped",[1608,1587,1604,1605]],[[65017,65017],"mapped",[1589,1604,1609]],[[65018,65018],"disallowed_STD3_mapped",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],"disallowed_STD3_mapped",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],"mapped",[1585,1740,1575,1604]],[[65021,65021],"valid",[],"NV8"],[[65022,65023],"disallowed"],[[65024,65039],"ignored"],[[65040,65040],"disallowed_STD3_mapped",[44]],[[65041,65041],"mapped",[12289]],[[65042,65042],"disallowed"],[[65043,65043],"disallowed_STD3_mapped",[58]],[[65044,65044],"disallowed_STD3_mapped",[59]],[[65045,65045],"disallowed_STD3_mapped",[33]],[[65046,65046],"disallowed_STD3_mapped",[63]],[[65047,65047],"mapped",[12310]],[[65048,65048],"mapped",[12311]],[[65049,65049],"disallowed"],[[65050,65055],"disallowed"],[[65056,65059],"valid"],[[65060,65062],"valid"],[[65063,65069],"valid"],[[65070,65071],"valid"],[[65072,65072],"disallowed"],[[65073,65073],"mapped",[8212]],[[65074,65074],"mapped",[8211]],[[65075,65076],"disallowed_STD3_mapped",[95]],[[65077,65077],"disallowed_STD3_mapped",[40]],[[65078,65078],"disallowed_STD3_mapped",[41]],[[65079,65079],"disallowed_STD3_mapped",[123]],[[65080,65080],"disallowed_STD3_mapped",[125]],[[65081,65081],"mapped",[12308]],[[65082,65082],"mapped",[12309]],[[65083,65083],"mapped",[12304]],[[65084,65084],"mapped",[12305]],[[65085,65085],"mapped",[12298]],[[65086,65086],"mapped",[12299]],[[65087,65087],"mapped",[12296]],[[65088,65088],"mapped",[12297]],[[65089,65089],"mapped",[12300]],[[65090,65090],"mapped",[12301]],[[65091,65091],"mapped",[12302]],[[65092,65092],"mapped",[12303]],[[65093,65094],"valid",[],"NV8"],[[65095,65095],"disallowed_STD3_mapped",[91]],[[65096,65096],"disallowed_STD3_mapped",[93]],[[65097,65100],"disallowed_STD3_mapped",[32,773]],[[65101,65103],"disallowed_STD3_mapped",[95]],[[65104,65104],"disallowed_STD3_mapped",[44]],[[65105,65105],"mapped",[12289]],[[65106,65106],"disallowed"],[[65107,65107],"disallowed"],[[65108,65108],"disallowed_STD3_mapped",[59]],[[65109,65109],"disallowed_STD3_mapped",[58]],[[65110,65110],"disallowed_STD3_mapped",[63]],[[65111,65111],"disallowed_STD3_mapped",[33]],[[65112,65112],"mapped",[8212]],[[65113,65113],"disallowed_STD3_mapped",[40]],[[65114,65114],"disallowed_STD3_mapped",[41]],[[65115,65115],"disallowed_STD3_mapped",[123]],[[65116,65116],"disallowed_STD3_mapped",[125]],[[65117,65117],"mapped",[12308]],[[65118,65118],"mapped",[12309]],[[65119,65119],"disallowed_STD3_mapped",[35]],[[65120,65120],"disallowed_STD3_mapped",[38]],[[65121,65121],"disallowed_STD3_mapped",[42]],[[65122,65122],"disallowed_STD3_mapped",[43]],[[65123,65123],"mapped",[45]],[[65124,65124],"disallowed_STD3_mapped",[60]],[[65125,65125],"disallowed_STD3_mapped",[62]],[[65126,65126],"disallowed_STD3_mapped",[61]],[[65127,65127],"disallowed"],[[65128,65128],"disallowed_STD3_mapped",[92]],[[65129,65129],"disallowed_STD3_mapped",[36]],[[65130,65130],"disallowed_STD3_mapped",[37]],[[65131,65131],"disallowed_STD3_mapped",[64]],[[65132,65135],"disallowed"],[[65136,65136],"disallowed_STD3_mapped",[32,1611]],[[65137,65137],"mapped",[1600,1611]],[[65138,65138],"disallowed_STD3_mapped",[32,1612]],[[65139,65139],"valid"],[[65140,65140],"disallowed_STD3_mapped",[32,1613]],[[65141,65141],"disallowed"],[[65142,65142],"disallowed_STD3_mapped",[32,1614]],[[65143,65143],"mapped",[1600,1614]],[[65144,65144],"disallowed_STD3_mapped",[32,1615]],[[65145,65145],"mapped",[1600,1615]],[[65146,65146],"disallowed_STD3_mapped",[32,1616]],[[65147,65147],"mapped",[1600,1616]],[[65148,65148],"disallowed_STD3_mapped",[32,1617]],[[65149,65149],"mapped",[1600,1617]],[[65150,65150],"disallowed_STD3_mapped",[32,1618]],[[65151,65151],"mapped",[1600,1618]],[[65152,65152],"mapped",[1569]],[[65153,65154],"mapped",[1570]],[[65155,65156],"mapped",[1571]],[[65157,65158],"mapped",[1572]],[[65159,65160],"mapped",[1573]],[[65161,65164],"mapped",[1574]],[[65165,65166],"mapped",[1575]],[[65167,65170],"mapped",[1576]],[[65171,65172],"mapped",[1577]],[[65173,65176],"mapped",[1578]],[[65177,65180],"mapped",[1579]],[[65181,65184],"mapped",[1580]],[[65185,65188],"mapped",[1581]],[[65189,65192],"mapped",[1582]],[[65193,65194],"mapped",[1583]],[[65195,65196],"mapped",[1584]],[[65197,65198],"mapped",[1585]],[[65199,65200],"mapped",[1586]],[[65201,65204],"mapped",[1587]],[[65205,65208],"mapped",[1588]],[[65209,65212],"mapped",[1589]],[[65213,65216],"mapped",[1590]],[[65217,65220],"mapped",[1591]],[[65221,65224],"mapped",[1592]],[[65225,65228],"mapped",[1593]],[[65229,65232],"mapped",[1594]],[[65233,65236],"mapped",[1601]],[[65237,65240],"mapped",[1602]],[[65241,65244],"mapped",[1603]],[[65245,65248],"mapped",[1604]],[[65249,65252],"mapped",[1605]],[[65253,65256],"mapped",[1606]],[[65257,65260],"mapped",[1607]],[[65261,65262],"mapped",[1608]],[[65263,65264],"mapped",[1609]],[[65265,65268],"mapped",[1610]],[[65269,65270],"mapped",[1604,1570]],[[65271,65272],"mapped",[1604,1571]],[[65273,65274],"mapped",[1604,1573]],[[65275,65276],"mapped",[1604,1575]],[[65277,65278],"disallowed"],[[65279,65279],"ignored"],[[65280,65280],"disallowed"],[[65281,65281],"disallowed_STD3_mapped",[33]],[[65282,65282],"disallowed_STD3_mapped",[34]],[[65283,65283],"disallowed_STD3_mapped",[35]],[[65284,65284],"disallowed_STD3_mapped",[36]],[[65285,65285],"disallowed_STD3_mapped",[37]],[[65286,65286],"disallowed_STD3_mapped",[38]],[[65287,65287],"disallowed_STD3_mapped",[39]],[[65288,65288],"disallowed_STD3_mapped",[40]],[[65289,65289],"disallowed_STD3_mapped",[41]],[[65290,65290],"disallowed_STD3_mapped",[42]],[[65291,65291],"disallowed_STD3_mapped",[43]],[[65292,65292],"disallowed_STD3_mapped",[44]],[[65293,65293],"mapped",[45]],[[65294,65294],"mapped",[46]],[[65295,65295],"disallowed_STD3_mapped",[47]],[[65296,65296],"mapped",[48]],[[65297,65297],"mapped",[49]],[[65298,65298],"mapped",[50]],[[65299,65299],"mapped",[51]],[[65300,65300],"mapped",[52]],[[65301,65301],"mapped",[53]],[[65302,65302],"mapped",[54]],[[65303,65303],"mapped",[55]],[[65304,65304],"mapped",[56]],[[65305,65305],"mapped",[57]],[[65306,65306],"disallowed_STD3_mapped",[58]],[[65307,65307],"disallowed_STD3_mapped",[59]],[[65308,65308],"disallowed_STD3_mapped",[60]],[[65309,65309],"disallowed_STD3_mapped",[61]],[[65310,65310],"disallowed_STD3_mapped",[62]],[[65311,65311],"disallowed_STD3_mapped",[63]],[[65312,65312],"disallowed_STD3_mapped",[64]],[[65313,65313],"mapped",[97]],[[65314,65314],"mapped",[98]],[[65315,65315],"mapped",[99]],[[65316,65316],"mapped",[100]],[[65317,65317],"mapped",[101]],[[65318,65318],"mapped",[102]],[[65319,65319],"mapped",[103]],[[65320,65320],"mapped",[104]],[[65321,65321],"mapped",[105]],[[65322,65322],"mapped",[106]],[[65323,65323],"mapped",[107]],[[65324,65324],"mapped",[108]],[[65325,65325],"mapped",[109]],[[65326,65326],"mapped",[110]],[[65327,65327],"mapped",[111]],[[65328,65328],"mapped",[112]],[[65329,65329],"mapped",[113]],[[65330,65330],"mapped",[114]],[[65331,65331],"mapped",[115]],[[65332,65332],"mapped",[116]],[[65333,65333],"mapped",[117]],[[65334,65334],"mapped",[118]],[[65335,65335],"mapped",[119]],[[65336,65336],"mapped",[120]],[[65337,65337],"mapped",[121]],[[65338,65338],"mapped",[122]],[[65339,65339],"disallowed_STD3_mapped",[91]],[[65340,65340],"disallowed_STD3_mapped",[92]],[[65341,65341],"disallowed_STD3_mapped",[93]],[[65342,65342],"disallowed_STD3_mapped",[94]],[[65343,65343],"disallowed_STD3_mapped",[95]],[[65344,65344],"disallowed_STD3_mapped",[96]],[[65345,65345],"mapped",[97]],[[65346,65346],"mapped",[98]],[[65347,65347],"mapped",[99]],[[65348,65348],"mapped",[100]],[[65349,65349],"mapped",[101]],[[65350,65350],"mapped",[102]],[[65351,65351],"mapped",[103]],[[65352,65352],"mapped",[104]],[[65353,65353],"mapped",[105]],[[65354,65354],"mapped",[106]],[[65355,65355],"mapped",[107]],[[65356,65356],"mapped",[108]],[[65357,65357],"mapped",[109]],[[65358,65358],"mapped",[110]],[[65359,65359],"mapped",[111]],[[65360,65360],"mapped",[112]],[[65361,65361],"mapped",[113]],[[65362,65362],"mapped",[114]],[[65363,65363],"mapped",[115]],[[65364,65364],"mapped",[116]],[[65365,65365],"mapped",[117]],[[65366,65366],"mapped",[118]],[[65367,65367],"mapped",[119]],[[65368,65368],"mapped",[120]],[[65369,65369],"mapped",[121]],[[65370,65370],"mapped",[122]],[[65371,65371],"disallowed_STD3_mapped",[123]],[[65372,65372],"disallowed_STD3_mapped",[124]],[[65373,65373],"disallowed_STD3_mapped",[125]],[[65374,65374],"disallowed_STD3_mapped",[126]],[[65375,65375],"mapped",[10629]],[[65376,65376],"mapped",[10630]],[[65377,65377],"mapped",[46]],[[65378,65378],"mapped",[12300]],[[65379,65379],"mapped",[12301]],[[65380,65380],"mapped",[12289]],[[65381,65381],"mapped",[12539]],[[65382,65382],"mapped",[12530]],[[65383,65383],"mapped",[12449]],[[65384,65384],"mapped",[12451]],[[65385,65385],"mapped",[12453]],[[65386,65386],"mapped",[12455]],[[65387,65387],"mapped",[12457]],[[65388,65388],"mapped",[12515]],[[65389,65389],"mapped",[12517]],[[65390,65390],"mapped",[12519]],[[65391,65391],"mapped",[12483]],[[65392,65392],"mapped",[12540]],[[65393,65393],"mapped",[12450]],[[65394,65394],"mapped",[12452]],[[65395,65395],"mapped",[12454]],[[65396,65396],"mapped",[12456]],[[65397,65397],"mapped",[12458]],[[65398,65398],"mapped",[12459]],[[65399,65399],"mapped",[12461]],[[65400,65400],"mapped",[12463]],[[65401,65401],"mapped",[12465]],[[65402,65402],"mapped",[12467]],[[65403,65403],"mapped",[12469]],[[65404,65404],"mapped",[12471]],[[65405,65405],"mapped",[12473]],[[65406,65406],"mapped",[12475]],[[65407,65407],"mapped",[12477]],[[65408,65408],"mapped",[12479]],[[65409,65409],"mapped",[12481]],[[65410,65410],"mapped",[12484]],[[65411,65411],"mapped",[12486]],[[65412,65412],"mapped",[12488]],[[65413,65413],"mapped",[12490]],[[65414,65414],"mapped",[12491]],[[65415,65415],"mapped",[12492]],[[65416,65416],"mapped",[12493]],[[65417,65417],"mapped",[12494]],[[65418,65418],"mapped",[12495]],[[65419,65419],"mapped",[12498]],[[65420,65420],"mapped",[12501]],[[65421,65421],"mapped",[12504]],[[65422,65422],"mapped",[12507]],[[65423,65423],"mapped",[12510]],[[65424,65424],"mapped",[12511]],[[65425,65425],"mapped",[12512]],[[65426,65426],"mapped",[12513]],[[65427,65427],"mapped",[12514]],[[65428,65428],"mapped",[12516]],[[65429,65429],"mapped",[12518]],[[65430,65430],"mapped",[12520]],[[65431,65431],"mapped",[12521]],[[65432,65432],"mapped",[12522]],[[65433,65433],"mapped",[12523]],[[65434,65434],"mapped",[12524]],[[65435,65435],"mapped",[12525]],[[65436,65436],"mapped",[12527]],[[65437,65437],"mapped",[12531]],[[65438,65438],"mapped",[12441]],[[65439,65439],"mapped",[12442]],[[65440,65440],"disallowed"],[[65441,65441],"mapped",[4352]],[[65442,65442],"mapped",[4353]],[[65443,65443],"mapped",[4522]],[[65444,65444],"mapped",[4354]],[[65445,65445],"mapped",[4524]],[[65446,65446],"mapped",[4525]],[[65447,65447],"mapped",[4355]],[[65448,65448],"mapped",[4356]],[[65449,65449],"mapped",[4357]],[[65450,65450],"mapped",[4528]],[[65451,65451],"mapped",[4529]],[[65452,65452],"mapped",[4530]],[[65453,65453],"mapped",[4531]],[[65454,65454],"mapped",[4532]],[[65455,65455],"mapped",[4533]],[[65456,65456],"mapped",[4378]],[[65457,65457],"mapped",[4358]],[[65458,65458],"mapped",[4359]],[[65459,65459],"mapped",[4360]],[[65460,65460],"mapped",[4385]],[[65461,65461],"mapped",[4361]],[[65462,65462],"mapped",[4362]],[[65463,65463],"mapped",[4363]],[[65464,65464],"mapped",[4364]],[[65465,65465],"mapped",[4365]],[[65466,65466],"mapped",[4366]],[[65467,65467],"mapped",[4367]],[[65468,65468],"mapped",[4368]],[[65469,65469],"mapped",[4369]],[[65470,65470],"mapped",[4370]],[[65471,65473],"disallowed"],[[65474,65474],"mapped",[4449]],[[65475,65475],"mapped",[4450]],[[65476,65476],"mapped",[4451]],[[65477,65477],"mapped",[4452]],[[65478,65478],"mapped",[4453]],[[65479,65479],"mapped",[4454]],[[65480,65481],"disallowed"],[[65482,65482],"mapped",[4455]],[[65483,65483],"mapped",[4456]],[[65484,65484],"mapped",[4457]],[[65485,65485],"mapped",[4458]],[[65486,65486],"mapped",[4459]],[[65487,65487],"mapped",[4460]],[[65488,65489],"disallowed"],[[65490,65490],"mapped",[4461]],[[65491,65491],"mapped",[4462]],[[65492,65492],"mapped",[4463]],[[65493,65493],"mapped",[4464]],[[65494,65494],"mapped",[4465]],[[65495,65495],"mapped",[4466]],[[65496,65497],"disallowed"],[[65498,65498],"mapped",[4467]],[[65499,65499],"mapped",[4468]],[[65500,65500],"mapped",[4469]],[[65501,65503],"disallowed"],[[65504,65504],"mapped",[162]],[[65505,65505],"mapped",[163]],[[65506,65506],"mapped",[172]],[[65507,65507],"disallowed_STD3_mapped",[32,772]],[[65508,65508],"mapped",[166]],[[65509,65509],"mapped",[165]],[[65510,65510],"mapped",[8361]],[[65511,65511],"disallowed"],[[65512,65512],"mapped",[9474]],[[65513,65513],"mapped",[8592]],[[65514,65514],"mapped",[8593]],[[65515,65515],"mapped",[8594]],[[65516,65516],"mapped",[8595]],[[65517,65517],"mapped",[9632]],[[65518,65518],"mapped",[9675]],[[65519,65528],"disallowed"],[[65529,65531],"disallowed"],[[65532,65532],"disallowed"],[[65533,65533],"disallowed"],[[65534,65535],"disallowed"],[[65536,65547],"valid"],[[65548,65548],"disallowed"],[[65549,65574],"valid"],[[65575,65575],"disallowed"],[[65576,65594],"valid"],[[65595,65595],"disallowed"],[[65596,65597],"valid"],[[65598,65598],"disallowed"],[[65599,65613],"valid"],[[65614,65615],"disallowed"],[[65616,65629],"valid"],[[65630,65663],"disallowed"],[[65664,65786],"valid"],[[65787,65791],"disallowed"],[[65792,65794],"valid",[],"NV8"],[[65795,65798],"disallowed"],[[65799,65843],"valid",[],"NV8"],[[65844,65846],"disallowed"],[[65847,65855],"valid",[],"NV8"],[[65856,65930],"valid",[],"NV8"],[[65931,65932],"valid",[],"NV8"],[[65933,65935],"disallowed"],[[65936,65947],"valid",[],"NV8"],[[65948,65951],"disallowed"],[[65952,65952],"valid",[],"NV8"],[[65953,65999],"disallowed"],[[66000,66044],"valid",[],"NV8"],[[66045,66045],"valid"],[[66046,66175],"disallowed"],[[66176,66204],"valid"],[[66205,66207],"disallowed"],[[66208,66256],"valid"],[[66257,66271],"disallowed"],[[66272,66272],"valid"],[[66273,66299],"valid",[],"NV8"],[[66300,66303],"disallowed"],[[66304,66334],"valid"],[[66335,66335],"valid"],[[66336,66339],"valid",[],"NV8"],[[66340,66351],"disallowed"],[[66352,66368],"valid"],[[66369,66369],"valid",[],"NV8"],[[66370,66377],"valid"],[[66378,66378],"valid",[],"NV8"],[[66379,66383],"disallowed"],[[66384,66426],"valid"],[[66427,66431],"disallowed"],[[66432,66461],"valid"],[[66462,66462],"disallowed"],[[66463,66463],"valid",[],"NV8"],[[66464,66499],"valid"],[[66500,66503],"disallowed"],[[66504,66511],"valid"],[[66512,66517],"valid",[],"NV8"],[[66518,66559],"disallowed"],[[66560,66560],"mapped",[66600]],[[66561,66561],"mapped",[66601]],[[66562,66562],"mapped",[66602]],[[66563,66563],"mapped",[66603]],[[66564,66564],"mapped",[66604]],[[66565,66565],"mapped",[66605]],[[66566,66566],"mapped",[66606]],[[66567,66567],"mapped",[66607]],[[66568,66568],"mapped",[66608]],[[66569,66569],"mapped",[66609]],[[66570,66570],"mapped",[66610]],[[66571,66571],"mapped",[66611]],[[66572,66572],"mapped",[66612]],[[66573,66573],"mapped",[66613]],[[66574,66574],"mapped",[66614]],[[66575,66575],"mapped",[66615]],[[66576,66576],"mapped",[66616]],[[66577,66577],"mapped",[66617]],[[66578,66578],"mapped",[66618]],[[66579,66579],"mapped",[66619]],[[66580,66580],"mapped",[66620]],[[66581,66581],"mapped",[66621]],[[66582,66582],"mapped",[66622]],[[66583,66583],"mapped",[66623]],[[66584,66584],"mapped",[66624]],[[66585,66585],"mapped",[66625]],[[66586,66586],"mapped",[66626]],[[66587,66587],"mapped",[66627]],[[66588,66588],"mapped",[66628]],[[66589,66589],"mapped",[66629]],[[66590,66590],"mapped",[66630]],[[66591,66591],"mapped",[66631]],[[66592,66592],"mapped",[66632]],[[66593,66593],"mapped",[66633]],[[66594,66594],"mapped",[66634]],[[66595,66595],"mapped",[66635]],[[66596,66596],"mapped",[66636]],[[66597,66597],"mapped",[66637]],[[66598,66598],"mapped",[66638]],[[66599,66599],"mapped",[66639]],[[66600,66637],"valid"],[[66638,66717],"valid"],[[66718,66719],"disallowed"],[[66720,66729],"valid"],[[66730,66815],"disallowed"],[[66816,66855],"valid"],[[66856,66863],"disallowed"],[[66864,66915],"valid"],[[66916,66926],"disallowed"],[[66927,66927],"valid",[],"NV8"],[[66928,67071],"disallowed"],[[67072,67382],"valid"],[[67383,67391],"disallowed"],[[67392,67413],"valid"],[[67414,67423],"disallowed"],[[67424,67431],"valid"],[[67432,67583],"disallowed"],[[67584,67589],"valid"],[[67590,67591],"disallowed"],[[67592,67592],"valid"],[[67593,67593],"disallowed"],[[67594,67637],"valid"],[[67638,67638],"disallowed"],[[67639,67640],"valid"],[[67641,67643],"disallowed"],[[67644,67644],"valid"],[[67645,67646],"disallowed"],[[67647,67647],"valid"],[[67648,67669],"valid"],[[67670,67670],"disallowed"],[[67671,67679],"valid",[],"NV8"],[[67680,67702],"valid"],[[67703,67711],"valid",[],"NV8"],[[67712,67742],"valid"],[[67743,67750],"disallowed"],[[67751,67759],"valid",[],"NV8"],[[67760,67807],"disallowed"],[[67808,67826],"valid"],[[67827,67827],"disallowed"],[[67828,67829],"valid"],[[67830,67834],"disallowed"],[[67835,67839],"valid",[],"NV8"],[[67840,67861],"valid"],[[67862,67865],"valid",[],"NV8"],[[67866,67867],"valid",[],"NV8"],[[67868,67870],"disallowed"],[[67871,67871],"valid",[],"NV8"],[[67872,67897],"valid"],[[67898,67902],"disallowed"],[[67903,67903],"valid",[],"NV8"],[[67904,67967],"disallowed"],[[67968,68023],"valid"],[[68024,68027],"disallowed"],[[68028,68029],"valid",[],"NV8"],[[68030,68031],"valid"],[[68032,68047],"valid",[],"NV8"],[[68048,68049],"disallowed"],[[68050,68095],"valid",[],"NV8"],[[68096,68099],"valid"],[[68100,68100],"disallowed"],[[68101,68102],"valid"],[[68103,68107],"disallowed"],[[68108,68115],"valid"],[[68116,68116],"disallowed"],[[68117,68119],"valid"],[[68120,68120],"disallowed"],[[68121,68147],"valid"],[[68148,68151],"disallowed"],[[68152,68154],"valid"],[[68155,68158],"disallowed"],[[68159,68159],"valid"],[[68160,68167],"valid",[],"NV8"],[[68168,68175],"disallowed"],[[68176,68184],"valid",[],"NV8"],[[68185,68191],"disallowed"],[[68192,68220],"valid"],[[68221,68223],"valid",[],"NV8"],[[68224,68252],"valid"],[[68253,68255],"valid",[],"NV8"],[[68256,68287],"disallowed"],[[68288,68295],"valid"],[[68296,68296],"valid",[],"NV8"],[[68297,68326],"valid"],[[68327,68330],"disallowed"],[[68331,68342],"valid",[],"NV8"],[[68343,68351],"disallowed"],[[68352,68405],"valid"],[[68406,68408],"disallowed"],[[68409,68415],"valid",[],"NV8"],[[68416,68437],"valid"],[[68438,68439],"disallowed"],[[68440,68447],"valid",[],"NV8"],[[68448,68466],"valid"],[[68467,68471],"disallowed"],[[68472,68479],"valid",[],"NV8"],[[68480,68497],"valid"],[[68498,68504],"disallowed"],[[68505,68508],"valid",[],"NV8"],[[68509,68520],"disallowed"],[[68521,68527],"valid",[],"NV8"],[[68528,68607],"disallowed"],[[68608,68680],"valid"],[[68681,68735],"disallowed"],[[68736,68736],"mapped",[68800]],[[68737,68737],"mapped",[68801]],[[68738,68738],"mapped",[68802]],[[68739,68739],"mapped",[68803]],[[68740,68740],"mapped",[68804]],[[68741,68741],"mapped",[68805]],[[68742,68742],"mapped",[68806]],[[68743,68743],"mapped",[68807]],[[68744,68744],"mapped",[68808]],[[68745,68745],"mapped",[68809]],[[68746,68746],"mapped",[68810]],[[68747,68747],"mapped",[68811]],[[68748,68748],"mapped",[68812]],[[68749,68749],"mapped",[68813]],[[68750,68750],"mapped",[68814]],[[68751,68751],"mapped",[68815]],[[68752,68752],"mapped",[68816]],[[68753,68753],"mapped",[68817]],[[68754,68754],"mapped",[68818]],[[68755,68755],"mapped",[68819]],[[68756,68756],"mapped",[68820]],[[68757,68757],"mapped",[68821]],[[68758,68758],"mapped",[68822]],[[68759,68759],"mapped",[68823]],[[68760,68760],"mapped",[68824]],[[68761,68761],"mapped",[68825]],[[68762,68762],"mapped",[68826]],[[68763,68763],"mapped",[68827]],[[68764,68764],"mapped",[68828]],[[68765,68765],"mapped",[68829]],[[68766,68766],"mapped",[68830]],[[68767,68767],"mapped",[68831]],[[68768,68768],"mapped",[68832]],[[68769,68769],"mapped",[68833]],[[68770,68770],"mapped",[68834]],[[68771,68771],"mapped",[68835]],[[68772,68772],"mapped",[68836]],[[68773,68773],"mapped",[68837]],[[68774,68774],"mapped",[68838]],[[68775,68775],"mapped",[68839]],[[68776,68776],"mapped",[68840]],[[68777,68777],"mapped",[68841]],[[68778,68778],"mapped",[68842]],[[68779,68779],"mapped",[68843]],[[68780,68780],"mapped",[68844]],[[68781,68781],"mapped",[68845]],[[68782,68782],"mapped",[68846]],[[68783,68783],"mapped",[68847]],[[68784,68784],"mapped",[68848]],[[68785,68785],"mapped",[68849]],[[68786,68786],"mapped",[68850]],[[68787,68799],"disallowed"],[[68800,68850],"valid"],[[68851,68857],"disallowed"],[[68858,68863],"valid",[],"NV8"],[[68864,69215],"disallowed"],[[69216,69246],"valid",[],"NV8"],[[69247,69631],"disallowed"],[[69632,69702],"valid"],[[69703,69709],"valid",[],"NV8"],[[69710,69713],"disallowed"],[[69714,69733],"valid",[],"NV8"],[[69734,69743],"valid"],[[69744,69758],"disallowed"],[[69759,69759],"valid"],[[69760,69818],"valid"],[[69819,69820],"valid",[],"NV8"],[[69821,69821],"disallowed"],[[69822,69825],"valid",[],"NV8"],[[69826,69839],"disallowed"],[[69840,69864],"valid"],[[69865,69871],"disallowed"],[[69872,69881],"valid"],[[69882,69887],"disallowed"],[[69888,69940],"valid"],[[69941,69941],"disallowed"],[[69942,69951],"valid"],[[69952,69955],"valid",[],"NV8"],[[69956,69967],"disallowed"],[[69968,70003],"valid"],[[70004,70005],"valid",[],"NV8"],[[70006,70006],"valid"],[[70007,70015],"disallowed"],[[70016,70084],"valid"],[[70085,70088],"valid",[],"NV8"],[[70089,70089],"valid",[],"NV8"],[[70090,70092],"valid"],[[70093,70093],"valid",[],"NV8"],[[70094,70095],"disallowed"],[[70096,70105],"valid"],[[70106,70106],"valid"],[[70107,70107],"valid",[],"NV8"],[[70108,70108],"valid"],[[70109,70111],"valid",[],"NV8"],[[70112,70112],"disallowed"],[[70113,70132],"valid",[],"NV8"],[[70133,70143],"disallowed"],[[70144,70161],"valid"],[[70162,70162],"disallowed"],[[70163,70199],"valid"],[[70200,70205],"valid",[],"NV8"],[[70206,70271],"disallowed"],[[70272,70278],"valid"],[[70279,70279],"disallowed"],[[70280,70280],"valid"],[[70281,70281],"disallowed"],[[70282,70285],"valid"],[[70286,70286],"disallowed"],[[70287,70301],"valid"],[[70302,70302],"disallowed"],[[70303,70312],"valid"],[[70313,70313],"valid",[],"NV8"],[[70314,70319],"disallowed"],[[70320,70378],"valid"],[[70379,70383],"disallowed"],[[70384,70393],"valid"],[[70394,70399],"disallowed"],[[70400,70400],"valid"],[[70401,70403],"valid"],[[70404,70404],"disallowed"],[[70405,70412],"valid"],[[70413,70414],"disallowed"],[[70415,70416],"valid"],[[70417,70418],"disallowed"],[[70419,70440],"valid"],[[70441,70441],"disallowed"],[[70442,70448],"valid"],[[70449,70449],"disallowed"],[[70450,70451],"valid"],[[70452,70452],"disallowed"],[[70453,70457],"valid"],[[70458,70459],"disallowed"],[[70460,70468],"valid"],[[70469,70470],"disallowed"],[[70471,70472],"valid"],[[70473,70474],"disallowed"],[[70475,70477],"valid"],[[70478,70479],"disallowed"],[[70480,70480],"valid"],[[70481,70486],"disallowed"],[[70487,70487],"valid"],[[70488,70492],"disallowed"],[[70493,70499],"valid"],[[70500,70501],"disallowed"],[[70502,70508],"valid"],[[70509,70511],"disallowed"],[[70512,70516],"valid"],[[70517,70783],"disallowed"],[[70784,70853],"valid"],[[70854,70854],"valid",[],"NV8"],[[70855,70855],"valid"],[[70856,70863],"disallowed"],[[70864,70873],"valid"],[[70874,71039],"disallowed"],[[71040,71093],"valid"],[[71094,71095],"disallowed"],[[71096,71104],"valid"],[[71105,71113],"valid",[],"NV8"],[[71114,71127],"valid",[],"NV8"],[[71128,71133],"valid"],[[71134,71167],"disallowed"],[[71168,71232],"valid"],[[71233,71235],"valid",[],"NV8"],[[71236,71236],"valid"],[[71237,71247],"disallowed"],[[71248,71257],"valid"],[[71258,71295],"disallowed"],[[71296,71351],"valid"],[[71352,71359],"disallowed"],[[71360,71369],"valid"],[[71370,71423],"disallowed"],[[71424,71449],"valid"],[[71450,71452],"disallowed"],[[71453,71467],"valid"],[[71468,71471],"disallowed"],[[71472,71481],"valid"],[[71482,71487],"valid",[],"NV8"],[[71488,71839],"disallowed"],[[71840,71840],"mapped",[71872]],[[71841,71841],"mapped",[71873]],[[71842,71842],"mapped",[71874]],[[71843,71843],"mapped",[71875]],[[71844,71844],"mapped",[71876]],[[71845,71845],"mapped",[71877]],[[71846,71846],"mapped",[71878]],[[71847,71847],"mapped",[71879]],[[71848,71848],"mapped",[71880]],[[71849,71849],"mapped",[71881]],[[71850,71850],"mapped",[71882]],[[71851,71851],"mapped",[71883]],[[71852,71852],"mapped",[71884]],[[71853,71853],"mapped",[71885]],[[71854,71854],"mapped",[71886]],[[71855,71855],"mapped",[71887]],[[71856,71856],"mapped",[71888]],[[71857,71857],"mapped",[71889]],[[71858,71858],"mapped",[71890]],[[71859,71859],"mapped",[71891]],[[71860,71860],"mapped",[71892]],[[71861,71861],"mapped",[71893]],[[71862,71862],"mapped",[71894]],[[71863,71863],"mapped",[71895]],[[71864,71864],"mapped",[71896]],[[71865,71865],"mapped",[71897]],[[71866,71866],"mapped",[71898]],[[71867,71867],"mapped",[71899]],[[71868,71868],"mapped",[71900]],[[71869,71869],"mapped",[71901]],[[71870,71870],"mapped",[71902]],[[71871,71871],"mapped",[71903]],[[71872,71913],"valid"],[[71914,71922],"valid",[],"NV8"],[[71923,71934],"disallowed"],[[71935,71935],"valid"],[[71936,72383],"disallowed"],[[72384,72440],"valid"],[[72441,73727],"disallowed"],[[73728,74606],"valid"],[[74607,74648],"valid"],[[74649,74649],"valid"],[[74650,74751],"disallowed"],[[74752,74850],"valid",[],"NV8"],[[74851,74862],"valid",[],"NV8"],[[74863,74863],"disallowed"],[[74864,74867],"valid",[],"NV8"],[[74868,74868],"valid",[],"NV8"],[[74869,74879],"disallowed"],[[74880,75075],"valid"],[[75076,77823],"disallowed"],[[77824,78894],"valid"],[[78895,82943],"disallowed"],[[82944,83526],"valid"],[[83527,92159],"disallowed"],[[92160,92728],"valid"],[[92729,92735],"disallowed"],[[92736,92766],"valid"],[[92767,92767],"disallowed"],[[92768,92777],"valid"],[[92778,92781],"disallowed"],[[92782,92783],"valid",[],"NV8"],[[92784,92879],"disallowed"],[[92880,92909],"valid"],[[92910,92911],"disallowed"],[[92912,92916],"valid"],[[92917,92917],"valid",[],"NV8"],[[92918,92927],"disallowed"],[[92928,92982],"valid"],[[92983,92991],"valid",[],"NV8"],[[92992,92995],"valid"],[[92996,92997],"valid",[],"NV8"],[[92998,93007],"disallowed"],[[93008,93017],"valid"],[[93018,93018],"disallowed"],[[93019,93025],"valid",[],"NV8"],[[93026,93026],"disallowed"],[[93027,93047],"valid"],[[93048,93052],"disallowed"],[[93053,93071],"valid"],[[93072,93951],"disallowed"],[[93952,94020],"valid"],[[94021,94031],"disallowed"],[[94032,94078],"valid"],[[94079,94094],"disallowed"],[[94095,94111],"valid"],[[94112,110591],"disallowed"],[[110592,110593],"valid"],[[110594,113663],"disallowed"],[[113664,113770],"valid"],[[113771,113775],"disallowed"],[[113776,113788],"valid"],[[113789,113791],"disallowed"],[[113792,113800],"valid"],[[113801,113807],"disallowed"],[[113808,113817],"valid"],[[113818,113819],"disallowed"],[[113820,113820],"valid",[],"NV8"],[[113821,113822],"valid"],[[113823,113823],"valid",[],"NV8"],[[113824,113827],"ignored"],[[113828,118783],"disallowed"],[[118784,119029],"valid",[],"NV8"],[[119030,119039],"disallowed"],[[119040,119078],"valid",[],"NV8"],[[119079,119080],"disallowed"],[[119081,119081],"valid",[],"NV8"],[[119082,119133],"valid",[],"NV8"],[[119134,119134],"mapped",[119127,119141]],[[119135,119135],"mapped",[119128,119141]],[[119136,119136],"mapped",[119128,119141,119150]],[[119137,119137],"mapped",[119128,119141,119151]],[[119138,119138],"mapped",[119128,119141,119152]],[[119139,119139],"mapped",[119128,119141,119153]],[[119140,119140],"mapped",[119128,119141,119154]],[[119141,119154],"valid",[],"NV8"],[[119155,119162],"disallowed"],[[119163,119226],"valid",[],"NV8"],[[119227,119227],"mapped",[119225,119141]],[[119228,119228],"mapped",[119226,119141]],[[119229,119229],"mapped",[119225,119141,119150]],[[119230,119230],"mapped",[119226,119141,119150]],[[119231,119231],"mapped",[119225,119141,119151]],[[119232,119232],"mapped",[119226,119141,119151]],[[119233,119261],"valid",[],"NV8"],[[119262,119272],"valid",[],"NV8"],[[119273,119295],"disallowed"],[[119296,119365],"valid",[],"NV8"],[[119366,119551],"disallowed"],[[119552,119638],"valid",[],"NV8"],[[119639,119647],"disallowed"],[[119648,119665],"valid",[],"NV8"],[[119666,119807],"disallowed"],[[119808,119808],"mapped",[97]],[[119809,119809],"mapped",[98]],[[119810,119810],"mapped",[99]],[[119811,119811],"mapped",[100]],[[119812,119812],"mapped",[101]],[[119813,119813],"mapped",[102]],[[119814,119814],"mapped",[103]],[[119815,119815],"mapped",[104]],[[119816,119816],"mapped",[105]],[[119817,119817],"mapped",[106]],[[119818,119818],"mapped",[107]],[[119819,119819],"mapped",[108]],[[119820,119820],"mapped",[109]],[[119821,119821],"mapped",[110]],[[119822,119822],"mapped",[111]],[[119823,119823],"mapped",[112]],[[119824,119824],"mapped",[113]],[[119825,119825],"mapped",[114]],[[119826,119826],"mapped",[115]],[[119827,119827],"mapped",[116]],[[119828,119828],"mapped",[117]],[[119829,119829],"mapped",[118]],[[119830,119830],"mapped",[119]],[[119831,119831],"mapped",[120]],[[119832,119832],"mapped",[121]],[[119833,119833],"mapped",[122]],[[119834,119834],"mapped",[97]],[[119835,119835],"mapped",[98]],[[119836,119836],"mapped",[99]],[[119837,119837],"mapped",[100]],[[119838,119838],"mapped",[101]],[[119839,119839],"mapped",[102]],[[119840,119840],"mapped",[103]],[[119841,119841],"mapped",[104]],[[119842,119842],"mapped",[105]],[[119843,119843],"mapped",[106]],[[119844,119844],"mapped",[107]],[[119845,119845],"mapped",[108]],[[119846,119846],"mapped",[109]],[[119847,119847],"mapped",[110]],[[119848,119848],"mapped",[111]],[[119849,119849],"mapped",[112]],[[119850,119850],"mapped",[113]],[[119851,119851],"mapped",[114]],[[119852,119852],"mapped",[115]],[[119853,119853],"mapped",[116]],[[119854,119854],"mapped",[117]],[[119855,119855],"mapped",[118]],[[119856,119856],"mapped",[119]],[[119857,119857],"mapped",[120]],[[119858,119858],"mapped",[121]],[[119859,119859],"mapped",[122]],[[119860,119860],"mapped",[97]],[[119861,119861],"mapped",[98]],[[119862,119862],"mapped",[99]],[[119863,119863],"mapped",[100]],[[119864,119864],"mapped",[101]],[[119865,119865],"mapped",[102]],[[119866,119866],"mapped",[103]],[[119867,119867],"mapped",[104]],[[119868,119868],"mapped",[105]],[[119869,119869],"mapped",[106]],[[119870,119870],"mapped",[107]],[[119871,119871],"mapped",[108]],[[119872,119872],"mapped",[109]],[[119873,119873],"mapped",[110]],[[119874,119874],"mapped",[111]],[[119875,119875],"mapped",[112]],[[119876,119876],"mapped",[113]],[[119877,119877],"mapped",[114]],[[119878,119878],"mapped",[115]],[[119879,119879],"mapped",[116]],[[119880,119880],"mapped",[117]],[[119881,119881],"mapped",[118]],[[119882,119882],"mapped",[119]],[[119883,119883],"mapped",[120]],[[119884,119884],"mapped",[121]],[[119885,119885],"mapped",[122]],[[119886,119886],"mapped",[97]],[[119887,119887],"mapped",[98]],[[119888,119888],"mapped",[99]],[[119889,119889],"mapped",[100]],[[119890,119890],"mapped",[101]],[[119891,119891],"mapped",[102]],[[119892,119892],"mapped",[103]],[[119893,119893],"disallowed"],[[119894,119894],"mapped",[105]],[[119895,119895],"mapped",[106]],[[119896,119896],"mapped",[107]],[[119897,119897],"mapped",[108]],[[119898,119898],"mapped",[109]],[[119899,119899],"mapped",[110]],[[119900,119900],"mapped",[111]],[[119901,119901],"mapped",[112]],[[119902,119902],"mapped",[113]],[[119903,119903],"mapped",[114]],[[119904,119904],"mapped",[115]],[[119905,119905],"mapped",[116]],[[119906,119906],"mapped",[117]],[[119907,119907],"mapped",[118]],[[119908,119908],"mapped",[119]],[[119909,119909],"mapped",[120]],[[119910,119910],"mapped",[121]],[[119911,119911],"mapped",[122]],[[119912,119912],"mapped",[97]],[[119913,119913],"mapped",[98]],[[119914,119914],"mapped",[99]],[[119915,119915],"mapped",[100]],[[119916,119916],"mapped",[101]],[[119917,119917],"mapped",[102]],[[119918,119918],"mapped",[103]],[[119919,119919],"mapped",[104]],[[119920,119920],"mapped",[105]],[[119921,119921],"mapped",[106]],[[119922,119922],"mapped",[107]],[[119923,119923],"mapped",[108]],[[119924,119924],"mapped",[109]],[[119925,119925],"mapped",[110]],[[119926,119926],"mapped",[111]],[[119927,119927],"mapped",[112]],[[119928,119928],"mapped",[113]],[[119929,119929],"mapped",[114]],[[119930,119930],"mapped",[115]],[[119931,119931],"mapped",[116]],[[119932,119932],"mapped",[117]],[[119933,119933],"mapped",[118]],[[119934,119934],"mapped",[119]],[[119935,119935],"mapped",[120]],[[119936,119936],"mapped",[121]],[[119937,119937],"mapped",[122]],[[119938,119938],"mapped",[97]],[[119939,119939],"mapped",[98]],[[119940,119940],"mapped",[99]],[[119941,119941],"mapped",[100]],[[119942,119942],"mapped",[101]],[[119943,119943],"mapped",[102]],[[119944,119944],"mapped",[103]],[[119945,119945],"mapped",[104]],[[119946,119946],"mapped",[105]],[[119947,119947],"mapped",[106]],[[119948,119948],"mapped",[107]],[[119949,119949],"mapped",[108]],[[119950,119950],"mapped",[109]],[[119951,119951],"mapped",[110]],[[119952,119952],"mapped",[111]],[[119953,119953],"mapped",[112]],[[119954,119954],"mapped",[113]],[[119955,119955],"mapped",[114]],[[119956,119956],"mapped",[115]],[[119957,119957],"mapped",[116]],[[119958,119958],"mapped",[117]],[[119959,119959],"mapped",[118]],[[119960,119960],"mapped",[119]],[[119961,119961],"mapped",[120]],[[119962,119962],"mapped",[121]],[[119963,119963],"mapped",[122]],[[119964,119964],"mapped",[97]],[[119965,119965],"disallowed"],[[119966,119966],"mapped",[99]],[[119967,119967],"mapped",[100]],[[119968,119969],"disallowed"],[[119970,119970],"mapped",[103]],[[119971,119972],"disallowed"],[[119973,119973],"mapped",[106]],[[119974,119974],"mapped",[107]],[[119975,119976],"disallowed"],[[119977,119977],"mapped",[110]],[[119978,119978],"mapped",[111]],[[119979,119979],"mapped",[112]],[[119980,119980],"mapped",[113]],[[119981,119981],"disallowed"],[[119982,119982],"mapped",[115]],[[119983,119983],"mapped",[116]],[[119984,119984],"mapped",[117]],[[119985,119985],"mapped",[118]],[[119986,119986],"mapped",[119]],[[119987,119987],"mapped",[120]],[[119988,119988],"mapped",[121]],[[119989,119989],"mapped",[122]],[[119990,119990],"mapped",[97]],[[119991,119991],"mapped",[98]],[[119992,119992],"mapped",[99]],[[119993,119993],"mapped",[100]],[[119994,119994],"disallowed"],[[119995,119995],"mapped",[102]],[[119996,119996],"disallowed"],[[119997,119997],"mapped",[104]],[[119998,119998],"mapped",[105]],[[119999,119999],"mapped",[106]],[[120000,120000],"mapped",[107]],[[120001,120001],"mapped",[108]],[[120002,120002],"mapped",[109]],[[120003,120003],"mapped",[110]],[[120004,120004],"disallowed"],[[120005,120005],"mapped",[112]],[[120006,120006],"mapped",[113]],[[120007,120007],"mapped",[114]],[[120008,120008],"mapped",[115]],[[120009,120009],"mapped",[116]],[[120010,120010],"mapped",[117]],[[120011,120011],"mapped",[118]],[[120012,120012],"mapped",[119]],[[120013,120013],"mapped",[120]],[[120014,120014],"mapped",[121]],[[120015,120015],"mapped",[122]],[[120016,120016],"mapped",[97]],[[120017,120017],"mapped",[98]],[[120018,120018],"mapped",[99]],[[120019,120019],"mapped",[100]],[[120020,120020],"mapped",[101]],[[120021,120021],"mapped",[102]],[[120022,120022],"mapped",[103]],[[120023,120023],"mapped",[104]],[[120024,120024],"mapped",[105]],[[120025,120025],"mapped",[106]],[[120026,120026],"mapped",[107]],[[120027,120027],"mapped",[108]],[[120028,120028],"mapped",[109]],[[120029,120029],"mapped",[110]],[[120030,120030],"mapped",[111]],[[120031,120031],"mapped",[112]],[[120032,120032],"mapped",[113]],[[120033,120033],"mapped",[114]],[[120034,120034],"mapped",[115]],[[120035,120035],"mapped",[116]],[[120036,120036],"mapped",[117]],[[120037,120037],"mapped",[118]],[[120038,120038],"mapped",[119]],[[120039,120039],"mapped",[120]],[[120040,120040],"mapped",[121]],[[120041,120041],"mapped",[122]],[[120042,120042],"mapped",[97]],[[120043,120043],"mapped",[98]],[[120044,120044],"mapped",[99]],[[120045,120045],"mapped",[100]],[[120046,120046],"mapped",[101]],[[120047,120047],"mapped",[102]],[[120048,120048],"mapped",[103]],[[120049,120049],"mapped",[104]],[[120050,120050],"mapped",[105]],[[120051,120051],"mapped",[106]],[[120052,120052],"mapped",[107]],[[120053,120053],"mapped",[108]],[[120054,120054],"mapped",[109]],[[120055,120055],"mapped",[110]],[[120056,120056],"mapped",[111]],[[120057,120057],"mapped",[112]],[[120058,120058],"mapped",[113]],[[120059,120059],"mapped",[114]],[[120060,120060],"mapped",[115]],[[120061,120061],"mapped",[116]],[[120062,120062],"mapped",[117]],[[120063,120063],"mapped",[118]],[[120064,120064],"mapped",[119]],[[120065,120065],"mapped",[120]],[[120066,120066],"mapped",[121]],[[120067,120067],"mapped",[122]],[[120068,120068],"mapped",[97]],[[120069,120069],"mapped",[98]],[[120070,120070],"disallowed"],[[120071,120071],"mapped",[100]],[[120072,120072],"mapped",[101]],[[120073,120073],"mapped",[102]],[[120074,120074],"mapped",[103]],[[120075,120076],"disallowed"],[[120077,120077],"mapped",[106]],[[120078,120078],"mapped",[107]],[[120079,120079],"mapped",[108]],[[120080,120080],"mapped",[109]],[[120081,120081],"mapped",[110]],[[120082,120082],"mapped",[111]],[[120083,120083],"mapped",[112]],[[120084,120084],"mapped",[113]],[[120085,120085],"disallowed"],[[120086,120086],"mapped",[115]],[[120087,120087],"mapped",[116]],[[120088,120088],"mapped",[117]],[[120089,120089],"mapped",[118]],[[120090,120090],"mapped",[119]],[[120091,120091],"mapped",[120]],[[120092,120092],"mapped",[121]],[[120093,120093],"disallowed"],[[120094,120094],"mapped",[97]],[[120095,120095],"mapped",[98]],[[120096,120096],"mapped",[99]],[[120097,120097],"mapped",[100]],[[120098,120098],"mapped",[101]],[[120099,120099],"mapped",[102]],[[120100,120100],"mapped",[103]],[[120101,120101],"mapped",[104]],[[120102,120102],"mapped",[105]],[[120103,120103],"mapped",[106]],[[120104,120104],"mapped",[107]],[[120105,120105],"mapped",[108]],[[120106,120106],"mapped",[109]],[[120107,120107],"mapped",[110]],[[120108,120108],"mapped",[111]],[[120109,120109],"mapped",[112]],[[120110,120110],"mapped",[113]],[[120111,120111],"mapped",[114]],[[120112,120112],"mapped",[115]],[[120113,120113],"mapped",[116]],[[120114,120114],"mapped",[117]],[[120115,120115],"mapped",[118]],[[120116,120116],"mapped",[119]],[[120117,120117],"mapped",[120]],[[120118,120118],"mapped",[121]],[[120119,120119],"mapped",[122]],[[120120,120120],"mapped",[97]],[[120121,120121],"mapped",[98]],[[120122,120122],"disallowed"],[[120123,120123],"mapped",[100]],[[120124,120124],"mapped",[101]],[[120125,120125],"mapped",[102]],[[120126,120126],"mapped",[103]],[[120127,120127],"disallowed"],[[120128,120128],"mapped",[105]],[[120129,120129],"mapped",[106]],[[120130,120130],"mapped",[107]],[[120131,120131],"mapped",[108]],[[120132,120132],"mapped",[109]],[[120133,120133],"disallowed"],[[120134,120134],"mapped",[111]],[[120135,120137],"disallowed"],[[120138,120138],"mapped",[115]],[[120139,120139],"mapped",[116]],[[120140,120140],"mapped",[117]],[[120141,120141],"mapped",[118]],[[120142,120142],"mapped",[119]],[[120143,120143],"mapped",[120]],[[120144,120144],"mapped",[121]],[[120145,120145],"disallowed"],[[120146,120146],"mapped",[97]],[[120147,120147],"mapped",[98]],[[120148,120148],"mapped",[99]],[[120149,120149],"mapped",[100]],[[120150,120150],"mapped",[101]],[[120151,120151],"mapped",[102]],[[120152,120152],"mapped",[103]],[[120153,120153],"mapped",[104]],[[120154,120154],"mapped",[105]],[[120155,120155],"mapped",[106]],[[120156,120156],"mapped",[107]],[[120157,120157],"mapped",[108]],[[120158,120158],"mapped",[109]],[[120159,120159],"mapped",[110]],[[120160,120160],"mapped",[111]],[[120161,120161],"mapped",[112]],[[120162,120162],"mapped",[113]],[[120163,120163],"mapped",[114]],[[120164,120164],"mapped",[115]],[[120165,120165],"mapped",[116]],[[120166,120166],"mapped",[117]],[[120167,120167],"mapped",[118]],[[120168,120168],"mapped",[119]],[[120169,120169],"mapped",[120]],[[120170,120170],"mapped",[121]],[[120171,120171],"mapped",[122]],[[120172,120172],"mapped",[97]],[[120173,120173],"mapped",[98]],[[120174,120174],"mapped",[99]],[[120175,120175],"mapped",[100]],[[120176,120176],"mapped",[101]],[[120177,120177],"mapped",[102]],[[120178,120178],"mapped",[103]],[[120179,120179],"mapped",[104]],[[120180,120180],"mapped",[105]],[[120181,120181],"mapped",[106]],[[120182,120182],"mapped",[107]],[[120183,120183],"mapped",[108]],[[120184,120184],"mapped",[109]],[[120185,120185],"mapped",[110]],[[120186,120186],"mapped",[111]],[[120187,120187],"mapped",[112]],[[120188,120188],"mapped",[113]],[[120189,120189],"mapped",[114]],[[120190,120190],"mapped",[115]],[[120191,120191],"mapped",[116]],[[120192,120192],"mapped",[117]],[[120193,120193],"mapped",[118]],[[120194,120194],"mapped",[119]],[[120195,120195],"mapped",[120]],[[120196,120196],"mapped",[121]],[[120197,120197],"mapped",[122]],[[120198,120198],"mapped",[97]],[[120199,120199],"mapped",[98]],[[120200,120200],"mapped",[99]],[[120201,120201],"mapped",[100]],[[120202,120202],"mapped",[101]],[[120203,120203],"mapped",[102]],[[120204,120204],"mapped",[103]],[[120205,120205],"mapped",[104]],[[120206,120206],"mapped",[105]],[[120207,120207],"mapped",[106]],[[120208,120208],"mapped",[107]],[[120209,120209],"mapped",[108]],[[120210,120210],"mapped",[109]],[[120211,120211],"mapped",[110]],[[120212,120212],"mapped",[111]],[[120213,120213],"mapped",[112]],[[120214,120214],"mapped",[113]],[[120215,120215],"mapped",[114]],[[120216,120216],"mapped",[115]],[[120217,120217],"mapped",[116]],[[120218,120218],"mapped",[117]],[[120219,120219],"mapped",[118]],[[120220,120220],"mapped",[119]],[[120221,120221],"mapped",[120]],[[120222,120222],"mapped",[121]],[[120223,120223],"mapped",[122]],[[120224,120224],"mapped",[97]],[[120225,120225],"mapped",[98]],[[120226,120226],"mapped",[99]],[[120227,120227],"mapped",[100]],[[120228,120228],"mapped",[101]],[[120229,120229],"mapped",[102]],[[120230,120230],"mapped",[103]],[[120231,120231],"mapped",[104]],[[120232,120232],"mapped",[105]],[[120233,120233],"mapped",[106]],[[120234,120234],"mapped",[107]],[[120235,120235],"mapped",[108]],[[120236,120236],"mapped",[109]],[[120237,120237],"mapped",[110]],[[120238,120238],"mapped",[111]],[[120239,120239],"mapped",[112]],[[120240,120240],"mapped",[113]],[[120241,120241],"mapped",[114]],[[120242,120242],"mapped",[115]],[[120243,120243],"mapped",[116]],[[120244,120244],"mapped",[117]],[[120245,120245],"mapped",[118]],[[120246,120246],"mapped",[119]],[[120247,120247],"mapped",[120]],[[120248,120248],"mapped",[121]],[[120249,120249],"mapped",[122]],[[120250,120250],"mapped",[97]],[[120251,120251],"mapped",[98]],[[120252,120252],"mapped",[99]],[[120253,120253],"mapped",[100]],[[120254,120254],"mapped",[101]],[[120255,120255],"mapped",[102]],[[120256,120256],"mapped",[103]],[[120257,120257],"mapped",[104]],[[120258,120258],"mapped",[105]],[[120259,120259],"mapped",[106]],[[120260,120260],"mapped",[107]],[[120261,120261],"mapped",[108]],[[120262,120262],"mapped",[109]],[[120263,120263],"mapped",[110]],[[120264,120264],"mapped",[111]],[[120265,120265],"mapped",[112]],[[120266,120266],"mapped",[113]],[[120267,120267],"mapped",[114]],[[120268,120268],"mapped",[115]],[[120269,120269],"mapped",[116]],[[120270,120270],"mapped",[117]],[[120271,120271],"mapped",[118]],[[120272,120272],"mapped",[119]],[[120273,120273],"mapped",[120]],[[120274,120274],"mapped",[121]],[[120275,120275],"mapped",[122]],[[120276,120276],"mapped",[97]],[[120277,120277],"mapped",[98]],[[120278,120278],"mapped",[99]],[[120279,120279],"mapped",[100]],[[120280,120280],"mapped",[101]],[[120281,120281],"mapped",[102]],[[120282,120282],"mapped",[103]],[[120283,120283],"mapped",[104]],[[120284,120284],"mapped",[105]],[[120285,120285],"mapped",[106]],[[120286,120286],"mapped",[107]],[[120287,120287],"mapped",[108]],[[120288,120288],"mapped",[109]],[[120289,120289],"mapped",[110]],[[120290,120290],"mapped",[111]],[[120291,120291],"mapped",[112]],[[120292,120292],"mapped",[113]],[[120293,120293],"mapped",[114]],[[120294,120294],"mapped",[115]],[[120295,120295],"mapped",[116]],[[120296,120296],"mapped",[117]],[[120297,120297],"mapped",[118]],[[120298,120298],"mapped",[119]],[[120299,120299],"mapped",[120]],[[120300,120300],"mapped",[121]],[[120301,120301],"mapped",[122]],[[120302,120302],"mapped",[97]],[[120303,120303],"mapped",[98]],[[120304,120304],"mapped",[99]],[[120305,120305],"mapped",[100]],[[120306,120306],"mapped",[101]],[[120307,120307],"mapped",[102]],[[120308,120308],"mapped",[103]],[[120309,120309],"mapped",[104]],[[120310,120310],"mapped",[105]],[[120311,120311],"mapped",[106]],[[120312,120312],"mapped",[107]],[[120313,120313],"mapped",[108]],[[120314,120314],"mapped",[109]],[[120315,120315],"mapped",[110]],[[120316,120316],"mapped",[111]],[[120317,120317],"mapped",[112]],[[120318,120318],"mapped",[113]],[[120319,120319],"mapped",[114]],[[120320,120320],"mapped",[115]],[[120321,120321],"mapped",[116]],[[120322,120322],"mapped",[117]],[[120323,120323],"mapped",[118]],[[120324,120324],"mapped",[119]],[[120325,120325],"mapped",[120]],[[120326,120326],"mapped",[121]],[[120327,120327],"mapped",[122]],[[120328,120328],"mapped",[97]],[[120329,120329],"mapped",[98]],[[120330,120330],"mapped",[99]],[[120331,120331],"mapped",[100]],[[120332,120332],"mapped",[101]],[[120333,120333],"mapped",[102]],[[120334,120334],"mapped",[103]],[[120335,120335],"mapped",[104]],[[120336,120336],"mapped",[105]],[[120337,120337],"mapped",[106]],[[120338,120338],"mapped",[107]],[[120339,120339],"mapped",[108]],[[120340,120340],"mapped",[109]],[[120341,120341],"mapped",[110]],[[120342,120342],"mapped",[111]],[[120343,120343],"mapped",[112]],[[120344,120344],"mapped",[113]],[[120345,120345],"mapped",[114]],[[120346,120346],"mapped",[115]],[[120347,120347],"mapped",[116]],[[120348,120348],"mapped",[117]],[[120349,120349],"mapped",[118]],[[120350,120350],"mapped",[119]],[[120351,120351],"mapped",[120]],[[120352,120352],"mapped",[121]],[[120353,120353],"mapped",[122]],[[120354,120354],"mapped",[97]],[[120355,120355],"mapped",[98]],[[120356,120356],"mapped",[99]],[[120357,120357],"mapped",[100]],[[120358,120358],"mapped",[101]],[[120359,120359],"mapped",[102]],[[120360,120360],"mapped",[103]],[[120361,120361],"mapped",[104]],[[120362,120362],"mapped",[105]],[[120363,120363],"mapped",[106]],[[120364,120364],"mapped",[107]],[[120365,120365],"mapped",[108]],[[120366,120366],"mapped",[109]],[[120367,120367],"mapped",[110]],[[120368,120368],"mapped",[111]],[[120369,120369],"mapped",[112]],[[120370,120370],"mapped",[113]],[[120371,120371],"mapped",[114]],[[120372,120372],"mapped",[115]],[[120373,120373],"mapped",[116]],[[120374,120374],"mapped",[117]],[[120375,120375],"mapped",[118]],[[120376,120376],"mapped",[119]],[[120377,120377],"mapped",[120]],[[120378,120378],"mapped",[121]],[[120379,120379],"mapped",[122]],[[120380,120380],"mapped",[97]],[[120381,120381],"mapped",[98]],[[120382,120382],"mapped",[99]],[[120383,120383],"mapped",[100]],[[120384,120384],"mapped",[101]],[[120385,120385],"mapped",[102]],[[120386,120386],"mapped",[103]],[[120387,120387],"mapped",[104]],[[120388,120388],"mapped",[105]],[[120389,120389],"mapped",[106]],[[120390,120390],"mapped",[107]],[[120391,120391],"mapped",[108]],[[120392,120392],"mapped",[109]],[[120393,120393],"mapped",[110]],[[120394,120394],"mapped",[111]],[[120395,120395],"mapped",[112]],[[120396,120396],"mapped",[113]],[[120397,120397],"mapped",[114]],[[120398,120398],"mapped",[115]],[[120399,120399],"mapped",[116]],[[120400,120400],"mapped",[117]],[[120401,120401],"mapped",[118]],[[120402,120402],"mapped",[119]],[[120403,120403],"mapped",[120]],[[120404,120404],"mapped",[121]],[[120405,120405],"mapped",[122]],[[120406,120406],"mapped",[97]],[[120407,120407],"mapped",[98]],[[120408,120408],"mapped",[99]],[[120409,120409],"mapped",[100]],[[120410,120410],"mapped",[101]],[[120411,120411],"mapped",[102]],[[120412,120412],"mapped",[103]],[[120413,120413],"mapped",[104]],[[120414,120414],"mapped",[105]],[[120415,120415],"mapped",[106]],[[120416,120416],"mapped",[107]],[[120417,120417],"mapped",[108]],[[120418,120418],"mapped",[109]],[[120419,120419],"mapped",[110]],[[120420,120420],"mapped",[111]],[[120421,120421],"mapped",[112]],[[120422,120422],"mapped",[113]],[[120423,120423],"mapped",[114]],[[120424,120424],"mapped",[115]],[[120425,120425],"mapped",[116]],[[120426,120426],"mapped",[117]],[[120427,120427],"mapped",[118]],[[120428,120428],"mapped",[119]],[[120429,120429],"mapped",[120]],[[120430,120430],"mapped",[121]],[[120431,120431],"mapped",[122]],[[120432,120432],"mapped",[97]],[[120433,120433],"mapped",[98]],[[120434,120434],"mapped",[99]],[[120435,120435],"mapped",[100]],[[120436,120436],"mapped",[101]],[[120437,120437],"mapped",[102]],[[120438,120438],"mapped",[103]],[[120439,120439],"mapped",[104]],[[120440,120440],"mapped",[105]],[[120441,120441],"mapped",[106]],[[120442,120442],"mapped",[107]],[[120443,120443],"mapped",[108]],[[120444,120444],"mapped",[109]],[[120445,120445],"mapped",[110]],[[120446,120446],"mapped",[111]],[[120447,120447],"mapped",[112]],[[120448,120448],"mapped",[113]],[[120449,120449],"mapped",[114]],[[120450,120450],"mapped",[115]],[[120451,120451],"mapped",[116]],[[120452,120452],"mapped",[117]],[[120453,120453],"mapped",[118]],[[120454,120454],"mapped",[119]],[[120455,120455],"mapped",[120]],[[120456,120456],"mapped",[121]],[[120457,120457],"mapped",[122]],[[120458,120458],"mapped",[97]],[[120459,120459],"mapped",[98]],[[120460,120460],"mapped",[99]],[[120461,120461],"mapped",[100]],[[120462,120462],"mapped",[101]],[[120463,120463],"mapped",[102]],[[120464,120464],"mapped",[103]],[[120465,120465],"mapped",[104]],[[120466,120466],"mapped",[105]],[[120467,120467],"mapped",[106]],[[120468,120468],"mapped",[107]],[[120469,120469],"mapped",[108]],[[120470,120470],"mapped",[109]],[[120471,120471],"mapped",[110]],[[120472,120472],"mapped",[111]],[[120473,120473],"mapped",[112]],[[120474,120474],"mapped",[113]],[[120475,120475],"mapped",[114]],[[120476,120476],"mapped",[115]],[[120477,120477],"mapped",[116]],[[120478,120478],"mapped",[117]],[[120479,120479],"mapped",[118]],[[120480,120480],"mapped",[119]],[[120481,120481],"mapped",[120]],[[120482,120482],"mapped",[121]],[[120483,120483],"mapped",[122]],[[120484,120484],"mapped",[305]],[[120485,120485],"mapped",[567]],[[120486,120487],"disallowed"],[[120488,120488],"mapped",[945]],[[120489,120489],"mapped",[946]],[[120490,120490],"mapped",[947]],[[120491,120491],"mapped",[948]],[[120492,120492],"mapped",[949]],[[120493,120493],"mapped",[950]],[[120494,120494],"mapped",[951]],[[120495,120495],"mapped",[952]],[[120496,120496],"mapped",[953]],[[120497,120497],"mapped",[954]],[[120498,120498],"mapped",[955]],[[120499,120499],"mapped",[956]],[[120500,120500],"mapped",[957]],[[120501,120501],"mapped",[958]],[[120502,120502],"mapped",[959]],[[120503,120503],"mapped",[960]],[[120504,120504],"mapped",[961]],[[120505,120505],"mapped",[952]],[[120506,120506],"mapped",[963]],[[120507,120507],"mapped",[964]],[[120508,120508],"mapped",[965]],[[120509,120509],"mapped",[966]],[[120510,120510],"mapped",[967]],[[120511,120511],"mapped",[968]],[[120512,120512],"mapped",[969]],[[120513,120513],"mapped",[8711]],[[120514,120514],"mapped",[945]],[[120515,120515],"mapped",[946]],[[120516,120516],"mapped",[947]],[[120517,120517],"mapped",[948]],[[120518,120518],"mapped",[949]],[[120519,120519],"mapped",[950]],[[120520,120520],"mapped",[951]],[[120521,120521],"mapped",[952]],[[120522,120522],"mapped",[953]],[[120523,120523],"mapped",[954]],[[120524,120524],"mapped",[955]],[[120525,120525],"mapped",[956]],[[120526,120526],"mapped",[957]],[[120527,120527],"mapped",[958]],[[120528,120528],"mapped",[959]],[[120529,120529],"mapped",[960]],[[120530,120530],"mapped",[961]],[[120531,120532],"mapped",[963]],[[120533,120533],"mapped",[964]],[[120534,120534],"mapped",[965]],[[120535,120535],"mapped",[966]],[[120536,120536],"mapped",[967]],[[120537,120537],"mapped",[968]],[[120538,120538],"mapped",[969]],[[120539,120539],"mapped",[8706]],[[120540,120540],"mapped",[949]],[[120541,120541],"mapped",[952]],[[120542,120542],"mapped",[954]],[[120543,120543],"mapped",[966]],[[120544,120544],"mapped",[961]],[[120545,120545],"mapped",[960]],[[120546,120546],"mapped",[945]],[[120547,120547],"mapped",[946]],[[120548,120548],"mapped",[947]],[[120549,120549],"mapped",[948]],[[120550,120550],"mapped",[949]],[[120551,120551],"mapped",[950]],[[120552,120552],"mapped",[951]],[[120553,120553],"mapped",[952]],[[120554,120554],"mapped",[953]],[[120555,120555],"mapped",[954]],[[120556,120556],"mapped",[955]],[[120557,120557],"mapped",[956]],[[120558,120558],"mapped",[957]],[[120559,120559],"mapped",[958]],[[120560,120560],"mapped",[959]],[[120561,120561],"mapped",[960]],[[120562,120562],"mapped",[961]],[[120563,120563],"mapped",[952]],[[120564,120564],"mapped",[963]],[[120565,120565],"mapped",[964]],[[120566,120566],"mapped",[965]],[[120567,120567],"mapped",[966]],[[120568,120568],"mapped",[967]],[[120569,120569],"mapped",[968]],[[120570,120570],"mapped",[969]],[[120571,120571],"mapped",[8711]],[[120572,120572],"mapped",[945]],[[120573,120573],"mapped",[946]],[[120574,120574],"mapped",[947]],[[120575,120575],"mapped",[948]],[[120576,120576],"mapped",[949]],[[120577,120577],"mapped",[950]],[[120578,120578],"mapped",[951]],[[120579,120579],"mapped",[952]],[[120580,120580],"mapped",[953]],[[120581,120581],"mapped",[954]],[[120582,120582],"mapped",[955]],[[120583,120583],"mapped",[956]],[[120584,120584],"mapped",[957]],[[120585,120585],"mapped",[958]],[[120586,120586],"mapped",[959]],[[120587,120587],"mapped",[960]],[[120588,120588],"mapped",[961]],[[120589,120590],"mapped",[963]],[[120591,120591],"mapped",[964]],[[120592,120592],"mapped",[965]],[[120593,120593],"mapped",[966]],[[120594,120594],"mapped",[967]],[[120595,120595],"mapped",[968]],[[120596,120596],"mapped",[969]],[[120597,120597],"mapped",[8706]],[[120598,120598],"mapped",[949]],[[120599,120599],"mapped",[952]],[[120600,120600],"mapped",[954]],[[120601,120601],"mapped",[966]],[[120602,120602],"mapped",[961]],[[120603,120603],"mapped",[960]],[[120604,120604],"mapped",[945]],[[120605,120605],"mapped",[946]],[[120606,120606],"mapped",[947]],[[120607,120607],"mapped",[948]],[[120608,120608],"mapped",[949]],[[120609,120609],"mapped",[950]],[[120610,120610],"mapped",[951]],[[120611,120611],"mapped",[952]],[[120612,120612],"mapped",[953]],[[120613,120613],"mapped",[954]],[[120614,120614],"mapped",[955]],[[120615,120615],"mapped",[956]],[[120616,120616],"mapped",[957]],[[120617,120617],"mapped",[958]],[[120618,120618],"mapped",[959]],[[120619,120619],"mapped",[960]],[[120620,120620],"mapped",[961]],[[120621,120621],"mapped",[952]],[[120622,120622],"mapped",[963]],[[120623,120623],"mapped",[964]],[[120624,120624],"mapped",[965]],[[120625,120625],"mapped",[966]],[[120626,120626],"mapped",[967]],[[120627,120627],"mapped",[968]],[[120628,120628],"mapped",[969]],[[120629,120629],"mapped",[8711]],[[120630,120630],"mapped",[945]],[[120631,120631],"mapped",[946]],[[120632,120632],"mapped",[947]],[[120633,120633],"mapped",[948]],[[120634,120634],"mapped",[949]],[[120635,120635],"mapped",[950]],[[120636,120636],"mapped",[951]],[[120637,120637],"mapped",[952]],[[120638,120638],"mapped",[953]],[[120639,120639],"mapped",[954]],[[120640,120640],"mapped",[955]],[[120641,120641],"mapped",[956]],[[120642,120642],"mapped",[957]],[[120643,120643],"mapped",[958]],[[120644,120644],"mapped",[959]],[[120645,120645],"mapped",[960]],[[120646,120646],"mapped",[961]],[[120647,120648],"mapped",[963]],[[120649,120649],"mapped",[964]],[[120650,120650],"mapped",[965]],[[120651,120651],"mapped",[966]],[[120652,120652],"mapped",[967]],[[120653,120653],"mapped",[968]],[[120654,120654],"mapped",[969]],[[120655,120655],"mapped",[8706]],[[120656,120656],"mapped",[949]],[[120657,120657],"mapped",[952]],[[120658,120658],"mapped",[954]],[[120659,120659],"mapped",[966]],[[120660,120660],"mapped",[961]],[[120661,120661],"mapped",[960]],[[120662,120662],"mapped",[945]],[[120663,120663],"mapped",[946]],[[120664,120664],"mapped",[947]],[[120665,120665],"mapped",[948]],[[120666,120666],"mapped",[949]],[[120667,120667],"mapped",[950]],[[120668,120668],"mapped",[951]],[[120669,120669],"mapped",[952]],[[120670,120670],"mapped",[953]],[[120671,120671],"mapped",[954]],[[120672,120672],"mapped",[955]],[[120673,120673],"mapped",[956]],[[120674,120674],"mapped",[957]],[[120675,120675],"mapped",[958]],[[120676,120676],"mapped",[959]],[[120677,120677],"mapped",[960]],[[120678,120678],"mapped",[961]],[[120679,120679],"mapped",[952]],[[120680,120680],"mapped",[963]],[[120681,120681],"mapped",[964]],[[120682,120682],"mapped",[965]],[[120683,120683],"mapped",[966]],[[120684,120684],"mapped",[967]],[[120685,120685],"mapped",[968]],[[120686,120686],"mapped",[969]],[[120687,120687],"mapped",[8711]],[[120688,120688],"mapped",[945]],[[120689,120689],"mapped",[946]],[[120690,120690],"mapped",[947]],[[120691,120691],"mapped",[948]],[[120692,120692],"mapped",[949]],[[120693,120693],"mapped",[950]],[[120694,120694],"mapped",[951]],[[120695,120695],"mapped",[952]],[[120696,120696],"mapped",[953]],[[120697,120697],"mapped",[954]],[[120698,120698],"mapped",[955]],[[120699,120699],"mapped",[956]],[[120700,120700],"mapped",[957]],[[120701,120701],"mapped",[958]],[[120702,120702],"mapped",[959]],[[120703,120703],"mapped",[960]],[[120704,120704],"mapped",[961]],[[120705,120706],"mapped",[963]],[[120707,120707],"mapped",[964]],[[120708,120708],"mapped",[965]],[[120709,120709],"mapped",[966]],[[120710,120710],"mapped",[967]],[[120711,120711],"mapped",[968]],[[120712,120712],"mapped",[969]],[[120713,120713],"mapped",[8706]],[[120714,120714],"mapped",[949]],[[120715,120715],"mapped",[952]],[[120716,120716],"mapped",[954]],[[120717,120717],"mapped",[966]],[[120718,120718],"mapped",[961]],[[120719,120719],"mapped",[960]],[[120720,120720],"mapped",[945]],[[120721,120721],"mapped",[946]],[[120722,120722],"mapped",[947]],[[120723,120723],"mapped",[948]],[[120724,120724],"mapped",[949]],[[120725,120725],"mapped",[950]],[[120726,120726],"mapped",[951]],[[120727,120727],"mapped",[952]],[[120728,120728],"mapped",[953]],[[120729,120729],"mapped",[954]],[[120730,120730],"mapped",[955]],[[120731,120731],"mapped",[956]],[[120732,120732],"mapped",[957]],[[120733,120733],"mapped",[958]],[[120734,120734],"mapped",[959]],[[120735,120735],"mapped",[960]],[[120736,120736],"mapped",[961]],[[120737,120737],"mapped",[952]],[[120738,120738],"mapped",[963]],[[120739,120739],"mapped",[964]],[[120740,120740],"mapped",[965]],[[120741,120741],"mapped",[966]],[[120742,120742],"mapped",[967]],[[120743,120743],"mapped",[968]],[[120744,120744],"mapped",[969]],[[120745,120745],"mapped",[8711]],[[120746,120746],"mapped",[945]],[[120747,120747],"mapped",[946]],[[120748,120748],"mapped",[947]],[[120749,120749],"mapped",[948]],[[120750,120750],"mapped",[949]],[[120751,120751],"mapped",[950]],[[120752,120752],"mapped",[951]],[[120753,120753],"mapped",[952]],[[120754,120754],"mapped",[953]],[[120755,120755],"mapped",[954]],[[120756,120756],"mapped",[955]],[[120757,120757],"mapped",[956]],[[120758,120758],"mapped",[957]],[[120759,120759],"mapped",[958]],[[120760,120760],"mapped",[959]],[[120761,120761],"mapped",[960]],[[120762,120762],"mapped",[961]],[[120763,120764],"mapped",[963]],[[120765,120765],"mapped",[964]],[[120766,120766],"mapped",[965]],[[120767,120767],"mapped",[966]],[[120768,120768],"mapped",[967]],[[120769,120769],"mapped",[968]],[[120770,120770],"mapped",[969]],[[120771,120771],"mapped",[8706]],[[120772,120772],"mapped",[949]],[[120773,120773],"mapped",[952]],[[120774,120774],"mapped",[954]],[[120775,120775],"mapped",[966]],[[120776,120776],"mapped",[961]],[[120777,120777],"mapped",[960]],[[120778,120779],"mapped",[989]],[[120780,120781],"disallowed"],[[120782,120782],"mapped",[48]],[[120783,120783],"mapped",[49]],[[120784,120784],"mapped",[50]],[[120785,120785],"mapped",[51]],[[120786,120786],"mapped",[52]],[[120787,120787],"mapped",[53]],[[120788,120788],"mapped",[54]],[[120789,120789],"mapped",[55]],[[120790,120790],"mapped",[56]],[[120791,120791],"mapped",[57]],[[120792,120792],"mapped",[48]],[[120793,120793],"mapped",[49]],[[120794,120794],"mapped",[50]],[[120795,120795],"mapped",[51]],[[120796,120796],"mapped",[52]],[[120797,120797],"mapped",[53]],[[120798,120798],"mapped",[54]],[[120799,120799],"mapped",[55]],[[120800,120800],"mapped",[56]],[[120801,120801],"mapped",[57]],[[120802,120802],"mapped",[48]],[[120803,120803],"mapped",[49]],[[120804,120804],"mapped",[50]],[[120805,120805],"mapped",[51]],[[120806,120806],"mapped",[52]],[[120807,120807],"mapped",[53]],[[120808,120808],"mapped",[54]],[[120809,120809],"mapped",[55]],[[120810,120810],"mapped",[56]],[[120811,120811],"mapped",[57]],[[120812,120812],"mapped",[48]],[[120813,120813],"mapped",[49]],[[120814,120814],"mapped",[50]],[[120815,120815],"mapped",[51]],[[120816,120816],"mapped",[52]],[[120817,120817],"mapped",[53]],[[120818,120818],"mapped",[54]],[[120819,120819],"mapped",[55]],[[120820,120820],"mapped",[56]],[[120821,120821],"mapped",[57]],[[120822,120822],"mapped",[48]],[[120823,120823],"mapped",[49]],[[120824,120824],"mapped",[50]],[[120825,120825],"mapped",[51]],[[120826,120826],"mapped",[52]],[[120827,120827],"mapped",[53]],[[120828,120828],"mapped",[54]],[[120829,120829],"mapped",[55]],[[120830,120830],"mapped",[56]],[[120831,120831],"mapped",[57]],[[120832,121343],"valid",[],"NV8"],[[121344,121398],"valid"],[[121399,121402],"valid",[],"NV8"],[[121403,121452],"valid"],[[121453,121460],"valid",[],"NV8"],[[121461,121461],"valid"],[[121462,121475],"valid",[],"NV8"],[[121476,121476],"valid"],[[121477,121483],"valid",[],"NV8"],[[121484,121498],"disallowed"],[[121499,121503],"valid"],[[121504,121504],"disallowed"],[[121505,121519],"valid"],[[121520,124927],"disallowed"],[[124928,125124],"valid"],[[125125,125126],"disallowed"],[[125127,125135],"valid",[],"NV8"],[[125136,125142],"valid"],[[125143,126463],"disallowed"],[[126464,126464],"mapped",[1575]],[[126465,126465],"mapped",[1576]],[[126466,126466],"mapped",[1580]],[[126467,126467],"mapped",[1583]],[[126468,126468],"disallowed"],[[126469,126469],"mapped",[1608]],[[126470,126470],"mapped",[1586]],[[126471,126471],"mapped",[1581]],[[126472,126472],"mapped",[1591]],[[126473,126473],"mapped",[1610]],[[126474,126474],"mapped",[1603]],[[126475,126475],"mapped",[1604]],[[126476,126476],"mapped",[1605]],[[126477,126477],"mapped",[1606]],[[126478,126478],"mapped",[1587]],[[126479,126479],"mapped",[1593]],[[126480,126480],"mapped",[1601]],[[126481,126481],"mapped",[1589]],[[126482,126482],"mapped",[1602]],[[126483,126483],"mapped",[1585]],[[126484,126484],"mapped",[1588]],[[126485,126485],"mapped",[1578]],[[126486,126486],"mapped",[1579]],[[126487,126487],"mapped",[1582]],[[126488,126488],"mapped",[1584]],[[126489,126489],"mapped",[1590]],[[126490,126490],"mapped",[1592]],[[126491,126491],"mapped",[1594]],[[126492,126492],"mapped",[1646]],[[126493,126493],"mapped",[1722]],[[126494,126494],"mapped",[1697]],[[126495,126495],"mapped",[1647]],[[126496,126496],"disallowed"],[[126497,126497],"mapped",[1576]],[[126498,126498],"mapped",[1580]],[[126499,126499],"disallowed"],[[126500,126500],"mapped",[1607]],[[126501,126502],"disallowed"],[[126503,126503],"mapped",[1581]],[[126504,126504],"disallowed"],[[126505,126505],"mapped",[1610]],[[126506,126506],"mapped",[1603]],[[126507,126507],"mapped",[1604]],[[126508,126508],"mapped",[1605]],[[126509,126509],"mapped",[1606]],[[126510,126510],"mapped",[1587]],[[126511,126511],"mapped",[1593]],[[126512,126512],"mapped",[1601]],[[126513,126513],"mapped",[1589]],[[126514,126514],"mapped",[1602]],[[126515,126515],"disallowed"],[[126516,126516],"mapped",[1588]],[[126517,126517],"mapped",[1578]],[[126518,126518],"mapped",[1579]],[[126519,126519],"mapped",[1582]],[[126520,126520],"disallowed"],[[126521,126521],"mapped",[1590]],[[126522,126522],"disallowed"],[[126523,126523],"mapped",[1594]],[[126524,126529],"disallowed"],[[126530,126530],"mapped",[1580]],[[126531,126534],"disallowed"],[[126535,126535],"mapped",[1581]],[[126536,126536],"disallowed"],[[126537,126537],"mapped",[1610]],[[126538,126538],"disallowed"],[[126539,126539],"mapped",[1604]],[[126540,126540],"disallowed"],[[126541,126541],"mapped",[1606]],[[126542,126542],"mapped",[1587]],[[126543,126543],"mapped",[1593]],[[126544,126544],"disallowed"],[[126545,126545],"mapped",[1589]],[[126546,126546],"mapped",[1602]],[[126547,126547],"disallowed"],[[126548,126548],"mapped",[1588]],[[126549,126550],"disallowed"],[[126551,126551],"mapped",[1582]],[[126552,126552],"disallowed"],[[126553,126553],"mapped",[1590]],[[126554,126554],"disallowed"],[[126555,126555],"mapped",[1594]],[[126556,126556],"disallowed"],[[126557,126557],"mapped",[1722]],[[126558,126558],"disallowed"],[[126559,126559],"mapped",[1647]],[[126560,126560],"disallowed"],[[126561,126561],"mapped",[1576]],[[126562,126562],"mapped",[1580]],[[126563,126563],"disallowed"],[[126564,126564],"mapped",[1607]],[[126565,126566],"disallowed"],[[126567,126567],"mapped",[1581]],[[126568,126568],"mapped",[1591]],[[126569,126569],"mapped",[1610]],[[126570,126570],"mapped",[1603]],[[126571,126571],"disallowed"],[[126572,126572],"mapped",[1605]],[[126573,126573],"mapped",[1606]],[[126574,126574],"mapped",[1587]],[[126575,126575],"mapped",[1593]],[[126576,126576],"mapped",[1601]],[[126577,126577],"mapped",[1589]],[[126578,126578],"mapped",[1602]],[[126579,126579],"disallowed"],[[126580,126580],"mapped",[1588]],[[126581,126581],"mapped",[1578]],[[126582,126582],"mapped",[1579]],[[126583,126583],"mapped",[1582]],[[126584,126584],"disallowed"],[[126585,126585],"mapped",[1590]],[[126586,126586],"mapped",[1592]],[[126587,126587],"mapped",[1594]],[[126588,126588],"mapped",[1646]],[[126589,126589],"disallowed"],[[126590,126590],"mapped",[1697]],[[126591,126591],"disallowed"],[[126592,126592],"mapped",[1575]],[[126593,126593],"mapped",[1576]],[[126594,126594],"mapped",[1580]],[[126595,126595],"mapped",[1583]],[[126596,126596],"mapped",[1607]],[[126597,126597],"mapped",[1608]],[[126598,126598],"mapped",[1586]],[[126599,126599],"mapped",[1581]],[[126600,126600],"mapped",[1591]],[[126601,126601],"mapped",[1610]],[[126602,126602],"disallowed"],[[126603,126603],"mapped",[1604]],[[126604,126604],"mapped",[1605]],[[126605,126605],"mapped",[1606]],[[126606,126606],"mapped",[1587]],[[126607,126607],"mapped",[1593]],[[126608,126608],"mapped",[1601]],[[126609,126609],"mapped",[1589]],[[126610,126610],"mapped",[1602]],[[126611,126611],"mapped",[1585]],[[126612,126612],"mapped",[1588]],[[126613,126613],"mapped",[1578]],[[126614,126614],"mapped",[1579]],[[126615,126615],"mapped",[1582]],[[126616,126616],"mapped",[1584]],[[126617,126617],"mapped",[1590]],[[126618,126618],"mapped",[1592]],[[126619,126619],"mapped",[1594]],[[126620,126624],"disallowed"],[[126625,126625],"mapped",[1576]],[[126626,126626],"mapped",[1580]],[[126627,126627],"mapped",[1583]],[[126628,126628],"disallowed"],[[126629,126629],"mapped",[1608]],[[126630,126630],"mapped",[1586]],[[126631,126631],"mapped",[1581]],[[126632,126632],"mapped",[1591]],[[126633,126633],"mapped",[1610]],[[126634,126634],"disallowed"],[[126635,126635],"mapped",[1604]],[[126636,126636],"mapped",[1605]],[[126637,126637],"mapped",[1606]],[[126638,126638],"mapped",[1587]],[[126639,126639],"mapped",[1593]],[[126640,126640],"mapped",[1601]],[[126641,126641],"mapped",[1589]],[[126642,126642],"mapped",[1602]],[[126643,126643],"mapped",[1585]],[[126644,126644],"mapped",[1588]],[[126645,126645],"mapped",[1578]],[[126646,126646],"mapped",[1579]],[[126647,126647],"mapped",[1582]],[[126648,126648],"mapped",[1584]],[[126649,126649],"mapped",[1590]],[[126650,126650],"mapped",[1592]],[[126651,126651],"mapped",[1594]],[[126652,126703],"disallowed"],[[126704,126705],"valid",[],"NV8"],[[126706,126975],"disallowed"],[[126976,127019],"valid",[],"NV8"],[[127020,127023],"disallowed"],[[127024,127123],"valid",[],"NV8"],[[127124,127135],"disallowed"],[[127136,127150],"valid",[],"NV8"],[[127151,127152],"disallowed"],[[127153,127166],"valid",[],"NV8"],[[127167,127167],"valid",[],"NV8"],[[127168,127168],"disallowed"],[[127169,127183],"valid",[],"NV8"],[[127184,127184],"disallowed"],[[127185,127199],"valid",[],"NV8"],[[127200,127221],"valid",[],"NV8"],[[127222,127231],"disallowed"],[[127232,127232],"disallowed"],[[127233,127233],"disallowed_STD3_mapped",[48,44]],[[127234,127234],"disallowed_STD3_mapped",[49,44]],[[127235,127235],"disallowed_STD3_mapped",[50,44]],[[127236,127236],"disallowed_STD3_mapped",[51,44]],[[127237,127237],"disallowed_STD3_mapped",[52,44]],[[127238,127238],"disallowed_STD3_mapped",[53,44]],[[127239,127239],"disallowed_STD3_mapped",[54,44]],[[127240,127240],"disallowed_STD3_mapped",[55,44]],[[127241,127241],"disallowed_STD3_mapped",[56,44]],[[127242,127242],"disallowed_STD3_mapped",[57,44]],[[127243,127244],"valid",[],"NV8"],[[127245,127247],"disallowed"],[[127248,127248],"disallowed_STD3_mapped",[40,97,41]],[[127249,127249],"disallowed_STD3_mapped",[40,98,41]],[[127250,127250],"disallowed_STD3_mapped",[40,99,41]],[[127251,127251],"disallowed_STD3_mapped",[40,100,41]],[[127252,127252],"disallowed_STD3_mapped",[40,101,41]],[[127253,127253],"disallowed_STD3_mapped",[40,102,41]],[[127254,127254],"disallowed_STD3_mapped",[40,103,41]],[[127255,127255],"disallowed_STD3_mapped",[40,104,41]],[[127256,127256],"disallowed_STD3_mapped",[40,105,41]],[[127257,127257],"disallowed_STD3_mapped",[40,106,41]],[[127258,127258],"disallowed_STD3_mapped",[40,107,41]],[[127259,127259],"disallowed_STD3_mapped",[40,108,41]],[[127260,127260],"disallowed_STD3_mapped",[40,109,41]],[[127261,127261],"disallowed_STD3_mapped",[40,110,41]],[[127262,127262],"disallowed_STD3_mapped",[40,111,41]],[[127263,127263],"disallowed_STD3_mapped",[40,112,41]],[[127264,127264],"disallowed_STD3_mapped",[40,113,41]],[[127265,127265],"disallowed_STD3_mapped",[40,114,41]],[[127266,127266],"disallowed_STD3_mapped",[40,115,41]],[[127267,127267],"disallowed_STD3_mapped",[40,116,41]],[[127268,127268],"disallowed_STD3_mapped",[40,117,41]],[[127269,127269],"disallowed_STD3_mapped",[40,118,41]],[[127270,127270],"disallowed_STD3_mapped",[40,119,41]],[[127271,127271],"disallowed_STD3_mapped",[40,120,41]],[[127272,127272],"disallowed_STD3_mapped",[40,121,41]],[[127273,127273],"disallowed_STD3_mapped",[40,122,41]],[[127274,127274],"mapped",[12308,115,12309]],[[127275,127275],"mapped",[99]],[[127276,127276],"mapped",[114]],[[127277,127277],"mapped",[99,100]],[[127278,127278],"mapped",[119,122]],[[127279,127279],"disallowed"],[[127280,127280],"mapped",[97]],[[127281,127281],"mapped",[98]],[[127282,127282],"mapped",[99]],[[127283,127283],"mapped",[100]],[[127284,127284],"mapped",[101]],[[127285,127285],"mapped",[102]],[[127286,127286],"mapped",[103]],[[127287,127287],"mapped",[104]],[[127288,127288],"mapped",[105]],[[127289,127289],"mapped",[106]],[[127290,127290],"mapped",[107]],[[127291,127291],"mapped",[108]],[[127292,127292],"mapped",[109]],[[127293,127293],"mapped",[110]],[[127294,127294],"mapped",[111]],[[127295,127295],"mapped",[112]],[[127296,127296],"mapped",[113]],[[127297,127297],"mapped",[114]],[[127298,127298],"mapped",[115]],[[127299,127299],"mapped",[116]],[[127300,127300],"mapped",[117]],[[127301,127301],"mapped",[118]],[[127302,127302],"mapped",[119]],[[127303,127303],"mapped",[120]],[[127304,127304],"mapped",[121]],[[127305,127305],"mapped",[122]],[[127306,127306],"mapped",[104,118]],[[127307,127307],"mapped",[109,118]],[[127308,127308],"mapped",[115,100]],[[127309,127309],"mapped",[115,115]],[[127310,127310],"mapped",[112,112,118]],[[127311,127311],"mapped",[119,99]],[[127312,127318],"valid",[],"NV8"],[[127319,127319],"valid",[],"NV8"],[[127320,127326],"valid",[],"NV8"],[[127327,127327],"valid",[],"NV8"],[[127328,127337],"valid",[],"NV8"],[[127338,127338],"mapped",[109,99]],[[127339,127339],"mapped",[109,100]],[[127340,127343],"disallowed"],[[127344,127352],"valid",[],"NV8"],[[127353,127353],"valid",[],"NV8"],[[127354,127354],"valid",[],"NV8"],[[127355,127356],"valid",[],"NV8"],[[127357,127358],"valid",[],"NV8"],[[127359,127359],"valid",[],"NV8"],[[127360,127369],"valid",[],"NV8"],[[127370,127373],"valid",[],"NV8"],[[127374,127375],"valid",[],"NV8"],[[127376,127376],"mapped",[100,106]],[[127377,127386],"valid",[],"NV8"],[[127387,127461],"disallowed"],[[127462,127487],"valid",[],"NV8"],[[127488,127488],"mapped",[12411,12363]],[[127489,127489],"mapped",[12467,12467]],[[127490,127490],"mapped",[12469]],[[127491,127503],"disallowed"],[[127504,127504],"mapped",[25163]],[[127505,127505],"mapped",[23383]],[[127506,127506],"mapped",[21452]],[[127507,127507],"mapped",[12487]],[[127508,127508],"mapped",[20108]],[[127509,127509],"mapped",[22810]],[[127510,127510],"mapped",[35299]],[[127511,127511],"mapped",[22825]],[[127512,127512],"mapped",[20132]],[[127513,127513],"mapped",[26144]],[[127514,127514],"mapped",[28961]],[[127515,127515],"mapped",[26009]],[[127516,127516],"mapped",[21069]],[[127517,127517],"mapped",[24460]],[[127518,127518],"mapped",[20877]],[[127519,127519],"mapped",[26032]],[[127520,127520],"mapped",[21021]],[[127521,127521],"mapped",[32066]],[[127522,127522],"mapped",[29983]],[[127523,127523],"mapped",[36009]],[[127524,127524],"mapped",[22768]],[[127525,127525],"mapped",[21561]],[[127526,127526],"mapped",[28436]],[[127527,127527],"mapped",[25237]],[[127528,127528],"mapped",[25429]],[[127529,127529],"mapped",[19968]],[[127530,127530],"mapped",[19977]],[[127531,127531],"mapped",[36938]],[[127532,127532],"mapped",[24038]],[[127533,127533],"mapped",[20013]],[[127534,127534],"mapped",[21491]],[[127535,127535],"mapped",[25351]],[[127536,127536],"mapped",[36208]],[[127537,127537],"mapped",[25171]],[[127538,127538],"mapped",[31105]],[[127539,127539],"mapped",[31354]],[[127540,127540],"mapped",[21512]],[[127541,127541],"mapped",[28288]],[[127542,127542],"mapped",[26377]],[[127543,127543],"mapped",[26376]],[[127544,127544],"mapped",[30003]],[[127545,127545],"mapped",[21106]],[[127546,127546],"mapped",[21942]],[[127547,127551],"disallowed"],[[127552,127552],"mapped",[12308,26412,12309]],[[127553,127553],"mapped",[12308,19977,12309]],[[127554,127554],"mapped",[12308,20108,12309]],[[127555,127555],"mapped",[12308,23433,12309]],[[127556,127556],"mapped",[12308,28857,12309]],[[127557,127557],"mapped",[12308,25171,12309]],[[127558,127558],"mapped",[12308,30423,12309]],[[127559,127559],"mapped",[12308,21213,12309]],[[127560,127560],"mapped",[12308,25943,12309]],[[127561,127567],"disallowed"],[[127568,127568],"mapped",[24471]],[[127569,127569],"mapped",[21487]],[[127570,127743],"disallowed"],[[127744,127776],"valid",[],"NV8"],[[127777,127788],"valid",[],"NV8"],[[127789,127791],"valid",[],"NV8"],[[127792,127797],"valid",[],"NV8"],[[127798,127798],"valid",[],"NV8"],[[127799,127868],"valid",[],"NV8"],[[127869,127869],"valid",[],"NV8"],[[127870,127871],"valid",[],"NV8"],[[127872,127891],"valid",[],"NV8"],[[127892,127903],"valid",[],"NV8"],[[127904,127940],"valid",[],"NV8"],[[127941,127941],"valid",[],"NV8"],[[127942,127946],"valid",[],"NV8"],[[127947,127950],"valid",[],"NV8"],[[127951,127955],"valid",[],"NV8"],[[127956,127967],"valid",[],"NV8"],[[127968,127984],"valid",[],"NV8"],[[127985,127991],"valid",[],"NV8"],[[127992,127999],"valid",[],"NV8"],[[128000,128062],"valid",[],"NV8"],[[128063,128063],"valid",[],"NV8"],[[128064,128064],"valid",[],"NV8"],[[128065,128065],"valid",[],"NV8"],[[128066,128247],"valid",[],"NV8"],[[128248,128248],"valid",[],"NV8"],[[128249,128252],"valid",[],"NV8"],[[128253,128254],"valid",[],"NV8"],[[128255,128255],"valid",[],"NV8"],[[128256,128317],"valid",[],"NV8"],[[128318,128319],"valid",[],"NV8"],[[128320,128323],"valid",[],"NV8"],[[128324,128330],"valid",[],"NV8"],[[128331,128335],"valid",[],"NV8"],[[128336,128359],"valid",[],"NV8"],[[128360,128377],"valid",[],"NV8"],[[128378,128378],"disallowed"],[[128379,128419],"valid",[],"NV8"],[[128420,128420],"disallowed"],[[128421,128506],"valid",[],"NV8"],[[128507,128511],"valid",[],"NV8"],[[128512,128512],"valid",[],"NV8"],[[128513,128528],"valid",[],"NV8"],[[128529,128529],"valid",[],"NV8"],[[128530,128532],"valid",[],"NV8"],[[128533,128533],"valid",[],"NV8"],[[128534,128534],"valid",[],"NV8"],[[128535,128535],"valid",[],"NV8"],[[128536,128536],"valid",[],"NV8"],[[128537,128537],"valid",[],"NV8"],[[128538,128538],"valid",[],"NV8"],[[128539,128539],"valid",[],"NV8"],[[128540,128542],"valid",[],"NV8"],[[128543,128543],"valid",[],"NV8"],[[128544,128549],"valid",[],"NV8"],[[128550,128551],"valid",[],"NV8"],[[128552,128555],"valid",[],"NV8"],[[128556,128556],"valid",[],"NV8"],[[128557,128557],"valid",[],"NV8"],[[128558,128559],"valid",[],"NV8"],[[128560,128563],"valid",[],"NV8"],[[128564,128564],"valid",[],"NV8"],[[128565,128576],"valid",[],"NV8"],[[128577,128578],"valid",[],"NV8"],[[128579,128580],"valid",[],"NV8"],[[128581,128591],"valid",[],"NV8"],[[128592,128639],"valid",[],"NV8"],[[128640,128709],"valid",[],"NV8"],[[128710,128719],"valid",[],"NV8"],[[128720,128720],"valid",[],"NV8"],[[128721,128735],"disallowed"],[[128736,128748],"valid",[],"NV8"],[[128749,128751],"disallowed"],[[128752,128755],"valid",[],"NV8"],[[128756,128767],"disallowed"],[[128768,128883],"valid",[],"NV8"],[[128884,128895],"disallowed"],[[128896,128980],"valid",[],"NV8"],[[128981,129023],"disallowed"],[[129024,129035],"valid",[],"NV8"],[[129036,129039],"disallowed"],[[129040,129095],"valid",[],"NV8"],[[129096,129103],"disallowed"],[[129104,129113],"valid",[],"NV8"],[[129114,129119],"disallowed"],[[129120,129159],"valid",[],"NV8"],[[129160,129167],"disallowed"],[[129168,129197],"valid",[],"NV8"],[[129198,129295],"disallowed"],[[129296,129304],"valid",[],"NV8"],[[129305,129407],"disallowed"],[[129408,129412],"valid",[],"NV8"],[[129413,129471],"disallowed"],[[129472,129472],"valid",[],"NV8"],[[129473,131069],"disallowed"],[[131070,131071],"disallowed"],[[131072,173782],"valid"],[[173783,173823],"disallowed"],[[173824,177972],"valid"],[[177973,177983],"disallowed"],[[177984,178205],"valid"],[[178206,178207],"disallowed"],[[178208,183969],"valid"],[[183970,194559],"disallowed"],[[194560,194560],"mapped",[20029]],[[194561,194561],"mapped",[20024]],[[194562,194562],"mapped",[20033]],[[194563,194563],"mapped",[131362]],[[194564,194564],"mapped",[20320]],[[194565,194565],"mapped",[20398]],[[194566,194566],"mapped",[20411]],[[194567,194567],"mapped",[20482]],[[194568,194568],"mapped",[20602]],[[194569,194569],"mapped",[20633]],[[194570,194570],"mapped",[20711]],[[194571,194571],"mapped",[20687]],[[194572,194572],"mapped",[13470]],[[194573,194573],"mapped",[132666]],[[194574,194574],"mapped",[20813]],[[194575,194575],"mapped",[20820]],[[194576,194576],"mapped",[20836]],[[194577,194577],"mapped",[20855]],[[194578,194578],"mapped",[132380]],[[194579,194579],"mapped",[13497]],[[194580,194580],"mapped",[20839]],[[194581,194581],"mapped",[20877]],[[194582,194582],"mapped",[132427]],[[194583,194583],"mapped",[20887]],[[194584,194584],"mapped",[20900]],[[194585,194585],"mapped",[20172]],[[194586,194586],"mapped",[20908]],[[194587,194587],"mapped",[20917]],[[194588,194588],"mapped",[168415]],[[194589,194589],"mapped",[20981]],[[194590,194590],"mapped",[20995]],[[194591,194591],"mapped",[13535]],[[194592,194592],"mapped",[21051]],[[194593,194593],"mapped",[21062]],[[194594,194594],"mapped",[21106]],[[194595,194595],"mapped",[21111]],[[194596,194596],"mapped",[13589]],[[194597,194597],"mapped",[21191]],[[194598,194598],"mapped",[21193]],[[194599,194599],"mapped",[21220]],[[194600,194600],"mapped",[21242]],[[194601,194601],"mapped",[21253]],[[194602,194602],"mapped",[21254]],[[194603,194603],"mapped",[21271]],[[194604,194604],"mapped",[21321]],[[194605,194605],"mapped",[21329]],[[194606,194606],"mapped",[21338]],[[194607,194607],"mapped",[21363]],[[194608,194608],"mapped",[21373]],[[194609,194611],"mapped",[21375]],[[194612,194612],"mapped",[133676]],[[194613,194613],"mapped",[28784]],[[194614,194614],"mapped",[21450]],[[194615,194615],"mapped",[21471]],[[194616,194616],"mapped",[133987]],[[194617,194617],"mapped",[21483]],[[194618,194618],"mapped",[21489]],[[194619,194619],"mapped",[21510]],[[194620,194620],"mapped",[21662]],[[194621,194621],"mapped",[21560]],[[194622,194622],"mapped",[21576]],[[194623,194623],"mapped",[21608]],[[194624,194624],"mapped",[21666]],[[194625,194625],"mapped",[21750]],[[194626,194626],"mapped",[21776]],[[194627,194627],"mapped",[21843]],[[194628,194628],"mapped",[21859]],[[194629,194630],"mapped",[21892]],[[194631,194631],"mapped",[21913]],[[194632,194632],"mapped",[21931]],[[194633,194633],"mapped",[21939]],[[194634,194634],"mapped",[21954]],[[194635,194635],"mapped",[22294]],[[194636,194636],"mapped",[22022]],[[194637,194637],"mapped",[22295]],[[194638,194638],"mapped",[22097]],[[194639,194639],"mapped",[22132]],[[194640,194640],"mapped",[20999]],[[194641,194641],"mapped",[22766]],[[194642,194642],"mapped",[22478]],[[194643,194643],"mapped",[22516]],[[194644,194644],"mapped",[22541]],[[194645,194645],"mapped",[22411]],[[194646,194646],"mapped",[22578]],[[194647,194647],"mapped",[22577]],[[194648,194648],"mapped",[22700]],[[194649,194649],"mapped",[136420]],[[194650,194650],"mapped",[22770]],[[194651,194651],"mapped",[22775]],[[194652,194652],"mapped",[22790]],[[194653,194653],"mapped",[22810]],[[194654,194654],"mapped",[22818]],[[194655,194655],"mapped",[22882]],[[194656,194656],"mapped",[136872]],[[194657,194657],"mapped",[136938]],[[194658,194658],"mapped",[23020]],[[194659,194659],"mapped",[23067]],[[194660,194660],"mapped",[23079]],[[194661,194661],"mapped",[23000]],[[194662,194662],"mapped",[23142]],[[194663,194663],"mapped",[14062]],[[194664,194664],"disallowed"],[[194665,194665],"mapped",[23304]],[[194666,194667],"mapped",[23358]],[[194668,194668],"mapped",[137672]],[[194669,194669],"mapped",[23491]],[[194670,194670],"mapped",[23512]],[[194671,194671],"mapped",[23527]],[[194672,194672],"mapped",[23539]],[[194673,194673],"mapped",[138008]],[[194674,194674],"mapped",[23551]],[[194675,194675],"mapped",[23558]],[[194676,194676],"disallowed"],[[194677,194677],"mapped",[23586]],[[194678,194678],"mapped",[14209]],[[194679,194679],"mapped",[23648]],[[194680,194680],"mapped",[23662]],[[194681,194681],"mapped",[23744]],[[194682,194682],"mapped",[23693]],[[194683,194683],"mapped",[138724]],[[194684,194684],"mapped",[23875]],[[194685,194685],"mapped",[138726]],[[194686,194686],"mapped",[23918]],[[194687,194687],"mapped",[23915]],[[194688,194688],"mapped",[23932]],[[194689,194689],"mapped",[24033]],[[194690,194690],"mapped",[24034]],[[194691,194691],"mapped",[14383]],[[194692,194692],"mapped",[24061]],[[194693,194693],"mapped",[24104]],[[194694,194694],"mapped",[24125]],[[194695,194695],"mapped",[24169]],[[194696,194696],"mapped",[14434]],[[194697,194697],"mapped",[139651]],[[194698,194698],"mapped",[14460]],[[194699,194699],"mapped",[24240]],[[194700,194700],"mapped",[24243]],[[194701,194701],"mapped",[24246]],[[194702,194702],"mapped",[24266]],[[194703,194703],"mapped",[172946]],[[194704,194704],"mapped",[24318]],[[194705,194706],"mapped",[140081]],[[194707,194707],"mapped",[33281]],[[194708,194709],"mapped",[24354]],[[194710,194710],"mapped",[14535]],[[194711,194711],"mapped",[144056]],[[194712,194712],"mapped",[156122]],[[194713,194713],"mapped",[24418]],[[194714,194714],"mapped",[24427]],[[194715,194715],"mapped",[14563]],[[194716,194716],"mapped",[24474]],[[194717,194717],"mapped",[24525]],[[194718,194718],"mapped",[24535]],[[194719,194719],"mapped",[24569]],[[194720,194720],"mapped",[24705]],[[194721,194721],"mapped",[14650]],[[194722,194722],"mapped",[14620]],[[194723,194723],"mapped",[24724]],[[194724,194724],"mapped",[141012]],[[194725,194725],"mapped",[24775]],[[194726,194726],"mapped",[24904]],[[194727,194727],"mapped",[24908]],[[194728,194728],"mapped",[24910]],[[194729,194729],"mapped",[24908]],[[194730,194730],"mapped",[24954]],[[194731,194731],"mapped",[24974]],[[194732,194732],"mapped",[25010]],[[194733,194733],"mapped",[24996]],[[194734,194734],"mapped",[25007]],[[194735,194735],"mapped",[25054]],[[194736,194736],"mapped",[25074]],[[194737,194737],"mapped",[25078]],[[194738,194738],"mapped",[25104]],[[194739,194739],"mapped",[25115]],[[194740,194740],"mapped",[25181]],[[194741,194741],"mapped",[25265]],[[194742,194742],"mapped",[25300]],[[194743,194743],"mapped",[25424]],[[194744,194744],"mapped",[142092]],[[194745,194745],"mapped",[25405]],[[194746,194746],"mapped",[25340]],[[194747,194747],"mapped",[25448]],[[194748,194748],"mapped",[25475]],[[194749,194749],"mapped",[25572]],[[194750,194750],"mapped",[142321]],[[194751,194751],"mapped",[25634]],[[194752,194752],"mapped",[25541]],[[194753,194753],"mapped",[25513]],[[194754,194754],"mapped",[14894]],[[194755,194755],"mapped",[25705]],[[194756,194756],"mapped",[25726]],[[194757,194757],"mapped",[25757]],[[194758,194758],"mapped",[25719]],[[194759,194759],"mapped",[14956]],[[194760,194760],"mapped",[25935]],[[194761,194761],"mapped",[25964]],[[194762,194762],"mapped",[143370]],[[194763,194763],"mapped",[26083]],[[194764,194764],"mapped",[26360]],[[194765,194765],"mapped",[26185]],[[194766,194766],"mapped",[15129]],[[194767,194767],"mapped",[26257]],[[194768,194768],"mapped",[15112]],[[194769,194769],"mapped",[15076]],[[194770,194770],"mapped",[20882]],[[194771,194771],"mapped",[20885]],[[194772,194772],"mapped",[26368]],[[194773,194773],"mapped",[26268]],[[194774,194774],"mapped",[32941]],[[194775,194775],"mapped",[17369]],[[194776,194776],"mapped",[26391]],[[194777,194777],"mapped",[26395]],[[194778,194778],"mapped",[26401]],[[194779,194779],"mapped",[26462]],[[194780,194780],"mapped",[26451]],[[194781,194781],"mapped",[144323]],[[194782,194782],"mapped",[15177]],[[194783,194783],"mapped",[26618]],[[194784,194784],"mapped",[26501]],[[194785,194785],"mapped",[26706]],[[194786,194786],"mapped",[26757]],[[194787,194787],"mapped",[144493]],[[194788,194788],"mapped",[26766]],[[194789,194789],"mapped",[26655]],[[194790,194790],"mapped",[26900]],[[194791,194791],"mapped",[15261]],[[194792,194792],"mapped",[26946]],[[194793,194793],"mapped",[27043]],[[194794,194794],"mapped",[27114]],[[194795,194795],"mapped",[27304]],[[194796,194796],"mapped",[145059]],[[194797,194797],"mapped",[27355]],[[194798,194798],"mapped",[15384]],[[194799,194799],"mapped",[27425]],[[194800,194800],"mapped",[145575]],[[194801,194801],"mapped",[27476]],[[194802,194802],"mapped",[15438]],[[194803,194803],"mapped",[27506]],[[194804,194804],"mapped",[27551]],[[194805,194805],"mapped",[27578]],[[194806,194806],"mapped",[27579]],[[194807,194807],"mapped",[146061]],[[194808,194808],"mapped",[138507]],[[194809,194809],"mapped",[146170]],[[194810,194810],"mapped",[27726]],[[194811,194811],"mapped",[146620]],[[194812,194812],"mapped",[27839]],[[194813,194813],"mapped",[27853]],[[194814,194814],"mapped",[27751]],[[194815,194815],"mapped",[27926]],[[194816,194816],"mapped",[27966]],[[194817,194817],"mapped",[28023]],[[194818,194818],"mapped",[27969]],[[194819,194819],"mapped",[28009]],[[194820,194820],"mapped",[28024]],[[194821,194821],"mapped",[28037]],[[194822,194822],"mapped",[146718]],[[194823,194823],"mapped",[27956]],[[194824,194824],"mapped",[28207]],[[194825,194825],"mapped",[28270]],[[194826,194826],"mapped",[15667]],[[194827,194827],"mapped",[28363]],[[194828,194828],"mapped",[28359]],[[194829,194829],"mapped",[147153]],[[194830,194830],"mapped",[28153]],[[194831,194831],"mapped",[28526]],[[194832,194832],"mapped",[147294]],[[194833,194833],"mapped",[147342]],[[194834,194834],"mapped",[28614]],[[194835,194835],"mapped",[28729]],[[194836,194836],"mapped",[28702]],[[194837,194837],"mapped",[28699]],[[194838,194838],"mapped",[15766]],[[194839,194839],"mapped",[28746]],[[194840,194840],"mapped",[28797]],[[194841,194841],"mapped",[28791]],[[194842,194842],"mapped",[28845]],[[194843,194843],"mapped",[132389]],[[194844,194844],"mapped",[28997]],[[194845,194845],"mapped",[148067]],[[194846,194846],"mapped",[29084]],[[194847,194847],"disallowed"],[[194848,194848],"mapped",[29224]],[[194849,194849],"mapped",[29237]],[[194850,194850],"mapped",[29264]],[[194851,194851],"mapped",[149000]],[[194852,194852],"mapped",[29312]],[[194853,194853],"mapped",[29333]],[[194854,194854],"mapped",[149301]],[[194855,194855],"mapped",[149524]],[[194856,194856],"mapped",[29562]],[[194857,194857],"mapped",[29579]],[[194858,194858],"mapped",[16044]],[[194859,194859],"mapped",[29605]],[[194860,194861],"mapped",[16056]],[[194862,194862],"mapped",[29767]],[[194863,194863],"mapped",[29788]],[[194864,194864],"mapped",[29809]],[[194865,194865],"mapped",[29829]],[[194866,194866],"mapped",[29898]],[[194867,194867],"mapped",[16155]],[[194868,194868],"mapped",[29988]],[[194869,194869],"mapped",[150582]],[[194870,194870],"mapped",[30014]],[[194871,194871],"mapped",[150674]],[[194872,194872],"mapped",[30064]],[[194873,194873],"mapped",[139679]],[[194874,194874],"mapped",[30224]],[[194875,194875],"mapped",[151457]],[[194876,194876],"mapped",[151480]],[[194877,194877],"mapped",[151620]],[[194878,194878],"mapped",[16380]],[[194879,194879],"mapped",[16392]],[[194880,194880],"mapped",[30452]],[[194881,194881],"mapped",[151795]],[[194882,194882],"mapped",[151794]],[[194883,194883],"mapped",[151833]],[[194884,194884],"mapped",[151859]],[[194885,194885],"mapped",[30494]],[[194886,194887],"mapped",[30495]],[[194888,194888],"mapped",[30538]],[[194889,194889],"mapped",[16441]],[[194890,194890],"mapped",[30603]],[[194891,194891],"mapped",[16454]],[[194892,194892],"mapped",[16534]],[[194893,194893],"mapped",[152605]],[[194894,194894],"mapped",[30798]],[[194895,194895],"mapped",[30860]],[[194896,194896],"mapped",[30924]],[[194897,194897],"mapped",[16611]],[[194898,194898],"mapped",[153126]],[[194899,194899],"mapped",[31062]],[[194900,194900],"mapped",[153242]],[[194901,194901],"mapped",[153285]],[[194902,194902],"mapped",[31119]],[[194903,194903],"mapped",[31211]],[[194904,194904],"mapped",[16687]],[[194905,194905],"mapped",[31296]],[[194906,194906],"mapped",[31306]],[[194907,194907],"mapped",[31311]],[[194908,194908],"mapped",[153980]],[[194909,194910],"mapped",[154279]],[[194911,194911],"disallowed"],[[194912,194912],"mapped",[16898]],[[194913,194913],"mapped",[154539]],[[194914,194914],"mapped",[31686]],[[194915,194915],"mapped",[31689]],[[194916,194916],"mapped",[16935]],[[194917,194917],"mapped",[154752]],[[194918,194918],"mapped",[31954]],[[194919,194919],"mapped",[17056]],[[194920,194920],"mapped",[31976]],[[194921,194921],"mapped",[31971]],[[194922,194922],"mapped",[32000]],[[194923,194923],"mapped",[155526]],[[194924,194924],"mapped",[32099]],[[194925,194925],"mapped",[17153]],[[194926,194926],"mapped",[32199]],[[194927,194927],"mapped",[32258]],[[194928,194928],"mapped",[32325]],[[194929,194929],"mapped",[17204]],[[194930,194930],"mapped",[156200]],[[194931,194931],"mapped",[156231]],[[194932,194932],"mapped",[17241]],[[194933,194933],"mapped",[156377]],[[194934,194934],"mapped",[32634]],[[194935,194935],"mapped",[156478]],[[194936,194936],"mapped",[32661]],[[194937,194937],"mapped",[32762]],[[194938,194938],"mapped",[32773]],[[194939,194939],"mapped",[156890]],[[194940,194940],"mapped",[156963]],[[194941,194941],"mapped",[32864]],[[194942,194942],"mapped",[157096]],[[194943,194943],"mapped",[32880]],[[194944,194944],"mapped",[144223]],[[194945,194945],"mapped",[17365]],[[194946,194946],"mapped",[32946]],[[194947,194947],"mapped",[33027]],[[194948,194948],"mapped",[17419]],[[194949,194949],"mapped",[33086]],[[194950,194950],"mapped",[23221]],[[194951,194951],"mapped",[157607]],[[194952,194952],"mapped",[157621]],[[194953,194953],"mapped",[144275]],[[194954,194954],"mapped",[144284]],[[194955,194955],"mapped",[33281]],[[194956,194956],"mapped",[33284]],[[194957,194957],"mapped",[36766]],[[194958,194958],"mapped",[17515]],[[194959,194959],"mapped",[33425]],[[194960,194960],"mapped",[33419]],[[194961,194961],"mapped",[33437]],[[194962,194962],"mapped",[21171]],[[194963,194963],"mapped",[33457]],[[194964,194964],"mapped",[33459]],[[194965,194965],"mapped",[33469]],[[194966,194966],"mapped",[33510]],[[194967,194967],"mapped",[158524]],[[194968,194968],"mapped",[33509]],[[194969,194969],"mapped",[33565]],[[194970,194970],"mapped",[33635]],[[194971,194971],"mapped",[33709]],[[194972,194972],"mapped",[33571]],[[194973,194973],"mapped",[33725]],[[194974,194974],"mapped",[33767]],[[194975,194975],"mapped",[33879]],[[194976,194976],"mapped",[33619]],[[194977,194977],"mapped",[33738]],[[194978,194978],"mapped",[33740]],[[194979,194979],"mapped",[33756]],[[194980,194980],"mapped",[158774]],[[194981,194981],"mapped",[159083]],[[194982,194982],"mapped",[158933]],[[194983,194983],"mapped",[17707]],[[194984,194984],"mapped",[34033]],[[194985,194985],"mapped",[34035]],[[194986,194986],"mapped",[34070]],[[194987,194987],"mapped",[160714]],[[194988,194988],"mapped",[34148]],[[194989,194989],"mapped",[159532]],[[194990,194990],"mapped",[17757]],[[194991,194991],"mapped",[17761]],[[194992,194992],"mapped",[159665]],[[194993,194993],"mapped",[159954]],[[194994,194994],"mapped",[17771]],[[194995,194995],"mapped",[34384]],[[194996,194996],"mapped",[34396]],[[194997,194997],"mapped",[34407]],[[194998,194998],"mapped",[34409]],[[194999,194999],"mapped",[34473]],[[195000,195000],"mapped",[34440]],[[195001,195001],"mapped",[34574]],[[195002,195002],"mapped",[34530]],[[195003,195003],"mapped",[34681]],[[195004,195004],"mapped",[34600]],[[195005,195005],"mapped",[34667]],[[195006,195006],"mapped",[34694]],[[195007,195007],"disallowed"],[[195008,195008],"mapped",[34785]],[[195009,195009],"mapped",[34817]],[[195010,195010],"mapped",[17913]],[[195011,195011],"mapped",[34912]],[[195012,195012],"mapped",[34915]],[[195013,195013],"mapped",[161383]],[[195014,195014],"mapped",[35031]],[[195015,195015],"mapped",[35038]],[[195016,195016],"mapped",[17973]],[[195017,195017],"mapped",[35066]],[[195018,195018],"mapped",[13499]],[[195019,195019],"mapped",[161966]],[[195020,195020],"mapped",[162150]],[[195021,195021],"mapped",[18110]],[[195022,195022],"mapped",[18119]],[[195023,195023],"mapped",[35488]],[[195024,195024],"mapped",[35565]],[[195025,195025],"mapped",[35722]],[[195026,195026],"mapped",[35925]],[[195027,195027],"mapped",[162984]],[[195028,195028],"mapped",[36011]],[[195029,195029],"mapped",[36033]],[[195030,195030],"mapped",[36123]],[[195031,195031],"mapped",[36215]],[[195032,195032],"mapped",[163631]],[[195033,195033],"mapped",[133124]],[[195034,195034],"mapped",[36299]],[[195035,195035],"mapped",[36284]],[[195036,195036],"mapped",[36336]],[[195037,195037],"mapped",[133342]],[[195038,195038],"mapped",[36564]],[[195039,195039],"mapped",[36664]],[[195040,195040],"mapped",[165330]],[[195041,195041],"mapped",[165357]],[[195042,195042],"mapped",[37012]],[[195043,195043],"mapped",[37105]],[[195044,195044],"mapped",[37137]],[[195045,195045],"mapped",[165678]],[[195046,195046],"mapped",[37147]],[[195047,195047],"mapped",[37432]],[[195048,195048],"mapped",[37591]],[[195049,195049],"mapped",[37592]],[[195050,195050],"mapped",[37500]],[[195051,195051],"mapped",[37881]],[[195052,195052],"mapped",[37909]],[[195053,195053],"mapped",[166906]],[[195054,195054],"mapped",[38283]],[[195055,195055],"mapped",[18837]],[[195056,195056],"mapped",[38327]],[[195057,195057],"mapped",[167287]],[[195058,195058],"mapped",[18918]],[[195059,195059],"mapped",[38595]],[[195060,195060],"mapped",[23986]],[[195061,195061],"mapped",[38691]],[[195062,195062],"mapped",[168261]],[[195063,195063],"mapped",[168474]],[[195064,195064],"mapped",[19054]],[[195065,195065],"mapped",[19062]],[[195066,195066],"mapped",[38880]],[[195067,195067],"mapped",[168970]],[[195068,195068],"mapped",[19122]],[[195069,195069],"mapped",[169110]],[[195070,195071],"mapped",[38923]],[[195072,195072],"mapped",[38953]],[[195073,195073],"mapped",[169398]],[[195074,195074],"mapped",[39138]],[[195075,195075],"mapped",[19251]],[[195076,195076],"mapped",[39209]],[[195077,195077],"mapped",[39335]],[[195078,195078],"mapped",[39362]],[[195079,195079],"mapped",[39422]],[[195080,195080],"mapped",[19406]],[[195081,195081],"mapped",[170800]],[[195082,195082],"mapped",[39698]],[[195083,195083],"mapped",[40000]],[[195084,195084],"mapped",[40189]],[[195085,195085],"mapped",[19662]],[[195086,195086],"mapped",[19693]],[[195087,195087],"mapped",[40295]],[[195088,195088],"mapped",[172238]],[[195089,195089],"mapped",[19704]],[[195090,195090],"mapped",[172293]],[[195091,195091],"mapped",[172558]],[[195092,195092],"mapped",[172689]],[[195093,195093],"mapped",[40635]],[[195094,195094],"mapped",[19798]],[[195095,195095],"mapped",[40697]],[[195096,195096],"mapped",[40702]],[[195097,195097],"mapped",[40709]],[[195098,195098],"mapped",[40719]],[[195099,195099],"mapped",[40726]],[[195100,195100],"mapped",[40763]],[[195101,195101],"mapped",[173568]],[[195102,196605],"disallowed"],[[196606,196607],"disallowed"],[[196608,262141],"disallowed"],[[262142,262143],"disallowed"],[[262144,327677],"disallowed"],[[327678,327679],"disallowed"],[[327680,393213],"disallowed"],[[393214,393215],"disallowed"],[[393216,458749],"disallowed"],[[458750,458751],"disallowed"],[[458752,524285],"disallowed"],[[524286,524287],"disallowed"],[[524288,589821],"disallowed"],[[589822,589823],"disallowed"],[[589824,655357],"disallowed"],[[655358,655359],"disallowed"],[[655360,720893],"disallowed"],[[720894,720895],"disallowed"],[[720896,786429],"disallowed"],[[786430,786431],"disallowed"],[[786432,851965],"disallowed"],[[851966,851967],"disallowed"],[[851968,917501],"disallowed"],[[917502,917503],"disallowed"],[[917504,917504],"disallowed"],[[917505,917505],"disallowed"],[[917506,917535],"disallowed"],[[917536,917631],"disallowed"],[[917632,917759],"disallowed"],[[917760,917999],"ignored"],[[918000,983037],"disallowed"],[[983038,983039],"disallowed"],[[983040,1048573],"disallowed"],[[1048574,1048575],"disallowed"],[[1048576,1114109],"disallowed"],[[1114110,1114111],"disallowed"]]')}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var __webpack_exports__={};(()=>{"use strict";const e=__webpack_require__(37100),t=__webpack_require__(13736),n=__webpack_require__(75077),o=__webpack_require__(42036),r=process.argv.slice(2);!async function(){"execute-flow"===r[0]&&function(){try{const r=t.Utils.parseJsonFile(n.globals.inputFile);n.globals.workerToken=r.workerToken,n.globals.apiUrl=r.apiUrl;const i=new o.ExecutionState;i.insertStep(r.triggerPayload,"trigger",[]),new e.FlowExecutor(i).executeFlow(r.collectionVersionId,r.flowVersionId).then((e=>{t.Utils.writeToJsonFile(n.globals.outputFile,e)}))}catch(e){t.Utils.writeToJsonFile(n.globals.outputFile,e.message)}}()}()})()})(); \ No newline at end of file +(()=>{var __webpack_modules__={30108:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callbackifyAll=t.callbackify=t.promisifyAll=t.promisify=void 0,t.promisify=function(e,t){if(e.promisified_)return e;t=t||{};const n=Array.prototype.slice,o=function(){let o;for(o=arguments.length-1;o>=0;o--){const t=arguments[o];if(void 0!==t){if("function"!=typeof t)break;return e.apply(this,arguments)}}const r=n.call(arguments,0,o+1);let i=Promise;return this&&this.Promise&&(i=this.Promise),new i(((o,i)=>{r.push(((...e)=>{const r=n.call(e),a=r.shift();if(a)return i(a);t.singular&&1===r.length?o(r[0]):o(r)})),e.apply(this,r)}))};return o.promisified_=!0,o},t.promisifyAll=function(e,n){const o=n&&n.exclude||[];Object.getOwnPropertyNames(e.prototype).filter((t=>!o.includes(t)&&"function"==typeof e.prototype[t]&&!/(^_|(Stream|_)|promise$)|^constructor$/.test(t))).forEach((o=>{const r=e.prototype[o];r.promisified_||(e.prototype[o]=t.promisify(r,n))}))},t.callbackify=function(e){if(e.callbackified_)return e;const t=function(){if("function"!=typeof arguments[arguments.length-1])return e.apply(this,arguments);const t=Array.prototype.pop.call(arguments);e.apply(this,arguments).then((e=>{e=Array.isArray(e)?e:[e],t(null,...e)}),(e=>t(e)))};return t.callbackified_=!0,t},t.callbackifyAll=function(e,n){const o=n&&n.exclude||[];Object.getOwnPropertyNames(e.prototype).filter((t=>!o.includes(t)&&"function"==typeof e.prototype[t]&&!/^_|(Stream|_)|^constructor$/.test(t))).forEach((n=>{const o=e.prototype[n];o.callbackified_||(e.prototype[n]=t.callbackify(o))}))}},57451:function(e,t,n){var o,r,i;r=[n(1740)],void 0===(i="function"==typeof(o=function(e){"use strict";var t,n,o,r,i,a,s,l,c,p,u,d,g,f,h,m=e.Reader,y=e.Writer,v=e.util,b=e.roots._google_cloud_vision_protos||(e.roots._google_cloud_vision_protos={});return b.google=((h={}).cloud=((c={}).vision=((l={}).v1=((o={}).Vertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.int32();break;case 2:o.y=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&!v.isInteger(e.x)?"x: integer expected":null!=e.y&&e.hasOwnProperty("y")&&!v.isInteger(e.y)?"y: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.Vertex)return e;var t=new b.google.cloud.vision.v1.Vertex;return null!=e.x&&(t.x=0|e.x),null!=e.y&&(t.y=0|e.y),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.Vertex"},t}(),o.NormalizedVertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.NormalizedVertex)return e;var t=new b.google.cloud.vision.v1.NormalizedVertex;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.NormalizedVertex"},t}(),o.BoundingPoly=function(){function t(e){if(this.vertices=[],this.normalizedVertices=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.vertices&&o.vertices.length||(o.vertices=[]),o.vertices.push(b.google.cloud.vision.v1.Vertex.decode(e,e.uint32()));break;case 2:o.normalizedVertices&&o.normalizedVertices.length||(o.normalizedVertices=[]),o.normalizedVertices.push(b.google.cloud.vision.v1.NormalizedVertex.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.vertices&&e.hasOwnProperty("vertices")){if(!Array.isArray(e.vertices))return"vertices: array expected";for(var t=0;t>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;case 3:o.z=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null!=e.z&&e.hasOwnProperty("z")&&"number"!=typeof e.z?"z: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.Position)return e;var t=new b.google.cloud.vision.v1.Position;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),null!=e.z&&(t.z=Number(e.z)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0,n.z=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),null!=e.z&&e.hasOwnProperty("z")&&(n.z=t.json&&!isFinite(e.z)?String(e.z):e.z),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.Position"},t}(),o.ImageAnnotator=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.batchAnnotateImages=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1.BatchAnnotateImagesRequest,b.google.cloud.vision.v1.BatchAnnotateImagesResponse,t,n)},"name",{value:"BatchAnnotateImages"}),Object.defineProperty(t.prototype.batchAnnotateFiles=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1.BatchAnnotateFilesRequest,b.google.cloud.vision.v1.BatchAnnotateFilesResponse,t,n)},"name",{value:"BatchAnnotateFiles"}),Object.defineProperty(t.prototype.asyncBatchAnnotateImages=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1.AsyncBatchAnnotateImagesRequest,b.google.longrunning.Operation,t,n)},"name",{value:"AsyncBatchAnnotateImages"}),Object.defineProperty(t.prototype.asyncBatchAnnotateFiles=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1.AsyncBatchAnnotateFilesRequest,b.google.longrunning.Operation,t,n)},"name",{value:"AsyncBatchAnnotateFiles"}),t}(),o.Likelihood=(t={},(n=Object.create(t))[t[0]="UNKNOWN"]=0,n[t[1]="VERY_UNLIKELY"]=1,n[t[2]="UNLIKELY"]=2,n[t[3]="POSSIBLE"]=3,n[t[4]="LIKELY"]=4,n[t[5]="VERY_LIKELY"]=5,n),o.Feature=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.maxResults=e.int32();break;case 3:o.model=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 11:case 6:case 7:case 9:case 10:case 12:case 19:}return null!=e.maxResults&&e.hasOwnProperty("maxResults")&&!v.isInteger(e.maxResults)?"maxResults: integer expected":null!=e.model&&e.hasOwnProperty("model")&&!v.isString(e.model)?"model: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.Feature)return e;var t=new b.google.cloud.vision.v1.Feature;switch(e.type){case"TYPE_UNSPECIFIED":case 0:t.type=0;break;case"FACE_DETECTION":case 1:t.type=1;break;case"LANDMARK_DETECTION":case 2:t.type=2;break;case"LOGO_DETECTION":case 3:t.type=3;break;case"LABEL_DETECTION":case 4:t.type=4;break;case"TEXT_DETECTION":case 5:t.type=5;break;case"DOCUMENT_TEXT_DETECTION":case 11:t.type=11;break;case"SAFE_SEARCH_DETECTION":case 6:t.type=6;break;case"IMAGE_PROPERTIES":case 7:t.type=7;break;case"CROP_HINTS":case 9:t.type=9;break;case"WEB_DETECTION":case 10:t.type=10;break;case"PRODUCT_SEARCH":case 12:t.type=12;break;case"OBJECT_LOCALIZATION":case 19:t.type=19}return null!=e.maxResults&&(t.maxResults=0|e.maxResults),null!=e.model&&(t.model=String(e.model)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"TYPE_UNSPECIFIED":0,n.maxResults=0,n.model=""),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1.Feature.Type[e.type]:e.type),null!=e.maxResults&&e.hasOwnProperty("maxResults")&&(n.maxResults=e.maxResults),null!=e.model&&e.hasOwnProperty("model")&&(n.model=e.model),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.Feature"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="TYPE_UNSPECIFIED"]=0,t[e[1]="FACE_DETECTION"]=1,t[e[2]="LANDMARK_DETECTION"]=2,t[e[3]="LOGO_DETECTION"]=3,t[e[4]="LABEL_DETECTION"]=4,t[e[5]="TEXT_DETECTION"]=5,t[e[11]="DOCUMENT_TEXT_DETECTION"]=11,t[e[6]="SAFE_SEARCH_DETECTION"]=6,t[e[7]="IMAGE_PROPERTIES"]=7,t[e[9]="CROP_HINTS"]=9,t[e[10]="WEB_DETECTION"]=10,t[e[12]="PRODUCT_SEARCH"]=12,t[e[19]="OBJECT_LOCALIZATION"]=19,t}(),t}(),o.ImageSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsImageUri=e.string();break;case 2:o.imageUri=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&!v.isString(e.gcsImageUri)?"gcsImageUri: string expected":null!=e.imageUri&&e.hasOwnProperty("imageUri")&&!v.isString(e.imageUri)?"imageUri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ImageSource)return e;var t=new b.google.cloud.vision.v1.ImageSource;return null!=e.gcsImageUri&&(t.gcsImageUri=String(e.gcsImageUri)),null!=e.imageUri&&(t.imageUri=String(e.imageUri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsImageUri="",n.imageUri=""),null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&(n.gcsImageUri=e.gcsImageUri),null!=e.imageUri&&e.hasOwnProperty("imageUri")&&(n.imageUri=e.imageUri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ImageSource"},t}(),o.Image=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.content=e.bytes();break;case 2:o.source=b.google.cloud.vision.v1.ImageSource.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.content&&e.hasOwnProperty("content")&&!(e.content&&"number"==typeof e.content.length||v.isString(e.content)))return"content: buffer expected";if(null!=e.source&&e.hasOwnProperty("source")){var t=b.google.cloud.vision.v1.ImageSource.verify(e.source);if(t)return"source."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.Image)return e;var t=new b.google.cloud.vision.v1.Image;if(null!=e.content&&("string"==typeof e.content?v.base64.decode(e.content,t.content=v.newBuffer(v.base64.length(e.content)),0):e.content.length>=0&&(t.content=e.content)),null!=e.source){if("object"!=typeof e.source)throw TypeError(".google.cloud.vision.v1.Image.source: object expected");t.source=b.google.cloud.vision.v1.ImageSource.fromObject(e.source)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.content="":(n.content=[],t.bytes!==Array&&(n.content=v.newBuffer(n.content))),n.source=null),null!=e.content&&e.hasOwnProperty("content")&&(n.content=t.bytes===String?v.base64.encode(e.content,0,e.content.length):t.bytes===Array?Array.prototype.slice.call(e.content):e.content),null!=e.source&&e.hasOwnProperty("source")&&(n.source=b.google.cloud.vision.v1.ImageSource.toObject(e.source,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.Image"},t}(),o.FaceAnnotation=function(){function t(e){if(this.landmarks=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 2:o.fdBoundingPoly=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 3:o.landmarks&&o.landmarks.length||(o.landmarks=[]),o.landmarks.push(b.google.cloud.vision.v1.FaceAnnotation.Landmark.decode(e,e.uint32()));break;case 4:o.rollAngle=e.float();break;case 5:o.panAngle=e.float();break;case 6:o.tiltAngle=e.float();break;case 7:o.detectionConfidence=e.float();break;case 8:o.landmarkingConfidence=e.float();break;case 9:o.joyLikelihood=e.int32();break;case 10:o.sorrowLikelihood=e.int32();break;case 11:o.angerLikelihood=e.int32();break;case 12:o.surpriseLikelihood=e.int32();break;case 13:o.underExposedLikelihood=e.int32();break;case 14:o.blurredLikelihood=e.int32();break;case 15:o.headwearLikelihood=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.fdBoundingPoly&&e.hasOwnProperty("fdBoundingPoly")&&(n=b.google.cloud.vision.v1.BoundingPoly.verify(e.fdBoundingPoly)))return"fdBoundingPoly."+n;if(null!=e.landmarks&&e.hasOwnProperty("landmarks")){if(!Array.isArray(e.landmarks))return"landmarks: array expected";for(var t=0;t>>3){case 3:o.type=e.int32();break;case 4:o.position=b.google.cloud.vision.v1.Position.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:}if(null!=e.position&&e.hasOwnProperty("position")){var t=b.google.cloud.vision.v1.Position.verify(e.position);if(t)return"position."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.FaceAnnotation.Landmark)return e;var t=new b.google.cloud.vision.v1.FaceAnnotation.Landmark;switch(e.type){case"UNKNOWN_LANDMARK":case 0:t.type=0;break;case"LEFT_EYE":case 1:t.type=1;break;case"RIGHT_EYE":case 2:t.type=2;break;case"LEFT_OF_LEFT_EYEBROW":case 3:t.type=3;break;case"RIGHT_OF_LEFT_EYEBROW":case 4:t.type=4;break;case"LEFT_OF_RIGHT_EYEBROW":case 5:t.type=5;break;case"RIGHT_OF_RIGHT_EYEBROW":case 6:t.type=6;break;case"MIDPOINT_BETWEEN_EYES":case 7:t.type=7;break;case"NOSE_TIP":case 8:t.type=8;break;case"UPPER_LIP":case 9:t.type=9;break;case"LOWER_LIP":case 10:t.type=10;break;case"MOUTH_LEFT":case 11:t.type=11;break;case"MOUTH_RIGHT":case 12:t.type=12;break;case"MOUTH_CENTER":case 13:t.type=13;break;case"NOSE_BOTTOM_RIGHT":case 14:t.type=14;break;case"NOSE_BOTTOM_LEFT":case 15:t.type=15;break;case"NOSE_BOTTOM_CENTER":case 16:t.type=16;break;case"LEFT_EYE_TOP_BOUNDARY":case 17:t.type=17;break;case"LEFT_EYE_RIGHT_CORNER":case 18:t.type=18;break;case"LEFT_EYE_BOTTOM_BOUNDARY":case 19:t.type=19;break;case"LEFT_EYE_LEFT_CORNER":case 20:t.type=20;break;case"RIGHT_EYE_TOP_BOUNDARY":case 21:t.type=21;break;case"RIGHT_EYE_RIGHT_CORNER":case 22:t.type=22;break;case"RIGHT_EYE_BOTTOM_BOUNDARY":case 23:t.type=23;break;case"RIGHT_EYE_LEFT_CORNER":case 24:t.type=24;break;case"LEFT_EYEBROW_UPPER_MIDPOINT":case 25:t.type=25;break;case"RIGHT_EYEBROW_UPPER_MIDPOINT":case 26:t.type=26;break;case"LEFT_EAR_TRAGION":case 27:t.type=27;break;case"RIGHT_EAR_TRAGION":case 28:t.type=28;break;case"LEFT_EYE_PUPIL":case 29:t.type=29;break;case"RIGHT_EYE_PUPIL":case 30:t.type=30;break;case"FOREHEAD_GLABELLA":case 31:t.type=31;break;case"CHIN_GNATHION":case 32:t.type=32;break;case"CHIN_LEFT_GONION":case 33:t.type=33;break;case"CHIN_RIGHT_GONION":case 34:t.type=34;break;case"LEFT_CHEEK_CENTER":case 35:t.type=35;break;case"RIGHT_CHEEK_CENTER":case 36:t.type=36}if(null!=e.position){if("object"!=typeof e.position)throw TypeError(".google.cloud.vision.v1.FaceAnnotation.Landmark.position: object expected");t.position=b.google.cloud.vision.v1.Position.fromObject(e.position)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN_LANDMARK":0,n.position=null),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1.FaceAnnotation.Landmark.Type[e.type]:e.type),null!=e.position&&e.hasOwnProperty("position")&&(n.position=b.google.cloud.vision.v1.Position.toObject(e.position,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.FaceAnnotation.Landmark"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN_LANDMARK"]=0,t[e[1]="LEFT_EYE"]=1,t[e[2]="RIGHT_EYE"]=2,t[e[3]="LEFT_OF_LEFT_EYEBROW"]=3,t[e[4]="RIGHT_OF_LEFT_EYEBROW"]=4,t[e[5]="LEFT_OF_RIGHT_EYEBROW"]=5,t[e[6]="RIGHT_OF_RIGHT_EYEBROW"]=6,t[e[7]="MIDPOINT_BETWEEN_EYES"]=7,t[e[8]="NOSE_TIP"]=8,t[e[9]="UPPER_LIP"]=9,t[e[10]="LOWER_LIP"]=10,t[e[11]="MOUTH_LEFT"]=11,t[e[12]="MOUTH_RIGHT"]=12,t[e[13]="MOUTH_CENTER"]=13,t[e[14]="NOSE_BOTTOM_RIGHT"]=14,t[e[15]="NOSE_BOTTOM_LEFT"]=15,t[e[16]="NOSE_BOTTOM_CENTER"]=16,t[e[17]="LEFT_EYE_TOP_BOUNDARY"]=17,t[e[18]="LEFT_EYE_RIGHT_CORNER"]=18,t[e[19]="LEFT_EYE_BOTTOM_BOUNDARY"]=19,t[e[20]="LEFT_EYE_LEFT_CORNER"]=20,t[e[21]="RIGHT_EYE_TOP_BOUNDARY"]=21,t[e[22]="RIGHT_EYE_RIGHT_CORNER"]=22,t[e[23]="RIGHT_EYE_BOTTOM_BOUNDARY"]=23,t[e[24]="RIGHT_EYE_LEFT_CORNER"]=24,t[e[25]="LEFT_EYEBROW_UPPER_MIDPOINT"]=25,t[e[26]="RIGHT_EYEBROW_UPPER_MIDPOINT"]=26,t[e[27]="LEFT_EAR_TRAGION"]=27,t[e[28]="RIGHT_EAR_TRAGION"]=28,t[e[29]="LEFT_EYE_PUPIL"]=29,t[e[30]="RIGHT_EYE_PUPIL"]=30,t[e[31]="FOREHEAD_GLABELLA"]=31,t[e[32]="CHIN_GNATHION"]=32,t[e[33]="CHIN_LEFT_GONION"]=33,t[e[34]="CHIN_RIGHT_GONION"]=34,t[e[35]="LEFT_CHEEK_CENTER"]=35,t[e[36]="RIGHT_CHEEK_CENTER"]=36,t}(),t}(),t}(),o.LocationInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.latLng=b.google.type.LatLng.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.latLng&&e.hasOwnProperty("latLng")){var t=b.google.type.LatLng.verify(e.latLng);if(t)return"latLng."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.LocationInfo)return e;var t=new b.google.cloud.vision.v1.LocationInfo;if(null!=e.latLng){if("object"!=typeof e.latLng)throw TypeError(".google.cloud.vision.v1.LocationInfo.latLng: object expected");t.latLng=b.google.type.LatLng.fromObject(e.latLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.latLng=null),null!=e.latLng&&e.hasOwnProperty("latLng")&&(n.latLng=b.google.type.LatLng.toObject(e.latLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.LocationInfo"},t}(),o.Property=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value=e.string();break;case 3:o.uint64Value=e.uint64();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&!(v.isInteger(e.uint64Value)||e.uint64Value&&v.isInteger(e.uint64Value.low)&&v.isInteger(e.uint64Value.high))?"uint64Value: integer|Long expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.Property)return e;var t=new b.google.cloud.vision.v1.Property;return null!=e.name&&(t.name=String(e.name)),null!=e.value&&(t.value=String(e.value)),null!=e.uint64Value&&(v.Long?(t.uint64Value=v.Long.fromValue(e.uint64Value)).unsigned=!0:"string"==typeof e.uint64Value?t.uint64Value=parseInt(e.uint64Value,10):"number"==typeof e.uint64Value?t.uint64Value=e.uint64Value:"object"==typeof e.uint64Value&&(t.uint64Value=new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0))),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(n.name="",n.value="",v.Long){var o=new v.Long(0,0,!0);n.uint64Value=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.uint64Value=t.longs===String?"0":0;return null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&("number"==typeof e.uint64Value?n.uint64Value=t.longs===String?String(e.uint64Value):e.uint64Value:n.uint64Value=t.longs===String?v.Long.prototype.toString.call(e.uint64Value):t.longs===Number?new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0):e.uint64Value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.Property"},t}(),o.EntityAnnotation=function(){function t(e){if(this.locations=[],this.properties=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.mid=e.string();break;case 2:o.locale=e.string();break;case 3:o.description=e.string();break;case 4:o.score=e.float();break;case 5:o.confidence=e.float();break;case 6:o.topicality=e.float();break;case 7:o.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 8:o.locations&&o.locations.length||(o.locations=[]),o.locations.push(b.google.cloud.vision.v1.LocationInfo.decode(e,e.uint32()));break;case 9:o.properties&&o.properties.length||(o.properties=[]),o.properties.push(b.google.cloud.vision.v1.Property.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid))return"mid: string expected";if(null!=e.locale&&e.hasOwnProperty("locale")&&!v.isString(e.locale))return"locale: string expected";if(null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description))return"description: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence)return"confidence: number expected";if(null!=e.topicality&&e.hasOwnProperty("topicality")&&"number"!=typeof e.topicality)return"topicality: number expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.locations&&e.hasOwnProperty("locations")){if(!Array.isArray(e.locations))return"locations: array expected";for(var t=0;t>>3){case 1:o.mid=e.string();break;case 2:o.languageCode=e.string();break;case 3:o.name=e.string();break;case 4:o.score=e.float();break;case 5:o.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid))return"mid: string expected";if(null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode))return"languageCode: string expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.LocalizedObjectAnnotation)return e;var t=new b.google.cloud.vision.v1.LocalizedObjectAnnotation;if(null!=e.mid&&(t.mid=String(e.mid)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.name&&(t.name=String(e.name)),null!=e.score&&(t.score=Number(e.score)),null!=e.boundingPoly){if("object"!=typeof e.boundingPoly)throw TypeError(".google.cloud.vision.v1.LocalizedObjectAnnotation.boundingPoly: object expected");t.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.fromObject(e.boundingPoly)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.mid="",n.languageCode="",n.name="",n.score=0,n.boundingPoly=null),null!=e.mid&&e.hasOwnProperty("mid")&&(n.mid=e.mid),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.toObject(e.boundingPoly,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.LocalizedObjectAnnotation"},t}(),o.SafeSearchAnnotation=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.adult=e.int32();break;case 2:o.spoof=e.int32();break;case 3:o.medical=e.int32();break;case 4:o.violence=e.int32();break;case 9:o.racy=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.adult&&e.hasOwnProperty("adult"))switch(e.adult){default:return"adult: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.spoof&&e.hasOwnProperty("spoof"))switch(e.spoof){default:return"spoof: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.medical&&e.hasOwnProperty("medical"))switch(e.medical){default:return"medical: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.violence&&e.hasOwnProperty("violence"))switch(e.violence){default:return"violence: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.racy&&e.hasOwnProperty("racy"))switch(e.racy){default:return"racy: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.SafeSearchAnnotation)return e;var t=new b.google.cloud.vision.v1.SafeSearchAnnotation;switch(e.adult){case"UNKNOWN":case 0:t.adult=0;break;case"VERY_UNLIKELY":case 1:t.adult=1;break;case"UNLIKELY":case 2:t.adult=2;break;case"POSSIBLE":case 3:t.adult=3;break;case"LIKELY":case 4:t.adult=4;break;case"VERY_LIKELY":case 5:t.adult=5}switch(e.spoof){case"UNKNOWN":case 0:t.spoof=0;break;case"VERY_UNLIKELY":case 1:t.spoof=1;break;case"UNLIKELY":case 2:t.spoof=2;break;case"POSSIBLE":case 3:t.spoof=3;break;case"LIKELY":case 4:t.spoof=4;break;case"VERY_LIKELY":case 5:t.spoof=5}switch(e.medical){case"UNKNOWN":case 0:t.medical=0;break;case"VERY_UNLIKELY":case 1:t.medical=1;break;case"UNLIKELY":case 2:t.medical=2;break;case"POSSIBLE":case 3:t.medical=3;break;case"LIKELY":case 4:t.medical=4;break;case"VERY_LIKELY":case 5:t.medical=5}switch(e.violence){case"UNKNOWN":case 0:t.violence=0;break;case"VERY_UNLIKELY":case 1:t.violence=1;break;case"UNLIKELY":case 2:t.violence=2;break;case"POSSIBLE":case 3:t.violence=3;break;case"LIKELY":case 4:t.violence=4;break;case"VERY_LIKELY":case 5:t.violence=5}switch(e.racy){case"UNKNOWN":case 0:t.racy=0;break;case"VERY_UNLIKELY":case 1:t.racy=1;break;case"UNLIKELY":case 2:t.racy=2;break;case"POSSIBLE":case 3:t.racy=3;break;case"LIKELY":case 4:t.racy=4;break;case"VERY_LIKELY":case 5:t.racy=5}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.adult=t.enums===String?"UNKNOWN":0,n.spoof=t.enums===String?"UNKNOWN":0,n.medical=t.enums===String?"UNKNOWN":0,n.violence=t.enums===String?"UNKNOWN":0,n.racy=t.enums===String?"UNKNOWN":0),null!=e.adult&&e.hasOwnProperty("adult")&&(n.adult=t.enums===String?b.google.cloud.vision.v1.Likelihood[e.adult]:e.adult),null!=e.spoof&&e.hasOwnProperty("spoof")&&(n.spoof=t.enums===String?b.google.cloud.vision.v1.Likelihood[e.spoof]:e.spoof),null!=e.medical&&e.hasOwnProperty("medical")&&(n.medical=t.enums===String?b.google.cloud.vision.v1.Likelihood[e.medical]:e.medical),null!=e.violence&&e.hasOwnProperty("violence")&&(n.violence=t.enums===String?b.google.cloud.vision.v1.Likelihood[e.violence]:e.violence),null!=e.racy&&e.hasOwnProperty("racy")&&(n.racy=t.enums===String?b.google.cloud.vision.v1.Likelihood[e.racy]:e.racy),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.SafeSearchAnnotation"},t}(),o.LatLongRect=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.minLatLng=b.google.type.LatLng.decode(e,e.uint32());break;case 2:o.maxLatLng=b.google.type.LatLng.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(t=b.google.type.LatLng.verify(e.minLatLng))?"minLatLng."+t:null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(t=b.google.type.LatLng.verify(e.maxLatLng))?"maxLatLng."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.LatLongRect)return e;var t=new b.google.cloud.vision.v1.LatLongRect;if(null!=e.minLatLng){if("object"!=typeof e.minLatLng)throw TypeError(".google.cloud.vision.v1.LatLongRect.minLatLng: object expected");t.minLatLng=b.google.type.LatLng.fromObject(e.minLatLng)}if(null!=e.maxLatLng){if("object"!=typeof e.maxLatLng)throw TypeError(".google.cloud.vision.v1.LatLongRect.maxLatLng: object expected");t.maxLatLng=b.google.type.LatLng.fromObject(e.maxLatLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.minLatLng=null,n.maxLatLng=null),null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(n.minLatLng=b.google.type.LatLng.toObject(e.minLatLng,t)),null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(n.maxLatLng=b.google.type.LatLng.toObject(e.maxLatLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.LatLongRect"},t}(),o.ColorInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.color=b.google.type.Color.decode(e,e.uint32());break;case 2:o.score=e.float();break;case 3:o.pixelFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.color&&e.hasOwnProperty("color")){var t=b.google.type.Color.verify(e.color);if(t)return"color."+t}return null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&"number"!=typeof e.pixelFraction?"pixelFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ColorInfo)return e;var t=new b.google.cloud.vision.v1.ColorInfo;if(null!=e.color){if("object"!=typeof e.color)throw TypeError(".google.cloud.vision.v1.ColorInfo.color: object expected");t.color=b.google.type.Color.fromObject(e.color)}return null!=e.score&&(t.score=Number(e.score)),null!=e.pixelFraction&&(t.pixelFraction=Number(e.pixelFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.color=null,n.score=0,n.pixelFraction=0),null!=e.color&&e.hasOwnProperty("color")&&(n.color=b.google.type.Color.toObject(e.color,t)),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&(n.pixelFraction=t.json&&!isFinite(e.pixelFraction)?String(e.pixelFraction):e.pixelFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ColorInfo"},t}(),o.DominantColorsAnnotation=function(){function t(e){if(this.colors=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.colors&&o.colors.length||(o.colors=[]),o.colors.push(b.google.cloud.vision.v1.ColorInfo.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.colors&&e.hasOwnProperty("colors")){if(!Array.isArray(e.colors))return"colors: array expected";for(var t=0;t>>3==1?o.dominantColors=b.google.cloud.vision.v1.DominantColorsAnnotation.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.dominantColors&&e.hasOwnProperty("dominantColors")){var t=b.google.cloud.vision.v1.DominantColorsAnnotation.verify(e.dominantColors);if(t)return"dominantColors."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ImageProperties)return e;var t=new b.google.cloud.vision.v1.ImageProperties;if(null!=e.dominantColors){if("object"!=typeof e.dominantColors)throw TypeError(".google.cloud.vision.v1.ImageProperties.dominantColors: object expected");t.dominantColors=b.google.cloud.vision.v1.DominantColorsAnnotation.fromObject(e.dominantColors)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.dominantColors=null),null!=e.dominantColors&&e.hasOwnProperty("dominantColors")&&(n.dominantColors=b.google.cloud.vision.v1.DominantColorsAnnotation.toObject(e.dominantColors,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ImageProperties"},t}(),o.CropHint=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 2:o.confidence=e.float();break;case 3:o.importanceFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}return null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&"number"!=typeof e.importanceFraction?"importanceFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.CropHint)return e;var t=new b.google.cloud.vision.v1.CropHint;if(null!=e.boundingPoly){if("object"!=typeof e.boundingPoly)throw TypeError(".google.cloud.vision.v1.CropHint.boundingPoly: object expected");t.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.fromObject(e.boundingPoly)}return null!=e.confidence&&(t.confidence=Number(e.confidence)),null!=e.importanceFraction&&(t.importanceFraction=Number(e.importanceFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.boundingPoly=null,n.confidence=0,n.importanceFraction=0),null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.toObject(e.boundingPoly,t)),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&(n.importanceFraction=t.json&&!isFinite(e.importanceFraction)?String(e.importanceFraction):e.importanceFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.CropHint"},t}(),o.CropHintsAnnotation=function(){function t(e){if(this.cropHints=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.cropHints&&o.cropHints.length||(o.cropHints=[]),o.cropHints.push(b.google.cloud.vision.v1.CropHint.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.cropHints&&e.hasOwnProperty("cropHints")){if(!Array.isArray(e.cropHints))return"cropHints: array expected";for(var t=0;t>>3==1)if(o.aspectRatios&&o.aspectRatios.length||(o.aspectRatios=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==2?o.includeGeoResults=e.bool():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&"boolean"!=typeof e.includeGeoResults?"includeGeoResults: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.WebDetectionParams)return e;var t=new b.google.cloud.vision.v1.WebDetectionParams;return null!=e.includeGeoResults&&(t.includeGeoResults=Boolean(e.includeGeoResults)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.includeGeoResults=!1),null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&(n.includeGeoResults=e.includeGeoResults),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.WebDetectionParams"},t}(),o.TextDetectionParams=function(){function t(e){if(this.advancedOcrOptions=[],e)for(var t=Object.keys(e),n=0;n>>3){case 9:o.enableTextDetectionConfidenceScore=e.bool();break;case 11:o.advancedOcrOptions&&o.advancedOcrOptions.length||(o.advancedOcrOptions=[]),o.advancedOcrOptions.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.enableTextDetectionConfidenceScore&&e.hasOwnProperty("enableTextDetectionConfidenceScore")&&"boolean"!=typeof e.enableTextDetectionConfidenceScore)return"enableTextDetectionConfidenceScore: boolean expected";if(null!=e.advancedOcrOptions&&e.hasOwnProperty("advancedOcrOptions")){if(!Array.isArray(e.advancedOcrOptions))return"advancedOcrOptions: array expected";for(var t=0;t>>3){case 1:o.latLongRect=b.google.cloud.vision.v1.LatLongRect.decode(e,e.uint32());break;case 2:o.languageHints&&o.languageHints.length||(o.languageHints=[]),o.languageHints.push(e.string());break;case 4:o.cropHintsParams=b.google.cloud.vision.v1.CropHintsParams.decode(e,e.uint32());break;case 5:o.productSearchParams=b.google.cloud.vision.v1.ProductSearchParams.decode(e,e.uint32());break;case 6:o.webDetectionParams=b.google.cloud.vision.v1.WebDetectionParams.decode(e,e.uint32());break;case 12:o.textDetectionParams=b.google.cloud.vision.v1.TextDetectionParams.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t;if(null!=e.latLongRect&&e.hasOwnProperty("latLongRect")&&(t=b.google.cloud.vision.v1.LatLongRect.verify(e.latLongRect)))return"latLongRect."+t;if(null!=e.languageHints&&e.hasOwnProperty("languageHints")){if(!Array.isArray(e.languageHints))return"languageHints: array expected";for(var n=0;n>>3){case 1:o.image=b.google.cloud.vision.v1.Image.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1.ImageContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.image&&e.hasOwnProperty("image")&&(n=b.google.cloud.vision.v1.Image.verify(e.image)))return"image."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3){case 1:o.uri=e.string();break;case 2:o.pageNumber=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null!=e.pageNumber&&e.hasOwnProperty("pageNumber")&&!v.isInteger(e.pageNumber)?"pageNumber: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ImageAnnotationContext)return e;var t=new b.google.cloud.vision.v1.ImageAnnotationContext;return null!=e.uri&&(t.uri=String(e.uri)),null!=e.pageNumber&&(t.pageNumber=0|e.pageNumber),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri="",n.pageNumber=0),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),null!=e.pageNumber&&e.hasOwnProperty("pageNumber")&&(n.pageNumber=e.pageNumber),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ImageAnnotationContext"},t}(),o.AnnotateImageResponse=function(){function t(e){if(this.faceAnnotations=[],this.landmarkAnnotations=[],this.logoAnnotations=[],this.labelAnnotations=[],this.localizedObjectAnnotations=[],this.textAnnotations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.faceAnnotations&&o.faceAnnotations.length||(o.faceAnnotations=[]),o.faceAnnotations.push(b.google.cloud.vision.v1.FaceAnnotation.decode(e,e.uint32()));break;case 2:o.landmarkAnnotations&&o.landmarkAnnotations.length||(o.landmarkAnnotations=[]),o.landmarkAnnotations.push(b.google.cloud.vision.v1.EntityAnnotation.decode(e,e.uint32()));break;case 3:o.logoAnnotations&&o.logoAnnotations.length||(o.logoAnnotations=[]),o.logoAnnotations.push(b.google.cloud.vision.v1.EntityAnnotation.decode(e,e.uint32()));break;case 4:o.labelAnnotations&&o.labelAnnotations.length||(o.labelAnnotations=[]),o.labelAnnotations.push(b.google.cloud.vision.v1.EntityAnnotation.decode(e,e.uint32()));break;case 22:o.localizedObjectAnnotations&&o.localizedObjectAnnotations.length||(o.localizedObjectAnnotations=[]),o.localizedObjectAnnotations.push(b.google.cloud.vision.v1.LocalizedObjectAnnotation.decode(e,e.uint32()));break;case 5:o.textAnnotations&&o.textAnnotations.length||(o.textAnnotations=[]),o.textAnnotations.push(b.google.cloud.vision.v1.EntityAnnotation.decode(e,e.uint32()));break;case 12:o.fullTextAnnotation=b.google.cloud.vision.v1.TextAnnotation.decode(e,e.uint32());break;case 6:o.safeSearchAnnotation=b.google.cloud.vision.v1.SafeSearchAnnotation.decode(e,e.uint32());break;case 8:o.imagePropertiesAnnotation=b.google.cloud.vision.v1.ImageProperties.decode(e,e.uint32());break;case 11:o.cropHintsAnnotation=b.google.cloud.vision.v1.CropHintsAnnotation.decode(e,e.uint32());break;case 13:o.webDetection=b.google.cloud.vision.v1.WebDetection.decode(e,e.uint32());break;case 14:o.productSearchResults=b.google.cloud.vision.v1.ProductSearchResults.decode(e,e.uint32());break;case 9:o.error=b.google.rpc.Status.decode(e,e.uint32());break;case 21:o.context=b.google.cloud.vision.v1.ImageAnnotationContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.faceAnnotations&&e.hasOwnProperty("faceAnnotations")){if(!Array.isArray(e.faceAnnotations))return"faceAnnotations: array expected";for(var t=0;t>>3){case 1:o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1.AnnotateImageRequest.decode(e,e.uint32()));break;case 4:o.parent=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1.AnnotateImageResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.inputConfig=b.google.cloud.vision.v1.InputConfig.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1.ImageContext.decode(e,e.uint32());break;case 4:if(o.pages&&o.pages.length||(o.pages=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.inputConfig=b.google.cloud.vision.v1.InputConfig.decode(e,e.uint32());break;case 2:o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1.AnnotateImageResponse.decode(e,e.uint32()));break;case 3:o.totalPages=e.int32();break;case 4:o.error=b.google.rpc.Status.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n=b.google.cloud.vision.v1.InputConfig.verify(e.inputConfig)))return"inputConfig."+n;if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1.AnnotateFileRequest.decode(e,e.uint32()));break;case 3:o.parent=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1.AnnotateFileResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.inputConfig=b.google.cloud.vision.v1.InputConfig.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1.ImageContext.decode(e,e.uint32());break;case 4:o.outputConfig=b.google.cloud.vision.v1.OutputConfig.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n=b.google.cloud.vision.v1.InputConfig.verify(e.inputConfig)))return"inputConfig."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3==1?o.outputConfig=b.google.cloud.vision.v1.OutputConfig.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.outputConfig&&e.hasOwnProperty("outputConfig")){var t=b.google.cloud.vision.v1.OutputConfig.verify(e.outputConfig);if(t)return"outputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.AsyncAnnotateFileResponse)return e;var t=new b.google.cloud.vision.v1.AsyncAnnotateFileResponse;if(null!=e.outputConfig){if("object"!=typeof e.outputConfig)throw TypeError(".google.cloud.vision.v1.AsyncAnnotateFileResponse.outputConfig: object expected");t.outputConfig=b.google.cloud.vision.v1.OutputConfig.fromObject(e.outputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.outputConfig=null),null!=e.outputConfig&&e.hasOwnProperty("outputConfig")&&(n.outputConfig=b.google.cloud.vision.v1.OutputConfig.toObject(e.outputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.AsyncAnnotateFileResponse"},t}(),o.AsyncBatchAnnotateImagesRequest=function(){function t(e){if(this.requests=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1.AnnotateImageRequest.decode(e,e.uint32()));break;case 2:o.outputConfig=b.google.cloud.vision.v1.OutputConfig.decode(e,e.uint32());break;case 4:o.parent=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?o.outputConfig=b.google.cloud.vision.v1.OutputConfig.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.outputConfig&&e.hasOwnProperty("outputConfig")){var t=b.google.cloud.vision.v1.OutputConfig.verify(e.outputConfig);if(t)return"outputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.AsyncBatchAnnotateImagesResponse)return e;var t=new b.google.cloud.vision.v1.AsyncBatchAnnotateImagesResponse;if(null!=e.outputConfig){if("object"!=typeof e.outputConfig)throw TypeError(".google.cloud.vision.v1.AsyncBatchAnnotateImagesResponse.outputConfig: object expected");t.outputConfig=b.google.cloud.vision.v1.OutputConfig.fromObject(e.outputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.outputConfig=null),null!=e.outputConfig&&e.hasOwnProperty("outputConfig")&&(n.outputConfig=b.google.cloud.vision.v1.OutputConfig.toObject(e.outputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.AsyncBatchAnnotateImagesResponse"},t}(),o.AsyncBatchAnnotateFilesRequest=function(){function t(e){if(this.requests=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1.AsyncAnnotateFileRequest.decode(e,e.uint32()));break;case 4:o.parent=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1.AsyncAnnotateFileResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.gcsSource=b.google.cloud.vision.v1.GcsSource.decode(e,e.uint32());break;case 3:o.content=e.bytes();break;case 2:o.mimeType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsSource&&e.hasOwnProperty("gcsSource")){var t=b.google.cloud.vision.v1.GcsSource.verify(e.gcsSource);if(t)return"gcsSource."+t}return null!=e.content&&e.hasOwnProperty("content")&&!(e.content&&"number"==typeof e.content.length||v.isString(e.content))?"content: buffer expected":null!=e.mimeType&&e.hasOwnProperty("mimeType")&&!v.isString(e.mimeType)?"mimeType: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.InputConfig)return e;var t=new b.google.cloud.vision.v1.InputConfig;if(null!=e.gcsSource){if("object"!=typeof e.gcsSource)throw TypeError(".google.cloud.vision.v1.InputConfig.gcsSource: object expected");t.gcsSource=b.google.cloud.vision.v1.GcsSource.fromObject(e.gcsSource)}return null!=e.content&&("string"==typeof e.content?v.base64.decode(e.content,t.content=v.newBuffer(v.base64.length(e.content)),0):e.content.length>=0&&(t.content=e.content)),null!=e.mimeType&&(t.mimeType=String(e.mimeType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsSource=null,n.mimeType="",t.bytes===String?n.content="":(n.content=[],t.bytes!==Array&&(n.content=v.newBuffer(n.content)))),null!=e.gcsSource&&e.hasOwnProperty("gcsSource")&&(n.gcsSource=b.google.cloud.vision.v1.GcsSource.toObject(e.gcsSource,t)),null!=e.mimeType&&e.hasOwnProperty("mimeType")&&(n.mimeType=e.mimeType),null!=e.content&&e.hasOwnProperty("content")&&(n.content=t.bytes===String?v.base64.encode(e.content,0,e.content.length):t.bytes===Array?Array.prototype.slice.call(e.content):e.content),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.InputConfig"},t}(),o.OutputConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsDestination=b.google.cloud.vision.v1.GcsDestination.decode(e,e.uint32());break;case 2:o.batchSize=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsDestination&&e.hasOwnProperty("gcsDestination")){var t=b.google.cloud.vision.v1.GcsDestination.verify(e.gcsDestination);if(t)return"gcsDestination."+t}return null!=e.batchSize&&e.hasOwnProperty("batchSize")&&!v.isInteger(e.batchSize)?"batchSize: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.OutputConfig)return e;var t=new b.google.cloud.vision.v1.OutputConfig;if(null!=e.gcsDestination){if("object"!=typeof e.gcsDestination)throw TypeError(".google.cloud.vision.v1.OutputConfig.gcsDestination: object expected");t.gcsDestination=b.google.cloud.vision.v1.GcsDestination.fromObject(e.gcsDestination)}return null!=e.batchSize&&(t.batchSize=0|e.batchSize),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsDestination=null,n.batchSize=0),null!=e.gcsDestination&&e.hasOwnProperty("gcsDestination")&&(n.gcsDestination=b.google.cloud.vision.v1.GcsDestination.toObject(e.gcsDestination,t)),null!=e.batchSize&&e.hasOwnProperty("batchSize")&&(n.batchSize=e.batchSize),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.OutputConfig"},t}(),o.GcsSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.uri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.GcsSource)return e;var t=new b.google.cloud.vision.v1.GcsSource;return null!=e.uri&&(t.uri=String(e.uri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri=""),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.GcsSource"},t}(),o.GcsDestination=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.uri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.GcsDestination)return e;var t=new b.google.cloud.vision.v1.GcsDestination;return null!=e.uri&&(t.uri=String(e.uri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri=""),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.GcsDestination"},t}(),o.OperationMetadata=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.state=e.int32();break;case 5:o.createTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 6:o.updateTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:case 3:case 4:}var t;return null!=e.createTime&&e.hasOwnProperty("createTime")&&(t=b.google.protobuf.Timestamp.verify(e.createTime))?"createTime."+t:null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(t=b.google.protobuf.Timestamp.verify(e.updateTime))?"updateTime."+t:null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.OperationMetadata)return e;var t=new b.google.cloud.vision.v1.OperationMetadata;switch(e.state){case"STATE_UNSPECIFIED":case 0:t.state=0;break;case"CREATED":case 1:t.state=1;break;case"RUNNING":case 2:t.state=2;break;case"DONE":case 3:t.state=3;break;case"CANCELLED":case 4:t.state=4}if(null!=e.createTime){if("object"!=typeof e.createTime)throw TypeError(".google.cloud.vision.v1.OperationMetadata.createTime: object expected");t.createTime=b.google.protobuf.Timestamp.fromObject(e.createTime)}if(null!=e.updateTime){if("object"!=typeof e.updateTime)throw TypeError(".google.cloud.vision.v1.OperationMetadata.updateTime: object expected");t.updateTime=b.google.protobuf.Timestamp.fromObject(e.updateTime)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.state=t.enums===String?"STATE_UNSPECIFIED":0,n.createTime=null,n.updateTime=null),null!=e.state&&e.hasOwnProperty("state")&&(n.state=t.enums===String?b.google.cloud.vision.v1.OperationMetadata.State[e.state]:e.state),null!=e.createTime&&e.hasOwnProperty("createTime")&&(n.createTime=b.google.protobuf.Timestamp.toObject(e.createTime,t)),null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(n.updateTime=b.google.protobuf.Timestamp.toObject(e.updateTime,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.OperationMetadata"},t.State=function(){var e={},t=Object.create(e);return t[e[0]="STATE_UNSPECIFIED"]=0,t[e[1]="CREATED"]=1,t[e[2]="RUNNING"]=2,t[e[3]="DONE"]=3,t[e[4]="CANCELLED"]=4,t}(),t}(),o.ProductSearchParams=function(){function t(e){if(this.productCategories=[],e)for(var t=Object.keys(e),n=0;n>>3){case 9:o.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 6:o.productSet=e.string();break;case 7:o.productCategories&&o.productCategories.length||(o.productCategories=[]),o.productCategories.push(e.string());break;case 8:o.filter=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}if(null!=e.productSet&&e.hasOwnProperty("productSet")&&!v.isString(e.productSet))return"productSet: string expected";if(null!=e.productCategories&&e.hasOwnProperty("productCategories")){if(!Array.isArray(e.productCategories))return"productCategories: array expected";for(var n=0;n>>3){case 2:o.indexTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 5:o.results&&o.results.length||(o.results=[]),o.results.push(b.google.cloud.vision.v1.ProductSearchResults.Result.decode(e,e.uint32()));break;case 6:o.productGroupedResults&&o.productGroupedResults.length||(o.productGroupedResults=[]),o.productGroupedResults.push(b.google.cloud.vision.v1.ProductSearchResults.GroupedResult.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(n=b.google.protobuf.Timestamp.verify(e.indexTime)))return"indexTime."+n;if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:o.product=b.google.cloud.vision.v1.Product.decode(e,e.uint32());break;case 2:o.score=e.float();break;case 3:o.image=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.product&&e.hasOwnProperty("product")){var t=b.google.cloud.vision.v1.Product.verify(e.product);if(t)return"product."+t}return null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.image&&e.hasOwnProperty("image")&&!v.isString(e.image)?"image: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ProductSearchResults.Result)return e;var t=new b.google.cloud.vision.v1.ProductSearchResults.Result;if(null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1.ProductSearchResults.Result.product: object expected");t.product=b.google.cloud.vision.v1.Product.fromObject(e.product)}return null!=e.score&&(t.score=Number(e.score)),null!=e.image&&(t.image=String(e.image)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.product=null,n.score=0,n.image=""),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1.Product.toObject(e.product,t)),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.image&&e.hasOwnProperty("image")&&(n.image=e.image),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ProductSearchResults.Result"},t}(),t.ObjectAnnotation=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.mid=e.string();break;case 2:o.languageCode=e.string();break;case 3:o.name=e.string();break;case 4:o.score=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid)?"mid: string expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation)return e;var t=new b.google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation;return null!=e.mid&&(t.mid=String(e.mid)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.name&&(t.name=String(e.name)),null!=e.score&&(t.score=Number(e.score)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.mid="",n.languageCode="",n.name="",n.score=0),null!=e.mid&&e.hasOwnProperty("mid")&&(n.mid=e.mid),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation"},t}(),t.GroupedResult=function(){function t(e){if(this.results=[],this.objectAnnotations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 2:o.results&&o.results.length||(o.results=[]),o.results.push(b.google.cloud.vision.v1.ProductSearchResults.Result.decode(e,e.uint32()));break;case 3:o.objectAnnotations&&o.objectAnnotations.length||(o.objectAnnotations=[]),o.objectAnnotations.push(b.google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.displayName=e.string();break;case 3:o.description=e.string();break;case 4:o.productCategory=e.string();break;case 5:o.productLabels&&o.productLabels.length||(o.productLabels=[]),o.productLabels.push(b.google.cloud.vision.v1.Product.KeyValue.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.displayName&&e.hasOwnProperty("displayName")&&!v.isString(e.displayName))return"displayName: string expected";if(null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description))return"description: string expected";if(null!=e.productCategory&&e.hasOwnProperty("productCategory")&&!v.isString(e.productCategory))return"productCategory: string expected";if(null!=e.productLabels&&e.hasOwnProperty("productLabels")){if(!Array.isArray(e.productLabels))return"productLabels: array expected";for(var t=0;t>>3){case 1:o.key=e.string();break;case 2:o.value=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.key&&e.hasOwnProperty("key")&&!v.isString(e.key)?"key: string expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.Product.KeyValue)return e;var t=new b.google.cloud.vision.v1.Product.KeyValue;return null!=e.key&&(t.key=String(e.key)),null!=e.value&&(t.value=String(e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.key="",n.value=""),null!=e.key&&e.hasOwnProperty("key")&&(n.key=e.key),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.Product.KeyValue"},t}(),t}(),o.ProductSet=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.displayName=e.string();break;case 3:o.indexTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 4:o.indexError=b.google.rpc.Status.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.displayName&&e.hasOwnProperty("displayName")&&!v.isString(e.displayName)?"displayName: string expected":null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(t=b.google.protobuf.Timestamp.verify(e.indexTime))?"indexTime."+t:null!=e.indexError&&e.hasOwnProperty("indexError")&&(t=b.google.rpc.Status.verify(e.indexError))?"indexError."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ProductSet)return e;var t=new b.google.cloud.vision.v1.ProductSet;if(null!=e.name&&(t.name=String(e.name)),null!=e.displayName&&(t.displayName=String(e.displayName)),null!=e.indexTime){if("object"!=typeof e.indexTime)throw TypeError(".google.cloud.vision.v1.ProductSet.indexTime: object expected");t.indexTime=b.google.protobuf.Timestamp.fromObject(e.indexTime)}if(null!=e.indexError){if("object"!=typeof e.indexError)throw TypeError(".google.cloud.vision.v1.ProductSet.indexError: object expected");t.indexError=b.google.rpc.Status.fromObject(e.indexError)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.displayName="",n.indexTime=null,n.indexError=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.displayName&&e.hasOwnProperty("displayName")&&(n.displayName=e.displayName),null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(n.indexTime=b.google.protobuf.Timestamp.toObject(e.indexTime,t)),null!=e.indexError&&e.hasOwnProperty("indexError")&&(n.indexError=b.google.rpc.Status.toObject(e.indexError,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ProductSet"},t}(),o.ReferenceImage=function(){function t(e){if(this.boundingPolys=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.uri=e.string();break;case 3:o.boundingPolys&&o.boundingPolys.length||(o.boundingPolys=[]),o.boundingPolys.push(b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri))return"uri: string expected";if(null!=e.boundingPolys&&e.hasOwnProperty("boundingPolys")){if(!Array.isArray(e.boundingPolys))return"boundingPolys: array expected";for(var t=0;t>>3){case 1:o.parent=e.string();break;case 2:o.product=b.google.cloud.vision.v1.Product.decode(e,e.uint32());break;case 3:o.productId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.product&&e.hasOwnProperty("product")){var t=b.google.cloud.vision.v1.Product.verify(e.product);if(t)return"product."+t}return null!=e.productId&&e.hasOwnProperty("productId")&&!v.isString(e.productId)?"productId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.CreateProductRequest)return e;var t=new b.google.cloud.vision.v1.CreateProductRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1.CreateProductRequest.product: object expected");t.product=b.google.cloud.vision.v1.Product.fromObject(e.product)}return null!=e.productId&&(t.productId=String(e.productId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.product=null,n.productId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1.Product.toObject(e.product,t)),null!=e.productId&&e.hasOwnProperty("productId")&&(n.productId=e.productId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.CreateProductRequest"},t}(),o.ListProductsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ListProductsRequest)return e;var t=new b.google.cloud.vision.v1.ListProductsRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ListProductsRequest"},t}(),o.ListProductsResponse=function(){function t(e){if(this.products=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.products&&o.products.length||(o.products=[]),o.products.push(b.google.cloud.vision.v1.Product.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.products&&e.hasOwnProperty("products")){if(!Array.isArray(e.products))return"products: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.GetProductRequest)return e;var t=new b.google.cloud.vision.v1.GetProductRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.GetProductRequest"},t}(),o.UpdateProductRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.product=b.google.cloud.vision.v1.Product.decode(e,e.uint32());break;case 2:o.updateMask=b.google.protobuf.FieldMask.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.product&&e.hasOwnProperty("product")&&(t=b.google.cloud.vision.v1.Product.verify(e.product))?"product."+t:null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(t=b.google.protobuf.FieldMask.verify(e.updateMask))?"updateMask."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.UpdateProductRequest)return e;var t=new b.google.cloud.vision.v1.UpdateProductRequest;if(null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1.UpdateProductRequest.product: object expected");t.product=b.google.cloud.vision.v1.Product.fromObject(e.product)}if(null!=e.updateMask){if("object"!=typeof e.updateMask)throw TypeError(".google.cloud.vision.v1.UpdateProductRequest.updateMask: object expected");t.updateMask=b.google.protobuf.FieldMask.fromObject(e.updateMask)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.product=null,n.updateMask=null),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1.Product.toObject(e.product,t)),null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(n.updateMask=b.google.protobuf.FieldMask.toObject(e.updateMask,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.UpdateProductRequest"},t}(),o.DeleteProductRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.DeleteProductRequest)return e;var t=new b.google.cloud.vision.v1.DeleteProductRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.DeleteProductRequest"},t}(),o.CreateProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.productSet=b.google.cloud.vision.v1.ProductSet.decode(e,e.uint32());break;case 3:o.productSetId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.productSet&&e.hasOwnProperty("productSet")){var t=b.google.cloud.vision.v1.ProductSet.verify(e.productSet);if(t)return"productSet."+t}return null!=e.productSetId&&e.hasOwnProperty("productSetId")&&!v.isString(e.productSetId)?"productSetId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.CreateProductSetRequest)return e;var t=new b.google.cloud.vision.v1.CreateProductSetRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.productSet){if("object"!=typeof e.productSet)throw TypeError(".google.cloud.vision.v1.CreateProductSetRequest.productSet: object expected");t.productSet=b.google.cloud.vision.v1.ProductSet.fromObject(e.productSet)}return null!=e.productSetId&&(t.productSetId=String(e.productSetId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.productSet=null,n.productSetId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.productSet&&e.hasOwnProperty("productSet")&&(n.productSet=b.google.cloud.vision.v1.ProductSet.toObject(e.productSet,t)),null!=e.productSetId&&e.hasOwnProperty("productSetId")&&(n.productSetId=e.productSetId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.CreateProductSetRequest"},t}(),o.ListProductSetsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ListProductSetsRequest)return e;var t=new b.google.cloud.vision.v1.ListProductSetsRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ListProductSetsRequest"},t}(),o.ListProductSetsResponse=function(){function t(e){if(this.productSets=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.productSets&&o.productSets.length||(o.productSets=[]),o.productSets.push(b.google.cloud.vision.v1.ProductSet.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.productSets&&e.hasOwnProperty("productSets")){if(!Array.isArray(e.productSets))return"productSets: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.GetProductSetRequest)return e;var t=new b.google.cloud.vision.v1.GetProductSetRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.GetProductSetRequest"},t}(),o.UpdateProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.productSet=b.google.cloud.vision.v1.ProductSet.decode(e,e.uint32());break;case 2:o.updateMask=b.google.protobuf.FieldMask.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.productSet&&e.hasOwnProperty("productSet")&&(t=b.google.cloud.vision.v1.ProductSet.verify(e.productSet))?"productSet."+t:null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(t=b.google.protobuf.FieldMask.verify(e.updateMask))?"updateMask."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.UpdateProductSetRequest)return e;var t=new b.google.cloud.vision.v1.UpdateProductSetRequest;if(null!=e.productSet){if("object"!=typeof e.productSet)throw TypeError(".google.cloud.vision.v1.UpdateProductSetRequest.productSet: object expected");t.productSet=b.google.cloud.vision.v1.ProductSet.fromObject(e.productSet)}if(null!=e.updateMask){if("object"!=typeof e.updateMask)throw TypeError(".google.cloud.vision.v1.UpdateProductSetRequest.updateMask: object expected");t.updateMask=b.google.protobuf.FieldMask.fromObject(e.updateMask)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.productSet=null,n.updateMask=null),null!=e.productSet&&e.hasOwnProperty("productSet")&&(n.productSet=b.google.cloud.vision.v1.ProductSet.toObject(e.productSet,t)),null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(n.updateMask=b.google.protobuf.FieldMask.toObject(e.updateMask,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.UpdateProductSetRequest"},t}(),o.DeleteProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.DeleteProductSetRequest)return e;var t=new b.google.cloud.vision.v1.DeleteProductSetRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.DeleteProductSetRequest"},t}(),o.CreateReferenceImageRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.referenceImage=b.google.cloud.vision.v1.ReferenceImage.decode(e,e.uint32());break;case 3:o.referenceImageId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.referenceImage&&e.hasOwnProperty("referenceImage")){var t=b.google.cloud.vision.v1.ReferenceImage.verify(e.referenceImage);if(t)return"referenceImage."+t}return null!=e.referenceImageId&&e.hasOwnProperty("referenceImageId")&&!v.isString(e.referenceImageId)?"referenceImageId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.CreateReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1.CreateReferenceImageRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.referenceImage){if("object"!=typeof e.referenceImage)throw TypeError(".google.cloud.vision.v1.CreateReferenceImageRequest.referenceImage: object expected");t.referenceImage=b.google.cloud.vision.v1.ReferenceImage.fromObject(e.referenceImage)}return null!=e.referenceImageId&&(t.referenceImageId=String(e.referenceImageId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.referenceImage=null,n.referenceImageId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.referenceImage&&e.hasOwnProperty("referenceImage")&&(n.referenceImage=b.google.cloud.vision.v1.ReferenceImage.toObject(e.referenceImage,t)),null!=e.referenceImageId&&e.hasOwnProperty("referenceImageId")&&(n.referenceImageId=e.referenceImageId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.CreateReferenceImageRequest"},t}(),o.ListReferenceImagesRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ListReferenceImagesRequest)return e;var t=new b.google.cloud.vision.v1.ListReferenceImagesRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ListReferenceImagesRequest"},t}(),o.ListReferenceImagesResponse=function(){function t(e){if(this.referenceImages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.referenceImages&&o.referenceImages.length||(o.referenceImages=[]),o.referenceImages.push(b.google.cloud.vision.v1.ReferenceImage.decode(e,e.uint32()));break;case 2:o.pageSize=e.int32();break;case 3:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.referenceImages&&e.hasOwnProperty("referenceImages")){if(!Array.isArray(e.referenceImages))return"referenceImages: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.GetReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1.GetReferenceImageRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.GetReferenceImageRequest"},t}(),o.DeleteReferenceImageRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.DeleteReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1.DeleteReferenceImageRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.DeleteReferenceImageRequest"},t}(),o.AddProductToProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.product=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.product&&e.hasOwnProperty("product")&&!v.isString(e.product)?"product: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.AddProductToProductSetRequest)return e;var t=new b.google.cloud.vision.v1.AddProductToProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.product&&(t.product=String(e.product)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.product=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.product&&e.hasOwnProperty("product")&&(n.product=e.product),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.AddProductToProductSetRequest"},t}(),o.RemoveProductFromProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.product=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.product&&e.hasOwnProperty("product")&&!v.isString(e.product)?"product: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.RemoveProductFromProductSetRequest)return e;var t=new b.google.cloud.vision.v1.RemoveProductFromProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.product&&(t.product=String(e.product)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.product=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.product&&e.hasOwnProperty("product")&&(n.product=e.product),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.RemoveProductFromProductSetRequest"},t}(),o.ListProductsInProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ListProductsInProductSetRequest)return e;var t=new b.google.cloud.vision.v1.ListProductsInProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.pageSize=0,n.pageToken=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ListProductsInProductSetRequest"},t}(),o.ListProductsInProductSetResponse=function(){function t(e){if(this.products=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.products&&o.products.length||(o.products=[]),o.products.push(b.google.cloud.vision.v1.Product.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.products&&e.hasOwnProperty("products")){if(!Array.isArray(e.products))return"products: array expected";for(var t=0;t>>3==1?o.csvFileUri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.csvFileUri&&e.hasOwnProperty("csvFileUri")&&!v.isString(e.csvFileUri)?"csvFileUri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ImportProductSetsGcsSource)return e;var t=new b.google.cloud.vision.v1.ImportProductSetsGcsSource;return null!=e.csvFileUri&&(t.csvFileUri=String(e.csvFileUri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.csvFileUri=""),null!=e.csvFileUri&&e.hasOwnProperty("csvFileUri")&&(n.csvFileUri=e.csvFileUri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ImportProductSetsGcsSource"},t}(),o.ImportProductSetsInputConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.gcsSource=b.google.cloud.vision.v1.ImportProductSetsGcsSource.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsSource&&e.hasOwnProperty("gcsSource")){var t=b.google.cloud.vision.v1.ImportProductSetsGcsSource.verify(e.gcsSource);if(t)return"gcsSource."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ImportProductSetsInputConfig)return e;var t=new b.google.cloud.vision.v1.ImportProductSetsInputConfig;if(null!=e.gcsSource){if("object"!=typeof e.gcsSource)throw TypeError(".google.cloud.vision.v1.ImportProductSetsInputConfig.gcsSource: object expected");t.gcsSource=b.google.cloud.vision.v1.ImportProductSetsGcsSource.fromObject(e.gcsSource)}return t},t.toObject=function(e,t){t||(t={});var n={};return null!=e.gcsSource&&e.hasOwnProperty("gcsSource")&&(n.gcsSource=b.google.cloud.vision.v1.ImportProductSetsGcsSource.toObject(e.gcsSource,t),t.oneofs&&(n.source="gcsSource")),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ImportProductSetsInputConfig"},t}(),o.ImportProductSetsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.inputConfig=b.google.cloud.vision.v1.ImportProductSetsInputConfig.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")){var t=b.google.cloud.vision.v1.ImportProductSetsInputConfig.verify(e.inputConfig);if(t)return"inputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ImportProductSetsRequest)return e;var t=new b.google.cloud.vision.v1.ImportProductSetsRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.inputConfig){if("object"!=typeof e.inputConfig)throw TypeError(".google.cloud.vision.v1.ImportProductSetsRequest.inputConfig: object expected");t.inputConfig=b.google.cloud.vision.v1.ImportProductSetsInputConfig.fromObject(e.inputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.inputConfig=null),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n.inputConfig=b.google.cloud.vision.v1.ImportProductSetsInputConfig.toObject(e.inputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ImportProductSetsRequest"},t}(),o.ImportProductSetsResponse=function(){function t(e){if(this.referenceImages=[],this.statuses=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.referenceImages&&o.referenceImages.length||(o.referenceImages=[]),o.referenceImages.push(b.google.cloud.vision.v1.ReferenceImage.decode(e,e.uint32()));break;case 2:o.statuses&&o.statuses.length||(o.statuses=[]),o.statuses.push(b.google.rpc.Status.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.referenceImages&&e.hasOwnProperty("referenceImages")){if(!Array.isArray(e.referenceImages))return"referenceImages: array expected";for(var t=0;t>>3){case 1:o.state=e.int32();break;case 2:o.submitTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 3:o.endTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:case 3:case 4:}var t;return null!=e.submitTime&&e.hasOwnProperty("submitTime")&&(t=b.google.protobuf.Timestamp.verify(e.submitTime))?"submitTime."+t:null!=e.endTime&&e.hasOwnProperty("endTime")&&(t=b.google.protobuf.Timestamp.verify(e.endTime))?"endTime."+t:null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.BatchOperationMetadata)return e;var t=new b.google.cloud.vision.v1.BatchOperationMetadata;switch(e.state){case"STATE_UNSPECIFIED":case 0:t.state=0;break;case"PROCESSING":case 1:t.state=1;break;case"SUCCESSFUL":case 2:t.state=2;break;case"FAILED":case 3:t.state=3;break;case"CANCELLED":case 4:t.state=4}if(null!=e.submitTime){if("object"!=typeof e.submitTime)throw TypeError(".google.cloud.vision.v1.BatchOperationMetadata.submitTime: object expected");t.submitTime=b.google.protobuf.Timestamp.fromObject(e.submitTime)}if(null!=e.endTime){if("object"!=typeof e.endTime)throw TypeError(".google.cloud.vision.v1.BatchOperationMetadata.endTime: object expected");t.endTime=b.google.protobuf.Timestamp.fromObject(e.endTime)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.state=t.enums===String?"STATE_UNSPECIFIED":0,n.submitTime=null,n.endTime=null),null!=e.state&&e.hasOwnProperty("state")&&(n.state=t.enums===String?b.google.cloud.vision.v1.BatchOperationMetadata.State[e.state]:e.state),null!=e.submitTime&&e.hasOwnProperty("submitTime")&&(n.submitTime=b.google.protobuf.Timestamp.toObject(e.submitTime,t)),null!=e.endTime&&e.hasOwnProperty("endTime")&&(n.endTime=b.google.protobuf.Timestamp.toObject(e.endTime,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.BatchOperationMetadata"},t.State=function(){var e={},t=Object.create(e);return t[e[0]="STATE_UNSPECIFIED"]=0,t[e[1]="PROCESSING"]=1,t[e[2]="SUCCESSFUL"]=2,t[e[3]="FAILED"]=3,t[e[4]="CANCELLED"]=4,t}(),t}(),o.ProductSetPurgeConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.productSetId=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.productSetId&&e.hasOwnProperty("productSetId")&&!v.isString(e.productSetId)?"productSetId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.ProductSetPurgeConfig)return e;var t=new b.google.cloud.vision.v1.ProductSetPurgeConfig;return null!=e.productSetId&&(t.productSetId=String(e.productSetId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.productSetId=""),null!=e.productSetId&&e.hasOwnProperty("productSetId")&&(n.productSetId=e.productSetId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.ProductSetPurgeConfig"},t}(),o.PurgeProductsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 2:o.productSetPurgeConfig=b.google.cloud.vision.v1.ProductSetPurgeConfig.decode(e,e.uint32());break;case 3:o.deleteOrphanProducts=e.bool();break;case 1:o.parent=e.string();break;case 4:o.force=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t={};if(null!=e.productSetPurgeConfig&&e.hasOwnProperty("productSetPurgeConfig")){t.target=1;var n=b.google.cloud.vision.v1.ProductSetPurgeConfig.verify(e.productSetPurgeConfig);if(n)return"productSetPurgeConfig."+n}if(null!=e.deleteOrphanProducts&&e.hasOwnProperty("deleteOrphanProducts")){if(1===t.target)return"target: multiple values";if(t.target=1,"boolean"!=typeof e.deleteOrphanProducts)return"deleteOrphanProducts: boolean expected"}return null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.force&&e.hasOwnProperty("force")&&"boolean"!=typeof e.force?"force: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.PurgeProductsRequest)return e;var t=new b.google.cloud.vision.v1.PurgeProductsRequest;if(null!=e.productSetPurgeConfig){if("object"!=typeof e.productSetPurgeConfig)throw TypeError(".google.cloud.vision.v1.PurgeProductsRequest.productSetPurgeConfig: object expected");t.productSetPurgeConfig=b.google.cloud.vision.v1.ProductSetPurgeConfig.fromObject(e.productSetPurgeConfig)}return null!=e.deleteOrphanProducts&&(t.deleteOrphanProducts=Boolean(e.deleteOrphanProducts)),null!=e.parent&&(t.parent=String(e.parent)),null!=e.force&&(t.force=Boolean(e.force)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.force=!1),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.productSetPurgeConfig&&e.hasOwnProperty("productSetPurgeConfig")&&(n.productSetPurgeConfig=b.google.cloud.vision.v1.ProductSetPurgeConfig.toObject(e.productSetPurgeConfig,t),t.oneofs&&(n.target="productSetPurgeConfig")),null!=e.deleteOrphanProducts&&e.hasOwnProperty("deleteOrphanProducts")&&(n.deleteOrphanProducts=e.deleteOrphanProducts,t.oneofs&&(n.target="deleteOrphanProducts")),null!=e.force&&e.hasOwnProperty("force")&&(n.force=e.force),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.PurgeProductsRequest"},t}(),o.TextAnnotation=function(){function t(e){if(this.pages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.pages&&o.pages.length||(o.pages=[]),o.pages.push(b.google.cloud.vision.v1.Page.decode(e,e.uint32()));break;case 2:o.text=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.pages&&e.hasOwnProperty("pages")){if(!Array.isArray(e.pages))return"pages: array expected";for(var t=0;t>>3){case 1:o.languageCode=e.string();break;case 2:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.TextAnnotation.DetectedLanguage)return e;var t=new b.google.cloud.vision.v1.TextAnnotation.DetectedLanguage;return null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.languageCode="",n.confidence=0),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.TextAnnotation.DetectedLanguage"},t}(),t.DetectedBreak=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.isPrefix=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&"boolean"!=typeof e.isPrefix?"isPrefix: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.TextAnnotation.DetectedBreak)return e;var t=new b.google.cloud.vision.v1.TextAnnotation.DetectedBreak;switch(e.type){case"UNKNOWN":case 0:t.type=0;break;case"SPACE":case 1:t.type=1;break;case"SURE_SPACE":case 2:t.type=2;break;case"EOL_SURE_SPACE":case 3:t.type=3;break;case"HYPHEN":case 4:t.type=4;break;case"LINE_BREAK":case 5:t.type=5}return null!=e.isPrefix&&(t.isPrefix=Boolean(e.isPrefix)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN":0,n.isPrefix=!1),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1.TextAnnotation.DetectedBreak.BreakType[e.type]:e.type),null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&(n.isPrefix=e.isPrefix),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.TextAnnotation.DetectedBreak"},t.BreakType=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="SPACE"]=1,t[e[2]="SURE_SPACE"]=2,t[e[3]="EOL_SURE_SPACE"]=3,t[e[4]="HYPHEN"]=4,t[e[5]="LINE_BREAK"]=5,t}(),t}(),t.TextProperty=function(){function t(e){if(this.detectedLanguages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.detectedLanguages&&o.detectedLanguages.length||(o.detectedLanguages=[]),o.detectedLanguages.push(b.google.cloud.vision.v1.TextAnnotation.DetectedLanguage.decode(e,e.uint32()));break;case 2:o.detectedBreak=b.google.cloud.vision.v1.TextAnnotation.DetectedBreak.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.detectedLanguages&&e.hasOwnProperty("detectedLanguages")){if(!Array.isArray(e.detectedLanguages))return"detectedLanguages: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.width=e.int32();break;case 3:o.height=e.int32();break;case 4:o.blocks&&o.blocks.length||(o.blocks=[]),o.blocks.push(b.google.cloud.vision.v1.Block.decode(e,e.uint32()));break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.width&&e.hasOwnProperty("width")&&!v.isInteger(e.width))return"width: integer expected";if(null!=e.height&&e.hasOwnProperty("height")&&!v.isInteger(e.height))return"height: integer expected";if(null!=e.blocks&&e.hasOwnProperty("blocks")){if(!Array.isArray(e.blocks))return"blocks: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 3:o.paragraphs&&o.paragraphs.length||(o.paragraphs=[]),o.paragraphs.push(b.google.cloud.vision.v1.Paragraph.decode(e,e.uint32()));break;case 4:o.blockType=e.int32();break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.paragraphs&&e.hasOwnProperty("paragraphs")){if(!Array.isArray(e.paragraphs))return"paragraphs: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 3:o.words&&o.words.length||(o.words=[]),o.words.push(b.google.cloud.vision.v1.Word.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.words&&e.hasOwnProperty("words")){if(!Array.isArray(e.words))return"words: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 3:o.symbols&&o.symbols.length||(o.symbols=[]),o.symbols.push(b.google.cloud.vision.v1.Symbol.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.symbols&&e.hasOwnProperty("symbols")){if(!Array.isArray(e.symbols))return"symbols: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1.BoundingPoly.decode(e,e.uint32());break;case 3:o.text=e.string();break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.property&&e.hasOwnProperty("property")&&(t=b.google.cloud.vision.v1.TextAnnotation.TextProperty.verify(e.property))?"property."+t:null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(t=b.google.cloud.vision.v1.BoundingPoly.verify(e.boundingBox))?"boundingBox."+t:null!=e.text&&e.hasOwnProperty("text")&&!v.isString(e.text)?"text: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.Symbol)return e;var t=new b.google.cloud.vision.v1.Symbol;if(null!=e.property){if("object"!=typeof e.property)throw TypeError(".google.cloud.vision.v1.Symbol.property: object expected");t.property=b.google.cloud.vision.v1.TextAnnotation.TextProperty.fromObject(e.property)}if(null!=e.boundingBox){if("object"!=typeof e.boundingBox)throw TypeError(".google.cloud.vision.v1.Symbol.boundingBox: object expected");t.boundingBox=b.google.cloud.vision.v1.BoundingPoly.fromObject(e.boundingBox)}return null!=e.text&&(t.text=String(e.text)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.property=null,n.boundingBox=null,n.text="",n.confidence=0),null!=e.property&&e.hasOwnProperty("property")&&(n.property=b.google.cloud.vision.v1.TextAnnotation.TextProperty.toObject(e.property,t)),null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n.boundingBox=b.google.cloud.vision.v1.BoundingPoly.toObject(e.boundingBox,t)),null!=e.text&&e.hasOwnProperty("text")&&(n.text=e.text),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.Symbol"},t}(),o.WebDetection=function(){function t(e){if(this.webEntities=[],this.fullMatchingImages=[],this.partialMatchingImages=[],this.pagesWithMatchingImages=[],this.visuallySimilarImages=[],this.bestGuessLabels=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.webEntities&&o.webEntities.length||(o.webEntities=[]),o.webEntities.push(b.google.cloud.vision.v1.WebDetection.WebEntity.decode(e,e.uint32()));break;case 2:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1.WebDetection.WebImage.decode(e,e.uint32()));break;case 3:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1.WebDetection.WebImage.decode(e,e.uint32()));break;case 4:o.pagesWithMatchingImages&&o.pagesWithMatchingImages.length||(o.pagesWithMatchingImages=[]),o.pagesWithMatchingImages.push(b.google.cloud.vision.v1.WebDetection.WebPage.decode(e,e.uint32()));break;case 6:o.visuallySimilarImages&&o.visuallySimilarImages.length||(o.visuallySimilarImages=[]),o.visuallySimilarImages.push(b.google.cloud.vision.v1.WebDetection.WebImage.decode(e,e.uint32()));break;case 8:o.bestGuessLabels&&o.bestGuessLabels.length||(o.bestGuessLabels=[]),o.bestGuessLabels.push(b.google.cloud.vision.v1.WebDetection.WebLabel.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.webEntities&&e.hasOwnProperty("webEntities")){if(!Array.isArray(e.webEntities))return"webEntities: array expected";for(var t=0;t>>3){case 1:o.entityId=e.string();break;case 2:o.score=e.float();break;case 3:o.description=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.entityId&&e.hasOwnProperty("entityId")&&!v.isString(e.entityId)?"entityId: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description)?"description: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.WebDetection.WebEntity)return e;var t=new b.google.cloud.vision.v1.WebDetection.WebEntity;return null!=e.entityId&&(t.entityId=String(e.entityId)),null!=e.score&&(t.score=Number(e.score)),null!=e.description&&(t.description=String(e.description)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.entityId="",n.score=0,n.description=""),null!=e.entityId&&e.hasOwnProperty("entityId")&&(n.entityId=e.entityId),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.description&&e.hasOwnProperty("description")&&(n.description=e.description),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.WebDetection.WebEntity"},t}(),t.WebImage=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url)?"url: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.WebDetection.WebImage)return e;var t=new b.google.cloud.vision.v1.WebDetection.WebImage;return null!=e.url&&(t.url=String(e.url)),null!=e.score&&(t.score=Number(e.score)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.url="",n.score=0),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.WebDetection.WebImage"},t}(),t.WebPage=function(){function t(e){if(this.fullMatchingImages=[],this.partialMatchingImages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;case 3:o.pageTitle=e.string();break;case 4:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1.WebDetection.WebImage.decode(e,e.uint32()));break;case 5:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1.WebDetection.WebImage.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url))return"url: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.pageTitle&&e.hasOwnProperty("pageTitle")&&!v.isString(e.pageTitle))return"pageTitle: string expected";if(null!=e.fullMatchingImages&&e.hasOwnProperty("fullMatchingImages")){if(!Array.isArray(e.fullMatchingImages))return"fullMatchingImages: array expected";for(var t=0;t>>3){case 1:o.label=e.string();break;case 2:o.languageCode=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.label&&e.hasOwnProperty("label")&&!v.isString(e.label)?"label: string expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1.WebDetection.WebLabel)return e;var t=new b.google.cloud.vision.v1.WebDetection.WebLabel;return null!=e.label&&(t.label=String(e.label)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.label="",n.languageCode=""),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1.WebDetection.WebLabel"},t}(),t}(),o),l.v1p1beta1=((r={}).Vertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.int32();break;case 2:o.y=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&!v.isInteger(e.x)?"x: integer expected":null!=e.y&&e.hasOwnProperty("y")&&!v.isInteger(e.y)?"y: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.Vertex)return e;var t=new b.google.cloud.vision.v1p1beta1.Vertex;return null!=e.x&&(t.x=0|e.x),null!=e.y&&(t.y=0|e.y),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.Vertex"},t}(),r.BoundingPoly=function(){function t(e){if(this.vertices=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.vertices&&o.vertices.length||(o.vertices=[]),o.vertices.push(b.google.cloud.vision.v1p1beta1.Vertex.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.vertices&&e.hasOwnProperty("vertices")){if(!Array.isArray(e.vertices))return"vertices: array expected";for(var t=0;t>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;case 3:o.z=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null!=e.z&&e.hasOwnProperty("z")&&"number"!=typeof e.z?"z: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.Position)return e;var t=new b.google.cloud.vision.v1p1beta1.Position;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),null!=e.z&&(t.z=Number(e.z)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0,n.z=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),null!=e.z&&e.hasOwnProperty("z")&&(n.z=t.json&&!isFinite(e.z)?String(e.z):e.z),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.Position"},t}(),r.ImageAnnotator=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.batchAnnotateImages=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p1beta1.BatchAnnotateImagesRequest,b.google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponse,t,n)},"name",{value:"BatchAnnotateImages"}),t}(),r.Feature=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.maxResults=e.int32();break;case 3:o.model=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 11:case 6:case 7:case 9:case 10:}return null!=e.maxResults&&e.hasOwnProperty("maxResults")&&!v.isInteger(e.maxResults)?"maxResults: integer expected":null!=e.model&&e.hasOwnProperty("model")&&!v.isString(e.model)?"model: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.Feature)return e;var t=new b.google.cloud.vision.v1p1beta1.Feature;switch(e.type){case"TYPE_UNSPECIFIED":case 0:t.type=0;break;case"FACE_DETECTION":case 1:t.type=1;break;case"LANDMARK_DETECTION":case 2:t.type=2;break;case"LOGO_DETECTION":case 3:t.type=3;break;case"LABEL_DETECTION":case 4:t.type=4;break;case"TEXT_DETECTION":case 5:t.type=5;break;case"DOCUMENT_TEXT_DETECTION":case 11:t.type=11;break;case"SAFE_SEARCH_DETECTION":case 6:t.type=6;break;case"IMAGE_PROPERTIES":case 7:t.type=7;break;case"CROP_HINTS":case 9:t.type=9;break;case"WEB_DETECTION":case 10:t.type=10}return null!=e.maxResults&&(t.maxResults=0|e.maxResults),null!=e.model&&(t.model=String(e.model)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"TYPE_UNSPECIFIED":0,n.maxResults=0,n.model=""),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p1beta1.Feature.Type[e.type]:e.type),null!=e.maxResults&&e.hasOwnProperty("maxResults")&&(n.maxResults=e.maxResults),null!=e.model&&e.hasOwnProperty("model")&&(n.model=e.model),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.Feature"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="TYPE_UNSPECIFIED"]=0,t[e[1]="FACE_DETECTION"]=1,t[e[2]="LANDMARK_DETECTION"]=2,t[e[3]="LOGO_DETECTION"]=3,t[e[4]="LABEL_DETECTION"]=4,t[e[5]="TEXT_DETECTION"]=5,t[e[11]="DOCUMENT_TEXT_DETECTION"]=11,t[e[6]="SAFE_SEARCH_DETECTION"]=6,t[e[7]="IMAGE_PROPERTIES"]=7,t[e[9]="CROP_HINTS"]=9,t[e[10]="WEB_DETECTION"]=10,t}(),t}(),r.ImageSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsImageUri=e.string();break;case 2:o.imageUri=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&!v.isString(e.gcsImageUri)?"gcsImageUri: string expected":null!=e.imageUri&&e.hasOwnProperty("imageUri")&&!v.isString(e.imageUri)?"imageUri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.ImageSource)return e;var t=new b.google.cloud.vision.v1p1beta1.ImageSource;return null!=e.gcsImageUri&&(t.gcsImageUri=String(e.gcsImageUri)),null!=e.imageUri&&(t.imageUri=String(e.imageUri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsImageUri="",n.imageUri=""),null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&(n.gcsImageUri=e.gcsImageUri),null!=e.imageUri&&e.hasOwnProperty("imageUri")&&(n.imageUri=e.imageUri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.ImageSource"},t}(),r.Image=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.content=e.bytes();break;case 2:o.source=b.google.cloud.vision.v1p1beta1.ImageSource.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.content&&e.hasOwnProperty("content")&&!(e.content&&"number"==typeof e.content.length||v.isString(e.content)))return"content: buffer expected";if(null!=e.source&&e.hasOwnProperty("source")){var t=b.google.cloud.vision.v1p1beta1.ImageSource.verify(e.source);if(t)return"source."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.Image)return e;var t=new b.google.cloud.vision.v1p1beta1.Image;if(null!=e.content&&("string"==typeof e.content?v.base64.decode(e.content,t.content=v.newBuffer(v.base64.length(e.content)),0):e.content.length>=0&&(t.content=e.content)),null!=e.source){if("object"!=typeof e.source)throw TypeError(".google.cloud.vision.v1p1beta1.Image.source: object expected");t.source=b.google.cloud.vision.v1p1beta1.ImageSource.fromObject(e.source)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.content="":(n.content=[],t.bytes!==Array&&(n.content=v.newBuffer(n.content))),n.source=null),null!=e.content&&e.hasOwnProperty("content")&&(n.content=t.bytes===String?v.base64.encode(e.content,0,e.content.length):t.bytes===Array?Array.prototype.slice.call(e.content):e.content),null!=e.source&&e.hasOwnProperty("source")&&(n.source=b.google.cloud.vision.v1p1beta1.ImageSource.toObject(e.source,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.Image"},t}(),r.FaceAnnotation=function(){function t(e){if(this.landmarks=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p1beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.fdBoundingPoly=b.google.cloud.vision.v1p1beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.landmarks&&o.landmarks.length||(o.landmarks=[]),o.landmarks.push(b.google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark.decode(e,e.uint32()));break;case 4:o.rollAngle=e.float();break;case 5:o.panAngle=e.float();break;case 6:o.tiltAngle=e.float();break;case 7:o.detectionConfidence=e.float();break;case 8:o.landmarkingConfidence=e.float();break;case 9:o.joyLikelihood=e.int32();break;case 10:o.sorrowLikelihood=e.int32();break;case 11:o.angerLikelihood=e.int32();break;case 12:o.surpriseLikelihood=e.int32();break;case 13:o.underExposedLikelihood=e.int32();break;case 14:o.blurredLikelihood=e.int32();break;case 15:o.headwearLikelihood=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p1beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.fdBoundingPoly&&e.hasOwnProperty("fdBoundingPoly")&&(n=b.google.cloud.vision.v1p1beta1.BoundingPoly.verify(e.fdBoundingPoly)))return"fdBoundingPoly."+n;if(null!=e.landmarks&&e.hasOwnProperty("landmarks")){if(!Array.isArray(e.landmarks))return"landmarks: array expected";for(var t=0;t>>3){case 3:o.type=e.int32();break;case 4:o.position=b.google.cloud.vision.v1p1beta1.Position.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:}if(null!=e.position&&e.hasOwnProperty("position")){var t=b.google.cloud.vision.v1p1beta1.Position.verify(e.position);if(t)return"position."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark)return e;var t=new b.google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark;switch(e.type){case"UNKNOWN_LANDMARK":case 0:t.type=0;break;case"LEFT_EYE":case 1:t.type=1;break;case"RIGHT_EYE":case 2:t.type=2;break;case"LEFT_OF_LEFT_EYEBROW":case 3:t.type=3;break;case"RIGHT_OF_LEFT_EYEBROW":case 4:t.type=4;break;case"LEFT_OF_RIGHT_EYEBROW":case 5:t.type=5;break;case"RIGHT_OF_RIGHT_EYEBROW":case 6:t.type=6;break;case"MIDPOINT_BETWEEN_EYES":case 7:t.type=7;break;case"NOSE_TIP":case 8:t.type=8;break;case"UPPER_LIP":case 9:t.type=9;break;case"LOWER_LIP":case 10:t.type=10;break;case"MOUTH_LEFT":case 11:t.type=11;break;case"MOUTH_RIGHT":case 12:t.type=12;break;case"MOUTH_CENTER":case 13:t.type=13;break;case"NOSE_BOTTOM_RIGHT":case 14:t.type=14;break;case"NOSE_BOTTOM_LEFT":case 15:t.type=15;break;case"NOSE_BOTTOM_CENTER":case 16:t.type=16;break;case"LEFT_EYE_TOP_BOUNDARY":case 17:t.type=17;break;case"LEFT_EYE_RIGHT_CORNER":case 18:t.type=18;break;case"LEFT_EYE_BOTTOM_BOUNDARY":case 19:t.type=19;break;case"LEFT_EYE_LEFT_CORNER":case 20:t.type=20;break;case"RIGHT_EYE_TOP_BOUNDARY":case 21:t.type=21;break;case"RIGHT_EYE_RIGHT_CORNER":case 22:t.type=22;break;case"RIGHT_EYE_BOTTOM_BOUNDARY":case 23:t.type=23;break;case"RIGHT_EYE_LEFT_CORNER":case 24:t.type=24;break;case"LEFT_EYEBROW_UPPER_MIDPOINT":case 25:t.type=25;break;case"RIGHT_EYEBROW_UPPER_MIDPOINT":case 26:t.type=26;break;case"LEFT_EAR_TRAGION":case 27:t.type=27;break;case"RIGHT_EAR_TRAGION":case 28:t.type=28;break;case"LEFT_EYE_PUPIL":case 29:t.type=29;break;case"RIGHT_EYE_PUPIL":case 30:t.type=30;break;case"FOREHEAD_GLABELLA":case 31:t.type=31;break;case"CHIN_GNATHION":case 32:t.type=32;break;case"CHIN_LEFT_GONION":case 33:t.type=33;break;case"CHIN_RIGHT_GONION":case 34:t.type=34}if(null!=e.position){if("object"!=typeof e.position)throw TypeError(".google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark.position: object expected");t.position=b.google.cloud.vision.v1p1beta1.Position.fromObject(e.position)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN_LANDMARK":0,n.position=null),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark.Type[e.type]:e.type),null!=e.position&&e.hasOwnProperty("position")&&(n.position=b.google.cloud.vision.v1p1beta1.Position.toObject(e.position,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN_LANDMARK"]=0,t[e[1]="LEFT_EYE"]=1,t[e[2]="RIGHT_EYE"]=2,t[e[3]="LEFT_OF_LEFT_EYEBROW"]=3,t[e[4]="RIGHT_OF_LEFT_EYEBROW"]=4,t[e[5]="LEFT_OF_RIGHT_EYEBROW"]=5,t[e[6]="RIGHT_OF_RIGHT_EYEBROW"]=6,t[e[7]="MIDPOINT_BETWEEN_EYES"]=7,t[e[8]="NOSE_TIP"]=8,t[e[9]="UPPER_LIP"]=9,t[e[10]="LOWER_LIP"]=10,t[e[11]="MOUTH_LEFT"]=11,t[e[12]="MOUTH_RIGHT"]=12,t[e[13]="MOUTH_CENTER"]=13,t[e[14]="NOSE_BOTTOM_RIGHT"]=14,t[e[15]="NOSE_BOTTOM_LEFT"]=15,t[e[16]="NOSE_BOTTOM_CENTER"]=16,t[e[17]="LEFT_EYE_TOP_BOUNDARY"]=17,t[e[18]="LEFT_EYE_RIGHT_CORNER"]=18,t[e[19]="LEFT_EYE_BOTTOM_BOUNDARY"]=19,t[e[20]="LEFT_EYE_LEFT_CORNER"]=20,t[e[21]="RIGHT_EYE_TOP_BOUNDARY"]=21,t[e[22]="RIGHT_EYE_RIGHT_CORNER"]=22,t[e[23]="RIGHT_EYE_BOTTOM_BOUNDARY"]=23,t[e[24]="RIGHT_EYE_LEFT_CORNER"]=24,t[e[25]="LEFT_EYEBROW_UPPER_MIDPOINT"]=25,t[e[26]="RIGHT_EYEBROW_UPPER_MIDPOINT"]=26,t[e[27]="LEFT_EAR_TRAGION"]=27,t[e[28]="RIGHT_EAR_TRAGION"]=28,t[e[29]="LEFT_EYE_PUPIL"]=29,t[e[30]="RIGHT_EYE_PUPIL"]=30,t[e[31]="FOREHEAD_GLABELLA"]=31,t[e[32]="CHIN_GNATHION"]=32,t[e[33]="CHIN_LEFT_GONION"]=33,t[e[34]="CHIN_RIGHT_GONION"]=34,t}(),t}(),t}(),r.LocationInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.latLng=b.google.type.LatLng.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.latLng&&e.hasOwnProperty("latLng")){var t=b.google.type.LatLng.verify(e.latLng);if(t)return"latLng."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.LocationInfo)return e;var t=new b.google.cloud.vision.v1p1beta1.LocationInfo;if(null!=e.latLng){if("object"!=typeof e.latLng)throw TypeError(".google.cloud.vision.v1p1beta1.LocationInfo.latLng: object expected");t.latLng=b.google.type.LatLng.fromObject(e.latLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.latLng=null),null!=e.latLng&&e.hasOwnProperty("latLng")&&(n.latLng=b.google.type.LatLng.toObject(e.latLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.LocationInfo"},t}(),r.Property=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value=e.string();break;case 3:o.uint64Value=e.uint64();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&!(v.isInteger(e.uint64Value)||e.uint64Value&&v.isInteger(e.uint64Value.low)&&v.isInteger(e.uint64Value.high))?"uint64Value: integer|Long expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.Property)return e;var t=new b.google.cloud.vision.v1p1beta1.Property;return null!=e.name&&(t.name=String(e.name)),null!=e.value&&(t.value=String(e.value)),null!=e.uint64Value&&(v.Long?(t.uint64Value=v.Long.fromValue(e.uint64Value)).unsigned=!0:"string"==typeof e.uint64Value?t.uint64Value=parseInt(e.uint64Value,10):"number"==typeof e.uint64Value?t.uint64Value=e.uint64Value:"object"==typeof e.uint64Value&&(t.uint64Value=new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0))),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(n.name="",n.value="",v.Long){var o=new v.Long(0,0,!0);n.uint64Value=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.uint64Value=t.longs===String?"0":0;return null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&("number"==typeof e.uint64Value?n.uint64Value=t.longs===String?String(e.uint64Value):e.uint64Value:n.uint64Value=t.longs===String?v.Long.prototype.toString.call(e.uint64Value):t.longs===Number?new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0):e.uint64Value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.Property"},t}(),r.EntityAnnotation=function(){function t(e){if(this.locations=[],this.properties=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.mid=e.string();break;case 2:o.locale=e.string();break;case 3:o.description=e.string();break;case 4:o.score=e.float();break;case 5:o.confidence=e.float();break;case 6:o.topicality=e.float();break;case 7:o.boundingPoly=b.google.cloud.vision.v1p1beta1.BoundingPoly.decode(e,e.uint32());break;case 8:o.locations&&o.locations.length||(o.locations=[]),o.locations.push(b.google.cloud.vision.v1p1beta1.LocationInfo.decode(e,e.uint32()));break;case 9:o.properties&&o.properties.length||(o.properties=[]),o.properties.push(b.google.cloud.vision.v1p1beta1.Property.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid))return"mid: string expected";if(null!=e.locale&&e.hasOwnProperty("locale")&&!v.isString(e.locale))return"locale: string expected";if(null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description))return"description: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence)return"confidence: number expected";if(null!=e.topicality&&e.hasOwnProperty("topicality")&&"number"!=typeof e.topicality)return"topicality: number expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p1beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.locations&&e.hasOwnProperty("locations")){if(!Array.isArray(e.locations))return"locations: array expected";for(var t=0;t>>3){case 1:o.adult=e.int32();break;case 2:o.spoof=e.int32();break;case 3:o.medical=e.int32();break;case 4:o.violence=e.int32();break;case 9:o.racy=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.adult&&e.hasOwnProperty("adult"))switch(e.adult){default:return"adult: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.spoof&&e.hasOwnProperty("spoof"))switch(e.spoof){default:return"spoof: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.medical&&e.hasOwnProperty("medical"))switch(e.medical){default:return"medical: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.violence&&e.hasOwnProperty("violence"))switch(e.violence){default:return"violence: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.racy&&e.hasOwnProperty("racy"))switch(e.racy){default:return"racy: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.SafeSearchAnnotation)return e;var t=new b.google.cloud.vision.v1p1beta1.SafeSearchAnnotation;switch(e.adult){case"UNKNOWN":case 0:t.adult=0;break;case"VERY_UNLIKELY":case 1:t.adult=1;break;case"UNLIKELY":case 2:t.adult=2;break;case"POSSIBLE":case 3:t.adult=3;break;case"LIKELY":case 4:t.adult=4;break;case"VERY_LIKELY":case 5:t.adult=5}switch(e.spoof){case"UNKNOWN":case 0:t.spoof=0;break;case"VERY_UNLIKELY":case 1:t.spoof=1;break;case"UNLIKELY":case 2:t.spoof=2;break;case"POSSIBLE":case 3:t.spoof=3;break;case"LIKELY":case 4:t.spoof=4;break;case"VERY_LIKELY":case 5:t.spoof=5}switch(e.medical){case"UNKNOWN":case 0:t.medical=0;break;case"VERY_UNLIKELY":case 1:t.medical=1;break;case"UNLIKELY":case 2:t.medical=2;break;case"POSSIBLE":case 3:t.medical=3;break;case"LIKELY":case 4:t.medical=4;break;case"VERY_LIKELY":case 5:t.medical=5}switch(e.violence){case"UNKNOWN":case 0:t.violence=0;break;case"VERY_UNLIKELY":case 1:t.violence=1;break;case"UNLIKELY":case 2:t.violence=2;break;case"POSSIBLE":case 3:t.violence=3;break;case"LIKELY":case 4:t.violence=4;break;case"VERY_LIKELY":case 5:t.violence=5}switch(e.racy){case"UNKNOWN":case 0:t.racy=0;break;case"VERY_UNLIKELY":case 1:t.racy=1;break;case"UNLIKELY":case 2:t.racy=2;break;case"POSSIBLE":case 3:t.racy=3;break;case"LIKELY":case 4:t.racy=4;break;case"VERY_LIKELY":case 5:t.racy=5}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.adult=t.enums===String?"UNKNOWN":0,n.spoof=t.enums===String?"UNKNOWN":0,n.medical=t.enums===String?"UNKNOWN":0,n.violence=t.enums===String?"UNKNOWN":0,n.racy=t.enums===String?"UNKNOWN":0),null!=e.adult&&e.hasOwnProperty("adult")&&(n.adult=t.enums===String?b.google.cloud.vision.v1p1beta1.Likelihood[e.adult]:e.adult),null!=e.spoof&&e.hasOwnProperty("spoof")&&(n.spoof=t.enums===String?b.google.cloud.vision.v1p1beta1.Likelihood[e.spoof]:e.spoof),null!=e.medical&&e.hasOwnProperty("medical")&&(n.medical=t.enums===String?b.google.cloud.vision.v1p1beta1.Likelihood[e.medical]:e.medical),null!=e.violence&&e.hasOwnProperty("violence")&&(n.violence=t.enums===String?b.google.cloud.vision.v1p1beta1.Likelihood[e.violence]:e.violence),null!=e.racy&&e.hasOwnProperty("racy")&&(n.racy=t.enums===String?b.google.cloud.vision.v1p1beta1.Likelihood[e.racy]:e.racy),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.SafeSearchAnnotation"},t}(),r.LatLongRect=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.minLatLng=b.google.type.LatLng.decode(e,e.uint32());break;case 2:o.maxLatLng=b.google.type.LatLng.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(t=b.google.type.LatLng.verify(e.minLatLng))?"minLatLng."+t:null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(t=b.google.type.LatLng.verify(e.maxLatLng))?"maxLatLng."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.LatLongRect)return e;var t=new b.google.cloud.vision.v1p1beta1.LatLongRect;if(null!=e.minLatLng){if("object"!=typeof e.minLatLng)throw TypeError(".google.cloud.vision.v1p1beta1.LatLongRect.minLatLng: object expected");t.minLatLng=b.google.type.LatLng.fromObject(e.minLatLng)}if(null!=e.maxLatLng){if("object"!=typeof e.maxLatLng)throw TypeError(".google.cloud.vision.v1p1beta1.LatLongRect.maxLatLng: object expected");t.maxLatLng=b.google.type.LatLng.fromObject(e.maxLatLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.minLatLng=null,n.maxLatLng=null),null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(n.minLatLng=b.google.type.LatLng.toObject(e.minLatLng,t)),null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(n.maxLatLng=b.google.type.LatLng.toObject(e.maxLatLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.LatLongRect"},t}(),r.ColorInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.color=b.google.type.Color.decode(e,e.uint32());break;case 2:o.score=e.float();break;case 3:o.pixelFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.color&&e.hasOwnProperty("color")){var t=b.google.type.Color.verify(e.color);if(t)return"color."+t}return null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&"number"!=typeof e.pixelFraction?"pixelFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.ColorInfo)return e;var t=new b.google.cloud.vision.v1p1beta1.ColorInfo;if(null!=e.color){if("object"!=typeof e.color)throw TypeError(".google.cloud.vision.v1p1beta1.ColorInfo.color: object expected");t.color=b.google.type.Color.fromObject(e.color)}return null!=e.score&&(t.score=Number(e.score)),null!=e.pixelFraction&&(t.pixelFraction=Number(e.pixelFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.color=null,n.score=0,n.pixelFraction=0),null!=e.color&&e.hasOwnProperty("color")&&(n.color=b.google.type.Color.toObject(e.color,t)),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&(n.pixelFraction=t.json&&!isFinite(e.pixelFraction)?String(e.pixelFraction):e.pixelFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.ColorInfo"},t}(),r.DominantColorsAnnotation=function(){function t(e){if(this.colors=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.colors&&o.colors.length||(o.colors=[]),o.colors.push(b.google.cloud.vision.v1p1beta1.ColorInfo.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.colors&&e.hasOwnProperty("colors")){if(!Array.isArray(e.colors))return"colors: array expected";for(var t=0;t>>3==1?o.dominantColors=b.google.cloud.vision.v1p1beta1.DominantColorsAnnotation.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.dominantColors&&e.hasOwnProperty("dominantColors")){var t=b.google.cloud.vision.v1p1beta1.DominantColorsAnnotation.verify(e.dominantColors);if(t)return"dominantColors."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.ImageProperties)return e;var t=new b.google.cloud.vision.v1p1beta1.ImageProperties;if(null!=e.dominantColors){if("object"!=typeof e.dominantColors)throw TypeError(".google.cloud.vision.v1p1beta1.ImageProperties.dominantColors: object expected");t.dominantColors=b.google.cloud.vision.v1p1beta1.DominantColorsAnnotation.fromObject(e.dominantColors)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.dominantColors=null),null!=e.dominantColors&&e.hasOwnProperty("dominantColors")&&(n.dominantColors=b.google.cloud.vision.v1p1beta1.DominantColorsAnnotation.toObject(e.dominantColors,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.ImageProperties"},t}(),r.CropHint=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p1beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.confidence=e.float();break;case 3:o.importanceFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1p1beta1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}return null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&"number"!=typeof e.importanceFraction?"importanceFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.CropHint)return e;var t=new b.google.cloud.vision.v1p1beta1.CropHint;if(null!=e.boundingPoly){if("object"!=typeof e.boundingPoly)throw TypeError(".google.cloud.vision.v1p1beta1.CropHint.boundingPoly: object expected");t.boundingPoly=b.google.cloud.vision.v1p1beta1.BoundingPoly.fromObject(e.boundingPoly)}return null!=e.confidence&&(t.confidence=Number(e.confidence)),null!=e.importanceFraction&&(t.importanceFraction=Number(e.importanceFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.boundingPoly=null,n.confidence=0,n.importanceFraction=0),null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n.boundingPoly=b.google.cloud.vision.v1p1beta1.BoundingPoly.toObject(e.boundingPoly,t)),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&(n.importanceFraction=t.json&&!isFinite(e.importanceFraction)?String(e.importanceFraction):e.importanceFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.CropHint"},t}(),r.CropHintsAnnotation=function(){function t(e){if(this.cropHints=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.cropHints&&o.cropHints.length||(o.cropHints=[]),o.cropHints.push(b.google.cloud.vision.v1p1beta1.CropHint.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.cropHints&&e.hasOwnProperty("cropHints")){if(!Array.isArray(e.cropHints))return"cropHints: array expected";for(var t=0;t>>3==1)if(o.aspectRatios&&o.aspectRatios.length||(o.aspectRatios=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==2?o.includeGeoResults=e.bool():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&"boolean"!=typeof e.includeGeoResults?"includeGeoResults: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.WebDetectionParams)return e;var t=new b.google.cloud.vision.v1p1beta1.WebDetectionParams;return null!=e.includeGeoResults&&(t.includeGeoResults=Boolean(e.includeGeoResults)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.includeGeoResults=!1),null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&(n.includeGeoResults=e.includeGeoResults),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.WebDetectionParams"},t}(),r.TextDetectionParams=function(){function t(e){if(this.advancedOcrOptions=[],e)for(var t=Object.keys(e),n=0;n>>3){case 9:o.enableTextDetectionConfidenceScore=e.bool();break;case 11:o.advancedOcrOptions&&o.advancedOcrOptions.length||(o.advancedOcrOptions=[]),o.advancedOcrOptions.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.enableTextDetectionConfidenceScore&&e.hasOwnProperty("enableTextDetectionConfidenceScore")&&"boolean"!=typeof e.enableTextDetectionConfidenceScore)return"enableTextDetectionConfidenceScore: boolean expected";if(null!=e.advancedOcrOptions&&e.hasOwnProperty("advancedOcrOptions")){if(!Array.isArray(e.advancedOcrOptions))return"advancedOcrOptions: array expected";for(var t=0;t>>3){case 1:o.latLongRect=b.google.cloud.vision.v1p1beta1.LatLongRect.decode(e,e.uint32());break;case 2:o.languageHints&&o.languageHints.length||(o.languageHints=[]),o.languageHints.push(e.string());break;case 4:o.cropHintsParams=b.google.cloud.vision.v1p1beta1.CropHintsParams.decode(e,e.uint32());break;case 6:o.webDetectionParams=b.google.cloud.vision.v1p1beta1.WebDetectionParams.decode(e,e.uint32());break;case 12:o.textDetectionParams=b.google.cloud.vision.v1p1beta1.TextDetectionParams.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t;if(null!=e.latLongRect&&e.hasOwnProperty("latLongRect")&&(t=b.google.cloud.vision.v1p1beta1.LatLongRect.verify(e.latLongRect)))return"latLongRect."+t;if(null!=e.languageHints&&e.hasOwnProperty("languageHints")){if(!Array.isArray(e.languageHints))return"languageHints: array expected";for(var n=0;n>>3){case 1:o.image=b.google.cloud.vision.v1p1beta1.Image.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1p1beta1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1p1beta1.ImageContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.image&&e.hasOwnProperty("image")&&(n=b.google.cloud.vision.v1p1beta1.Image.verify(e.image)))return"image."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3){case 1:o.faceAnnotations&&o.faceAnnotations.length||(o.faceAnnotations=[]),o.faceAnnotations.push(b.google.cloud.vision.v1p1beta1.FaceAnnotation.decode(e,e.uint32()));break;case 2:o.landmarkAnnotations&&o.landmarkAnnotations.length||(o.landmarkAnnotations=[]),o.landmarkAnnotations.push(b.google.cloud.vision.v1p1beta1.EntityAnnotation.decode(e,e.uint32()));break;case 3:o.logoAnnotations&&o.logoAnnotations.length||(o.logoAnnotations=[]),o.logoAnnotations.push(b.google.cloud.vision.v1p1beta1.EntityAnnotation.decode(e,e.uint32()));break;case 4:o.labelAnnotations&&o.labelAnnotations.length||(o.labelAnnotations=[]),o.labelAnnotations.push(b.google.cloud.vision.v1p1beta1.EntityAnnotation.decode(e,e.uint32()));break;case 5:o.textAnnotations&&o.textAnnotations.length||(o.textAnnotations=[]),o.textAnnotations.push(b.google.cloud.vision.v1p1beta1.EntityAnnotation.decode(e,e.uint32()));break;case 12:o.fullTextAnnotation=b.google.cloud.vision.v1p1beta1.TextAnnotation.decode(e,e.uint32());break;case 6:o.safeSearchAnnotation=b.google.cloud.vision.v1p1beta1.SafeSearchAnnotation.decode(e,e.uint32());break;case 8:o.imagePropertiesAnnotation=b.google.cloud.vision.v1p1beta1.ImageProperties.decode(e,e.uint32());break;case 11:o.cropHintsAnnotation=b.google.cloud.vision.v1p1beta1.CropHintsAnnotation.decode(e,e.uint32());break;case 13:o.webDetection=b.google.cloud.vision.v1p1beta1.WebDetection.decode(e,e.uint32());break;case 9:o.error=b.google.rpc.Status.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.faceAnnotations&&e.hasOwnProperty("faceAnnotations")){if(!Array.isArray(e.faceAnnotations))return"faceAnnotations: array expected";for(var t=0;t>>3==1?(o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p1beta1.AnnotateImageRequest.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p1beta1.AnnotateImageResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.pages&&o.pages.length||(o.pages=[]),o.pages.push(b.google.cloud.vision.v1p1beta1.Page.decode(e,e.uint32()));break;case 2:o.text=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.pages&&e.hasOwnProperty("pages")){if(!Array.isArray(e.pages))return"pages: array expected";for(var t=0;t>>3){case 1:o.languageCode=e.string();break;case 2:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage)return e;var t=new b.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage;return null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.languageCode="",n.confidence=0),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage"},t}(),t.DetectedBreak=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.isPrefix=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&"boolean"!=typeof e.isPrefix?"isPrefix: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak)return e;var t=new b.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak;switch(e.type){case"UNKNOWN":case 0:t.type=0;break;case"SPACE":case 1:t.type=1;break;case"SURE_SPACE":case 2:t.type=2;break;case"EOL_SURE_SPACE":case 3:t.type=3;break;case"HYPHEN":case 4:t.type=4;break;case"LINE_BREAK":case 5:t.type=5}return null!=e.isPrefix&&(t.isPrefix=Boolean(e.isPrefix)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN":0,n.isPrefix=!1),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak.BreakType[e.type]:e.type),null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&(n.isPrefix=e.isPrefix),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak"},t.BreakType=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="SPACE"]=1,t[e[2]="SURE_SPACE"]=2,t[e[3]="EOL_SURE_SPACE"]=3,t[e[4]="HYPHEN"]=4,t[e[5]="LINE_BREAK"]=5,t}(),t}(),t.TextProperty=function(){function t(e){if(this.detectedLanguages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.detectedLanguages&&o.detectedLanguages.length||(o.detectedLanguages=[]),o.detectedLanguages.push(b.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage.decode(e,e.uint32()));break;case 2:o.detectedBreak=b.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.detectedLanguages&&e.hasOwnProperty("detectedLanguages")){if(!Array.isArray(e.detectedLanguages))return"detectedLanguages: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.width=e.int32();break;case 3:o.height=e.int32();break;case 4:o.blocks&&o.blocks.length||(o.blocks=[]),o.blocks.push(b.google.cloud.vision.v1p1beta1.Block.decode(e,e.uint32()));break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.width&&e.hasOwnProperty("width")&&!v.isInteger(e.width))return"width: integer expected";if(null!=e.height&&e.hasOwnProperty("height")&&!v.isInteger(e.height))return"height: integer expected";if(null!=e.blocks&&e.hasOwnProperty("blocks")){if(!Array.isArray(e.blocks))return"blocks: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p1beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.paragraphs&&o.paragraphs.length||(o.paragraphs=[]),o.paragraphs.push(b.google.cloud.vision.v1p1beta1.Paragraph.decode(e,e.uint32()));break;case 4:o.blockType=e.int32();break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p1beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.paragraphs&&e.hasOwnProperty("paragraphs")){if(!Array.isArray(e.paragraphs))return"paragraphs: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p1beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.words&&o.words.length||(o.words=[]),o.words.push(b.google.cloud.vision.v1p1beta1.Word.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p1beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.words&&e.hasOwnProperty("words")){if(!Array.isArray(e.words))return"words: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p1beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.symbols&&o.symbols.length||(o.symbols=[]),o.symbols.push(b.google.cloud.vision.v1p1beta1.Symbol.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p1beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.symbols&&e.hasOwnProperty("symbols")){if(!Array.isArray(e.symbols))return"symbols: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p1beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.text=e.string();break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.property&&e.hasOwnProperty("property")&&(t=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.verify(e.property))?"property."+t:null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(t=b.google.cloud.vision.v1p1beta1.BoundingPoly.verify(e.boundingBox))?"boundingBox."+t:null!=e.text&&e.hasOwnProperty("text")&&!v.isString(e.text)?"text: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.Symbol)return e;var t=new b.google.cloud.vision.v1p1beta1.Symbol;if(null!=e.property){if("object"!=typeof e.property)throw TypeError(".google.cloud.vision.v1p1beta1.Symbol.property: object expected");t.property=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.fromObject(e.property)}if(null!=e.boundingBox){if("object"!=typeof e.boundingBox)throw TypeError(".google.cloud.vision.v1p1beta1.Symbol.boundingBox: object expected");t.boundingBox=b.google.cloud.vision.v1p1beta1.BoundingPoly.fromObject(e.boundingBox)}return null!=e.text&&(t.text=String(e.text)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.property=null,n.boundingBox=null,n.text="",n.confidence=0),null!=e.property&&e.hasOwnProperty("property")&&(n.property=b.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.toObject(e.property,t)),null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n.boundingBox=b.google.cloud.vision.v1p1beta1.BoundingPoly.toObject(e.boundingBox,t)),null!=e.text&&e.hasOwnProperty("text")&&(n.text=e.text),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.Symbol"},t}(),r.WebDetection=function(){function t(e){if(this.webEntities=[],this.fullMatchingImages=[],this.partialMatchingImages=[],this.pagesWithMatchingImages=[],this.visuallySimilarImages=[],this.bestGuessLabels=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.webEntities&&o.webEntities.length||(o.webEntities=[]),o.webEntities.push(b.google.cloud.vision.v1p1beta1.WebDetection.WebEntity.decode(e,e.uint32()));break;case 2:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1p1beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 3:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1p1beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 4:o.pagesWithMatchingImages&&o.pagesWithMatchingImages.length||(o.pagesWithMatchingImages=[]),o.pagesWithMatchingImages.push(b.google.cloud.vision.v1p1beta1.WebDetection.WebPage.decode(e,e.uint32()));break;case 6:o.visuallySimilarImages&&o.visuallySimilarImages.length||(o.visuallySimilarImages=[]),o.visuallySimilarImages.push(b.google.cloud.vision.v1p1beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 8:o.bestGuessLabels&&o.bestGuessLabels.length||(o.bestGuessLabels=[]),o.bestGuessLabels.push(b.google.cloud.vision.v1p1beta1.WebDetection.WebLabel.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.webEntities&&e.hasOwnProperty("webEntities")){if(!Array.isArray(e.webEntities))return"webEntities: array expected";for(var t=0;t>>3){case 1:o.entityId=e.string();break;case 2:o.score=e.float();break;case 3:o.description=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.entityId&&e.hasOwnProperty("entityId")&&!v.isString(e.entityId)?"entityId: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description)?"description: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.WebDetection.WebEntity)return e;var t=new b.google.cloud.vision.v1p1beta1.WebDetection.WebEntity;return null!=e.entityId&&(t.entityId=String(e.entityId)),null!=e.score&&(t.score=Number(e.score)),null!=e.description&&(t.description=String(e.description)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.entityId="",n.score=0,n.description=""),null!=e.entityId&&e.hasOwnProperty("entityId")&&(n.entityId=e.entityId),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.description&&e.hasOwnProperty("description")&&(n.description=e.description),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.WebDetection.WebEntity"},t}(),t.WebImage=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url)?"url: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.WebDetection.WebImage)return e;var t=new b.google.cloud.vision.v1p1beta1.WebDetection.WebImage;return null!=e.url&&(t.url=String(e.url)),null!=e.score&&(t.score=Number(e.score)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.url="",n.score=0),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.WebDetection.WebImage"},t}(),t.WebPage=function(){function t(e){if(this.fullMatchingImages=[],this.partialMatchingImages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;case 3:o.pageTitle=e.string();break;case 4:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1p1beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 5:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1p1beta1.WebDetection.WebImage.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url))return"url: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.pageTitle&&e.hasOwnProperty("pageTitle")&&!v.isString(e.pageTitle))return"pageTitle: string expected";if(null!=e.fullMatchingImages&&e.hasOwnProperty("fullMatchingImages")){if(!Array.isArray(e.fullMatchingImages))return"fullMatchingImages: array expected";for(var t=0;t>>3){case 1:o.label=e.string();break;case 2:o.languageCode=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.label&&e.hasOwnProperty("label")&&!v.isString(e.label)?"label: string expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p1beta1.WebDetection.WebLabel)return e;var t=new b.google.cloud.vision.v1p1beta1.WebDetection.WebLabel;return null!=e.label&&(t.label=String(e.label)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.label="",n.languageCode=""),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p1beta1.WebDetection.WebLabel"},t}(),t}(),r),l.v1p2beta1=((i={}).Vertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.int32();break;case 2:o.y=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&!v.isInteger(e.x)?"x: integer expected":null!=e.y&&e.hasOwnProperty("y")&&!v.isInteger(e.y)?"y: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.Vertex)return e;var t=new b.google.cloud.vision.v1p2beta1.Vertex;return null!=e.x&&(t.x=0|e.x),null!=e.y&&(t.y=0|e.y),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.Vertex"},t}(),i.NormalizedVertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.NormalizedVertex)return e;var t=new b.google.cloud.vision.v1p2beta1.NormalizedVertex;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.NormalizedVertex"},t}(),i.BoundingPoly=function(){function t(e){if(this.vertices=[],this.normalizedVertices=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.vertices&&o.vertices.length||(o.vertices=[]),o.vertices.push(b.google.cloud.vision.v1p2beta1.Vertex.decode(e,e.uint32()));break;case 2:o.normalizedVertices&&o.normalizedVertices.length||(o.normalizedVertices=[]),o.normalizedVertices.push(b.google.cloud.vision.v1p2beta1.NormalizedVertex.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.vertices&&e.hasOwnProperty("vertices")){if(!Array.isArray(e.vertices))return"vertices: array expected";for(var t=0;t>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;case 3:o.z=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null!=e.z&&e.hasOwnProperty("z")&&"number"!=typeof e.z?"z: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.Position)return e;var t=new b.google.cloud.vision.v1p2beta1.Position;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),null!=e.z&&(t.z=Number(e.z)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0,n.z=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),null!=e.z&&e.hasOwnProperty("z")&&(n.z=t.json&&!isFinite(e.z)?String(e.z):e.z),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.Position"},t}(),i.ImageAnnotator=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.batchAnnotateImages=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p2beta1.BatchAnnotateImagesRequest,b.google.cloud.vision.v1p2beta1.BatchAnnotateImagesResponse,t,n)},"name",{value:"BatchAnnotateImages"}),Object.defineProperty(t.prototype.asyncBatchAnnotateFiles=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p2beta1.AsyncBatchAnnotateFilesRequest,b.google.longrunning.Operation,t,n)},"name",{value:"AsyncBatchAnnotateFiles"}),t}(),i.Feature=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.maxResults=e.int32();break;case 3:o.model=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 11:case 6:case 7:case 9:case 10:}return null!=e.maxResults&&e.hasOwnProperty("maxResults")&&!v.isInteger(e.maxResults)?"maxResults: integer expected":null!=e.model&&e.hasOwnProperty("model")&&!v.isString(e.model)?"model: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.Feature)return e;var t=new b.google.cloud.vision.v1p2beta1.Feature;switch(e.type){case"TYPE_UNSPECIFIED":case 0:t.type=0;break;case"FACE_DETECTION":case 1:t.type=1;break;case"LANDMARK_DETECTION":case 2:t.type=2;break;case"LOGO_DETECTION":case 3:t.type=3;break;case"LABEL_DETECTION":case 4:t.type=4;break;case"TEXT_DETECTION":case 5:t.type=5;break;case"DOCUMENT_TEXT_DETECTION":case 11:t.type=11;break;case"SAFE_SEARCH_DETECTION":case 6:t.type=6;break;case"IMAGE_PROPERTIES":case 7:t.type=7;break;case"CROP_HINTS":case 9:t.type=9;break;case"WEB_DETECTION":case 10:t.type=10}return null!=e.maxResults&&(t.maxResults=0|e.maxResults),null!=e.model&&(t.model=String(e.model)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"TYPE_UNSPECIFIED":0,n.maxResults=0,n.model=""),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p2beta1.Feature.Type[e.type]:e.type),null!=e.maxResults&&e.hasOwnProperty("maxResults")&&(n.maxResults=e.maxResults),null!=e.model&&e.hasOwnProperty("model")&&(n.model=e.model),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.Feature"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="TYPE_UNSPECIFIED"]=0,t[e[1]="FACE_DETECTION"]=1,t[e[2]="LANDMARK_DETECTION"]=2,t[e[3]="LOGO_DETECTION"]=3,t[e[4]="LABEL_DETECTION"]=4,t[e[5]="TEXT_DETECTION"]=5,t[e[11]="DOCUMENT_TEXT_DETECTION"]=11,t[e[6]="SAFE_SEARCH_DETECTION"]=6,t[e[7]="IMAGE_PROPERTIES"]=7,t[e[9]="CROP_HINTS"]=9,t[e[10]="WEB_DETECTION"]=10,t}(),t}(),i.ImageSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsImageUri=e.string();break;case 2:o.imageUri=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&!v.isString(e.gcsImageUri)?"gcsImageUri: string expected":null!=e.imageUri&&e.hasOwnProperty("imageUri")&&!v.isString(e.imageUri)?"imageUri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.ImageSource)return e;var t=new b.google.cloud.vision.v1p2beta1.ImageSource;return null!=e.gcsImageUri&&(t.gcsImageUri=String(e.gcsImageUri)),null!=e.imageUri&&(t.imageUri=String(e.imageUri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsImageUri="",n.imageUri=""),null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&(n.gcsImageUri=e.gcsImageUri),null!=e.imageUri&&e.hasOwnProperty("imageUri")&&(n.imageUri=e.imageUri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.ImageSource"},t}(),i.Image=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.content=e.bytes();break;case 2:o.source=b.google.cloud.vision.v1p2beta1.ImageSource.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.content&&e.hasOwnProperty("content")&&!(e.content&&"number"==typeof e.content.length||v.isString(e.content)))return"content: buffer expected";if(null!=e.source&&e.hasOwnProperty("source")){var t=b.google.cloud.vision.v1p2beta1.ImageSource.verify(e.source);if(t)return"source."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.Image)return e;var t=new b.google.cloud.vision.v1p2beta1.Image;if(null!=e.content&&("string"==typeof e.content?v.base64.decode(e.content,t.content=v.newBuffer(v.base64.length(e.content)),0):e.content.length>=0&&(t.content=e.content)),null!=e.source){if("object"!=typeof e.source)throw TypeError(".google.cloud.vision.v1p2beta1.Image.source: object expected");t.source=b.google.cloud.vision.v1p2beta1.ImageSource.fromObject(e.source)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.content="":(n.content=[],t.bytes!==Array&&(n.content=v.newBuffer(n.content))),n.source=null),null!=e.content&&e.hasOwnProperty("content")&&(n.content=t.bytes===String?v.base64.encode(e.content,0,e.content.length):t.bytes===Array?Array.prototype.slice.call(e.content):e.content),null!=e.source&&e.hasOwnProperty("source")&&(n.source=b.google.cloud.vision.v1p2beta1.ImageSource.toObject(e.source,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.Image"},t}(),i.FaceAnnotation=function(){function t(e){if(this.landmarks=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p2beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.fdBoundingPoly=b.google.cloud.vision.v1p2beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.landmarks&&o.landmarks.length||(o.landmarks=[]),o.landmarks.push(b.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark.decode(e,e.uint32()));break;case 4:o.rollAngle=e.float();break;case 5:o.panAngle=e.float();break;case 6:o.tiltAngle=e.float();break;case 7:o.detectionConfidence=e.float();break;case 8:o.landmarkingConfidence=e.float();break;case 9:o.joyLikelihood=e.int32();break;case 10:o.sorrowLikelihood=e.int32();break;case 11:o.angerLikelihood=e.int32();break;case 12:o.surpriseLikelihood=e.int32();break;case 13:o.underExposedLikelihood=e.int32();break;case 14:o.blurredLikelihood=e.int32();break;case 15:o.headwearLikelihood=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p2beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.fdBoundingPoly&&e.hasOwnProperty("fdBoundingPoly")&&(n=b.google.cloud.vision.v1p2beta1.BoundingPoly.verify(e.fdBoundingPoly)))return"fdBoundingPoly."+n;if(null!=e.landmarks&&e.hasOwnProperty("landmarks")){if(!Array.isArray(e.landmarks))return"landmarks: array expected";for(var t=0;t>>3){case 3:o.type=e.int32();break;case 4:o.position=b.google.cloud.vision.v1p2beta1.Position.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:}if(null!=e.position&&e.hasOwnProperty("position")){var t=b.google.cloud.vision.v1p2beta1.Position.verify(e.position);if(t)return"position."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark)return e;var t=new b.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark;switch(e.type){case"UNKNOWN_LANDMARK":case 0:t.type=0;break;case"LEFT_EYE":case 1:t.type=1;break;case"RIGHT_EYE":case 2:t.type=2;break;case"LEFT_OF_LEFT_EYEBROW":case 3:t.type=3;break;case"RIGHT_OF_LEFT_EYEBROW":case 4:t.type=4;break;case"LEFT_OF_RIGHT_EYEBROW":case 5:t.type=5;break;case"RIGHT_OF_RIGHT_EYEBROW":case 6:t.type=6;break;case"MIDPOINT_BETWEEN_EYES":case 7:t.type=7;break;case"NOSE_TIP":case 8:t.type=8;break;case"UPPER_LIP":case 9:t.type=9;break;case"LOWER_LIP":case 10:t.type=10;break;case"MOUTH_LEFT":case 11:t.type=11;break;case"MOUTH_RIGHT":case 12:t.type=12;break;case"MOUTH_CENTER":case 13:t.type=13;break;case"NOSE_BOTTOM_RIGHT":case 14:t.type=14;break;case"NOSE_BOTTOM_LEFT":case 15:t.type=15;break;case"NOSE_BOTTOM_CENTER":case 16:t.type=16;break;case"LEFT_EYE_TOP_BOUNDARY":case 17:t.type=17;break;case"LEFT_EYE_RIGHT_CORNER":case 18:t.type=18;break;case"LEFT_EYE_BOTTOM_BOUNDARY":case 19:t.type=19;break;case"LEFT_EYE_LEFT_CORNER":case 20:t.type=20;break;case"RIGHT_EYE_TOP_BOUNDARY":case 21:t.type=21;break;case"RIGHT_EYE_RIGHT_CORNER":case 22:t.type=22;break;case"RIGHT_EYE_BOTTOM_BOUNDARY":case 23:t.type=23;break;case"RIGHT_EYE_LEFT_CORNER":case 24:t.type=24;break;case"LEFT_EYEBROW_UPPER_MIDPOINT":case 25:t.type=25;break;case"RIGHT_EYEBROW_UPPER_MIDPOINT":case 26:t.type=26;break;case"LEFT_EAR_TRAGION":case 27:t.type=27;break;case"RIGHT_EAR_TRAGION":case 28:t.type=28;break;case"LEFT_EYE_PUPIL":case 29:t.type=29;break;case"RIGHT_EYE_PUPIL":case 30:t.type=30;break;case"FOREHEAD_GLABELLA":case 31:t.type=31;break;case"CHIN_GNATHION":case 32:t.type=32;break;case"CHIN_LEFT_GONION":case 33:t.type=33;break;case"CHIN_RIGHT_GONION":case 34:t.type=34}if(null!=e.position){if("object"!=typeof e.position)throw TypeError(".google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark.position: object expected");t.position=b.google.cloud.vision.v1p2beta1.Position.fromObject(e.position)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN_LANDMARK":0,n.position=null),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark.Type[e.type]:e.type),null!=e.position&&e.hasOwnProperty("position")&&(n.position=b.google.cloud.vision.v1p2beta1.Position.toObject(e.position,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN_LANDMARK"]=0,t[e[1]="LEFT_EYE"]=1,t[e[2]="RIGHT_EYE"]=2,t[e[3]="LEFT_OF_LEFT_EYEBROW"]=3,t[e[4]="RIGHT_OF_LEFT_EYEBROW"]=4,t[e[5]="LEFT_OF_RIGHT_EYEBROW"]=5,t[e[6]="RIGHT_OF_RIGHT_EYEBROW"]=6,t[e[7]="MIDPOINT_BETWEEN_EYES"]=7,t[e[8]="NOSE_TIP"]=8,t[e[9]="UPPER_LIP"]=9,t[e[10]="LOWER_LIP"]=10,t[e[11]="MOUTH_LEFT"]=11,t[e[12]="MOUTH_RIGHT"]=12,t[e[13]="MOUTH_CENTER"]=13,t[e[14]="NOSE_BOTTOM_RIGHT"]=14,t[e[15]="NOSE_BOTTOM_LEFT"]=15,t[e[16]="NOSE_BOTTOM_CENTER"]=16,t[e[17]="LEFT_EYE_TOP_BOUNDARY"]=17,t[e[18]="LEFT_EYE_RIGHT_CORNER"]=18,t[e[19]="LEFT_EYE_BOTTOM_BOUNDARY"]=19,t[e[20]="LEFT_EYE_LEFT_CORNER"]=20,t[e[21]="RIGHT_EYE_TOP_BOUNDARY"]=21,t[e[22]="RIGHT_EYE_RIGHT_CORNER"]=22,t[e[23]="RIGHT_EYE_BOTTOM_BOUNDARY"]=23,t[e[24]="RIGHT_EYE_LEFT_CORNER"]=24,t[e[25]="LEFT_EYEBROW_UPPER_MIDPOINT"]=25,t[e[26]="RIGHT_EYEBROW_UPPER_MIDPOINT"]=26,t[e[27]="LEFT_EAR_TRAGION"]=27,t[e[28]="RIGHT_EAR_TRAGION"]=28,t[e[29]="LEFT_EYE_PUPIL"]=29,t[e[30]="RIGHT_EYE_PUPIL"]=30,t[e[31]="FOREHEAD_GLABELLA"]=31,t[e[32]="CHIN_GNATHION"]=32,t[e[33]="CHIN_LEFT_GONION"]=33,t[e[34]="CHIN_RIGHT_GONION"]=34,t}(),t}(),t}(),i.LocationInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.latLng=b.google.type.LatLng.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.latLng&&e.hasOwnProperty("latLng")){var t=b.google.type.LatLng.verify(e.latLng);if(t)return"latLng."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.LocationInfo)return e;var t=new b.google.cloud.vision.v1p2beta1.LocationInfo;if(null!=e.latLng){if("object"!=typeof e.latLng)throw TypeError(".google.cloud.vision.v1p2beta1.LocationInfo.latLng: object expected");t.latLng=b.google.type.LatLng.fromObject(e.latLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.latLng=null),null!=e.latLng&&e.hasOwnProperty("latLng")&&(n.latLng=b.google.type.LatLng.toObject(e.latLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.LocationInfo"},t}(),i.Property=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value=e.string();break;case 3:o.uint64Value=e.uint64();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&!(v.isInteger(e.uint64Value)||e.uint64Value&&v.isInteger(e.uint64Value.low)&&v.isInteger(e.uint64Value.high))?"uint64Value: integer|Long expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.Property)return e;var t=new b.google.cloud.vision.v1p2beta1.Property;return null!=e.name&&(t.name=String(e.name)),null!=e.value&&(t.value=String(e.value)),null!=e.uint64Value&&(v.Long?(t.uint64Value=v.Long.fromValue(e.uint64Value)).unsigned=!0:"string"==typeof e.uint64Value?t.uint64Value=parseInt(e.uint64Value,10):"number"==typeof e.uint64Value?t.uint64Value=e.uint64Value:"object"==typeof e.uint64Value&&(t.uint64Value=new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0))),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(n.name="",n.value="",v.Long){var o=new v.Long(0,0,!0);n.uint64Value=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.uint64Value=t.longs===String?"0":0;return null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&("number"==typeof e.uint64Value?n.uint64Value=t.longs===String?String(e.uint64Value):e.uint64Value:n.uint64Value=t.longs===String?v.Long.prototype.toString.call(e.uint64Value):t.longs===Number?new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0):e.uint64Value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.Property"},t}(),i.EntityAnnotation=function(){function t(e){if(this.locations=[],this.properties=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.mid=e.string();break;case 2:o.locale=e.string();break;case 3:o.description=e.string();break;case 4:o.score=e.float();break;case 5:o.confidence=e.float();break;case 6:o.topicality=e.float();break;case 7:o.boundingPoly=b.google.cloud.vision.v1p2beta1.BoundingPoly.decode(e,e.uint32());break;case 8:o.locations&&o.locations.length||(o.locations=[]),o.locations.push(b.google.cloud.vision.v1p2beta1.LocationInfo.decode(e,e.uint32()));break;case 9:o.properties&&o.properties.length||(o.properties=[]),o.properties.push(b.google.cloud.vision.v1p2beta1.Property.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid))return"mid: string expected";if(null!=e.locale&&e.hasOwnProperty("locale")&&!v.isString(e.locale))return"locale: string expected";if(null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description))return"description: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence)return"confidence: number expected";if(null!=e.topicality&&e.hasOwnProperty("topicality")&&"number"!=typeof e.topicality)return"topicality: number expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p2beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.locations&&e.hasOwnProperty("locations")){if(!Array.isArray(e.locations))return"locations: array expected";for(var t=0;t>>3){case 1:o.adult=e.int32();break;case 2:o.spoof=e.int32();break;case 3:o.medical=e.int32();break;case 4:o.violence=e.int32();break;case 9:o.racy=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.adult&&e.hasOwnProperty("adult"))switch(e.adult){default:return"adult: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.spoof&&e.hasOwnProperty("spoof"))switch(e.spoof){default:return"spoof: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.medical&&e.hasOwnProperty("medical"))switch(e.medical){default:return"medical: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.violence&&e.hasOwnProperty("violence"))switch(e.violence){default:return"violence: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.racy&&e.hasOwnProperty("racy"))switch(e.racy){default:return"racy: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.SafeSearchAnnotation)return e;var t=new b.google.cloud.vision.v1p2beta1.SafeSearchAnnotation;switch(e.adult){case"UNKNOWN":case 0:t.adult=0;break;case"VERY_UNLIKELY":case 1:t.adult=1;break;case"UNLIKELY":case 2:t.adult=2;break;case"POSSIBLE":case 3:t.adult=3;break;case"LIKELY":case 4:t.adult=4;break;case"VERY_LIKELY":case 5:t.adult=5}switch(e.spoof){case"UNKNOWN":case 0:t.spoof=0;break;case"VERY_UNLIKELY":case 1:t.spoof=1;break;case"UNLIKELY":case 2:t.spoof=2;break;case"POSSIBLE":case 3:t.spoof=3;break;case"LIKELY":case 4:t.spoof=4;break;case"VERY_LIKELY":case 5:t.spoof=5}switch(e.medical){case"UNKNOWN":case 0:t.medical=0;break;case"VERY_UNLIKELY":case 1:t.medical=1;break;case"UNLIKELY":case 2:t.medical=2;break;case"POSSIBLE":case 3:t.medical=3;break;case"LIKELY":case 4:t.medical=4;break;case"VERY_LIKELY":case 5:t.medical=5}switch(e.violence){case"UNKNOWN":case 0:t.violence=0;break;case"VERY_UNLIKELY":case 1:t.violence=1;break;case"UNLIKELY":case 2:t.violence=2;break;case"POSSIBLE":case 3:t.violence=3;break;case"LIKELY":case 4:t.violence=4;break;case"VERY_LIKELY":case 5:t.violence=5}switch(e.racy){case"UNKNOWN":case 0:t.racy=0;break;case"VERY_UNLIKELY":case 1:t.racy=1;break;case"UNLIKELY":case 2:t.racy=2;break;case"POSSIBLE":case 3:t.racy=3;break;case"LIKELY":case 4:t.racy=4;break;case"VERY_LIKELY":case 5:t.racy=5}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.adult=t.enums===String?"UNKNOWN":0,n.spoof=t.enums===String?"UNKNOWN":0,n.medical=t.enums===String?"UNKNOWN":0,n.violence=t.enums===String?"UNKNOWN":0,n.racy=t.enums===String?"UNKNOWN":0),null!=e.adult&&e.hasOwnProperty("adult")&&(n.adult=t.enums===String?b.google.cloud.vision.v1p2beta1.Likelihood[e.adult]:e.adult),null!=e.spoof&&e.hasOwnProperty("spoof")&&(n.spoof=t.enums===String?b.google.cloud.vision.v1p2beta1.Likelihood[e.spoof]:e.spoof),null!=e.medical&&e.hasOwnProperty("medical")&&(n.medical=t.enums===String?b.google.cloud.vision.v1p2beta1.Likelihood[e.medical]:e.medical),null!=e.violence&&e.hasOwnProperty("violence")&&(n.violence=t.enums===String?b.google.cloud.vision.v1p2beta1.Likelihood[e.violence]:e.violence),null!=e.racy&&e.hasOwnProperty("racy")&&(n.racy=t.enums===String?b.google.cloud.vision.v1p2beta1.Likelihood[e.racy]:e.racy),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.SafeSearchAnnotation"},t}(),i.LatLongRect=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.minLatLng=b.google.type.LatLng.decode(e,e.uint32());break;case 2:o.maxLatLng=b.google.type.LatLng.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(t=b.google.type.LatLng.verify(e.minLatLng))?"minLatLng."+t:null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(t=b.google.type.LatLng.verify(e.maxLatLng))?"maxLatLng."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.LatLongRect)return e;var t=new b.google.cloud.vision.v1p2beta1.LatLongRect;if(null!=e.minLatLng){if("object"!=typeof e.minLatLng)throw TypeError(".google.cloud.vision.v1p2beta1.LatLongRect.minLatLng: object expected");t.minLatLng=b.google.type.LatLng.fromObject(e.minLatLng)}if(null!=e.maxLatLng){if("object"!=typeof e.maxLatLng)throw TypeError(".google.cloud.vision.v1p2beta1.LatLongRect.maxLatLng: object expected");t.maxLatLng=b.google.type.LatLng.fromObject(e.maxLatLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.minLatLng=null,n.maxLatLng=null),null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(n.minLatLng=b.google.type.LatLng.toObject(e.minLatLng,t)),null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(n.maxLatLng=b.google.type.LatLng.toObject(e.maxLatLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.LatLongRect"},t}(),i.ColorInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.color=b.google.type.Color.decode(e,e.uint32());break;case 2:o.score=e.float();break;case 3:o.pixelFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.color&&e.hasOwnProperty("color")){var t=b.google.type.Color.verify(e.color);if(t)return"color."+t}return null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&"number"!=typeof e.pixelFraction?"pixelFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.ColorInfo)return e;var t=new b.google.cloud.vision.v1p2beta1.ColorInfo;if(null!=e.color){if("object"!=typeof e.color)throw TypeError(".google.cloud.vision.v1p2beta1.ColorInfo.color: object expected");t.color=b.google.type.Color.fromObject(e.color)}return null!=e.score&&(t.score=Number(e.score)),null!=e.pixelFraction&&(t.pixelFraction=Number(e.pixelFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.color=null,n.score=0,n.pixelFraction=0),null!=e.color&&e.hasOwnProperty("color")&&(n.color=b.google.type.Color.toObject(e.color,t)),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&(n.pixelFraction=t.json&&!isFinite(e.pixelFraction)?String(e.pixelFraction):e.pixelFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.ColorInfo"},t}(),i.DominantColorsAnnotation=function(){function t(e){if(this.colors=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.colors&&o.colors.length||(o.colors=[]),o.colors.push(b.google.cloud.vision.v1p2beta1.ColorInfo.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.colors&&e.hasOwnProperty("colors")){if(!Array.isArray(e.colors))return"colors: array expected";for(var t=0;t>>3==1?o.dominantColors=b.google.cloud.vision.v1p2beta1.DominantColorsAnnotation.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.dominantColors&&e.hasOwnProperty("dominantColors")){var t=b.google.cloud.vision.v1p2beta1.DominantColorsAnnotation.verify(e.dominantColors);if(t)return"dominantColors."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.ImageProperties)return e;var t=new b.google.cloud.vision.v1p2beta1.ImageProperties;if(null!=e.dominantColors){if("object"!=typeof e.dominantColors)throw TypeError(".google.cloud.vision.v1p2beta1.ImageProperties.dominantColors: object expected");t.dominantColors=b.google.cloud.vision.v1p2beta1.DominantColorsAnnotation.fromObject(e.dominantColors)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.dominantColors=null),null!=e.dominantColors&&e.hasOwnProperty("dominantColors")&&(n.dominantColors=b.google.cloud.vision.v1p2beta1.DominantColorsAnnotation.toObject(e.dominantColors,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.ImageProperties"},t}(),i.CropHint=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p2beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.confidence=e.float();break;case 3:o.importanceFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1p2beta1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}return null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&"number"!=typeof e.importanceFraction?"importanceFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.CropHint)return e;var t=new b.google.cloud.vision.v1p2beta1.CropHint;if(null!=e.boundingPoly){if("object"!=typeof e.boundingPoly)throw TypeError(".google.cloud.vision.v1p2beta1.CropHint.boundingPoly: object expected");t.boundingPoly=b.google.cloud.vision.v1p2beta1.BoundingPoly.fromObject(e.boundingPoly)}return null!=e.confidence&&(t.confidence=Number(e.confidence)),null!=e.importanceFraction&&(t.importanceFraction=Number(e.importanceFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.boundingPoly=null,n.confidence=0,n.importanceFraction=0),null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n.boundingPoly=b.google.cloud.vision.v1p2beta1.BoundingPoly.toObject(e.boundingPoly,t)),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&(n.importanceFraction=t.json&&!isFinite(e.importanceFraction)?String(e.importanceFraction):e.importanceFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.CropHint"},t}(),i.CropHintsAnnotation=function(){function t(e){if(this.cropHints=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.cropHints&&o.cropHints.length||(o.cropHints=[]),o.cropHints.push(b.google.cloud.vision.v1p2beta1.CropHint.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.cropHints&&e.hasOwnProperty("cropHints")){if(!Array.isArray(e.cropHints))return"cropHints: array expected";for(var t=0;t>>3==1)if(o.aspectRatios&&o.aspectRatios.length||(o.aspectRatios=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==2?o.includeGeoResults=e.bool():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&"boolean"!=typeof e.includeGeoResults?"includeGeoResults: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.WebDetectionParams)return e;var t=new b.google.cloud.vision.v1p2beta1.WebDetectionParams;return null!=e.includeGeoResults&&(t.includeGeoResults=Boolean(e.includeGeoResults)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.includeGeoResults=!1),null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&(n.includeGeoResults=e.includeGeoResults),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.WebDetectionParams"},t}(),i.TextDetectionParams=function(){function t(e){if(this.advancedOcrOptions=[],e)for(var t=Object.keys(e),n=0;n>>3){case 9:o.enableTextDetectionConfidenceScore=e.bool();break;case 11:o.advancedOcrOptions&&o.advancedOcrOptions.length||(o.advancedOcrOptions=[]),o.advancedOcrOptions.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.enableTextDetectionConfidenceScore&&e.hasOwnProperty("enableTextDetectionConfidenceScore")&&"boolean"!=typeof e.enableTextDetectionConfidenceScore)return"enableTextDetectionConfidenceScore: boolean expected";if(null!=e.advancedOcrOptions&&e.hasOwnProperty("advancedOcrOptions")){if(!Array.isArray(e.advancedOcrOptions))return"advancedOcrOptions: array expected";for(var t=0;t>>3){case 1:o.latLongRect=b.google.cloud.vision.v1p2beta1.LatLongRect.decode(e,e.uint32());break;case 2:o.languageHints&&o.languageHints.length||(o.languageHints=[]),o.languageHints.push(e.string());break;case 4:o.cropHintsParams=b.google.cloud.vision.v1p2beta1.CropHintsParams.decode(e,e.uint32());break;case 6:o.webDetectionParams=b.google.cloud.vision.v1p2beta1.WebDetectionParams.decode(e,e.uint32());break;case 12:o.textDetectionParams=b.google.cloud.vision.v1p2beta1.TextDetectionParams.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t;if(null!=e.latLongRect&&e.hasOwnProperty("latLongRect")&&(t=b.google.cloud.vision.v1p2beta1.LatLongRect.verify(e.latLongRect)))return"latLongRect."+t;if(null!=e.languageHints&&e.hasOwnProperty("languageHints")){if(!Array.isArray(e.languageHints))return"languageHints: array expected";for(var n=0;n>>3){case 1:o.image=b.google.cloud.vision.v1p2beta1.Image.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1p2beta1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1p2beta1.ImageContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.image&&e.hasOwnProperty("image")&&(n=b.google.cloud.vision.v1p2beta1.Image.verify(e.image)))return"image."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3){case 1:o.uri=e.string();break;case 2:o.pageNumber=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null!=e.pageNumber&&e.hasOwnProperty("pageNumber")&&!v.isInteger(e.pageNumber)?"pageNumber: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.ImageAnnotationContext)return e;var t=new b.google.cloud.vision.v1p2beta1.ImageAnnotationContext;return null!=e.uri&&(t.uri=String(e.uri)),null!=e.pageNumber&&(t.pageNumber=0|e.pageNumber),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri="",n.pageNumber=0),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),null!=e.pageNumber&&e.hasOwnProperty("pageNumber")&&(n.pageNumber=e.pageNumber),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.ImageAnnotationContext"},t}(),i.AnnotateImageResponse=function(){function t(e){if(this.faceAnnotations=[],this.landmarkAnnotations=[],this.logoAnnotations=[],this.labelAnnotations=[],this.textAnnotations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.faceAnnotations&&o.faceAnnotations.length||(o.faceAnnotations=[]),o.faceAnnotations.push(b.google.cloud.vision.v1p2beta1.FaceAnnotation.decode(e,e.uint32()));break;case 2:o.landmarkAnnotations&&o.landmarkAnnotations.length||(o.landmarkAnnotations=[]),o.landmarkAnnotations.push(b.google.cloud.vision.v1p2beta1.EntityAnnotation.decode(e,e.uint32()));break;case 3:o.logoAnnotations&&o.logoAnnotations.length||(o.logoAnnotations=[]),o.logoAnnotations.push(b.google.cloud.vision.v1p2beta1.EntityAnnotation.decode(e,e.uint32()));break;case 4:o.labelAnnotations&&o.labelAnnotations.length||(o.labelAnnotations=[]),o.labelAnnotations.push(b.google.cloud.vision.v1p2beta1.EntityAnnotation.decode(e,e.uint32()));break;case 5:o.textAnnotations&&o.textAnnotations.length||(o.textAnnotations=[]),o.textAnnotations.push(b.google.cloud.vision.v1p2beta1.EntityAnnotation.decode(e,e.uint32()));break;case 12:o.fullTextAnnotation=b.google.cloud.vision.v1p2beta1.TextAnnotation.decode(e,e.uint32());break;case 6:o.safeSearchAnnotation=b.google.cloud.vision.v1p2beta1.SafeSearchAnnotation.decode(e,e.uint32());break;case 8:o.imagePropertiesAnnotation=b.google.cloud.vision.v1p2beta1.ImageProperties.decode(e,e.uint32());break;case 11:o.cropHintsAnnotation=b.google.cloud.vision.v1p2beta1.CropHintsAnnotation.decode(e,e.uint32());break;case 13:o.webDetection=b.google.cloud.vision.v1p2beta1.WebDetection.decode(e,e.uint32());break;case 9:o.error=b.google.rpc.Status.decode(e,e.uint32());break;case 21:o.context=b.google.cloud.vision.v1p2beta1.ImageAnnotationContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.faceAnnotations&&e.hasOwnProperty("faceAnnotations")){if(!Array.isArray(e.faceAnnotations))return"faceAnnotations: array expected";for(var t=0;t>>3){case 1:o.inputConfig=b.google.cloud.vision.v1p2beta1.InputConfig.decode(e,e.uint32());break;case 2:o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p2beta1.AnnotateImageResponse.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n=b.google.cloud.vision.v1p2beta1.InputConfig.verify(e.inputConfig)))return"inputConfig."+n;if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3==1?(o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p2beta1.AnnotateImageRequest.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p2beta1.AnnotateImageResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.inputConfig=b.google.cloud.vision.v1p2beta1.InputConfig.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1p2beta1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1p2beta1.ImageContext.decode(e,e.uint32());break;case 4:o.outputConfig=b.google.cloud.vision.v1p2beta1.OutputConfig.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n=b.google.cloud.vision.v1p2beta1.InputConfig.verify(e.inputConfig)))return"inputConfig."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3==1?o.outputConfig=b.google.cloud.vision.v1p2beta1.OutputConfig.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.outputConfig&&e.hasOwnProperty("outputConfig")){var t=b.google.cloud.vision.v1p2beta1.OutputConfig.verify(e.outputConfig);if(t)return"outputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse)return e;var t=new b.google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse;if(null!=e.outputConfig){if("object"!=typeof e.outputConfig)throw TypeError(".google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse.outputConfig: object expected");t.outputConfig=b.google.cloud.vision.v1p2beta1.OutputConfig.fromObject(e.outputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.outputConfig=null),null!=e.outputConfig&&e.hasOwnProperty("outputConfig")&&(n.outputConfig=b.google.cloud.vision.v1p2beta1.OutputConfig.toObject(e.outputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse"},t}(),i.AsyncBatchAnnotateFilesRequest=function(){function t(e){if(this.requests=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p2beta1.AsyncAnnotateFileRequest.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.gcsSource=b.google.cloud.vision.v1p2beta1.GcsSource.decode(e,e.uint32());break;case 2:o.mimeType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsSource&&e.hasOwnProperty("gcsSource")){var t=b.google.cloud.vision.v1p2beta1.GcsSource.verify(e.gcsSource);if(t)return"gcsSource."+t}return null!=e.mimeType&&e.hasOwnProperty("mimeType")&&!v.isString(e.mimeType)?"mimeType: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.InputConfig)return e;var t=new b.google.cloud.vision.v1p2beta1.InputConfig;if(null!=e.gcsSource){if("object"!=typeof e.gcsSource)throw TypeError(".google.cloud.vision.v1p2beta1.InputConfig.gcsSource: object expected");t.gcsSource=b.google.cloud.vision.v1p2beta1.GcsSource.fromObject(e.gcsSource)}return null!=e.mimeType&&(t.mimeType=String(e.mimeType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsSource=null,n.mimeType=""),null!=e.gcsSource&&e.hasOwnProperty("gcsSource")&&(n.gcsSource=b.google.cloud.vision.v1p2beta1.GcsSource.toObject(e.gcsSource,t)),null!=e.mimeType&&e.hasOwnProperty("mimeType")&&(n.mimeType=e.mimeType),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.InputConfig"},t}(),i.OutputConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsDestination=b.google.cloud.vision.v1p2beta1.GcsDestination.decode(e,e.uint32());break;case 2:o.batchSize=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsDestination&&e.hasOwnProperty("gcsDestination")){var t=b.google.cloud.vision.v1p2beta1.GcsDestination.verify(e.gcsDestination);if(t)return"gcsDestination."+t}return null!=e.batchSize&&e.hasOwnProperty("batchSize")&&!v.isInteger(e.batchSize)?"batchSize: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.OutputConfig)return e;var t=new b.google.cloud.vision.v1p2beta1.OutputConfig;if(null!=e.gcsDestination){if("object"!=typeof e.gcsDestination)throw TypeError(".google.cloud.vision.v1p2beta1.OutputConfig.gcsDestination: object expected");t.gcsDestination=b.google.cloud.vision.v1p2beta1.GcsDestination.fromObject(e.gcsDestination)}return null!=e.batchSize&&(t.batchSize=0|e.batchSize),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsDestination=null,n.batchSize=0),null!=e.gcsDestination&&e.hasOwnProperty("gcsDestination")&&(n.gcsDestination=b.google.cloud.vision.v1p2beta1.GcsDestination.toObject(e.gcsDestination,t)),null!=e.batchSize&&e.hasOwnProperty("batchSize")&&(n.batchSize=e.batchSize),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.OutputConfig"},t}(),i.GcsSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.uri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.GcsSource)return e;var t=new b.google.cloud.vision.v1p2beta1.GcsSource;return null!=e.uri&&(t.uri=String(e.uri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri=""),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.GcsSource"},t}(),i.GcsDestination=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.uri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.GcsDestination)return e;var t=new b.google.cloud.vision.v1p2beta1.GcsDestination;return null!=e.uri&&(t.uri=String(e.uri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri=""),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.GcsDestination"},t}(),i.OperationMetadata=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.state=e.int32();break;case 5:o.createTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 6:o.updateTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:case 3:case 4:}var t;return null!=e.createTime&&e.hasOwnProperty("createTime")&&(t=b.google.protobuf.Timestamp.verify(e.createTime))?"createTime."+t:null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(t=b.google.protobuf.Timestamp.verify(e.updateTime))?"updateTime."+t:null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.OperationMetadata)return e;var t=new b.google.cloud.vision.v1p2beta1.OperationMetadata;switch(e.state){case"STATE_UNSPECIFIED":case 0:t.state=0;break;case"CREATED":case 1:t.state=1;break;case"RUNNING":case 2:t.state=2;break;case"DONE":case 3:t.state=3;break;case"CANCELLED":case 4:t.state=4}if(null!=e.createTime){if("object"!=typeof e.createTime)throw TypeError(".google.cloud.vision.v1p2beta1.OperationMetadata.createTime: object expected");t.createTime=b.google.protobuf.Timestamp.fromObject(e.createTime)}if(null!=e.updateTime){if("object"!=typeof e.updateTime)throw TypeError(".google.cloud.vision.v1p2beta1.OperationMetadata.updateTime: object expected");t.updateTime=b.google.protobuf.Timestamp.fromObject(e.updateTime)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.state=t.enums===String?"STATE_UNSPECIFIED":0,n.createTime=null,n.updateTime=null),null!=e.state&&e.hasOwnProperty("state")&&(n.state=t.enums===String?b.google.cloud.vision.v1p2beta1.OperationMetadata.State[e.state]:e.state),null!=e.createTime&&e.hasOwnProperty("createTime")&&(n.createTime=b.google.protobuf.Timestamp.toObject(e.createTime,t)),null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(n.updateTime=b.google.protobuf.Timestamp.toObject(e.updateTime,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.OperationMetadata"},t.State=function(){var e={},t=Object.create(e);return t[e[0]="STATE_UNSPECIFIED"]=0,t[e[1]="CREATED"]=1,t[e[2]="RUNNING"]=2,t[e[3]="DONE"]=3,t[e[4]="CANCELLED"]=4,t}(),t}(),i.Likelihood=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="VERY_UNLIKELY"]=1,t[e[2]="UNLIKELY"]=2,t[e[3]="POSSIBLE"]=3,t[e[4]="LIKELY"]=4,t[e[5]="VERY_LIKELY"]=5,t}(),i.TextAnnotation=function(){function t(e){if(this.pages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.pages&&o.pages.length||(o.pages=[]),o.pages.push(b.google.cloud.vision.v1p2beta1.Page.decode(e,e.uint32()));break;case 2:o.text=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.pages&&e.hasOwnProperty("pages")){if(!Array.isArray(e.pages))return"pages: array expected";for(var t=0;t>>3){case 1:o.languageCode=e.string();break;case 2:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedLanguage)return e;var t=new b.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedLanguage;return null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.languageCode="",n.confidence=0),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.TextAnnotation.DetectedLanguage"},t}(),t.DetectedBreak=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.isPrefix=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&"boolean"!=typeof e.isPrefix?"isPrefix: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak)return e;var t=new b.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak;switch(e.type){case"UNKNOWN":case 0:t.type=0;break;case"SPACE":case 1:t.type=1;break;case"SURE_SPACE":case 2:t.type=2;break;case"EOL_SURE_SPACE":case 3:t.type=3;break;case"HYPHEN":case 4:t.type=4;break;case"LINE_BREAK":case 5:t.type=5}return null!=e.isPrefix&&(t.isPrefix=Boolean(e.isPrefix)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN":0,n.isPrefix=!1),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak.BreakType[e.type]:e.type),null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&(n.isPrefix=e.isPrefix),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak"},t.BreakType=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="SPACE"]=1,t[e[2]="SURE_SPACE"]=2,t[e[3]="EOL_SURE_SPACE"]=3,t[e[4]="HYPHEN"]=4,t[e[5]="LINE_BREAK"]=5,t}(),t}(),t.TextProperty=function(){function t(e){if(this.detectedLanguages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.detectedLanguages&&o.detectedLanguages.length||(o.detectedLanguages=[]),o.detectedLanguages.push(b.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedLanguage.decode(e,e.uint32()));break;case 2:o.detectedBreak=b.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.detectedLanguages&&e.hasOwnProperty("detectedLanguages")){if(!Array.isArray(e.detectedLanguages))return"detectedLanguages: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.width=e.int32();break;case 3:o.height=e.int32();break;case 4:o.blocks&&o.blocks.length||(o.blocks=[]),o.blocks.push(b.google.cloud.vision.v1p2beta1.Block.decode(e,e.uint32()));break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.width&&e.hasOwnProperty("width")&&!v.isInteger(e.width))return"width: integer expected";if(null!=e.height&&e.hasOwnProperty("height")&&!v.isInteger(e.height))return"height: integer expected";if(null!=e.blocks&&e.hasOwnProperty("blocks")){if(!Array.isArray(e.blocks))return"blocks: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p2beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.paragraphs&&o.paragraphs.length||(o.paragraphs=[]),o.paragraphs.push(b.google.cloud.vision.v1p2beta1.Paragraph.decode(e,e.uint32()));break;case 4:o.blockType=e.int32();break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p2beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.paragraphs&&e.hasOwnProperty("paragraphs")){if(!Array.isArray(e.paragraphs))return"paragraphs: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p2beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.words&&o.words.length||(o.words=[]),o.words.push(b.google.cloud.vision.v1p2beta1.Word.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p2beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.words&&e.hasOwnProperty("words")){if(!Array.isArray(e.words))return"words: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p2beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.symbols&&o.symbols.length||(o.symbols=[]),o.symbols.push(b.google.cloud.vision.v1p2beta1.Symbol.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p2beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.symbols&&e.hasOwnProperty("symbols")){if(!Array.isArray(e.symbols))return"symbols: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p2beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.text=e.string();break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.property&&e.hasOwnProperty("property")&&(t=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.verify(e.property))?"property."+t:null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(t=b.google.cloud.vision.v1p2beta1.BoundingPoly.verify(e.boundingBox))?"boundingBox."+t:null!=e.text&&e.hasOwnProperty("text")&&!v.isString(e.text)?"text: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.Symbol)return e;var t=new b.google.cloud.vision.v1p2beta1.Symbol;if(null!=e.property){if("object"!=typeof e.property)throw TypeError(".google.cloud.vision.v1p2beta1.Symbol.property: object expected");t.property=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.fromObject(e.property)}if(null!=e.boundingBox){if("object"!=typeof e.boundingBox)throw TypeError(".google.cloud.vision.v1p2beta1.Symbol.boundingBox: object expected");t.boundingBox=b.google.cloud.vision.v1p2beta1.BoundingPoly.fromObject(e.boundingBox)}return null!=e.text&&(t.text=String(e.text)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.property=null,n.boundingBox=null,n.text="",n.confidence=0),null!=e.property&&e.hasOwnProperty("property")&&(n.property=b.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty.toObject(e.property,t)),null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n.boundingBox=b.google.cloud.vision.v1p2beta1.BoundingPoly.toObject(e.boundingBox,t)),null!=e.text&&e.hasOwnProperty("text")&&(n.text=e.text),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.Symbol"},t}(),i.WebDetection=function(){function t(e){if(this.webEntities=[],this.fullMatchingImages=[],this.partialMatchingImages=[],this.pagesWithMatchingImages=[],this.visuallySimilarImages=[],this.bestGuessLabels=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.webEntities&&o.webEntities.length||(o.webEntities=[]),o.webEntities.push(b.google.cloud.vision.v1p2beta1.WebDetection.WebEntity.decode(e,e.uint32()));break;case 2:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1p2beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 3:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1p2beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 4:o.pagesWithMatchingImages&&o.pagesWithMatchingImages.length||(o.pagesWithMatchingImages=[]),o.pagesWithMatchingImages.push(b.google.cloud.vision.v1p2beta1.WebDetection.WebPage.decode(e,e.uint32()));break;case 6:o.visuallySimilarImages&&o.visuallySimilarImages.length||(o.visuallySimilarImages=[]),o.visuallySimilarImages.push(b.google.cloud.vision.v1p2beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 8:o.bestGuessLabels&&o.bestGuessLabels.length||(o.bestGuessLabels=[]),o.bestGuessLabels.push(b.google.cloud.vision.v1p2beta1.WebDetection.WebLabel.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.webEntities&&e.hasOwnProperty("webEntities")){if(!Array.isArray(e.webEntities))return"webEntities: array expected";for(var t=0;t>>3){case 1:o.entityId=e.string();break;case 2:o.score=e.float();break;case 3:o.description=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.entityId&&e.hasOwnProperty("entityId")&&!v.isString(e.entityId)?"entityId: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description)?"description: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.WebDetection.WebEntity)return e;var t=new b.google.cloud.vision.v1p2beta1.WebDetection.WebEntity;return null!=e.entityId&&(t.entityId=String(e.entityId)),null!=e.score&&(t.score=Number(e.score)),null!=e.description&&(t.description=String(e.description)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.entityId="",n.score=0,n.description=""),null!=e.entityId&&e.hasOwnProperty("entityId")&&(n.entityId=e.entityId),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.description&&e.hasOwnProperty("description")&&(n.description=e.description),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.WebDetection.WebEntity"},t}(),t.WebImage=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url)?"url: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.WebDetection.WebImage)return e;var t=new b.google.cloud.vision.v1p2beta1.WebDetection.WebImage;return null!=e.url&&(t.url=String(e.url)),null!=e.score&&(t.score=Number(e.score)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.url="",n.score=0),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.WebDetection.WebImage"},t}(),t.WebPage=function(){function t(e){if(this.fullMatchingImages=[],this.partialMatchingImages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;case 3:o.pageTitle=e.string();break;case 4:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1p2beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 5:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1p2beta1.WebDetection.WebImage.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url))return"url: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.pageTitle&&e.hasOwnProperty("pageTitle")&&!v.isString(e.pageTitle))return"pageTitle: string expected";if(null!=e.fullMatchingImages&&e.hasOwnProperty("fullMatchingImages")){if(!Array.isArray(e.fullMatchingImages))return"fullMatchingImages: array expected";for(var t=0;t>>3){case 1:o.label=e.string();break;case 2:o.languageCode=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.label&&e.hasOwnProperty("label")&&!v.isString(e.label)?"label: string expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p2beta1.WebDetection.WebLabel)return e;var t=new b.google.cloud.vision.v1p2beta1.WebDetection.WebLabel;return null!=e.label&&(t.label=String(e.label)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.label="",n.languageCode=""),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p2beta1.WebDetection.WebLabel"},t}(),t}(),i),l.v1p3beta1=((a={}).Vertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.int32();break;case 2:o.y=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&!v.isInteger(e.x)?"x: integer expected":null!=e.y&&e.hasOwnProperty("y")&&!v.isInteger(e.y)?"y: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.Vertex)return e;var t=new b.google.cloud.vision.v1p3beta1.Vertex;return null!=e.x&&(t.x=0|e.x),null!=e.y&&(t.y=0|e.y),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.Vertex"},t}(),a.NormalizedVertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.NormalizedVertex)return e;var t=new b.google.cloud.vision.v1p3beta1.NormalizedVertex;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.NormalizedVertex"},t}(),a.BoundingPoly=function(){function t(e){if(this.vertices=[],this.normalizedVertices=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.vertices&&o.vertices.length||(o.vertices=[]),o.vertices.push(b.google.cloud.vision.v1p3beta1.Vertex.decode(e,e.uint32()));break;case 2:o.normalizedVertices&&o.normalizedVertices.length||(o.normalizedVertices=[]),o.normalizedVertices.push(b.google.cloud.vision.v1p3beta1.NormalizedVertex.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.vertices&&e.hasOwnProperty("vertices")){if(!Array.isArray(e.vertices))return"vertices: array expected";for(var t=0;t>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;case 3:o.z=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null!=e.z&&e.hasOwnProperty("z")&&"number"!=typeof e.z?"z: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.Position)return e;var t=new b.google.cloud.vision.v1p3beta1.Position;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),null!=e.z&&(t.z=Number(e.z)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0,n.z=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),null!=e.z&&e.hasOwnProperty("z")&&(n.z=t.json&&!isFinite(e.z)?String(e.z):e.z),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.Position"},t}(),a.ImageAnnotator=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.batchAnnotateImages=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p3beta1.BatchAnnotateImagesRequest,b.google.cloud.vision.v1p3beta1.BatchAnnotateImagesResponse,t,n)},"name",{value:"BatchAnnotateImages"}),Object.defineProperty(t.prototype.asyncBatchAnnotateFiles=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesRequest,b.google.longrunning.Operation,t,n)},"name",{value:"AsyncBatchAnnotateFiles"}),t}(),a.Feature=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.maxResults=e.int32();break;case 3:o.model=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 11:case 6:case 7:case 9:case 10:case 12:case 19:}return null!=e.maxResults&&e.hasOwnProperty("maxResults")&&!v.isInteger(e.maxResults)?"maxResults: integer expected":null!=e.model&&e.hasOwnProperty("model")&&!v.isString(e.model)?"model: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.Feature)return e;var t=new b.google.cloud.vision.v1p3beta1.Feature;switch(e.type){case"TYPE_UNSPECIFIED":case 0:t.type=0;break;case"FACE_DETECTION":case 1:t.type=1;break;case"LANDMARK_DETECTION":case 2:t.type=2;break;case"LOGO_DETECTION":case 3:t.type=3;break;case"LABEL_DETECTION":case 4:t.type=4;break;case"TEXT_DETECTION":case 5:t.type=5;break;case"DOCUMENT_TEXT_DETECTION":case 11:t.type=11;break;case"SAFE_SEARCH_DETECTION":case 6:t.type=6;break;case"IMAGE_PROPERTIES":case 7:t.type=7;break;case"CROP_HINTS":case 9:t.type=9;break;case"WEB_DETECTION":case 10:t.type=10;break;case"PRODUCT_SEARCH":case 12:t.type=12;break;case"OBJECT_LOCALIZATION":case 19:t.type=19}return null!=e.maxResults&&(t.maxResults=0|e.maxResults),null!=e.model&&(t.model=String(e.model)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"TYPE_UNSPECIFIED":0,n.maxResults=0,n.model=""),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p3beta1.Feature.Type[e.type]:e.type),null!=e.maxResults&&e.hasOwnProperty("maxResults")&&(n.maxResults=e.maxResults),null!=e.model&&e.hasOwnProperty("model")&&(n.model=e.model),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.Feature"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="TYPE_UNSPECIFIED"]=0,t[e[1]="FACE_DETECTION"]=1,t[e[2]="LANDMARK_DETECTION"]=2,t[e[3]="LOGO_DETECTION"]=3,t[e[4]="LABEL_DETECTION"]=4,t[e[5]="TEXT_DETECTION"]=5,t[e[11]="DOCUMENT_TEXT_DETECTION"]=11,t[e[6]="SAFE_SEARCH_DETECTION"]=6,t[e[7]="IMAGE_PROPERTIES"]=7,t[e[9]="CROP_HINTS"]=9,t[e[10]="WEB_DETECTION"]=10,t[e[12]="PRODUCT_SEARCH"]=12,t[e[19]="OBJECT_LOCALIZATION"]=19,t}(),t}(),a.ImageSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsImageUri=e.string();break;case 2:o.imageUri=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&!v.isString(e.gcsImageUri)?"gcsImageUri: string expected":null!=e.imageUri&&e.hasOwnProperty("imageUri")&&!v.isString(e.imageUri)?"imageUri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ImageSource)return e;var t=new b.google.cloud.vision.v1p3beta1.ImageSource;return null!=e.gcsImageUri&&(t.gcsImageUri=String(e.gcsImageUri)),null!=e.imageUri&&(t.imageUri=String(e.imageUri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsImageUri="",n.imageUri=""),null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&(n.gcsImageUri=e.gcsImageUri),null!=e.imageUri&&e.hasOwnProperty("imageUri")&&(n.imageUri=e.imageUri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ImageSource"},t}(),a.Image=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.content=e.bytes();break;case 2:o.source=b.google.cloud.vision.v1p3beta1.ImageSource.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.content&&e.hasOwnProperty("content")&&!(e.content&&"number"==typeof e.content.length||v.isString(e.content)))return"content: buffer expected";if(null!=e.source&&e.hasOwnProperty("source")){var t=b.google.cloud.vision.v1p3beta1.ImageSource.verify(e.source);if(t)return"source."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.Image)return e;var t=new b.google.cloud.vision.v1p3beta1.Image;if(null!=e.content&&("string"==typeof e.content?v.base64.decode(e.content,t.content=v.newBuffer(v.base64.length(e.content)),0):e.content.length>=0&&(t.content=e.content)),null!=e.source){if("object"!=typeof e.source)throw TypeError(".google.cloud.vision.v1p3beta1.Image.source: object expected");t.source=b.google.cloud.vision.v1p3beta1.ImageSource.fromObject(e.source)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.content="":(n.content=[],t.bytes!==Array&&(n.content=v.newBuffer(n.content))),n.source=null),null!=e.content&&e.hasOwnProperty("content")&&(n.content=t.bytes===String?v.base64.encode(e.content,0,e.content.length):t.bytes===Array?Array.prototype.slice.call(e.content):e.content),null!=e.source&&e.hasOwnProperty("source")&&(n.source=b.google.cloud.vision.v1p3beta1.ImageSource.toObject(e.source,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.Image"},t}(),a.FaceAnnotation=function(){function t(e){if(this.landmarks=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.fdBoundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.landmarks&&o.landmarks.length||(o.landmarks=[]),o.landmarks.push(b.google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark.decode(e,e.uint32()));break;case 4:o.rollAngle=e.float();break;case 5:o.panAngle=e.float();break;case 6:o.tiltAngle=e.float();break;case 7:o.detectionConfidence=e.float();break;case 8:o.landmarkingConfidence=e.float();break;case 9:o.joyLikelihood=e.int32();break;case 10:o.sorrowLikelihood=e.int32();break;case 11:o.angerLikelihood=e.int32();break;case 12:o.surpriseLikelihood=e.int32();break;case 13:o.underExposedLikelihood=e.int32();break;case 14:o.blurredLikelihood=e.int32();break;case 15:o.headwearLikelihood=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.fdBoundingPoly&&e.hasOwnProperty("fdBoundingPoly")&&(n=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.fdBoundingPoly)))return"fdBoundingPoly."+n;if(null!=e.landmarks&&e.hasOwnProperty("landmarks")){if(!Array.isArray(e.landmarks))return"landmarks: array expected";for(var t=0;t>>3){case 3:o.type=e.int32();break;case 4:o.position=b.google.cloud.vision.v1p3beta1.Position.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:}if(null!=e.position&&e.hasOwnProperty("position")){var t=b.google.cloud.vision.v1p3beta1.Position.verify(e.position);if(t)return"position."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark)return e;var t=new b.google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark;switch(e.type){case"UNKNOWN_LANDMARK":case 0:t.type=0;break;case"LEFT_EYE":case 1:t.type=1;break;case"RIGHT_EYE":case 2:t.type=2;break;case"LEFT_OF_LEFT_EYEBROW":case 3:t.type=3;break;case"RIGHT_OF_LEFT_EYEBROW":case 4:t.type=4;break;case"LEFT_OF_RIGHT_EYEBROW":case 5:t.type=5;break;case"RIGHT_OF_RIGHT_EYEBROW":case 6:t.type=6;break;case"MIDPOINT_BETWEEN_EYES":case 7:t.type=7;break;case"NOSE_TIP":case 8:t.type=8;break;case"UPPER_LIP":case 9:t.type=9;break;case"LOWER_LIP":case 10:t.type=10;break;case"MOUTH_LEFT":case 11:t.type=11;break;case"MOUTH_RIGHT":case 12:t.type=12;break;case"MOUTH_CENTER":case 13:t.type=13;break;case"NOSE_BOTTOM_RIGHT":case 14:t.type=14;break;case"NOSE_BOTTOM_LEFT":case 15:t.type=15;break;case"NOSE_BOTTOM_CENTER":case 16:t.type=16;break;case"LEFT_EYE_TOP_BOUNDARY":case 17:t.type=17;break;case"LEFT_EYE_RIGHT_CORNER":case 18:t.type=18;break;case"LEFT_EYE_BOTTOM_BOUNDARY":case 19:t.type=19;break;case"LEFT_EYE_LEFT_CORNER":case 20:t.type=20;break;case"RIGHT_EYE_TOP_BOUNDARY":case 21:t.type=21;break;case"RIGHT_EYE_RIGHT_CORNER":case 22:t.type=22;break;case"RIGHT_EYE_BOTTOM_BOUNDARY":case 23:t.type=23;break;case"RIGHT_EYE_LEFT_CORNER":case 24:t.type=24;break;case"LEFT_EYEBROW_UPPER_MIDPOINT":case 25:t.type=25;break;case"RIGHT_EYEBROW_UPPER_MIDPOINT":case 26:t.type=26;break;case"LEFT_EAR_TRAGION":case 27:t.type=27;break;case"RIGHT_EAR_TRAGION":case 28:t.type=28;break;case"LEFT_EYE_PUPIL":case 29:t.type=29;break;case"RIGHT_EYE_PUPIL":case 30:t.type=30;break;case"FOREHEAD_GLABELLA":case 31:t.type=31;break;case"CHIN_GNATHION":case 32:t.type=32;break;case"CHIN_LEFT_GONION":case 33:t.type=33;break;case"CHIN_RIGHT_GONION":case 34:t.type=34}if(null!=e.position){if("object"!=typeof e.position)throw TypeError(".google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark.position: object expected");t.position=b.google.cloud.vision.v1p3beta1.Position.fromObject(e.position)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN_LANDMARK":0,n.position=null),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark.Type[e.type]:e.type),null!=e.position&&e.hasOwnProperty("position")&&(n.position=b.google.cloud.vision.v1p3beta1.Position.toObject(e.position,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN_LANDMARK"]=0,t[e[1]="LEFT_EYE"]=1,t[e[2]="RIGHT_EYE"]=2,t[e[3]="LEFT_OF_LEFT_EYEBROW"]=3,t[e[4]="RIGHT_OF_LEFT_EYEBROW"]=4,t[e[5]="LEFT_OF_RIGHT_EYEBROW"]=5,t[e[6]="RIGHT_OF_RIGHT_EYEBROW"]=6,t[e[7]="MIDPOINT_BETWEEN_EYES"]=7,t[e[8]="NOSE_TIP"]=8,t[e[9]="UPPER_LIP"]=9,t[e[10]="LOWER_LIP"]=10,t[e[11]="MOUTH_LEFT"]=11,t[e[12]="MOUTH_RIGHT"]=12,t[e[13]="MOUTH_CENTER"]=13,t[e[14]="NOSE_BOTTOM_RIGHT"]=14,t[e[15]="NOSE_BOTTOM_LEFT"]=15,t[e[16]="NOSE_BOTTOM_CENTER"]=16,t[e[17]="LEFT_EYE_TOP_BOUNDARY"]=17,t[e[18]="LEFT_EYE_RIGHT_CORNER"]=18,t[e[19]="LEFT_EYE_BOTTOM_BOUNDARY"]=19,t[e[20]="LEFT_EYE_LEFT_CORNER"]=20,t[e[21]="RIGHT_EYE_TOP_BOUNDARY"]=21,t[e[22]="RIGHT_EYE_RIGHT_CORNER"]=22,t[e[23]="RIGHT_EYE_BOTTOM_BOUNDARY"]=23,t[e[24]="RIGHT_EYE_LEFT_CORNER"]=24,t[e[25]="LEFT_EYEBROW_UPPER_MIDPOINT"]=25,t[e[26]="RIGHT_EYEBROW_UPPER_MIDPOINT"]=26,t[e[27]="LEFT_EAR_TRAGION"]=27,t[e[28]="RIGHT_EAR_TRAGION"]=28,t[e[29]="LEFT_EYE_PUPIL"]=29,t[e[30]="RIGHT_EYE_PUPIL"]=30,t[e[31]="FOREHEAD_GLABELLA"]=31,t[e[32]="CHIN_GNATHION"]=32,t[e[33]="CHIN_LEFT_GONION"]=33,t[e[34]="CHIN_RIGHT_GONION"]=34,t}(),t}(),t}(),a.LocationInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.latLng=b.google.type.LatLng.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.latLng&&e.hasOwnProperty("latLng")){var t=b.google.type.LatLng.verify(e.latLng);if(t)return"latLng."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.LocationInfo)return e;var t=new b.google.cloud.vision.v1p3beta1.LocationInfo;if(null!=e.latLng){if("object"!=typeof e.latLng)throw TypeError(".google.cloud.vision.v1p3beta1.LocationInfo.latLng: object expected");t.latLng=b.google.type.LatLng.fromObject(e.latLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.latLng=null),null!=e.latLng&&e.hasOwnProperty("latLng")&&(n.latLng=b.google.type.LatLng.toObject(e.latLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.LocationInfo"},t}(),a.Property=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value=e.string();break;case 3:o.uint64Value=e.uint64();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&!(v.isInteger(e.uint64Value)||e.uint64Value&&v.isInteger(e.uint64Value.low)&&v.isInteger(e.uint64Value.high))?"uint64Value: integer|Long expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.Property)return e;var t=new b.google.cloud.vision.v1p3beta1.Property;return null!=e.name&&(t.name=String(e.name)),null!=e.value&&(t.value=String(e.value)),null!=e.uint64Value&&(v.Long?(t.uint64Value=v.Long.fromValue(e.uint64Value)).unsigned=!0:"string"==typeof e.uint64Value?t.uint64Value=parseInt(e.uint64Value,10):"number"==typeof e.uint64Value?t.uint64Value=e.uint64Value:"object"==typeof e.uint64Value&&(t.uint64Value=new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0))),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(n.name="",n.value="",v.Long){var o=new v.Long(0,0,!0);n.uint64Value=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.uint64Value=t.longs===String?"0":0;return null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&("number"==typeof e.uint64Value?n.uint64Value=t.longs===String?String(e.uint64Value):e.uint64Value:n.uint64Value=t.longs===String?v.Long.prototype.toString.call(e.uint64Value):t.longs===Number?new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0):e.uint64Value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.Property"},t}(),a.EntityAnnotation=function(){function t(e){if(this.locations=[],this.properties=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.mid=e.string();break;case 2:o.locale=e.string();break;case 3:o.description=e.string();break;case 4:o.score=e.float();break;case 5:o.confidence=e.float();break;case 6:o.topicality=e.float();break;case 7:o.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 8:o.locations&&o.locations.length||(o.locations=[]),o.locations.push(b.google.cloud.vision.v1p3beta1.LocationInfo.decode(e,e.uint32()));break;case 9:o.properties&&o.properties.length||(o.properties=[]),o.properties.push(b.google.cloud.vision.v1p3beta1.Property.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid))return"mid: string expected";if(null!=e.locale&&e.hasOwnProperty("locale")&&!v.isString(e.locale))return"locale: string expected";if(null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description))return"description: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence)return"confidence: number expected";if(null!=e.topicality&&e.hasOwnProperty("topicality")&&"number"!=typeof e.topicality)return"topicality: number expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.locations&&e.hasOwnProperty("locations")){if(!Array.isArray(e.locations))return"locations: array expected";for(var t=0;t>>3){case 1:o.mid=e.string();break;case 2:o.languageCode=e.string();break;case 3:o.name=e.string();break;case 4:o.score=e.float();break;case 5:o.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid))return"mid: string expected";if(null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode))return"languageCode: string expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation)return e;var t=new b.google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation;if(null!=e.mid&&(t.mid=String(e.mid)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.name&&(t.name=String(e.name)),null!=e.score&&(t.score=Number(e.score)),null!=e.boundingPoly){if("object"!=typeof e.boundingPoly)throw TypeError(".google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation.boundingPoly: object expected");t.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.fromObject(e.boundingPoly)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.mid="",n.languageCode="",n.name="",n.score=0,n.boundingPoly=null),null!=e.mid&&e.hasOwnProperty("mid")&&(n.mid=e.mid),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.toObject(e.boundingPoly,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation"},t}(),a.SafeSearchAnnotation=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.adult=e.int32();break;case 2:o.spoof=e.int32();break;case 3:o.medical=e.int32();break;case 4:o.violence=e.int32();break;case 9:o.racy=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.adult&&e.hasOwnProperty("adult"))switch(e.adult){default:return"adult: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.spoof&&e.hasOwnProperty("spoof"))switch(e.spoof){default:return"spoof: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.medical&&e.hasOwnProperty("medical"))switch(e.medical){default:return"medical: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.violence&&e.hasOwnProperty("violence"))switch(e.violence){default:return"violence: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.racy&&e.hasOwnProperty("racy"))switch(e.racy){default:return"racy: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.SafeSearchAnnotation)return e;var t=new b.google.cloud.vision.v1p3beta1.SafeSearchAnnotation;switch(e.adult){case"UNKNOWN":case 0:t.adult=0;break;case"VERY_UNLIKELY":case 1:t.adult=1;break;case"UNLIKELY":case 2:t.adult=2;break;case"POSSIBLE":case 3:t.adult=3;break;case"LIKELY":case 4:t.adult=4;break;case"VERY_LIKELY":case 5:t.adult=5}switch(e.spoof){case"UNKNOWN":case 0:t.spoof=0;break;case"VERY_UNLIKELY":case 1:t.spoof=1;break;case"UNLIKELY":case 2:t.spoof=2;break;case"POSSIBLE":case 3:t.spoof=3;break;case"LIKELY":case 4:t.spoof=4;break;case"VERY_LIKELY":case 5:t.spoof=5}switch(e.medical){case"UNKNOWN":case 0:t.medical=0;break;case"VERY_UNLIKELY":case 1:t.medical=1;break;case"UNLIKELY":case 2:t.medical=2;break;case"POSSIBLE":case 3:t.medical=3;break;case"LIKELY":case 4:t.medical=4;break;case"VERY_LIKELY":case 5:t.medical=5}switch(e.violence){case"UNKNOWN":case 0:t.violence=0;break;case"VERY_UNLIKELY":case 1:t.violence=1;break;case"UNLIKELY":case 2:t.violence=2;break;case"POSSIBLE":case 3:t.violence=3;break;case"LIKELY":case 4:t.violence=4;break;case"VERY_LIKELY":case 5:t.violence=5}switch(e.racy){case"UNKNOWN":case 0:t.racy=0;break;case"VERY_UNLIKELY":case 1:t.racy=1;break;case"UNLIKELY":case 2:t.racy=2;break;case"POSSIBLE":case 3:t.racy=3;break;case"LIKELY":case 4:t.racy=4;break;case"VERY_LIKELY":case 5:t.racy=5}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.adult=t.enums===String?"UNKNOWN":0,n.spoof=t.enums===String?"UNKNOWN":0,n.medical=t.enums===String?"UNKNOWN":0,n.violence=t.enums===String?"UNKNOWN":0,n.racy=t.enums===String?"UNKNOWN":0),null!=e.adult&&e.hasOwnProperty("adult")&&(n.adult=t.enums===String?b.google.cloud.vision.v1p3beta1.Likelihood[e.adult]:e.adult),null!=e.spoof&&e.hasOwnProperty("spoof")&&(n.spoof=t.enums===String?b.google.cloud.vision.v1p3beta1.Likelihood[e.spoof]:e.spoof),null!=e.medical&&e.hasOwnProperty("medical")&&(n.medical=t.enums===String?b.google.cloud.vision.v1p3beta1.Likelihood[e.medical]:e.medical),null!=e.violence&&e.hasOwnProperty("violence")&&(n.violence=t.enums===String?b.google.cloud.vision.v1p3beta1.Likelihood[e.violence]:e.violence),null!=e.racy&&e.hasOwnProperty("racy")&&(n.racy=t.enums===String?b.google.cloud.vision.v1p3beta1.Likelihood[e.racy]:e.racy),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.SafeSearchAnnotation"},t}(),a.LatLongRect=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.minLatLng=b.google.type.LatLng.decode(e,e.uint32());break;case 2:o.maxLatLng=b.google.type.LatLng.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(t=b.google.type.LatLng.verify(e.minLatLng))?"minLatLng."+t:null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(t=b.google.type.LatLng.verify(e.maxLatLng))?"maxLatLng."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.LatLongRect)return e;var t=new b.google.cloud.vision.v1p3beta1.LatLongRect;if(null!=e.minLatLng){if("object"!=typeof e.minLatLng)throw TypeError(".google.cloud.vision.v1p3beta1.LatLongRect.minLatLng: object expected");t.minLatLng=b.google.type.LatLng.fromObject(e.minLatLng)}if(null!=e.maxLatLng){if("object"!=typeof e.maxLatLng)throw TypeError(".google.cloud.vision.v1p3beta1.LatLongRect.maxLatLng: object expected");t.maxLatLng=b.google.type.LatLng.fromObject(e.maxLatLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.minLatLng=null,n.maxLatLng=null),null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(n.minLatLng=b.google.type.LatLng.toObject(e.minLatLng,t)),null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(n.maxLatLng=b.google.type.LatLng.toObject(e.maxLatLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.LatLongRect"},t}(),a.ColorInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.color=b.google.type.Color.decode(e,e.uint32());break;case 2:o.score=e.float();break;case 3:o.pixelFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.color&&e.hasOwnProperty("color")){var t=b.google.type.Color.verify(e.color);if(t)return"color."+t}return null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&"number"!=typeof e.pixelFraction?"pixelFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ColorInfo)return e;var t=new b.google.cloud.vision.v1p3beta1.ColorInfo;if(null!=e.color){if("object"!=typeof e.color)throw TypeError(".google.cloud.vision.v1p3beta1.ColorInfo.color: object expected");t.color=b.google.type.Color.fromObject(e.color)}return null!=e.score&&(t.score=Number(e.score)),null!=e.pixelFraction&&(t.pixelFraction=Number(e.pixelFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.color=null,n.score=0,n.pixelFraction=0),null!=e.color&&e.hasOwnProperty("color")&&(n.color=b.google.type.Color.toObject(e.color,t)),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&(n.pixelFraction=t.json&&!isFinite(e.pixelFraction)?String(e.pixelFraction):e.pixelFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ColorInfo"},t}(),a.DominantColorsAnnotation=function(){function t(e){if(this.colors=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.colors&&o.colors.length||(o.colors=[]),o.colors.push(b.google.cloud.vision.v1p3beta1.ColorInfo.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.colors&&e.hasOwnProperty("colors")){if(!Array.isArray(e.colors))return"colors: array expected";for(var t=0;t>>3==1?o.dominantColors=b.google.cloud.vision.v1p3beta1.DominantColorsAnnotation.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.dominantColors&&e.hasOwnProperty("dominantColors")){var t=b.google.cloud.vision.v1p3beta1.DominantColorsAnnotation.verify(e.dominantColors);if(t)return"dominantColors."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ImageProperties)return e;var t=new b.google.cloud.vision.v1p3beta1.ImageProperties;if(null!=e.dominantColors){if("object"!=typeof e.dominantColors)throw TypeError(".google.cloud.vision.v1p3beta1.ImageProperties.dominantColors: object expected");t.dominantColors=b.google.cloud.vision.v1p3beta1.DominantColorsAnnotation.fromObject(e.dominantColors)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.dominantColors=null),null!=e.dominantColors&&e.hasOwnProperty("dominantColors")&&(n.dominantColors=b.google.cloud.vision.v1p3beta1.DominantColorsAnnotation.toObject(e.dominantColors,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ImageProperties"},t}(),a.CropHint=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.confidence=e.float();break;case 3:o.importanceFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}return null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&"number"!=typeof e.importanceFraction?"importanceFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.CropHint)return e;var t=new b.google.cloud.vision.v1p3beta1.CropHint;if(null!=e.boundingPoly){if("object"!=typeof e.boundingPoly)throw TypeError(".google.cloud.vision.v1p3beta1.CropHint.boundingPoly: object expected");t.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.fromObject(e.boundingPoly)}return null!=e.confidence&&(t.confidence=Number(e.confidence)),null!=e.importanceFraction&&(t.importanceFraction=Number(e.importanceFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.boundingPoly=null,n.confidence=0,n.importanceFraction=0),null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.toObject(e.boundingPoly,t)),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&(n.importanceFraction=t.json&&!isFinite(e.importanceFraction)?String(e.importanceFraction):e.importanceFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.CropHint"},t}(),a.CropHintsAnnotation=function(){function t(e){if(this.cropHints=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.cropHints&&o.cropHints.length||(o.cropHints=[]),o.cropHints.push(b.google.cloud.vision.v1p3beta1.CropHint.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.cropHints&&e.hasOwnProperty("cropHints")){if(!Array.isArray(e.cropHints))return"cropHints: array expected";for(var t=0;t>>3==1)if(o.aspectRatios&&o.aspectRatios.length||(o.aspectRatios=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==2?o.includeGeoResults=e.bool():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&"boolean"!=typeof e.includeGeoResults?"includeGeoResults: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.WebDetectionParams)return e;var t=new b.google.cloud.vision.v1p3beta1.WebDetectionParams;return null!=e.includeGeoResults&&(t.includeGeoResults=Boolean(e.includeGeoResults)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.includeGeoResults=!1),null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&(n.includeGeoResults=e.includeGeoResults),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.WebDetectionParams"},t}(),a.TextDetectionParams=function(){function t(e){if(this.advancedOcrOptions=[],e)for(var t=Object.keys(e),n=0;n>>3){case 9:o.enableTextDetectionConfidenceScore=e.bool();break;case 11:o.advancedOcrOptions&&o.advancedOcrOptions.length||(o.advancedOcrOptions=[]),o.advancedOcrOptions.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.enableTextDetectionConfidenceScore&&e.hasOwnProperty("enableTextDetectionConfidenceScore")&&"boolean"!=typeof e.enableTextDetectionConfidenceScore)return"enableTextDetectionConfidenceScore: boolean expected";if(null!=e.advancedOcrOptions&&e.hasOwnProperty("advancedOcrOptions")){if(!Array.isArray(e.advancedOcrOptions))return"advancedOcrOptions: array expected";for(var t=0;t>>3){case 1:o.latLongRect=b.google.cloud.vision.v1p3beta1.LatLongRect.decode(e,e.uint32());break;case 2:o.languageHints&&o.languageHints.length||(o.languageHints=[]),o.languageHints.push(e.string());break;case 4:o.cropHintsParams=b.google.cloud.vision.v1p3beta1.CropHintsParams.decode(e,e.uint32());break;case 5:o.productSearchParams=b.google.cloud.vision.v1p3beta1.ProductSearchParams.decode(e,e.uint32());break;case 6:o.webDetectionParams=b.google.cloud.vision.v1p3beta1.WebDetectionParams.decode(e,e.uint32());break;case 12:o.textDetectionParams=b.google.cloud.vision.v1p3beta1.TextDetectionParams.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t;if(null!=e.latLongRect&&e.hasOwnProperty("latLongRect")&&(t=b.google.cloud.vision.v1p3beta1.LatLongRect.verify(e.latLongRect)))return"latLongRect."+t;if(null!=e.languageHints&&e.hasOwnProperty("languageHints")){if(!Array.isArray(e.languageHints))return"languageHints: array expected";for(var n=0;n>>3){case 1:o.image=b.google.cloud.vision.v1p3beta1.Image.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1p3beta1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1p3beta1.ImageContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.image&&e.hasOwnProperty("image")&&(n=b.google.cloud.vision.v1p3beta1.Image.verify(e.image)))return"image."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3){case 1:o.uri=e.string();break;case 2:o.pageNumber=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null!=e.pageNumber&&e.hasOwnProperty("pageNumber")&&!v.isInteger(e.pageNumber)?"pageNumber: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ImageAnnotationContext)return e;var t=new b.google.cloud.vision.v1p3beta1.ImageAnnotationContext;return null!=e.uri&&(t.uri=String(e.uri)),null!=e.pageNumber&&(t.pageNumber=0|e.pageNumber),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri="",n.pageNumber=0),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),null!=e.pageNumber&&e.hasOwnProperty("pageNumber")&&(n.pageNumber=e.pageNumber),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ImageAnnotationContext"},t}(),a.AnnotateImageResponse=function(){function t(e){if(this.faceAnnotations=[],this.landmarkAnnotations=[],this.logoAnnotations=[],this.labelAnnotations=[],this.localizedObjectAnnotations=[],this.textAnnotations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.faceAnnotations&&o.faceAnnotations.length||(o.faceAnnotations=[]),o.faceAnnotations.push(b.google.cloud.vision.v1p3beta1.FaceAnnotation.decode(e,e.uint32()));break;case 2:o.landmarkAnnotations&&o.landmarkAnnotations.length||(o.landmarkAnnotations=[]),o.landmarkAnnotations.push(b.google.cloud.vision.v1p3beta1.EntityAnnotation.decode(e,e.uint32()));break;case 3:o.logoAnnotations&&o.logoAnnotations.length||(o.logoAnnotations=[]),o.logoAnnotations.push(b.google.cloud.vision.v1p3beta1.EntityAnnotation.decode(e,e.uint32()));break;case 4:o.labelAnnotations&&o.labelAnnotations.length||(o.labelAnnotations=[]),o.labelAnnotations.push(b.google.cloud.vision.v1p3beta1.EntityAnnotation.decode(e,e.uint32()));break;case 22:o.localizedObjectAnnotations&&o.localizedObjectAnnotations.length||(o.localizedObjectAnnotations=[]),o.localizedObjectAnnotations.push(b.google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation.decode(e,e.uint32()));break;case 5:o.textAnnotations&&o.textAnnotations.length||(o.textAnnotations=[]),o.textAnnotations.push(b.google.cloud.vision.v1p3beta1.EntityAnnotation.decode(e,e.uint32()));break;case 12:o.fullTextAnnotation=b.google.cloud.vision.v1p3beta1.TextAnnotation.decode(e,e.uint32());break;case 6:o.safeSearchAnnotation=b.google.cloud.vision.v1p3beta1.SafeSearchAnnotation.decode(e,e.uint32());break;case 8:o.imagePropertiesAnnotation=b.google.cloud.vision.v1p3beta1.ImageProperties.decode(e,e.uint32());break;case 11:o.cropHintsAnnotation=b.google.cloud.vision.v1p3beta1.CropHintsAnnotation.decode(e,e.uint32());break;case 13:o.webDetection=b.google.cloud.vision.v1p3beta1.WebDetection.decode(e,e.uint32());break;case 14:o.productSearchResults=b.google.cloud.vision.v1p3beta1.ProductSearchResults.decode(e,e.uint32());break;case 9:o.error=b.google.rpc.Status.decode(e,e.uint32());break;case 21:o.context=b.google.cloud.vision.v1p3beta1.ImageAnnotationContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.faceAnnotations&&e.hasOwnProperty("faceAnnotations")){if(!Array.isArray(e.faceAnnotations))return"faceAnnotations: array expected";for(var t=0;t>>3){case 1:o.inputConfig=b.google.cloud.vision.v1p3beta1.InputConfig.decode(e,e.uint32());break;case 2:o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p3beta1.AnnotateImageResponse.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n=b.google.cloud.vision.v1p3beta1.InputConfig.verify(e.inputConfig)))return"inputConfig."+n;if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3==1?(o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p3beta1.AnnotateImageRequest.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p3beta1.AnnotateImageResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.inputConfig=b.google.cloud.vision.v1p3beta1.InputConfig.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1p3beta1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1p3beta1.ImageContext.decode(e,e.uint32());break;case 4:o.outputConfig=b.google.cloud.vision.v1p3beta1.OutputConfig.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n=b.google.cloud.vision.v1p3beta1.InputConfig.verify(e.inputConfig)))return"inputConfig."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3==1?o.outputConfig=b.google.cloud.vision.v1p3beta1.OutputConfig.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.outputConfig&&e.hasOwnProperty("outputConfig")){var t=b.google.cloud.vision.v1p3beta1.OutputConfig.verify(e.outputConfig);if(t)return"outputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse)return e;var t=new b.google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse;if(null!=e.outputConfig){if("object"!=typeof e.outputConfig)throw TypeError(".google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse.outputConfig: object expected");t.outputConfig=b.google.cloud.vision.v1p3beta1.OutputConfig.fromObject(e.outputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.outputConfig=null),null!=e.outputConfig&&e.hasOwnProperty("outputConfig")&&(n.outputConfig=b.google.cloud.vision.v1p3beta1.OutputConfig.toObject(e.outputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse"},t}(),a.AsyncBatchAnnotateFilesRequest=function(){function t(e){if(this.requests=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.gcsSource=b.google.cloud.vision.v1p3beta1.GcsSource.decode(e,e.uint32());break;case 2:o.mimeType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsSource&&e.hasOwnProperty("gcsSource")){var t=b.google.cloud.vision.v1p3beta1.GcsSource.verify(e.gcsSource);if(t)return"gcsSource."+t}return null!=e.mimeType&&e.hasOwnProperty("mimeType")&&!v.isString(e.mimeType)?"mimeType: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.InputConfig)return e;var t=new b.google.cloud.vision.v1p3beta1.InputConfig;if(null!=e.gcsSource){if("object"!=typeof e.gcsSource)throw TypeError(".google.cloud.vision.v1p3beta1.InputConfig.gcsSource: object expected");t.gcsSource=b.google.cloud.vision.v1p3beta1.GcsSource.fromObject(e.gcsSource)}return null!=e.mimeType&&(t.mimeType=String(e.mimeType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsSource=null,n.mimeType=""),null!=e.gcsSource&&e.hasOwnProperty("gcsSource")&&(n.gcsSource=b.google.cloud.vision.v1p3beta1.GcsSource.toObject(e.gcsSource,t)),null!=e.mimeType&&e.hasOwnProperty("mimeType")&&(n.mimeType=e.mimeType),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.InputConfig"},t}(),a.OutputConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsDestination=b.google.cloud.vision.v1p3beta1.GcsDestination.decode(e,e.uint32());break;case 2:o.batchSize=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsDestination&&e.hasOwnProperty("gcsDestination")){var t=b.google.cloud.vision.v1p3beta1.GcsDestination.verify(e.gcsDestination);if(t)return"gcsDestination."+t}return null!=e.batchSize&&e.hasOwnProperty("batchSize")&&!v.isInteger(e.batchSize)?"batchSize: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.OutputConfig)return e;var t=new b.google.cloud.vision.v1p3beta1.OutputConfig;if(null!=e.gcsDestination){if("object"!=typeof e.gcsDestination)throw TypeError(".google.cloud.vision.v1p3beta1.OutputConfig.gcsDestination: object expected");t.gcsDestination=b.google.cloud.vision.v1p3beta1.GcsDestination.fromObject(e.gcsDestination)}return null!=e.batchSize&&(t.batchSize=0|e.batchSize),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsDestination=null,n.batchSize=0),null!=e.gcsDestination&&e.hasOwnProperty("gcsDestination")&&(n.gcsDestination=b.google.cloud.vision.v1p3beta1.GcsDestination.toObject(e.gcsDestination,t)),null!=e.batchSize&&e.hasOwnProperty("batchSize")&&(n.batchSize=e.batchSize),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.OutputConfig"},t}(),a.GcsSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.uri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.GcsSource)return e;var t=new b.google.cloud.vision.v1p3beta1.GcsSource;return null!=e.uri&&(t.uri=String(e.uri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri=""),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.GcsSource"},t}(),a.GcsDestination=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.uri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.GcsDestination)return e;var t=new b.google.cloud.vision.v1p3beta1.GcsDestination;return null!=e.uri&&(t.uri=String(e.uri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri=""),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.GcsDestination"},t}(),a.Likelihood=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="VERY_UNLIKELY"]=1,t[e[2]="UNLIKELY"]=2,t[e[3]="POSSIBLE"]=3,t[e[4]="LIKELY"]=4,t[e[5]="VERY_LIKELY"]=5,t}(),a.OperationMetadata=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.state=e.int32();break;case 5:o.createTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 6:o.updateTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:case 3:case 4:}var t;return null!=e.createTime&&e.hasOwnProperty("createTime")&&(t=b.google.protobuf.Timestamp.verify(e.createTime))?"createTime."+t:null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(t=b.google.protobuf.Timestamp.verify(e.updateTime))?"updateTime."+t:null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.OperationMetadata)return e;var t=new b.google.cloud.vision.v1p3beta1.OperationMetadata;switch(e.state){case"STATE_UNSPECIFIED":case 0:t.state=0;break;case"CREATED":case 1:t.state=1;break;case"RUNNING":case 2:t.state=2;break;case"DONE":case 3:t.state=3;break;case"CANCELLED":case 4:t.state=4}if(null!=e.createTime){if("object"!=typeof e.createTime)throw TypeError(".google.cloud.vision.v1p3beta1.OperationMetadata.createTime: object expected");t.createTime=b.google.protobuf.Timestamp.fromObject(e.createTime)}if(null!=e.updateTime){if("object"!=typeof e.updateTime)throw TypeError(".google.cloud.vision.v1p3beta1.OperationMetadata.updateTime: object expected");t.updateTime=b.google.protobuf.Timestamp.fromObject(e.updateTime)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.state=t.enums===String?"STATE_UNSPECIFIED":0,n.createTime=null,n.updateTime=null),null!=e.state&&e.hasOwnProperty("state")&&(n.state=t.enums===String?b.google.cloud.vision.v1p3beta1.OperationMetadata.State[e.state]:e.state),null!=e.createTime&&e.hasOwnProperty("createTime")&&(n.createTime=b.google.protobuf.Timestamp.toObject(e.createTime,t)),null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(n.updateTime=b.google.protobuf.Timestamp.toObject(e.updateTime,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.OperationMetadata"},t.State=function(){var e={},t=Object.create(e);return t[e[0]="STATE_UNSPECIFIED"]=0,t[e[1]="CREATED"]=1,t[e[2]="RUNNING"]=2,t[e[3]="DONE"]=3,t[e[4]="CANCELLED"]=4,t}(),t}(),a.ProductSearchParams=function(){function t(e){if(this.productCategories=[],e)for(var t=Object.keys(e),n=0;n>>3){case 9:o.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 6:o.productSet=e.string();break;case 7:o.productCategories&&o.productCategories.length||(o.productCategories=[]),o.productCategories.push(e.string());break;case 8:o.filter=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}if(null!=e.productSet&&e.hasOwnProperty("productSet")&&!v.isString(e.productSet))return"productSet: string expected";if(null!=e.productCategories&&e.hasOwnProperty("productCategories")){if(!Array.isArray(e.productCategories))return"productCategories: array expected";for(var n=0;n>>3){case 2:o.indexTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 5:o.results&&o.results.length||(o.results=[]),o.results.push(b.google.cloud.vision.v1p3beta1.ProductSearchResults.Result.decode(e,e.uint32()));break;case 6:o.productGroupedResults&&o.productGroupedResults.length||(o.productGroupedResults=[]),o.productGroupedResults.push(b.google.cloud.vision.v1p3beta1.ProductSearchResults.GroupedResult.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(n=b.google.protobuf.Timestamp.verify(e.indexTime)))return"indexTime."+n;if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:o.product=b.google.cloud.vision.v1p3beta1.Product.decode(e,e.uint32());break;case 2:o.score=e.float();break;case 3:o.image=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.product&&e.hasOwnProperty("product")){var t=b.google.cloud.vision.v1p3beta1.Product.verify(e.product);if(t)return"product."+t}return null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.image&&e.hasOwnProperty("image")&&!v.isString(e.image)?"image: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ProductSearchResults.Result)return e;var t=new b.google.cloud.vision.v1p3beta1.ProductSearchResults.Result;if(null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1p3beta1.ProductSearchResults.Result.product: object expected");t.product=b.google.cloud.vision.v1p3beta1.Product.fromObject(e.product)}return null!=e.score&&(t.score=Number(e.score)),null!=e.image&&(t.image=String(e.image)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.product=null,n.score=0,n.image=""),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1p3beta1.Product.toObject(e.product,t)),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.image&&e.hasOwnProperty("image")&&(n.image=e.image),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ProductSearchResults.Result"},t}(),t.ObjectAnnotation=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.mid=e.string();break;case 2:o.languageCode=e.string();break;case 3:o.name=e.string();break;case 4:o.score=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid)?"mid: string expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation)return e;var t=new b.google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation;return null!=e.mid&&(t.mid=String(e.mid)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.name&&(t.name=String(e.name)),null!=e.score&&(t.score=Number(e.score)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.mid="",n.languageCode="",n.name="",n.score=0),null!=e.mid&&e.hasOwnProperty("mid")&&(n.mid=e.mid),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation"},t}(),t.GroupedResult=function(){function t(e){if(this.results=[],this.objectAnnotations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.results&&o.results.length||(o.results=[]),o.results.push(b.google.cloud.vision.v1p3beta1.ProductSearchResults.Result.decode(e,e.uint32()));break;case 3:o.objectAnnotations&&o.objectAnnotations.length||(o.objectAnnotations=[]),o.objectAnnotations.push(b.google.cloud.vision.v1p3beta1.ProductSearchResults.ObjectAnnotation.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.displayName=e.string();break;case 3:o.description=e.string();break;case 4:o.productCategory=e.string();break;case 5:o.productLabels&&o.productLabels.length||(o.productLabels=[]),o.productLabels.push(b.google.cloud.vision.v1p3beta1.Product.KeyValue.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.displayName&&e.hasOwnProperty("displayName")&&!v.isString(e.displayName))return"displayName: string expected";if(null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description))return"description: string expected";if(null!=e.productCategory&&e.hasOwnProperty("productCategory")&&!v.isString(e.productCategory))return"productCategory: string expected";if(null!=e.productLabels&&e.hasOwnProperty("productLabels")){if(!Array.isArray(e.productLabels))return"productLabels: array expected";for(var t=0;t>>3){case 1:o.key=e.string();break;case 2:o.value=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.key&&e.hasOwnProperty("key")&&!v.isString(e.key)?"key: string expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.Product.KeyValue)return e;var t=new b.google.cloud.vision.v1p3beta1.Product.KeyValue;return null!=e.key&&(t.key=String(e.key)),null!=e.value&&(t.value=String(e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.key="",n.value=""),null!=e.key&&e.hasOwnProperty("key")&&(n.key=e.key),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.Product.KeyValue"},t}(),t}(),a.ProductSet=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.displayName=e.string();break;case 3:o.indexTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 4:o.indexError=b.google.rpc.Status.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.displayName&&e.hasOwnProperty("displayName")&&!v.isString(e.displayName)?"displayName: string expected":null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(t=b.google.protobuf.Timestamp.verify(e.indexTime))?"indexTime."+t:null!=e.indexError&&e.hasOwnProperty("indexError")&&(t=b.google.rpc.Status.verify(e.indexError))?"indexError."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ProductSet)return e;var t=new b.google.cloud.vision.v1p3beta1.ProductSet;if(null!=e.name&&(t.name=String(e.name)),null!=e.displayName&&(t.displayName=String(e.displayName)),null!=e.indexTime){if("object"!=typeof e.indexTime)throw TypeError(".google.cloud.vision.v1p3beta1.ProductSet.indexTime: object expected");t.indexTime=b.google.protobuf.Timestamp.fromObject(e.indexTime)}if(null!=e.indexError){if("object"!=typeof e.indexError)throw TypeError(".google.cloud.vision.v1p3beta1.ProductSet.indexError: object expected");t.indexError=b.google.rpc.Status.fromObject(e.indexError)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.displayName="",n.indexTime=null,n.indexError=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.displayName&&e.hasOwnProperty("displayName")&&(n.displayName=e.displayName),null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(n.indexTime=b.google.protobuf.Timestamp.toObject(e.indexTime,t)),null!=e.indexError&&e.hasOwnProperty("indexError")&&(n.indexError=b.google.rpc.Status.toObject(e.indexError,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ProductSet"},t}(),a.ReferenceImage=function(){function t(e){if(this.boundingPolys=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.uri=e.string();break;case 3:o.boundingPolys&&o.boundingPolys.length||(o.boundingPolys=[]),o.boundingPolys.push(b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri))return"uri: string expected";if(null!=e.boundingPolys&&e.hasOwnProperty("boundingPolys")){if(!Array.isArray(e.boundingPolys))return"boundingPolys: array expected";for(var t=0;t>>3){case 1:o.parent=e.string();break;case 2:o.product=b.google.cloud.vision.v1p3beta1.Product.decode(e,e.uint32());break;case 3:o.productId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.product&&e.hasOwnProperty("product")){var t=b.google.cloud.vision.v1p3beta1.Product.verify(e.product);if(t)return"product."+t}return null!=e.productId&&e.hasOwnProperty("productId")&&!v.isString(e.productId)?"productId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.CreateProductRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.CreateProductRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1p3beta1.CreateProductRequest.product: object expected");t.product=b.google.cloud.vision.v1p3beta1.Product.fromObject(e.product)}return null!=e.productId&&(t.productId=String(e.productId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.product=null,n.productId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1p3beta1.Product.toObject(e.product,t)),null!=e.productId&&e.hasOwnProperty("productId")&&(n.productId=e.productId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.CreateProductRequest"},t}(),a.ListProductsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ListProductsRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.ListProductsRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ListProductsRequest"},t}(),a.ListProductsResponse=function(){function t(e){if(this.products=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.products&&o.products.length||(o.products=[]),o.products.push(b.google.cloud.vision.v1p3beta1.Product.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.products&&e.hasOwnProperty("products")){if(!Array.isArray(e.products))return"products: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.GetProductRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.GetProductRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.GetProductRequest"},t}(),a.UpdateProductRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.product=b.google.cloud.vision.v1p3beta1.Product.decode(e,e.uint32());break;case 2:o.updateMask=b.google.protobuf.FieldMask.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.product&&e.hasOwnProperty("product")&&(t=b.google.cloud.vision.v1p3beta1.Product.verify(e.product))?"product."+t:null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(t=b.google.protobuf.FieldMask.verify(e.updateMask))?"updateMask."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.UpdateProductRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.UpdateProductRequest;if(null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1p3beta1.UpdateProductRequest.product: object expected");t.product=b.google.cloud.vision.v1p3beta1.Product.fromObject(e.product)}if(null!=e.updateMask){if("object"!=typeof e.updateMask)throw TypeError(".google.cloud.vision.v1p3beta1.UpdateProductRequest.updateMask: object expected");t.updateMask=b.google.protobuf.FieldMask.fromObject(e.updateMask)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.product=null,n.updateMask=null),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1p3beta1.Product.toObject(e.product,t)),null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(n.updateMask=b.google.protobuf.FieldMask.toObject(e.updateMask,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.UpdateProductRequest"},t}(),a.DeleteProductRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.DeleteProductRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.DeleteProductRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.DeleteProductRequest"},t}(),a.CreateProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.productSet=b.google.cloud.vision.v1p3beta1.ProductSet.decode(e,e.uint32());break;case 3:o.productSetId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.productSet&&e.hasOwnProperty("productSet")){var t=b.google.cloud.vision.v1p3beta1.ProductSet.verify(e.productSet);if(t)return"productSet."+t}return null!=e.productSetId&&e.hasOwnProperty("productSetId")&&!v.isString(e.productSetId)?"productSetId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.CreateProductSetRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.CreateProductSetRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.productSet){if("object"!=typeof e.productSet)throw TypeError(".google.cloud.vision.v1p3beta1.CreateProductSetRequest.productSet: object expected");t.productSet=b.google.cloud.vision.v1p3beta1.ProductSet.fromObject(e.productSet)}return null!=e.productSetId&&(t.productSetId=String(e.productSetId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.productSet=null,n.productSetId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.productSet&&e.hasOwnProperty("productSet")&&(n.productSet=b.google.cloud.vision.v1p3beta1.ProductSet.toObject(e.productSet,t)),null!=e.productSetId&&e.hasOwnProperty("productSetId")&&(n.productSetId=e.productSetId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.CreateProductSetRequest"},t}(),a.ListProductSetsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ListProductSetsRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.ListProductSetsRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ListProductSetsRequest"},t}(),a.ListProductSetsResponse=function(){function t(e){if(this.productSets=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.productSets&&o.productSets.length||(o.productSets=[]),o.productSets.push(b.google.cloud.vision.v1p3beta1.ProductSet.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.productSets&&e.hasOwnProperty("productSets")){if(!Array.isArray(e.productSets))return"productSets: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.GetProductSetRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.GetProductSetRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.GetProductSetRequest"},t}(),a.UpdateProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.productSet=b.google.cloud.vision.v1p3beta1.ProductSet.decode(e,e.uint32());break;case 2:o.updateMask=b.google.protobuf.FieldMask.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.productSet&&e.hasOwnProperty("productSet")&&(t=b.google.cloud.vision.v1p3beta1.ProductSet.verify(e.productSet))?"productSet."+t:null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(t=b.google.protobuf.FieldMask.verify(e.updateMask))?"updateMask."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.UpdateProductSetRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.UpdateProductSetRequest;if(null!=e.productSet){if("object"!=typeof e.productSet)throw TypeError(".google.cloud.vision.v1p3beta1.UpdateProductSetRequest.productSet: object expected");t.productSet=b.google.cloud.vision.v1p3beta1.ProductSet.fromObject(e.productSet)}if(null!=e.updateMask){if("object"!=typeof e.updateMask)throw TypeError(".google.cloud.vision.v1p3beta1.UpdateProductSetRequest.updateMask: object expected");t.updateMask=b.google.protobuf.FieldMask.fromObject(e.updateMask)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.productSet=null,n.updateMask=null),null!=e.productSet&&e.hasOwnProperty("productSet")&&(n.productSet=b.google.cloud.vision.v1p3beta1.ProductSet.toObject(e.productSet,t)),null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(n.updateMask=b.google.protobuf.FieldMask.toObject(e.updateMask,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.UpdateProductSetRequest"},t}(),a.DeleteProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.DeleteProductSetRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.DeleteProductSetRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.DeleteProductSetRequest"},t}(),a.CreateReferenceImageRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.referenceImage=b.google.cloud.vision.v1p3beta1.ReferenceImage.decode(e,e.uint32());break;case 3:o.referenceImageId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.referenceImage&&e.hasOwnProperty("referenceImage")){var t=b.google.cloud.vision.v1p3beta1.ReferenceImage.verify(e.referenceImage);if(t)return"referenceImage."+t}return null!=e.referenceImageId&&e.hasOwnProperty("referenceImageId")&&!v.isString(e.referenceImageId)?"referenceImageId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.CreateReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.CreateReferenceImageRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.referenceImage){if("object"!=typeof e.referenceImage)throw TypeError(".google.cloud.vision.v1p3beta1.CreateReferenceImageRequest.referenceImage: object expected");t.referenceImage=b.google.cloud.vision.v1p3beta1.ReferenceImage.fromObject(e.referenceImage)}return null!=e.referenceImageId&&(t.referenceImageId=String(e.referenceImageId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.referenceImage=null,n.referenceImageId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.referenceImage&&e.hasOwnProperty("referenceImage")&&(n.referenceImage=b.google.cloud.vision.v1p3beta1.ReferenceImage.toObject(e.referenceImage,t)),null!=e.referenceImageId&&e.hasOwnProperty("referenceImageId")&&(n.referenceImageId=e.referenceImageId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.CreateReferenceImageRequest"},t}(),a.ListReferenceImagesRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ListReferenceImagesRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.ListReferenceImagesRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ListReferenceImagesRequest"},t}(),a.ListReferenceImagesResponse=function(){function t(e){if(this.referenceImages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.referenceImages&&o.referenceImages.length||(o.referenceImages=[]),o.referenceImages.push(b.google.cloud.vision.v1p3beta1.ReferenceImage.decode(e,e.uint32()));break;case 2:o.pageSize=e.int32();break;case 3:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.referenceImages&&e.hasOwnProperty("referenceImages")){if(!Array.isArray(e.referenceImages))return"referenceImages: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.GetReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.GetReferenceImageRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.GetReferenceImageRequest"},t}(),a.DeleteReferenceImageRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.DeleteReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.DeleteReferenceImageRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.DeleteReferenceImageRequest"},t}(),a.AddProductToProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.product=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.product&&e.hasOwnProperty("product")&&!v.isString(e.product)?"product: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.AddProductToProductSetRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.AddProductToProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.product&&(t.product=String(e.product)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.product=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.product&&e.hasOwnProperty("product")&&(n.product=e.product),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.AddProductToProductSetRequest"},t}(),a.RemoveProductFromProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.product=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.product&&e.hasOwnProperty("product")&&!v.isString(e.product)?"product: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.RemoveProductFromProductSetRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.RemoveProductFromProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.product&&(t.product=String(e.product)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.product=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.product&&e.hasOwnProperty("product")&&(n.product=e.product),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.RemoveProductFromProductSetRequest"},t}(),a.ListProductsInProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ListProductsInProductSetRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.ListProductsInProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.pageSize=0,n.pageToken=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ListProductsInProductSetRequest"},t}(),a.ListProductsInProductSetResponse=function(){function t(e){if(this.products=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.products&&o.products.length||(o.products=[]),o.products.push(b.google.cloud.vision.v1p3beta1.Product.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.products&&e.hasOwnProperty("products")){if(!Array.isArray(e.products))return"products: array expected";for(var t=0;t>>3==1?o.csvFileUri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.csvFileUri&&e.hasOwnProperty("csvFileUri")&&!v.isString(e.csvFileUri)?"csvFileUri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource)return e;var t=new b.google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource;return null!=e.csvFileUri&&(t.csvFileUri=String(e.csvFileUri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.csvFileUri=""),null!=e.csvFileUri&&e.hasOwnProperty("csvFileUri")&&(n.csvFileUri=e.csvFileUri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource"},t}(),a.ImportProductSetsInputConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.gcsSource=b.google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsSource&&e.hasOwnProperty("gcsSource")){var t=b.google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource.verify(e.gcsSource);if(t)return"gcsSource."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig)return e;var t=new b.google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig;if(null!=e.gcsSource){if("object"!=typeof e.gcsSource)throw TypeError(".google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig.gcsSource: object expected");t.gcsSource=b.google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource.fromObject(e.gcsSource)}return t},t.toObject=function(e,t){t||(t={});var n={};return null!=e.gcsSource&&e.hasOwnProperty("gcsSource")&&(n.gcsSource=b.google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource.toObject(e.gcsSource,t),t.oneofs&&(n.source="gcsSource")),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig"},t}(),a.ImportProductSetsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.inputConfig=b.google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")){var t=b.google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig.verify(e.inputConfig);if(t)return"inputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.ImportProductSetsRequest)return e;var t=new b.google.cloud.vision.v1p3beta1.ImportProductSetsRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.inputConfig){if("object"!=typeof e.inputConfig)throw TypeError(".google.cloud.vision.v1p3beta1.ImportProductSetsRequest.inputConfig: object expected");t.inputConfig=b.google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig.fromObject(e.inputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.inputConfig=null),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n.inputConfig=b.google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig.toObject(e.inputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.ImportProductSetsRequest"},t}(),a.ImportProductSetsResponse=function(){function t(e){if(this.referenceImages=[],this.statuses=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.referenceImages&&o.referenceImages.length||(o.referenceImages=[]),o.referenceImages.push(b.google.cloud.vision.v1p3beta1.ReferenceImage.decode(e,e.uint32()));break;case 2:o.statuses&&o.statuses.length||(o.statuses=[]),o.statuses.push(b.google.rpc.Status.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.referenceImages&&e.hasOwnProperty("referenceImages")){if(!Array.isArray(e.referenceImages))return"referenceImages: array expected";for(var t=0;t>>3){case 1:o.state=e.int32();break;case 2:o.submitTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 3:o.endTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:case 3:case 4:}var t;return null!=e.submitTime&&e.hasOwnProperty("submitTime")&&(t=b.google.protobuf.Timestamp.verify(e.submitTime))?"submitTime."+t:null!=e.endTime&&e.hasOwnProperty("endTime")&&(t=b.google.protobuf.Timestamp.verify(e.endTime))?"endTime."+t:null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.BatchOperationMetadata)return e;var t=new b.google.cloud.vision.v1p3beta1.BatchOperationMetadata;switch(e.state){case"STATE_UNSPECIFIED":case 0:t.state=0;break;case"PROCESSING":case 1:t.state=1;break;case"SUCCESSFUL":case 2:t.state=2;break;case"FAILED":case 3:t.state=3;break;case"CANCELLED":case 4:t.state=4}if(null!=e.submitTime){if("object"!=typeof e.submitTime)throw TypeError(".google.cloud.vision.v1p3beta1.BatchOperationMetadata.submitTime: object expected");t.submitTime=b.google.protobuf.Timestamp.fromObject(e.submitTime)}if(null!=e.endTime){if("object"!=typeof e.endTime)throw TypeError(".google.cloud.vision.v1p3beta1.BatchOperationMetadata.endTime: object expected");t.endTime=b.google.protobuf.Timestamp.fromObject(e.endTime)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.state=t.enums===String?"STATE_UNSPECIFIED":0,n.submitTime=null,n.endTime=null),null!=e.state&&e.hasOwnProperty("state")&&(n.state=t.enums===String?b.google.cloud.vision.v1p3beta1.BatchOperationMetadata.State[e.state]:e.state),null!=e.submitTime&&e.hasOwnProperty("submitTime")&&(n.submitTime=b.google.protobuf.Timestamp.toObject(e.submitTime,t)),null!=e.endTime&&e.hasOwnProperty("endTime")&&(n.endTime=b.google.protobuf.Timestamp.toObject(e.endTime,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.BatchOperationMetadata"},t.State=function(){var e={},t=Object.create(e);return t[e[0]="STATE_UNSPECIFIED"]=0,t[e[1]="PROCESSING"]=1,t[e[2]="SUCCESSFUL"]=2,t[e[3]="FAILED"]=3,t[e[4]="CANCELLED"]=4,t}(),t}(),a.TextAnnotation=function(){function t(e){if(this.pages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.pages&&o.pages.length||(o.pages=[]),o.pages.push(b.google.cloud.vision.v1p3beta1.Page.decode(e,e.uint32()));break;case 2:o.text=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.pages&&e.hasOwnProperty("pages")){if(!Array.isArray(e.pages))return"pages: array expected";for(var t=0;t>>3){case 1:o.languageCode=e.string();break;case 2:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.TextAnnotation.DetectedLanguage)return e;var t=new b.google.cloud.vision.v1p3beta1.TextAnnotation.DetectedLanguage;return null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.languageCode="",n.confidence=0),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.TextAnnotation.DetectedLanguage"},t}(),t.DetectedBreak=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.isPrefix=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&"boolean"!=typeof e.isPrefix?"isPrefix: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.TextAnnotation.DetectedBreak)return e;var t=new b.google.cloud.vision.v1p3beta1.TextAnnotation.DetectedBreak;switch(e.type){case"UNKNOWN":case 0:t.type=0;break;case"SPACE":case 1:t.type=1;break;case"SURE_SPACE":case 2:t.type=2;break;case"EOL_SURE_SPACE":case 3:t.type=3;break;case"HYPHEN":case 4:t.type=4;break;case"LINE_BREAK":case 5:t.type=5}return null!=e.isPrefix&&(t.isPrefix=Boolean(e.isPrefix)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN":0,n.isPrefix=!1),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p3beta1.TextAnnotation.DetectedBreak.BreakType[e.type]:e.type),null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&(n.isPrefix=e.isPrefix),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.TextAnnotation.DetectedBreak"},t.BreakType=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="SPACE"]=1,t[e[2]="SURE_SPACE"]=2,t[e[3]="EOL_SURE_SPACE"]=3,t[e[4]="HYPHEN"]=4,t[e[5]="LINE_BREAK"]=5,t}(),t}(),t.TextProperty=function(){function t(e){if(this.detectedLanguages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.detectedLanguages&&o.detectedLanguages.length||(o.detectedLanguages=[]),o.detectedLanguages.push(b.google.cloud.vision.v1p3beta1.TextAnnotation.DetectedLanguage.decode(e,e.uint32()));break;case 2:o.detectedBreak=b.google.cloud.vision.v1p3beta1.TextAnnotation.DetectedBreak.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.detectedLanguages&&e.hasOwnProperty("detectedLanguages")){if(!Array.isArray(e.detectedLanguages))return"detectedLanguages: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.width=e.int32();break;case 3:o.height=e.int32();break;case 4:o.blocks&&o.blocks.length||(o.blocks=[]),o.blocks.push(b.google.cloud.vision.v1p3beta1.Block.decode(e,e.uint32()));break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.width&&e.hasOwnProperty("width")&&!v.isInteger(e.width))return"width: integer expected";if(null!=e.height&&e.hasOwnProperty("height")&&!v.isInteger(e.height))return"height: integer expected";if(null!=e.blocks&&e.hasOwnProperty("blocks")){if(!Array.isArray(e.blocks))return"blocks: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.paragraphs&&o.paragraphs.length||(o.paragraphs=[]),o.paragraphs.push(b.google.cloud.vision.v1p3beta1.Paragraph.decode(e,e.uint32()));break;case 4:o.blockType=e.int32();break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.paragraphs&&e.hasOwnProperty("paragraphs")){if(!Array.isArray(e.paragraphs))return"paragraphs: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.words&&o.words.length||(o.words=[]),o.words.push(b.google.cloud.vision.v1p3beta1.Word.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.words&&e.hasOwnProperty("words")){if(!Array.isArray(e.words))return"words: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.symbols&&o.symbols.length||(o.symbols=[]),o.symbols.push(b.google.cloud.vision.v1p3beta1.Symbol.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.symbols&&e.hasOwnProperty("symbols")){if(!Array.isArray(e.symbols))return"symbols: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p3beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.text=e.string();break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.property&&e.hasOwnProperty("property")&&(t=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.verify(e.property))?"property."+t:null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(t=b.google.cloud.vision.v1p3beta1.BoundingPoly.verify(e.boundingBox))?"boundingBox."+t:null!=e.text&&e.hasOwnProperty("text")&&!v.isString(e.text)?"text: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.Symbol)return e;var t=new b.google.cloud.vision.v1p3beta1.Symbol;if(null!=e.property){if("object"!=typeof e.property)throw TypeError(".google.cloud.vision.v1p3beta1.Symbol.property: object expected");t.property=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.fromObject(e.property)}if(null!=e.boundingBox){if("object"!=typeof e.boundingBox)throw TypeError(".google.cloud.vision.v1p3beta1.Symbol.boundingBox: object expected");t.boundingBox=b.google.cloud.vision.v1p3beta1.BoundingPoly.fromObject(e.boundingBox)}return null!=e.text&&(t.text=String(e.text)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.property=null,n.boundingBox=null,n.text="",n.confidence=0),null!=e.property&&e.hasOwnProperty("property")&&(n.property=b.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty.toObject(e.property,t)),null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n.boundingBox=b.google.cloud.vision.v1p3beta1.BoundingPoly.toObject(e.boundingBox,t)),null!=e.text&&e.hasOwnProperty("text")&&(n.text=e.text),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.Symbol"},t}(),a.WebDetection=function(){function t(e){if(this.webEntities=[],this.fullMatchingImages=[],this.partialMatchingImages=[],this.pagesWithMatchingImages=[],this.visuallySimilarImages=[],this.bestGuessLabels=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.webEntities&&o.webEntities.length||(o.webEntities=[]),o.webEntities.push(b.google.cloud.vision.v1p3beta1.WebDetection.WebEntity.decode(e,e.uint32()));break;case 2:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1p3beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 3:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1p3beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 4:o.pagesWithMatchingImages&&o.pagesWithMatchingImages.length||(o.pagesWithMatchingImages=[]),o.pagesWithMatchingImages.push(b.google.cloud.vision.v1p3beta1.WebDetection.WebPage.decode(e,e.uint32()));break;case 6:o.visuallySimilarImages&&o.visuallySimilarImages.length||(o.visuallySimilarImages=[]),o.visuallySimilarImages.push(b.google.cloud.vision.v1p3beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 8:o.bestGuessLabels&&o.bestGuessLabels.length||(o.bestGuessLabels=[]),o.bestGuessLabels.push(b.google.cloud.vision.v1p3beta1.WebDetection.WebLabel.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.webEntities&&e.hasOwnProperty("webEntities")){if(!Array.isArray(e.webEntities))return"webEntities: array expected";for(var t=0;t>>3){case 1:o.entityId=e.string();break;case 2:o.score=e.float();break;case 3:o.description=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.entityId&&e.hasOwnProperty("entityId")&&!v.isString(e.entityId)?"entityId: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description)?"description: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.WebDetection.WebEntity)return e;var t=new b.google.cloud.vision.v1p3beta1.WebDetection.WebEntity;return null!=e.entityId&&(t.entityId=String(e.entityId)),null!=e.score&&(t.score=Number(e.score)),null!=e.description&&(t.description=String(e.description)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.entityId="",n.score=0,n.description=""),null!=e.entityId&&e.hasOwnProperty("entityId")&&(n.entityId=e.entityId),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.description&&e.hasOwnProperty("description")&&(n.description=e.description),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.WebDetection.WebEntity"},t}(),t.WebImage=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url)?"url: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.WebDetection.WebImage)return e;var t=new b.google.cloud.vision.v1p3beta1.WebDetection.WebImage;return null!=e.url&&(t.url=String(e.url)),null!=e.score&&(t.score=Number(e.score)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.url="",n.score=0),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.WebDetection.WebImage"},t}(),t.WebPage=function(){function t(e){if(this.fullMatchingImages=[],this.partialMatchingImages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;case 3:o.pageTitle=e.string();break;case 4:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1p3beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 5:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1p3beta1.WebDetection.WebImage.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url))return"url: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.pageTitle&&e.hasOwnProperty("pageTitle")&&!v.isString(e.pageTitle))return"pageTitle: string expected";if(null!=e.fullMatchingImages&&e.hasOwnProperty("fullMatchingImages")){if(!Array.isArray(e.fullMatchingImages))return"fullMatchingImages: array expected";for(var t=0;t>>3){case 1:o.label=e.string();break;case 2:o.languageCode=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.label&&e.hasOwnProperty("label")&&!v.isString(e.label)?"label: string expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p3beta1.WebDetection.WebLabel)return e;var t=new b.google.cloud.vision.v1p3beta1.WebDetection.WebLabel;return null!=e.label&&(t.label=String(e.label)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.label="",n.languageCode=""),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p3beta1.WebDetection.WebLabel"},t}(),t}(),a),l.v1p4beta1=((s={}).FaceRecognitionParams=function(){function t(e){if(this.celebritySet=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.celebritySet&&o.celebritySet.length||(o.celebritySet=[]),o.celebritySet.push(e.string())):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.celebritySet&&e.hasOwnProperty("celebritySet")){if(!Array.isArray(e.celebritySet))return"celebritySet: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.displayName=e.string();break;case 3:o.description=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.displayName&&e.hasOwnProperty("displayName")&&!v.isString(e.displayName)?"displayName: string expected":null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description)?"description: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.Celebrity)return e;var t=new b.google.cloud.vision.v1p4beta1.Celebrity;return null!=e.name&&(t.name=String(e.name)),null!=e.displayName&&(t.displayName=String(e.displayName)),null!=e.description&&(t.description=String(e.description)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.displayName="",n.description=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.displayName&&e.hasOwnProperty("displayName")&&(n.displayName=e.displayName),null!=e.description&&e.hasOwnProperty("description")&&(n.description=e.description),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.Celebrity"},t}(),s.FaceRecognitionResult=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.celebrity=b.google.cloud.vision.v1p4beta1.Celebrity.decode(e,e.uint32());break;case 2:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.celebrity&&e.hasOwnProperty("celebrity")){var t=b.google.cloud.vision.v1p4beta1.Celebrity.verify(e.celebrity);if(t)return"celebrity."+t}return null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.FaceRecognitionResult)return e;var t=new b.google.cloud.vision.v1p4beta1.FaceRecognitionResult;if(null!=e.celebrity){if("object"!=typeof e.celebrity)throw TypeError(".google.cloud.vision.v1p4beta1.FaceRecognitionResult.celebrity: object expected");t.celebrity=b.google.cloud.vision.v1p4beta1.Celebrity.fromObject(e.celebrity)}return null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.celebrity=null,n.confidence=0),null!=e.celebrity&&e.hasOwnProperty("celebrity")&&(n.celebrity=b.google.cloud.vision.v1p4beta1.Celebrity.toObject(e.celebrity,t)),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.FaceRecognitionResult"},t}(),s.Vertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.int32();break;case 2:o.y=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&!v.isInteger(e.x)?"x: integer expected":null!=e.y&&e.hasOwnProperty("y")&&!v.isInteger(e.y)?"y: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.Vertex)return e;var t=new b.google.cloud.vision.v1p4beta1.Vertex;return null!=e.x&&(t.x=0|e.x),null!=e.y&&(t.y=0|e.y),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.Vertex"},t}(),s.NormalizedVertex=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.NormalizedVertex)return e;var t=new b.google.cloud.vision.v1p4beta1.NormalizedVertex;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.NormalizedVertex"},t}(),s.BoundingPoly=function(){function t(e){if(this.vertices=[],this.normalizedVertices=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.vertices&&o.vertices.length||(o.vertices=[]),o.vertices.push(b.google.cloud.vision.v1p4beta1.Vertex.decode(e,e.uint32()));break;case 2:o.normalizedVertices&&o.normalizedVertices.length||(o.normalizedVertices=[]),o.normalizedVertices.push(b.google.cloud.vision.v1p4beta1.NormalizedVertex.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.vertices&&e.hasOwnProperty("vertices")){if(!Array.isArray(e.vertices))return"vertices: array expected";for(var t=0;t>>3){case 1:o.x=e.float();break;case 2:o.y=e.float();break;case 3:o.z=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.x&&e.hasOwnProperty("x")&&"number"!=typeof e.x?"x: number expected":null!=e.y&&e.hasOwnProperty("y")&&"number"!=typeof e.y?"y: number expected":null!=e.z&&e.hasOwnProperty("z")&&"number"!=typeof e.z?"z: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.Position)return e;var t=new b.google.cloud.vision.v1p4beta1.Position;return null!=e.x&&(t.x=Number(e.x)),null!=e.y&&(t.y=Number(e.y)),null!=e.z&&(t.z=Number(e.z)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.x=0,n.y=0,n.z=0),null!=e.x&&e.hasOwnProperty("x")&&(n.x=t.json&&!isFinite(e.x)?String(e.x):e.x),null!=e.y&&e.hasOwnProperty("y")&&(n.y=t.json&&!isFinite(e.y)?String(e.y):e.y),null!=e.z&&e.hasOwnProperty("z")&&(n.z=t.json&&!isFinite(e.z)?String(e.z):e.z),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.Position"},t}(),s.ImageAnnotator=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.batchAnnotateImages=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest,b.google.cloud.vision.v1p4beta1.BatchAnnotateImagesResponse,t,n)},"name",{value:"BatchAnnotateImages"}),Object.defineProperty(t.prototype.batchAnnotateFiles=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p4beta1.BatchAnnotateFilesRequest,b.google.cloud.vision.v1p4beta1.BatchAnnotateFilesResponse,t,n)},"name",{value:"BatchAnnotateFiles"}),Object.defineProperty(t.prototype.asyncBatchAnnotateImages=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesRequest,b.google.longrunning.Operation,t,n)},"name",{value:"AsyncBatchAnnotateImages"}),Object.defineProperty(t.prototype.asyncBatchAnnotateFiles=function e(t,n){return this.rpcCall(e,b.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesRequest,b.google.longrunning.Operation,t,n)},"name",{value:"AsyncBatchAnnotateFiles"}),t}(),s.Feature=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.maxResults=e.int32();break;case 3:o.model=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 11:case 6:case 7:case 9:case 10:case 12:case 19:}return null!=e.maxResults&&e.hasOwnProperty("maxResults")&&!v.isInteger(e.maxResults)?"maxResults: integer expected":null!=e.model&&e.hasOwnProperty("model")&&!v.isString(e.model)?"model: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.Feature)return e;var t=new b.google.cloud.vision.v1p4beta1.Feature;switch(e.type){case"TYPE_UNSPECIFIED":case 0:t.type=0;break;case"FACE_DETECTION":case 1:t.type=1;break;case"LANDMARK_DETECTION":case 2:t.type=2;break;case"LOGO_DETECTION":case 3:t.type=3;break;case"LABEL_DETECTION":case 4:t.type=4;break;case"TEXT_DETECTION":case 5:t.type=5;break;case"DOCUMENT_TEXT_DETECTION":case 11:t.type=11;break;case"SAFE_SEARCH_DETECTION":case 6:t.type=6;break;case"IMAGE_PROPERTIES":case 7:t.type=7;break;case"CROP_HINTS":case 9:t.type=9;break;case"WEB_DETECTION":case 10:t.type=10;break;case"PRODUCT_SEARCH":case 12:t.type=12;break;case"OBJECT_LOCALIZATION":case 19:t.type=19}return null!=e.maxResults&&(t.maxResults=0|e.maxResults),null!=e.model&&(t.model=String(e.model)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"TYPE_UNSPECIFIED":0,n.maxResults=0,n.model=""),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p4beta1.Feature.Type[e.type]:e.type),null!=e.maxResults&&e.hasOwnProperty("maxResults")&&(n.maxResults=e.maxResults),null!=e.model&&e.hasOwnProperty("model")&&(n.model=e.model),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.Feature"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="TYPE_UNSPECIFIED"]=0,t[e[1]="FACE_DETECTION"]=1,t[e[2]="LANDMARK_DETECTION"]=2,t[e[3]="LOGO_DETECTION"]=3,t[e[4]="LABEL_DETECTION"]=4,t[e[5]="TEXT_DETECTION"]=5,t[e[11]="DOCUMENT_TEXT_DETECTION"]=11,t[e[6]="SAFE_SEARCH_DETECTION"]=6,t[e[7]="IMAGE_PROPERTIES"]=7,t[e[9]="CROP_HINTS"]=9,t[e[10]="WEB_DETECTION"]=10,t[e[12]="PRODUCT_SEARCH"]=12,t[e[19]="OBJECT_LOCALIZATION"]=19,t}(),t}(),s.ImageSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsImageUri=e.string();break;case 2:o.imageUri=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&!v.isString(e.gcsImageUri)?"gcsImageUri: string expected":null!=e.imageUri&&e.hasOwnProperty("imageUri")&&!v.isString(e.imageUri)?"imageUri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ImageSource)return e;var t=new b.google.cloud.vision.v1p4beta1.ImageSource;return null!=e.gcsImageUri&&(t.gcsImageUri=String(e.gcsImageUri)),null!=e.imageUri&&(t.imageUri=String(e.imageUri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsImageUri="",n.imageUri=""),null!=e.gcsImageUri&&e.hasOwnProperty("gcsImageUri")&&(n.gcsImageUri=e.gcsImageUri),null!=e.imageUri&&e.hasOwnProperty("imageUri")&&(n.imageUri=e.imageUri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ImageSource"},t}(),s.Image=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.content=e.bytes();break;case 2:o.source=b.google.cloud.vision.v1p4beta1.ImageSource.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.content&&e.hasOwnProperty("content")&&!(e.content&&"number"==typeof e.content.length||v.isString(e.content)))return"content: buffer expected";if(null!=e.source&&e.hasOwnProperty("source")){var t=b.google.cloud.vision.v1p4beta1.ImageSource.verify(e.source);if(t)return"source."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.Image)return e;var t=new b.google.cloud.vision.v1p4beta1.Image;if(null!=e.content&&("string"==typeof e.content?v.base64.decode(e.content,t.content=v.newBuffer(v.base64.length(e.content)),0):e.content.length>=0&&(t.content=e.content)),null!=e.source){if("object"!=typeof e.source)throw TypeError(".google.cloud.vision.v1p4beta1.Image.source: object expected");t.source=b.google.cloud.vision.v1p4beta1.ImageSource.fromObject(e.source)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.content="":(n.content=[],t.bytes!==Array&&(n.content=v.newBuffer(n.content))),n.source=null),null!=e.content&&e.hasOwnProperty("content")&&(n.content=t.bytes===String?v.base64.encode(e.content,0,e.content.length):t.bytes===Array?Array.prototype.slice.call(e.content):e.content),null!=e.source&&e.hasOwnProperty("source")&&(n.source=b.google.cloud.vision.v1p4beta1.ImageSource.toObject(e.source,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.Image"},t}(),s.Likelihood=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="VERY_UNLIKELY"]=1,t[e[2]="UNLIKELY"]=2,t[e[3]="POSSIBLE"]=3,t[e[4]="LIKELY"]=4,t[e[5]="VERY_LIKELY"]=5,t}(),s.FaceAnnotation=function(){function t(e){if(this.landmarks=[],this.recognitionResult=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.fdBoundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.landmarks&&o.landmarks.length||(o.landmarks=[]),o.landmarks.push(b.google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark.decode(e,e.uint32()));break;case 4:o.rollAngle=e.float();break;case 5:o.panAngle=e.float();break;case 6:o.tiltAngle=e.float();break;case 7:o.detectionConfidence=e.float();break;case 8:o.landmarkingConfidence=e.float();break;case 9:o.joyLikelihood=e.int32();break;case 10:o.sorrowLikelihood=e.int32();break;case 11:o.angerLikelihood=e.int32();break;case 12:o.surpriseLikelihood=e.int32();break;case 13:o.underExposedLikelihood=e.int32();break;case 14:o.blurredLikelihood=e.int32();break;case 15:o.headwearLikelihood=e.int32();break;case 16:o.recognitionResult&&o.recognitionResult.length||(o.recognitionResult=[]),o.recognitionResult.push(b.google.cloud.vision.v1p4beta1.FaceRecognitionResult.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.fdBoundingPoly&&e.hasOwnProperty("fdBoundingPoly")&&(n=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.fdBoundingPoly)))return"fdBoundingPoly."+n;if(null!=e.landmarks&&e.hasOwnProperty("landmarks")){if(!Array.isArray(e.landmarks))return"landmarks: array expected";for(var t=0;t>>3){case 3:o.type=e.int32();break;case 4:o.position=b.google.cloud.vision.v1p4beta1.Position.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:}if(null!=e.position&&e.hasOwnProperty("position")){var t=b.google.cloud.vision.v1p4beta1.Position.verify(e.position);if(t)return"position."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark)return e;var t=new b.google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark;switch(e.type){case"UNKNOWN_LANDMARK":case 0:t.type=0;break;case"LEFT_EYE":case 1:t.type=1;break;case"RIGHT_EYE":case 2:t.type=2;break;case"LEFT_OF_LEFT_EYEBROW":case 3:t.type=3;break;case"RIGHT_OF_LEFT_EYEBROW":case 4:t.type=4;break;case"LEFT_OF_RIGHT_EYEBROW":case 5:t.type=5;break;case"RIGHT_OF_RIGHT_EYEBROW":case 6:t.type=6;break;case"MIDPOINT_BETWEEN_EYES":case 7:t.type=7;break;case"NOSE_TIP":case 8:t.type=8;break;case"UPPER_LIP":case 9:t.type=9;break;case"LOWER_LIP":case 10:t.type=10;break;case"MOUTH_LEFT":case 11:t.type=11;break;case"MOUTH_RIGHT":case 12:t.type=12;break;case"MOUTH_CENTER":case 13:t.type=13;break;case"NOSE_BOTTOM_RIGHT":case 14:t.type=14;break;case"NOSE_BOTTOM_LEFT":case 15:t.type=15;break;case"NOSE_BOTTOM_CENTER":case 16:t.type=16;break;case"LEFT_EYE_TOP_BOUNDARY":case 17:t.type=17;break;case"LEFT_EYE_RIGHT_CORNER":case 18:t.type=18;break;case"LEFT_EYE_BOTTOM_BOUNDARY":case 19:t.type=19;break;case"LEFT_EYE_LEFT_CORNER":case 20:t.type=20;break;case"RIGHT_EYE_TOP_BOUNDARY":case 21:t.type=21;break;case"RIGHT_EYE_RIGHT_CORNER":case 22:t.type=22;break;case"RIGHT_EYE_BOTTOM_BOUNDARY":case 23:t.type=23;break;case"RIGHT_EYE_LEFT_CORNER":case 24:t.type=24;break;case"LEFT_EYEBROW_UPPER_MIDPOINT":case 25:t.type=25;break;case"RIGHT_EYEBROW_UPPER_MIDPOINT":case 26:t.type=26;break;case"LEFT_EAR_TRAGION":case 27:t.type=27;break;case"RIGHT_EAR_TRAGION":case 28:t.type=28;break;case"LEFT_EYE_PUPIL":case 29:t.type=29;break;case"RIGHT_EYE_PUPIL":case 30:t.type=30;break;case"FOREHEAD_GLABELLA":case 31:t.type=31;break;case"CHIN_GNATHION":case 32:t.type=32;break;case"CHIN_LEFT_GONION":case 33:t.type=33;break;case"CHIN_RIGHT_GONION":case 34:t.type=34}if(null!=e.position){if("object"!=typeof e.position)throw TypeError(".google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark.position: object expected");t.position=b.google.cloud.vision.v1p4beta1.Position.fromObject(e.position)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN_LANDMARK":0,n.position=null),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark.Type[e.type]:e.type),null!=e.position&&e.hasOwnProperty("position")&&(n.position=b.google.cloud.vision.v1p4beta1.Position.toObject(e.position,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark"},t.Type=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN_LANDMARK"]=0,t[e[1]="LEFT_EYE"]=1,t[e[2]="RIGHT_EYE"]=2,t[e[3]="LEFT_OF_LEFT_EYEBROW"]=3,t[e[4]="RIGHT_OF_LEFT_EYEBROW"]=4,t[e[5]="LEFT_OF_RIGHT_EYEBROW"]=5,t[e[6]="RIGHT_OF_RIGHT_EYEBROW"]=6,t[e[7]="MIDPOINT_BETWEEN_EYES"]=7,t[e[8]="NOSE_TIP"]=8,t[e[9]="UPPER_LIP"]=9,t[e[10]="LOWER_LIP"]=10,t[e[11]="MOUTH_LEFT"]=11,t[e[12]="MOUTH_RIGHT"]=12,t[e[13]="MOUTH_CENTER"]=13,t[e[14]="NOSE_BOTTOM_RIGHT"]=14,t[e[15]="NOSE_BOTTOM_LEFT"]=15,t[e[16]="NOSE_BOTTOM_CENTER"]=16,t[e[17]="LEFT_EYE_TOP_BOUNDARY"]=17,t[e[18]="LEFT_EYE_RIGHT_CORNER"]=18,t[e[19]="LEFT_EYE_BOTTOM_BOUNDARY"]=19,t[e[20]="LEFT_EYE_LEFT_CORNER"]=20,t[e[21]="RIGHT_EYE_TOP_BOUNDARY"]=21,t[e[22]="RIGHT_EYE_RIGHT_CORNER"]=22,t[e[23]="RIGHT_EYE_BOTTOM_BOUNDARY"]=23,t[e[24]="RIGHT_EYE_LEFT_CORNER"]=24,t[e[25]="LEFT_EYEBROW_UPPER_MIDPOINT"]=25,t[e[26]="RIGHT_EYEBROW_UPPER_MIDPOINT"]=26,t[e[27]="LEFT_EAR_TRAGION"]=27,t[e[28]="RIGHT_EAR_TRAGION"]=28,t[e[29]="LEFT_EYE_PUPIL"]=29,t[e[30]="RIGHT_EYE_PUPIL"]=30,t[e[31]="FOREHEAD_GLABELLA"]=31,t[e[32]="CHIN_GNATHION"]=32,t[e[33]="CHIN_LEFT_GONION"]=33,t[e[34]="CHIN_RIGHT_GONION"]=34,t}(),t}(),t}(),s.LocationInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.latLng=b.google.type.LatLng.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.latLng&&e.hasOwnProperty("latLng")){var t=b.google.type.LatLng.verify(e.latLng);if(t)return"latLng."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.LocationInfo)return e;var t=new b.google.cloud.vision.v1p4beta1.LocationInfo;if(null!=e.latLng){if("object"!=typeof e.latLng)throw TypeError(".google.cloud.vision.v1p4beta1.LocationInfo.latLng: object expected");t.latLng=b.google.type.LatLng.fromObject(e.latLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.latLng=null),null!=e.latLng&&e.hasOwnProperty("latLng")&&(n.latLng=b.google.type.LatLng.toObject(e.latLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.LocationInfo"},t}(),s.Property=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value=e.string();break;case 3:o.uint64Value=e.uint64();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&!(v.isInteger(e.uint64Value)||e.uint64Value&&v.isInteger(e.uint64Value.low)&&v.isInteger(e.uint64Value.high))?"uint64Value: integer|Long expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.Property)return e;var t=new b.google.cloud.vision.v1p4beta1.Property;return null!=e.name&&(t.name=String(e.name)),null!=e.value&&(t.value=String(e.value)),null!=e.uint64Value&&(v.Long?(t.uint64Value=v.Long.fromValue(e.uint64Value)).unsigned=!0:"string"==typeof e.uint64Value?t.uint64Value=parseInt(e.uint64Value,10):"number"==typeof e.uint64Value?t.uint64Value=e.uint64Value:"object"==typeof e.uint64Value&&(t.uint64Value=new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0))),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(n.name="",n.value="",v.Long){var o=new v.Long(0,0,!0);n.uint64Value=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.uint64Value=t.longs===String?"0":0;return null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),null!=e.uint64Value&&e.hasOwnProperty("uint64Value")&&("number"==typeof e.uint64Value?n.uint64Value=t.longs===String?String(e.uint64Value):e.uint64Value:n.uint64Value=t.longs===String?v.Long.prototype.toString.call(e.uint64Value):t.longs===Number?new v.LongBits(e.uint64Value.low>>>0,e.uint64Value.high>>>0).toNumber(!0):e.uint64Value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.Property"},t}(),s.EntityAnnotation=function(){function t(e){if(this.locations=[],this.properties=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.mid=e.string();break;case 2:o.locale=e.string();break;case 3:o.description=e.string();break;case 4:o.score=e.float();break;case 5:o.confidence=e.float();break;case 6:o.topicality=e.float();break;case 7:o.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 8:o.locations&&o.locations.length||(o.locations=[]),o.locations.push(b.google.cloud.vision.v1p4beta1.LocationInfo.decode(e,e.uint32()));break;case 9:o.properties&&o.properties.length||(o.properties=[]),o.properties.push(b.google.cloud.vision.v1p4beta1.Property.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid))return"mid: string expected";if(null!=e.locale&&e.hasOwnProperty("locale")&&!v.isString(e.locale))return"locale: string expected";if(null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description))return"description: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence)return"confidence: number expected";if(null!=e.topicality&&e.hasOwnProperty("topicality")&&"number"!=typeof e.topicality)return"topicality: number expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.locations&&e.hasOwnProperty("locations")){if(!Array.isArray(e.locations))return"locations: array expected";for(var t=0;t>>3){case 1:o.mid=e.string();break;case 2:o.languageCode=e.string();break;case 3:o.name=e.string();break;case 4:o.score=e.float();break;case 5:o.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid))return"mid: string expected";if(null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode))return"languageCode: string expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation)return e;var t=new b.google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation;if(null!=e.mid&&(t.mid=String(e.mid)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.name&&(t.name=String(e.name)),null!=e.score&&(t.score=Number(e.score)),null!=e.boundingPoly){if("object"!=typeof e.boundingPoly)throw TypeError(".google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation.boundingPoly: object expected");t.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.fromObject(e.boundingPoly)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.mid="",n.languageCode="",n.name="",n.score=0,n.boundingPoly=null),null!=e.mid&&e.hasOwnProperty("mid")&&(n.mid=e.mid),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.toObject(e.boundingPoly,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation"},t}(),s.SafeSearchAnnotation=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.adult=e.int32();break;case 2:o.spoof=e.int32();break;case 3:o.medical=e.int32();break;case 4:o.violence=e.int32();break;case 9:o.racy=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.adult&&e.hasOwnProperty("adult"))switch(e.adult){default:return"adult: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.spoof&&e.hasOwnProperty("spoof"))switch(e.spoof){default:return"spoof: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.medical&&e.hasOwnProperty("medical"))switch(e.medical){default:return"medical: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.violence&&e.hasOwnProperty("violence"))switch(e.violence){default:return"violence: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=e.racy&&e.hasOwnProperty("racy"))switch(e.racy){default:return"racy: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.SafeSearchAnnotation)return e;var t=new b.google.cloud.vision.v1p4beta1.SafeSearchAnnotation;switch(e.adult){case"UNKNOWN":case 0:t.adult=0;break;case"VERY_UNLIKELY":case 1:t.adult=1;break;case"UNLIKELY":case 2:t.adult=2;break;case"POSSIBLE":case 3:t.adult=3;break;case"LIKELY":case 4:t.adult=4;break;case"VERY_LIKELY":case 5:t.adult=5}switch(e.spoof){case"UNKNOWN":case 0:t.spoof=0;break;case"VERY_UNLIKELY":case 1:t.spoof=1;break;case"UNLIKELY":case 2:t.spoof=2;break;case"POSSIBLE":case 3:t.spoof=3;break;case"LIKELY":case 4:t.spoof=4;break;case"VERY_LIKELY":case 5:t.spoof=5}switch(e.medical){case"UNKNOWN":case 0:t.medical=0;break;case"VERY_UNLIKELY":case 1:t.medical=1;break;case"UNLIKELY":case 2:t.medical=2;break;case"POSSIBLE":case 3:t.medical=3;break;case"LIKELY":case 4:t.medical=4;break;case"VERY_LIKELY":case 5:t.medical=5}switch(e.violence){case"UNKNOWN":case 0:t.violence=0;break;case"VERY_UNLIKELY":case 1:t.violence=1;break;case"UNLIKELY":case 2:t.violence=2;break;case"POSSIBLE":case 3:t.violence=3;break;case"LIKELY":case 4:t.violence=4;break;case"VERY_LIKELY":case 5:t.violence=5}switch(e.racy){case"UNKNOWN":case 0:t.racy=0;break;case"VERY_UNLIKELY":case 1:t.racy=1;break;case"UNLIKELY":case 2:t.racy=2;break;case"POSSIBLE":case 3:t.racy=3;break;case"LIKELY":case 4:t.racy=4;break;case"VERY_LIKELY":case 5:t.racy=5}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.adult=t.enums===String?"UNKNOWN":0,n.spoof=t.enums===String?"UNKNOWN":0,n.medical=t.enums===String?"UNKNOWN":0,n.violence=t.enums===String?"UNKNOWN":0,n.racy=t.enums===String?"UNKNOWN":0),null!=e.adult&&e.hasOwnProperty("adult")&&(n.adult=t.enums===String?b.google.cloud.vision.v1p4beta1.Likelihood[e.adult]:e.adult),null!=e.spoof&&e.hasOwnProperty("spoof")&&(n.spoof=t.enums===String?b.google.cloud.vision.v1p4beta1.Likelihood[e.spoof]:e.spoof),null!=e.medical&&e.hasOwnProperty("medical")&&(n.medical=t.enums===String?b.google.cloud.vision.v1p4beta1.Likelihood[e.medical]:e.medical),null!=e.violence&&e.hasOwnProperty("violence")&&(n.violence=t.enums===String?b.google.cloud.vision.v1p4beta1.Likelihood[e.violence]:e.violence),null!=e.racy&&e.hasOwnProperty("racy")&&(n.racy=t.enums===String?b.google.cloud.vision.v1p4beta1.Likelihood[e.racy]:e.racy),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.SafeSearchAnnotation"},t}(),s.LatLongRect=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.minLatLng=b.google.type.LatLng.decode(e,e.uint32());break;case 2:o.maxLatLng=b.google.type.LatLng.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(t=b.google.type.LatLng.verify(e.minLatLng))?"minLatLng."+t:null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(t=b.google.type.LatLng.verify(e.maxLatLng))?"maxLatLng."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.LatLongRect)return e;var t=new b.google.cloud.vision.v1p4beta1.LatLongRect;if(null!=e.minLatLng){if("object"!=typeof e.minLatLng)throw TypeError(".google.cloud.vision.v1p4beta1.LatLongRect.minLatLng: object expected");t.minLatLng=b.google.type.LatLng.fromObject(e.minLatLng)}if(null!=e.maxLatLng){if("object"!=typeof e.maxLatLng)throw TypeError(".google.cloud.vision.v1p4beta1.LatLongRect.maxLatLng: object expected");t.maxLatLng=b.google.type.LatLng.fromObject(e.maxLatLng)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.minLatLng=null,n.maxLatLng=null),null!=e.minLatLng&&e.hasOwnProperty("minLatLng")&&(n.minLatLng=b.google.type.LatLng.toObject(e.minLatLng,t)),null!=e.maxLatLng&&e.hasOwnProperty("maxLatLng")&&(n.maxLatLng=b.google.type.LatLng.toObject(e.maxLatLng,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.LatLongRect"},t}(),s.ColorInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.color=b.google.type.Color.decode(e,e.uint32());break;case 2:o.score=e.float();break;case 3:o.pixelFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.color&&e.hasOwnProperty("color")){var t=b.google.type.Color.verify(e.color);if(t)return"color."+t}return null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&"number"!=typeof e.pixelFraction?"pixelFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ColorInfo)return e;var t=new b.google.cloud.vision.v1p4beta1.ColorInfo;if(null!=e.color){if("object"!=typeof e.color)throw TypeError(".google.cloud.vision.v1p4beta1.ColorInfo.color: object expected");t.color=b.google.type.Color.fromObject(e.color)}return null!=e.score&&(t.score=Number(e.score)),null!=e.pixelFraction&&(t.pixelFraction=Number(e.pixelFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.color=null,n.score=0,n.pixelFraction=0),null!=e.color&&e.hasOwnProperty("color")&&(n.color=b.google.type.Color.toObject(e.color,t)),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.pixelFraction&&e.hasOwnProperty("pixelFraction")&&(n.pixelFraction=t.json&&!isFinite(e.pixelFraction)?String(e.pixelFraction):e.pixelFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ColorInfo"},t}(),s.DominantColorsAnnotation=function(){function t(e){if(this.colors=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.colors&&o.colors.length||(o.colors=[]),o.colors.push(b.google.cloud.vision.v1p4beta1.ColorInfo.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.colors&&e.hasOwnProperty("colors")){if(!Array.isArray(e.colors))return"colors: array expected";for(var t=0;t>>3==1?o.dominantColors=b.google.cloud.vision.v1p4beta1.DominantColorsAnnotation.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.dominantColors&&e.hasOwnProperty("dominantColors")){var t=b.google.cloud.vision.v1p4beta1.DominantColorsAnnotation.verify(e.dominantColors);if(t)return"dominantColors."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ImageProperties)return e;var t=new b.google.cloud.vision.v1p4beta1.ImageProperties;if(null!=e.dominantColors){if("object"!=typeof e.dominantColors)throw TypeError(".google.cloud.vision.v1p4beta1.ImageProperties.dominantColors: object expected");t.dominantColors=b.google.cloud.vision.v1p4beta1.DominantColorsAnnotation.fromObject(e.dominantColors)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.dominantColors=null),null!=e.dominantColors&&e.hasOwnProperty("dominantColors")&&(n.dominantColors=b.google.cloud.vision.v1p4beta1.DominantColorsAnnotation.toObject(e.dominantColors,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ImageProperties"},t}(),s.CropHint=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.confidence=e.float();break;case 3:o.importanceFraction=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}return null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&"number"!=typeof e.importanceFraction?"importanceFraction: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.CropHint)return e;var t=new b.google.cloud.vision.v1p4beta1.CropHint;if(null!=e.boundingPoly){if("object"!=typeof e.boundingPoly)throw TypeError(".google.cloud.vision.v1p4beta1.CropHint.boundingPoly: object expected");t.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.fromObject(e.boundingPoly)}return null!=e.confidence&&(t.confidence=Number(e.confidence)),null!=e.importanceFraction&&(t.importanceFraction=Number(e.importanceFraction)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.boundingPoly=null,n.confidence=0,n.importanceFraction=0),null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.toObject(e.boundingPoly,t)),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),null!=e.importanceFraction&&e.hasOwnProperty("importanceFraction")&&(n.importanceFraction=t.json&&!isFinite(e.importanceFraction)?String(e.importanceFraction):e.importanceFraction),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.CropHint"},t}(),s.CropHintsAnnotation=function(){function t(e){if(this.cropHints=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.cropHints&&o.cropHints.length||(o.cropHints=[]),o.cropHints.push(b.google.cloud.vision.v1p4beta1.CropHint.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.cropHints&&e.hasOwnProperty("cropHints")){if(!Array.isArray(e.cropHints))return"cropHints: array expected";for(var t=0;t>>3==1)if(o.aspectRatios&&o.aspectRatios.length||(o.aspectRatios=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==2?o.includeGeoResults=e.bool():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&"boolean"!=typeof e.includeGeoResults?"includeGeoResults: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.WebDetectionParams)return e;var t=new b.google.cloud.vision.v1p4beta1.WebDetectionParams;return null!=e.includeGeoResults&&(t.includeGeoResults=Boolean(e.includeGeoResults)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.includeGeoResults=!1),null!=e.includeGeoResults&&e.hasOwnProperty("includeGeoResults")&&(n.includeGeoResults=e.includeGeoResults),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.WebDetectionParams"},t}(),s.TextDetectionParams=function(){function t(e){if(this.advancedOcrOptions=[],e)for(var t=Object.keys(e),n=0;n>>3){case 9:o.enableTextDetectionConfidenceScore=e.bool();break;case 11:o.advancedOcrOptions&&o.advancedOcrOptions.length||(o.advancedOcrOptions=[]),o.advancedOcrOptions.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.enableTextDetectionConfidenceScore&&e.hasOwnProperty("enableTextDetectionConfidenceScore")&&"boolean"!=typeof e.enableTextDetectionConfidenceScore)return"enableTextDetectionConfidenceScore: boolean expected";if(null!=e.advancedOcrOptions&&e.hasOwnProperty("advancedOcrOptions")){if(!Array.isArray(e.advancedOcrOptions))return"advancedOcrOptions: array expected";for(var t=0;t>>3){case 1:o.latLongRect=b.google.cloud.vision.v1p4beta1.LatLongRect.decode(e,e.uint32());break;case 2:o.languageHints&&o.languageHints.length||(o.languageHints=[]),o.languageHints.push(e.string());break;case 4:o.cropHintsParams=b.google.cloud.vision.v1p4beta1.CropHintsParams.decode(e,e.uint32());break;case 10:o.faceRecognitionParams=b.google.cloud.vision.v1p4beta1.FaceRecognitionParams.decode(e,e.uint32());break;case 5:o.productSearchParams=b.google.cloud.vision.v1p4beta1.ProductSearchParams.decode(e,e.uint32());break;case 6:o.webDetectionParams=b.google.cloud.vision.v1p4beta1.WebDetectionParams.decode(e,e.uint32());break;case 12:o.textDetectionParams=b.google.cloud.vision.v1p4beta1.TextDetectionParams.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t;if(null!=e.latLongRect&&e.hasOwnProperty("latLongRect")&&(t=b.google.cloud.vision.v1p4beta1.LatLongRect.verify(e.latLongRect)))return"latLongRect."+t;if(null!=e.languageHints&&e.hasOwnProperty("languageHints")){if(!Array.isArray(e.languageHints))return"languageHints: array expected";for(var n=0;n>>3){case 1:o.image=b.google.cloud.vision.v1p4beta1.Image.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1p4beta1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1p4beta1.ImageContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.image&&e.hasOwnProperty("image")&&(n=b.google.cloud.vision.v1p4beta1.Image.verify(e.image)))return"image."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3){case 1:o.uri=e.string();break;case 2:o.pageNumber=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null!=e.pageNumber&&e.hasOwnProperty("pageNumber")&&!v.isInteger(e.pageNumber)?"pageNumber: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ImageAnnotationContext)return e;var t=new b.google.cloud.vision.v1p4beta1.ImageAnnotationContext;return null!=e.uri&&(t.uri=String(e.uri)),null!=e.pageNumber&&(t.pageNumber=0|e.pageNumber),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri="",n.pageNumber=0),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),null!=e.pageNumber&&e.hasOwnProperty("pageNumber")&&(n.pageNumber=e.pageNumber),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ImageAnnotationContext"},t}(),s.AnnotateImageResponse=function(){function t(e){if(this.faceAnnotations=[],this.landmarkAnnotations=[],this.logoAnnotations=[],this.labelAnnotations=[],this.localizedObjectAnnotations=[],this.textAnnotations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.faceAnnotations&&o.faceAnnotations.length||(o.faceAnnotations=[]),o.faceAnnotations.push(b.google.cloud.vision.v1p4beta1.FaceAnnotation.decode(e,e.uint32()));break;case 2:o.landmarkAnnotations&&o.landmarkAnnotations.length||(o.landmarkAnnotations=[]),o.landmarkAnnotations.push(b.google.cloud.vision.v1p4beta1.EntityAnnotation.decode(e,e.uint32()));break;case 3:o.logoAnnotations&&o.logoAnnotations.length||(o.logoAnnotations=[]),o.logoAnnotations.push(b.google.cloud.vision.v1p4beta1.EntityAnnotation.decode(e,e.uint32()));break;case 4:o.labelAnnotations&&o.labelAnnotations.length||(o.labelAnnotations=[]),o.labelAnnotations.push(b.google.cloud.vision.v1p4beta1.EntityAnnotation.decode(e,e.uint32()));break;case 22:o.localizedObjectAnnotations&&o.localizedObjectAnnotations.length||(o.localizedObjectAnnotations=[]),o.localizedObjectAnnotations.push(b.google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation.decode(e,e.uint32()));break;case 5:o.textAnnotations&&o.textAnnotations.length||(o.textAnnotations=[]),o.textAnnotations.push(b.google.cloud.vision.v1p4beta1.EntityAnnotation.decode(e,e.uint32()));break;case 12:o.fullTextAnnotation=b.google.cloud.vision.v1p4beta1.TextAnnotation.decode(e,e.uint32());break;case 6:o.safeSearchAnnotation=b.google.cloud.vision.v1p4beta1.SafeSearchAnnotation.decode(e,e.uint32());break;case 8:o.imagePropertiesAnnotation=b.google.cloud.vision.v1p4beta1.ImageProperties.decode(e,e.uint32());break;case 11:o.cropHintsAnnotation=b.google.cloud.vision.v1p4beta1.CropHintsAnnotation.decode(e,e.uint32());break;case 13:o.webDetection=b.google.cloud.vision.v1p4beta1.WebDetection.decode(e,e.uint32());break;case 14:o.productSearchResults=b.google.cloud.vision.v1p4beta1.ProductSearchResults.decode(e,e.uint32());break;case 9:o.error=b.google.rpc.Status.decode(e,e.uint32());break;case 21:o.context=b.google.cloud.vision.v1p4beta1.ImageAnnotationContext.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.faceAnnotations&&e.hasOwnProperty("faceAnnotations")){if(!Array.isArray(e.faceAnnotations))return"faceAnnotations: array expected";for(var t=0;t>>3==1?(o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p4beta1.AnnotateImageRequest.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p4beta1.AnnotateImageResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.inputConfig=b.google.cloud.vision.v1p4beta1.InputConfig.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1p4beta1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1p4beta1.ImageContext.decode(e,e.uint32());break;case 4:if(o.pages&&o.pages.length||(o.pages=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.inputConfig=b.google.cloud.vision.v1p4beta1.InputConfig.decode(e,e.uint32());break;case 2:o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p4beta1.AnnotateImageResponse.decode(e,e.uint32()));break;case 3:o.totalPages=e.int32();break;case 4:o.error=b.google.rpc.Status.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n=b.google.cloud.vision.v1p4beta1.InputConfig.verify(e.inputConfig)))return"inputConfig."+n;if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3==1?(o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p4beta1.AnnotateFileRequest.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p4beta1.AnnotateFileResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.inputConfig=b.google.cloud.vision.v1p4beta1.InputConfig.decode(e,e.uint32());break;case 2:o.features&&o.features.length||(o.features=[]),o.features.push(b.google.cloud.vision.v1p4beta1.Feature.decode(e,e.uint32()));break;case 3:o.imageContext=b.google.cloud.vision.v1p4beta1.ImageContext.decode(e,e.uint32());break;case 4:o.outputConfig=b.google.cloud.vision.v1p4beta1.OutputConfig.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n=b.google.cloud.vision.v1p4beta1.InputConfig.verify(e.inputConfig)))return"inputConfig."+n;if(null!=e.features&&e.hasOwnProperty("features")){if(!Array.isArray(e.features))return"features: array expected";for(var t=0;t>>3==1?o.outputConfig=b.google.cloud.vision.v1p4beta1.OutputConfig.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.outputConfig&&e.hasOwnProperty("outputConfig")){var t=b.google.cloud.vision.v1p4beta1.OutputConfig.verify(e.outputConfig);if(t)return"outputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse)return e;var t=new b.google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse;if(null!=e.outputConfig){if("object"!=typeof e.outputConfig)throw TypeError(".google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse.outputConfig: object expected");t.outputConfig=b.google.cloud.vision.v1p4beta1.OutputConfig.fromObject(e.outputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.outputConfig=null),null!=e.outputConfig&&e.hasOwnProperty("outputConfig")&&(n.outputConfig=b.google.cloud.vision.v1p4beta1.OutputConfig.toObject(e.outputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse"},t}(),s.AsyncBatchAnnotateImagesRequest=function(){function t(e){if(this.requests=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p4beta1.AnnotateImageRequest.decode(e,e.uint32()));break;case 2:o.outputConfig=b.google.cloud.vision.v1p4beta1.OutputConfig.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?o.outputConfig=b.google.cloud.vision.v1p4beta1.OutputConfig.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.outputConfig&&e.hasOwnProperty("outputConfig")){var t=b.google.cloud.vision.v1p4beta1.OutputConfig.verify(e.outputConfig);if(t)return"outputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse)return e;var t=new b.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse;if(null!=e.outputConfig){if("object"!=typeof e.outputConfig)throw TypeError(".google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse.outputConfig: object expected");t.outputConfig=b.google.cloud.vision.v1p4beta1.OutputConfig.fromObject(e.outputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.outputConfig=null),null!=e.outputConfig&&e.hasOwnProperty("outputConfig")&&(n.outputConfig=b.google.cloud.vision.v1p4beta1.OutputConfig.toObject(e.outputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse"},t}(),s.AsyncBatchAnnotateFilesRequest=function(){function t(e){if(this.requests=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.requests&&o.requests.length||(o.requests=[]),o.requests.push(b.google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.requests&&e.hasOwnProperty("requests")){if(!Array.isArray(e.requests))return"requests: array expected";for(var t=0;t>>3==1?(o.responses&&o.responses.length||(o.responses=[]),o.responses.push(b.google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.responses&&e.hasOwnProperty("responses")){if(!Array.isArray(e.responses))return"responses: array expected";for(var t=0;t>>3){case 1:o.gcsSource=b.google.cloud.vision.v1p4beta1.GcsSource.decode(e,e.uint32());break;case 3:o.content=e.bytes();break;case 2:o.mimeType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsSource&&e.hasOwnProperty("gcsSource")){var t=b.google.cloud.vision.v1p4beta1.GcsSource.verify(e.gcsSource);if(t)return"gcsSource."+t}return null!=e.content&&e.hasOwnProperty("content")&&!(e.content&&"number"==typeof e.content.length||v.isString(e.content))?"content: buffer expected":null!=e.mimeType&&e.hasOwnProperty("mimeType")&&!v.isString(e.mimeType)?"mimeType: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.InputConfig)return e;var t=new b.google.cloud.vision.v1p4beta1.InputConfig;if(null!=e.gcsSource){if("object"!=typeof e.gcsSource)throw TypeError(".google.cloud.vision.v1p4beta1.InputConfig.gcsSource: object expected");t.gcsSource=b.google.cloud.vision.v1p4beta1.GcsSource.fromObject(e.gcsSource)}return null!=e.content&&("string"==typeof e.content?v.base64.decode(e.content,t.content=v.newBuffer(v.base64.length(e.content)),0):e.content.length>=0&&(t.content=e.content)),null!=e.mimeType&&(t.mimeType=String(e.mimeType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsSource=null,n.mimeType="",t.bytes===String?n.content="":(n.content=[],t.bytes!==Array&&(n.content=v.newBuffer(n.content)))),null!=e.gcsSource&&e.hasOwnProperty("gcsSource")&&(n.gcsSource=b.google.cloud.vision.v1p4beta1.GcsSource.toObject(e.gcsSource,t)),null!=e.mimeType&&e.hasOwnProperty("mimeType")&&(n.mimeType=e.mimeType),null!=e.content&&e.hasOwnProperty("content")&&(n.content=t.bytes===String?v.base64.encode(e.content,0,e.content.length):t.bytes===Array?Array.prototype.slice.call(e.content):e.content),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.InputConfig"},t}(),s.OutputConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.gcsDestination=b.google.cloud.vision.v1p4beta1.GcsDestination.decode(e,e.uint32());break;case 2:o.batchSize=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsDestination&&e.hasOwnProperty("gcsDestination")){var t=b.google.cloud.vision.v1p4beta1.GcsDestination.verify(e.gcsDestination);if(t)return"gcsDestination."+t}return null!=e.batchSize&&e.hasOwnProperty("batchSize")&&!v.isInteger(e.batchSize)?"batchSize: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.OutputConfig)return e;var t=new b.google.cloud.vision.v1p4beta1.OutputConfig;if(null!=e.gcsDestination){if("object"!=typeof e.gcsDestination)throw TypeError(".google.cloud.vision.v1p4beta1.OutputConfig.gcsDestination: object expected");t.gcsDestination=b.google.cloud.vision.v1p4beta1.GcsDestination.fromObject(e.gcsDestination)}return null!=e.batchSize&&(t.batchSize=0|e.batchSize),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.gcsDestination=null,n.batchSize=0),null!=e.gcsDestination&&e.hasOwnProperty("gcsDestination")&&(n.gcsDestination=b.google.cloud.vision.v1p4beta1.GcsDestination.toObject(e.gcsDestination,t)),null!=e.batchSize&&e.hasOwnProperty("batchSize")&&(n.batchSize=e.batchSize),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.OutputConfig"},t}(),s.GcsSource=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.uri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.GcsSource)return e;var t=new b.google.cloud.vision.v1p4beta1.GcsSource;return null!=e.uri&&(t.uri=String(e.uri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri=""),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.GcsSource"},t}(),s.GcsDestination=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.uri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri)?"uri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.GcsDestination)return e;var t=new b.google.cloud.vision.v1p4beta1.GcsDestination;return null!=e.uri&&(t.uri=String(e.uri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.uri=""),null!=e.uri&&e.hasOwnProperty("uri")&&(n.uri=e.uri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.GcsDestination"},t}(),s.OperationMetadata=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.state=e.int32();break;case 5:o.createTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 6:o.updateTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:case 3:case 4:}var t;return null!=e.createTime&&e.hasOwnProperty("createTime")&&(t=b.google.protobuf.Timestamp.verify(e.createTime))?"createTime."+t:null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(t=b.google.protobuf.Timestamp.verify(e.updateTime))?"updateTime."+t:null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.OperationMetadata)return e;var t=new b.google.cloud.vision.v1p4beta1.OperationMetadata;switch(e.state){case"STATE_UNSPECIFIED":case 0:t.state=0;break;case"CREATED":case 1:t.state=1;break;case"RUNNING":case 2:t.state=2;break;case"DONE":case 3:t.state=3;break;case"CANCELLED":case 4:t.state=4}if(null!=e.createTime){if("object"!=typeof e.createTime)throw TypeError(".google.cloud.vision.v1p4beta1.OperationMetadata.createTime: object expected");t.createTime=b.google.protobuf.Timestamp.fromObject(e.createTime)}if(null!=e.updateTime){if("object"!=typeof e.updateTime)throw TypeError(".google.cloud.vision.v1p4beta1.OperationMetadata.updateTime: object expected");t.updateTime=b.google.protobuf.Timestamp.fromObject(e.updateTime)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.state=t.enums===String?"STATE_UNSPECIFIED":0,n.createTime=null,n.updateTime=null),null!=e.state&&e.hasOwnProperty("state")&&(n.state=t.enums===String?b.google.cloud.vision.v1p4beta1.OperationMetadata.State[e.state]:e.state),null!=e.createTime&&e.hasOwnProperty("createTime")&&(n.createTime=b.google.protobuf.Timestamp.toObject(e.createTime,t)),null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(n.updateTime=b.google.protobuf.Timestamp.toObject(e.updateTime,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.OperationMetadata"},t.State=function(){var e={},t=Object.create(e);return t[e[0]="STATE_UNSPECIFIED"]=0,t[e[1]="CREATED"]=1,t[e[2]="RUNNING"]=2,t[e[3]="DONE"]=3,t[e[4]="CANCELLED"]=4,t}(),t}(),s.ProductSearchParams=function(){function t(e){if(this.productCategories=[],e)for(var t=Object.keys(e),n=0;n>>3){case 9:o.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 6:o.productSet=e.string();break;case 7:o.productCategories&&o.productCategories.length||(o.productCategories=[]),o.productCategories.push(e.string());break;case 8:o.filter=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")){var t=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingPoly);if(t)return"boundingPoly."+t}if(null!=e.productSet&&e.hasOwnProperty("productSet")&&!v.isString(e.productSet))return"productSet: string expected";if(null!=e.productCategories&&e.hasOwnProperty("productCategories")){if(!Array.isArray(e.productCategories))return"productCategories: array expected";for(var n=0;n>>3){case 2:o.indexTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 5:o.results&&o.results.length||(o.results=[]),o.results.push(b.google.cloud.vision.v1p4beta1.ProductSearchResults.Result.decode(e,e.uint32()));break;case 6:o.productGroupedResults&&o.productGroupedResults.length||(o.productGroupedResults=[]),o.productGroupedResults.push(b.google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(n=b.google.protobuf.Timestamp.verify(e.indexTime)))return"indexTime."+n;if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:o.product=b.google.cloud.vision.v1p4beta1.Product.decode(e,e.uint32());break;case 2:o.score=e.float();break;case 3:o.image=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.product&&e.hasOwnProperty("product")){var t=b.google.cloud.vision.v1p4beta1.Product.verify(e.product);if(t)return"product."+t}return null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.image&&e.hasOwnProperty("image")&&!v.isString(e.image)?"image: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ProductSearchResults.Result)return e;var t=new b.google.cloud.vision.v1p4beta1.ProductSearchResults.Result;if(null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1p4beta1.ProductSearchResults.Result.product: object expected");t.product=b.google.cloud.vision.v1p4beta1.Product.fromObject(e.product)}return null!=e.score&&(t.score=Number(e.score)),null!=e.image&&(t.image=String(e.image)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.product=null,n.score=0,n.image=""),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1p4beta1.Product.toObject(e.product,t)),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.image&&e.hasOwnProperty("image")&&(n.image=e.image),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ProductSearchResults.Result"},t}(),t.ObjectAnnotation=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.mid=e.string();break;case 2:o.languageCode=e.string();break;case 3:o.name=e.string();break;case 4:o.score=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.mid&&e.hasOwnProperty("mid")&&!v.isString(e.mid)?"mid: string expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation)return e;var t=new b.google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation;return null!=e.mid&&(t.mid=String(e.mid)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.name&&(t.name=String(e.name)),null!=e.score&&(t.score=Number(e.score)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.mid="",n.languageCode="",n.name="",n.score=0),null!=e.mid&&e.hasOwnProperty("mid")&&(n.mid=e.mid),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation"},t}(),t.GroupedResult=function(){function t(e){if(this.results=[],this.objectAnnotations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.boundingPoly=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 2:o.results&&o.results.length||(o.results=[]),o.results.push(b.google.cloud.vision.v1p4beta1.ProductSearchResults.Result.decode(e,e.uint32()));break;case 3:o.objectAnnotations&&o.objectAnnotations.length||(o.objectAnnotations=[]),o.objectAnnotations.push(b.google.cloud.vision.v1p4beta1.ProductSearchResults.ObjectAnnotation.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.boundingPoly&&e.hasOwnProperty("boundingPoly")&&(n=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingPoly)))return"boundingPoly."+n;if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.displayName=e.string();break;case 3:o.description=e.string();break;case 4:o.productCategory=e.string();break;case 5:o.productLabels&&o.productLabels.length||(o.productLabels=[]),o.productLabels.push(b.google.cloud.vision.v1p4beta1.Product.KeyValue.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.displayName&&e.hasOwnProperty("displayName")&&!v.isString(e.displayName))return"displayName: string expected";if(null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description))return"description: string expected";if(null!=e.productCategory&&e.hasOwnProperty("productCategory")&&!v.isString(e.productCategory))return"productCategory: string expected";if(null!=e.productLabels&&e.hasOwnProperty("productLabels")){if(!Array.isArray(e.productLabels))return"productLabels: array expected";for(var t=0;t>>3){case 1:o.key=e.string();break;case 2:o.value=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.key&&e.hasOwnProperty("key")&&!v.isString(e.key)?"key: string expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.Product.KeyValue)return e;var t=new b.google.cloud.vision.v1p4beta1.Product.KeyValue;return null!=e.key&&(t.key=String(e.key)),null!=e.value&&(t.value=String(e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.key="",n.value=""),null!=e.key&&e.hasOwnProperty("key")&&(n.key=e.key),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.Product.KeyValue"},t}(),t}(),s.ProductSet=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.displayName=e.string();break;case 3:o.indexTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 4:o.indexError=b.google.rpc.Status.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.displayName&&e.hasOwnProperty("displayName")&&!v.isString(e.displayName)?"displayName: string expected":null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(t=b.google.protobuf.Timestamp.verify(e.indexTime))?"indexTime."+t:null!=e.indexError&&e.hasOwnProperty("indexError")&&(t=b.google.rpc.Status.verify(e.indexError))?"indexError."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ProductSet)return e;var t=new b.google.cloud.vision.v1p4beta1.ProductSet;if(null!=e.name&&(t.name=String(e.name)),null!=e.displayName&&(t.displayName=String(e.displayName)),null!=e.indexTime){if("object"!=typeof e.indexTime)throw TypeError(".google.cloud.vision.v1p4beta1.ProductSet.indexTime: object expected");t.indexTime=b.google.protobuf.Timestamp.fromObject(e.indexTime)}if(null!=e.indexError){if("object"!=typeof e.indexError)throw TypeError(".google.cloud.vision.v1p4beta1.ProductSet.indexError: object expected");t.indexError=b.google.rpc.Status.fromObject(e.indexError)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.displayName="",n.indexTime=null,n.indexError=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.displayName&&e.hasOwnProperty("displayName")&&(n.displayName=e.displayName),null!=e.indexTime&&e.hasOwnProperty("indexTime")&&(n.indexTime=b.google.protobuf.Timestamp.toObject(e.indexTime,t)),null!=e.indexError&&e.hasOwnProperty("indexError")&&(n.indexError=b.google.rpc.Status.toObject(e.indexError,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ProductSet"},t}(),s.ReferenceImage=function(){function t(e){if(this.boundingPolys=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.uri=e.string();break;case 3:o.boundingPolys&&o.boundingPolys.length||(o.boundingPolys=[]),o.boundingPolys.push(b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.uri&&e.hasOwnProperty("uri")&&!v.isString(e.uri))return"uri: string expected";if(null!=e.boundingPolys&&e.hasOwnProperty("boundingPolys")){if(!Array.isArray(e.boundingPolys))return"boundingPolys: array expected";for(var t=0;t>>3){case 1:o.parent=e.string();break;case 2:o.product=b.google.cloud.vision.v1p4beta1.Product.decode(e,e.uint32());break;case 3:o.productId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.product&&e.hasOwnProperty("product")){var t=b.google.cloud.vision.v1p4beta1.Product.verify(e.product);if(t)return"product."+t}return null!=e.productId&&e.hasOwnProperty("productId")&&!v.isString(e.productId)?"productId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.CreateProductRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.CreateProductRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1p4beta1.CreateProductRequest.product: object expected");t.product=b.google.cloud.vision.v1p4beta1.Product.fromObject(e.product)}return null!=e.productId&&(t.productId=String(e.productId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.product=null,n.productId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1p4beta1.Product.toObject(e.product,t)),null!=e.productId&&e.hasOwnProperty("productId")&&(n.productId=e.productId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.CreateProductRequest"},t}(),s.ListProductsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ListProductsRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.ListProductsRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ListProductsRequest"},t}(),s.ListProductsResponse=function(){function t(e){if(this.products=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.products&&o.products.length||(o.products=[]),o.products.push(b.google.cloud.vision.v1p4beta1.Product.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.products&&e.hasOwnProperty("products")){if(!Array.isArray(e.products))return"products: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.GetProductRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.GetProductRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.GetProductRequest"},t}(),s.UpdateProductRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.product=b.google.cloud.vision.v1p4beta1.Product.decode(e,e.uint32());break;case 2:o.updateMask=b.google.protobuf.FieldMask.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.product&&e.hasOwnProperty("product")&&(t=b.google.cloud.vision.v1p4beta1.Product.verify(e.product))?"product."+t:null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(t=b.google.protobuf.FieldMask.verify(e.updateMask))?"updateMask."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.UpdateProductRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.UpdateProductRequest;if(null!=e.product){if("object"!=typeof e.product)throw TypeError(".google.cloud.vision.v1p4beta1.UpdateProductRequest.product: object expected");t.product=b.google.cloud.vision.v1p4beta1.Product.fromObject(e.product)}if(null!=e.updateMask){if("object"!=typeof e.updateMask)throw TypeError(".google.cloud.vision.v1p4beta1.UpdateProductRequest.updateMask: object expected");t.updateMask=b.google.protobuf.FieldMask.fromObject(e.updateMask)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.product=null,n.updateMask=null),null!=e.product&&e.hasOwnProperty("product")&&(n.product=b.google.cloud.vision.v1p4beta1.Product.toObject(e.product,t)),null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(n.updateMask=b.google.protobuf.FieldMask.toObject(e.updateMask,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.UpdateProductRequest"},t}(),s.DeleteProductRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.DeleteProductRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.DeleteProductRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.DeleteProductRequest"},t}(),s.CreateProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.productSet=b.google.cloud.vision.v1p4beta1.ProductSet.decode(e,e.uint32());break;case 3:o.productSetId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.productSet&&e.hasOwnProperty("productSet")){var t=b.google.cloud.vision.v1p4beta1.ProductSet.verify(e.productSet);if(t)return"productSet."+t}return null!=e.productSetId&&e.hasOwnProperty("productSetId")&&!v.isString(e.productSetId)?"productSetId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.CreateProductSetRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.CreateProductSetRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.productSet){if("object"!=typeof e.productSet)throw TypeError(".google.cloud.vision.v1p4beta1.CreateProductSetRequest.productSet: object expected");t.productSet=b.google.cloud.vision.v1p4beta1.ProductSet.fromObject(e.productSet)}return null!=e.productSetId&&(t.productSetId=String(e.productSetId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.productSet=null,n.productSetId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.productSet&&e.hasOwnProperty("productSet")&&(n.productSet=b.google.cloud.vision.v1p4beta1.ProductSet.toObject(e.productSet,t)),null!=e.productSetId&&e.hasOwnProperty("productSetId")&&(n.productSetId=e.productSetId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.CreateProductSetRequest"},t}(),s.ListProductSetsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ListProductSetsRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.ListProductSetsRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ListProductSetsRequest"},t}(),s.ListProductSetsResponse=function(){function t(e){if(this.productSets=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.productSets&&o.productSets.length||(o.productSets=[]),o.productSets.push(b.google.cloud.vision.v1p4beta1.ProductSet.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.productSets&&e.hasOwnProperty("productSets")){if(!Array.isArray(e.productSets))return"productSets: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.GetProductSetRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.GetProductSetRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.GetProductSetRequest"},t}(),s.UpdateProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.productSet=b.google.cloud.vision.v1p4beta1.ProductSet.decode(e,e.uint32());break;case 2:o.updateMask=b.google.protobuf.FieldMask.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.productSet&&e.hasOwnProperty("productSet")&&(t=b.google.cloud.vision.v1p4beta1.ProductSet.verify(e.productSet))?"productSet."+t:null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(t=b.google.protobuf.FieldMask.verify(e.updateMask))?"updateMask."+t:null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.UpdateProductSetRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.UpdateProductSetRequest;if(null!=e.productSet){if("object"!=typeof e.productSet)throw TypeError(".google.cloud.vision.v1p4beta1.UpdateProductSetRequest.productSet: object expected");t.productSet=b.google.cloud.vision.v1p4beta1.ProductSet.fromObject(e.productSet)}if(null!=e.updateMask){if("object"!=typeof e.updateMask)throw TypeError(".google.cloud.vision.v1p4beta1.UpdateProductSetRequest.updateMask: object expected");t.updateMask=b.google.protobuf.FieldMask.fromObject(e.updateMask)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.productSet=null,n.updateMask=null),null!=e.productSet&&e.hasOwnProperty("productSet")&&(n.productSet=b.google.cloud.vision.v1p4beta1.ProductSet.toObject(e.productSet,t)),null!=e.updateMask&&e.hasOwnProperty("updateMask")&&(n.updateMask=b.google.protobuf.FieldMask.toObject(e.updateMask,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.UpdateProductSetRequest"},t}(),s.DeleteProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.DeleteProductSetRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.DeleteProductSetRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.DeleteProductSetRequest"},t}(),s.CreateReferenceImageRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.referenceImage=b.google.cloud.vision.v1p4beta1.ReferenceImage.decode(e,e.uint32());break;case 3:o.referenceImageId=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.referenceImage&&e.hasOwnProperty("referenceImage")){var t=b.google.cloud.vision.v1p4beta1.ReferenceImage.verify(e.referenceImage);if(t)return"referenceImage."+t}return null!=e.referenceImageId&&e.hasOwnProperty("referenceImageId")&&!v.isString(e.referenceImageId)?"referenceImageId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.CreateReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.CreateReferenceImageRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.referenceImage){if("object"!=typeof e.referenceImage)throw TypeError(".google.cloud.vision.v1p4beta1.CreateReferenceImageRequest.referenceImage: object expected");t.referenceImage=b.google.cloud.vision.v1p4beta1.ReferenceImage.fromObject(e.referenceImage)}return null!=e.referenceImageId&&(t.referenceImageId=String(e.referenceImageId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.referenceImage=null,n.referenceImageId=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.referenceImage&&e.hasOwnProperty("referenceImage")&&(n.referenceImage=b.google.cloud.vision.v1p4beta1.ReferenceImage.toObject(e.referenceImage,t)),null!=e.referenceImageId&&e.hasOwnProperty("referenceImageId")&&(n.referenceImageId=e.referenceImageId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.CreateReferenceImageRequest"},t}(),s.ListReferenceImagesRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ListReferenceImagesRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.ListReferenceImagesRequest;return null!=e.parent&&(t.parent=String(e.parent)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.pageSize=0,n.pageToken=""),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ListReferenceImagesRequest"},t}(),s.ListReferenceImagesResponse=function(){function t(e){if(this.referenceImages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.referenceImages&&o.referenceImages.length||(o.referenceImages=[]),o.referenceImages.push(b.google.cloud.vision.v1p4beta1.ReferenceImage.decode(e,e.uint32()));break;case 2:o.pageSize=e.int32();break;case 3:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.referenceImages&&e.hasOwnProperty("referenceImages")){if(!Array.isArray(e.referenceImages))return"referenceImages: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.GetReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.GetReferenceImageRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.GetReferenceImageRequest"},t}(),s.DeleteReferenceImageRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.DeleteReferenceImageRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.DeleteReferenceImageRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.DeleteReferenceImageRequest"},t}(),s.AddProductToProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.product=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.product&&e.hasOwnProperty("product")&&!v.isString(e.product)?"product: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.AddProductToProductSetRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.AddProductToProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.product&&(t.product=String(e.product)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.product=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.product&&e.hasOwnProperty("product")&&(n.product=e.product),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.AddProductToProductSetRequest"},t}(),s.RemoveProductFromProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.product=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.product&&e.hasOwnProperty("product")&&!v.isString(e.product)?"product: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.RemoveProductFromProductSetRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.RemoveProductFromProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.product&&(t.product=String(e.product)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.product=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.product&&e.hasOwnProperty("product")&&(n.product=e.product),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.RemoveProductFromProductSetRequest"},t}(),s.ListProductsInProductSetRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ListProductsInProductSetRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.ListProductsInProductSetRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.pageSize=0,n.pageToken=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ListProductsInProductSetRequest"},t}(),s.ListProductsInProductSetResponse=function(){function t(e){if(this.products=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.products&&o.products.length||(o.products=[]),o.products.push(b.google.cloud.vision.v1p4beta1.Product.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.products&&e.hasOwnProperty("products")){if(!Array.isArray(e.products))return"products: array expected";for(var t=0;t>>3==1?o.csvFileUri=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.csvFileUri&&e.hasOwnProperty("csvFileUri")&&!v.isString(e.csvFileUri)?"csvFileUri: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource)return e;var t=new b.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource;return null!=e.csvFileUri&&(t.csvFileUri=String(e.csvFileUri)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.csvFileUri=""),null!=e.csvFileUri&&e.hasOwnProperty("csvFileUri")&&(n.csvFileUri=e.csvFileUri),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource"},t}(),s.ImportProductSetsInputConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.gcsSource=b.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.gcsSource&&e.hasOwnProperty("gcsSource")){var t=b.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource.verify(e.gcsSource);if(t)return"gcsSource."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig)return e;var t=new b.google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig;if(null!=e.gcsSource){if("object"!=typeof e.gcsSource)throw TypeError(".google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig.gcsSource: object expected");t.gcsSource=b.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource.fromObject(e.gcsSource)}return t},t.toObject=function(e,t){t||(t={});var n={};return null!=e.gcsSource&&e.hasOwnProperty("gcsSource")&&(n.gcsSource=b.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource.toObject(e.gcsSource,t),t.oneofs&&(n.source="gcsSource")),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig"},t}(),s.ImportProductSetsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.parent=e.string();break;case 2:o.inputConfig=b.google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent))return"parent: string expected";if(null!=e.inputConfig&&e.hasOwnProperty("inputConfig")){var t=b.google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig.verify(e.inputConfig);if(t)return"inputConfig."+t}return null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ImportProductSetsRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.ImportProductSetsRequest;if(null!=e.parent&&(t.parent=String(e.parent)),null!=e.inputConfig){if("object"!=typeof e.inputConfig)throw TypeError(".google.cloud.vision.v1p4beta1.ImportProductSetsRequest.inputConfig: object expected");t.inputConfig=b.google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig.fromObject(e.inputConfig)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.inputConfig=null),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.inputConfig&&e.hasOwnProperty("inputConfig")&&(n.inputConfig=b.google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig.toObject(e.inputConfig,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ImportProductSetsRequest"},t}(),s.ImportProductSetsResponse=function(){function t(e){if(this.referenceImages=[],this.statuses=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.referenceImages&&o.referenceImages.length||(o.referenceImages=[]),o.referenceImages.push(b.google.cloud.vision.v1p4beta1.ReferenceImage.decode(e,e.uint32()));break;case 2:o.statuses&&o.statuses.length||(o.statuses=[]),o.statuses.push(b.google.rpc.Status.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.referenceImages&&e.hasOwnProperty("referenceImages")){if(!Array.isArray(e.referenceImages))return"referenceImages: array expected";for(var t=0;t>>3){case 1:o.state=e.int32();break;case 2:o.submitTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;case 3:o.endTime=b.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:case 3:case 4:}var t;return null!=e.submitTime&&e.hasOwnProperty("submitTime")&&(t=b.google.protobuf.Timestamp.verify(e.submitTime))?"submitTime."+t:null!=e.endTime&&e.hasOwnProperty("endTime")&&(t=b.google.protobuf.Timestamp.verify(e.endTime))?"endTime."+t:null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.BatchOperationMetadata)return e;var t=new b.google.cloud.vision.v1p4beta1.BatchOperationMetadata;switch(e.state){case"STATE_UNSPECIFIED":case 0:t.state=0;break;case"PROCESSING":case 1:t.state=1;break;case"SUCCESSFUL":case 2:t.state=2;break;case"FAILED":case 3:t.state=3;break;case"CANCELLED":case 4:t.state=4}if(null!=e.submitTime){if("object"!=typeof e.submitTime)throw TypeError(".google.cloud.vision.v1p4beta1.BatchOperationMetadata.submitTime: object expected");t.submitTime=b.google.protobuf.Timestamp.fromObject(e.submitTime)}if(null!=e.endTime){if("object"!=typeof e.endTime)throw TypeError(".google.cloud.vision.v1p4beta1.BatchOperationMetadata.endTime: object expected");t.endTime=b.google.protobuf.Timestamp.fromObject(e.endTime)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.state=t.enums===String?"STATE_UNSPECIFIED":0,n.submitTime=null,n.endTime=null),null!=e.state&&e.hasOwnProperty("state")&&(n.state=t.enums===String?b.google.cloud.vision.v1p4beta1.BatchOperationMetadata.State[e.state]:e.state),null!=e.submitTime&&e.hasOwnProperty("submitTime")&&(n.submitTime=b.google.protobuf.Timestamp.toObject(e.submitTime,t)),null!=e.endTime&&e.hasOwnProperty("endTime")&&(n.endTime=b.google.protobuf.Timestamp.toObject(e.endTime,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.BatchOperationMetadata"},t.State=function(){var e={},t=Object.create(e);return t[e[0]="STATE_UNSPECIFIED"]=0,t[e[1]="PROCESSING"]=1,t[e[2]="SUCCESSFUL"]=2,t[e[3]="FAILED"]=3,t[e[4]="CANCELLED"]=4,t}(),t}(),s.ProductSetPurgeConfig=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.productSetId=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.productSetId&&e.hasOwnProperty("productSetId")&&!v.isString(e.productSetId)?"productSetId: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.ProductSetPurgeConfig)return e;var t=new b.google.cloud.vision.v1p4beta1.ProductSetPurgeConfig;return null!=e.productSetId&&(t.productSetId=String(e.productSetId)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.productSetId=""),null!=e.productSetId&&e.hasOwnProperty("productSetId")&&(n.productSetId=e.productSetId),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.ProductSetPurgeConfig"},t}(),s.PurgeProductsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 2:o.productSetPurgeConfig=b.google.cloud.vision.v1p4beta1.ProductSetPurgeConfig.decode(e,e.uint32());break;case 3:o.deleteOrphanProducts=e.bool();break;case 1:o.parent=e.string();break;case 4:o.force=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t={};if(null!=e.productSetPurgeConfig&&e.hasOwnProperty("productSetPurgeConfig")){t.target=1;var n=b.google.cloud.vision.v1p4beta1.ProductSetPurgeConfig.verify(e.productSetPurgeConfig);if(n)return"productSetPurgeConfig."+n}if(null!=e.deleteOrphanProducts&&e.hasOwnProperty("deleteOrphanProducts")){if(1===t.target)return"target: multiple values";if(t.target=1,"boolean"!=typeof e.deleteOrphanProducts)return"deleteOrphanProducts: boolean expected"}return null!=e.parent&&e.hasOwnProperty("parent")&&!v.isString(e.parent)?"parent: string expected":null!=e.force&&e.hasOwnProperty("force")&&"boolean"!=typeof e.force?"force: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.PurgeProductsRequest)return e;var t=new b.google.cloud.vision.v1p4beta1.PurgeProductsRequest;if(null!=e.productSetPurgeConfig){if("object"!=typeof e.productSetPurgeConfig)throw TypeError(".google.cloud.vision.v1p4beta1.PurgeProductsRequest.productSetPurgeConfig: object expected");t.productSetPurgeConfig=b.google.cloud.vision.v1p4beta1.ProductSetPurgeConfig.fromObject(e.productSetPurgeConfig)}return null!=e.deleteOrphanProducts&&(t.deleteOrphanProducts=Boolean(e.deleteOrphanProducts)),null!=e.parent&&(t.parent=String(e.parent)),null!=e.force&&(t.force=Boolean(e.force)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.parent="",n.force=!1),null!=e.parent&&e.hasOwnProperty("parent")&&(n.parent=e.parent),null!=e.productSetPurgeConfig&&e.hasOwnProperty("productSetPurgeConfig")&&(n.productSetPurgeConfig=b.google.cloud.vision.v1p4beta1.ProductSetPurgeConfig.toObject(e.productSetPurgeConfig,t),t.oneofs&&(n.target="productSetPurgeConfig")),null!=e.deleteOrphanProducts&&e.hasOwnProperty("deleteOrphanProducts")&&(n.deleteOrphanProducts=e.deleteOrphanProducts,t.oneofs&&(n.target="deleteOrphanProducts")),null!=e.force&&e.hasOwnProperty("force")&&(n.force=e.force),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.PurgeProductsRequest"},t}(),s.TextAnnotation=function(){function t(e){if(this.pages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.pages&&o.pages.length||(o.pages=[]),o.pages.push(b.google.cloud.vision.v1p4beta1.Page.decode(e,e.uint32()));break;case 2:o.text=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.pages&&e.hasOwnProperty("pages")){if(!Array.isArray(e.pages))return"pages: array expected";for(var t=0;t>>3){case 1:o.languageCode=e.string();break;case 2:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedLanguage)return e;var t=new b.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedLanguage;return null!=e.languageCode&&(t.languageCode=String(e.languageCode)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.languageCode="",n.confidence=0),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.TextAnnotation.DetectedLanguage"},t}(),t.DetectedBreak=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.int32();break;case 2:o.isPrefix=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&"boolean"!=typeof e.isPrefix?"isPrefix: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak)return e;var t=new b.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak;switch(e.type){case"UNKNOWN":case 0:t.type=0;break;case"SPACE":case 1:t.type=1;break;case"SURE_SPACE":case 2:t.type=2;break;case"EOL_SURE_SPACE":case 3:t.type=3;break;case"HYPHEN":case 4:t.type=4;break;case"LINE_BREAK":case 5:t.type=5}return null!=e.isPrefix&&(t.isPrefix=Boolean(e.isPrefix)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type=t.enums===String?"UNKNOWN":0,n.isPrefix=!1),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak.BreakType[e.type]:e.type),null!=e.isPrefix&&e.hasOwnProperty("isPrefix")&&(n.isPrefix=e.isPrefix),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak"},t.BreakType=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="SPACE"]=1,t[e[2]="SURE_SPACE"]=2,t[e[3]="EOL_SURE_SPACE"]=3,t[e[4]="HYPHEN"]=4,t[e[5]="LINE_BREAK"]=5,t}(),t}(),t.TextProperty=function(){function t(e){if(this.detectedLanguages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.detectedLanguages&&o.detectedLanguages.length||(o.detectedLanguages=[]),o.detectedLanguages.push(b.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedLanguage.decode(e,e.uint32()));break;case 2:o.detectedBreak=b.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.detectedLanguages&&e.hasOwnProperty("detectedLanguages")){if(!Array.isArray(e.detectedLanguages))return"detectedLanguages: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.width=e.int32();break;case 3:o.height=e.int32();break;case 4:o.blocks&&o.blocks.length||(o.blocks=[]),o.blocks.push(b.google.cloud.vision.v1p4beta1.Block.decode(e,e.uint32()));break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.width&&e.hasOwnProperty("width")&&!v.isInteger(e.width))return"width: integer expected";if(null!=e.height&&e.hasOwnProperty("height")&&!v.isInteger(e.height))return"height: integer expected";if(null!=e.blocks&&e.hasOwnProperty("blocks")){if(!Array.isArray(e.blocks))return"blocks: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.paragraphs&&o.paragraphs.length||(o.paragraphs=[]),o.paragraphs.push(b.google.cloud.vision.v1p4beta1.Paragraph.decode(e,e.uint32()));break;case 4:o.blockType=e.int32();break;case 5:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.paragraphs&&e.hasOwnProperty("paragraphs")){if(!Array.isArray(e.paragraphs))return"paragraphs: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.words&&o.words.length||(o.words=[]),o.words.push(b.google.cloud.vision.v1p4beta1.Word.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.words&&e.hasOwnProperty("words")){if(!Array.isArray(e.words))return"words: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.symbols&&o.symbols.length||(o.symbols=[]),o.symbols.push(b.google.cloud.vision.v1p4beta1.Symbol.decode(e,e.uint32()));break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.property&&e.hasOwnProperty("property")&&(n=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.verify(e.property)))return"property."+n;if(null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingBox)))return"boundingBox."+n;if(null!=e.symbols&&e.hasOwnProperty("symbols")){if(!Array.isArray(e.symbols))return"symbols: array expected";for(var t=0;t>>3){case 1:o.property=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.decode(e,e.uint32());break;case 2:o.boundingBox=b.google.cloud.vision.v1p4beta1.BoundingPoly.decode(e,e.uint32());break;case 3:o.text=e.string();break;case 4:o.confidence=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.property&&e.hasOwnProperty("property")&&(t=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.verify(e.property))?"property."+t:null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(t=b.google.cloud.vision.v1p4beta1.BoundingPoly.verify(e.boundingBox))?"boundingBox."+t:null!=e.text&&e.hasOwnProperty("text")&&!v.isString(e.text)?"text: string expected":null!=e.confidence&&e.hasOwnProperty("confidence")&&"number"!=typeof e.confidence?"confidence: number expected":null;var t},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.Symbol)return e;var t=new b.google.cloud.vision.v1p4beta1.Symbol;if(null!=e.property){if("object"!=typeof e.property)throw TypeError(".google.cloud.vision.v1p4beta1.Symbol.property: object expected");t.property=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.fromObject(e.property)}if(null!=e.boundingBox){if("object"!=typeof e.boundingBox)throw TypeError(".google.cloud.vision.v1p4beta1.Symbol.boundingBox: object expected");t.boundingBox=b.google.cloud.vision.v1p4beta1.BoundingPoly.fromObject(e.boundingBox)}return null!=e.text&&(t.text=String(e.text)),null!=e.confidence&&(t.confidence=Number(e.confidence)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.property=null,n.boundingBox=null,n.text="",n.confidence=0),null!=e.property&&e.hasOwnProperty("property")&&(n.property=b.google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty.toObject(e.property,t)),null!=e.boundingBox&&e.hasOwnProperty("boundingBox")&&(n.boundingBox=b.google.cloud.vision.v1p4beta1.BoundingPoly.toObject(e.boundingBox,t)),null!=e.text&&e.hasOwnProperty("text")&&(n.text=e.text),null!=e.confidence&&e.hasOwnProperty("confidence")&&(n.confidence=t.json&&!isFinite(e.confidence)?String(e.confidence):e.confidence),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.Symbol"},t}(),s.WebDetection=function(){function t(e){if(this.webEntities=[],this.fullMatchingImages=[],this.partialMatchingImages=[],this.pagesWithMatchingImages=[],this.visuallySimilarImages=[],this.bestGuessLabels=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.webEntities&&o.webEntities.length||(o.webEntities=[]),o.webEntities.push(b.google.cloud.vision.v1p4beta1.WebDetection.WebEntity.decode(e,e.uint32()));break;case 2:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1p4beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 3:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1p4beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 4:o.pagesWithMatchingImages&&o.pagesWithMatchingImages.length||(o.pagesWithMatchingImages=[]),o.pagesWithMatchingImages.push(b.google.cloud.vision.v1p4beta1.WebDetection.WebPage.decode(e,e.uint32()));break;case 6:o.visuallySimilarImages&&o.visuallySimilarImages.length||(o.visuallySimilarImages=[]),o.visuallySimilarImages.push(b.google.cloud.vision.v1p4beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 8:o.bestGuessLabels&&o.bestGuessLabels.length||(o.bestGuessLabels=[]),o.bestGuessLabels.push(b.google.cloud.vision.v1p4beta1.WebDetection.WebLabel.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.webEntities&&e.hasOwnProperty("webEntities")){if(!Array.isArray(e.webEntities))return"webEntities: array expected";for(var t=0;t>>3){case 1:o.entityId=e.string();break;case 2:o.score=e.float();break;case 3:o.description=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.entityId&&e.hasOwnProperty("entityId")&&!v.isString(e.entityId)?"entityId: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null!=e.description&&e.hasOwnProperty("description")&&!v.isString(e.description)?"description: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.WebDetection.WebEntity)return e;var t=new b.google.cloud.vision.v1p4beta1.WebDetection.WebEntity;return null!=e.entityId&&(t.entityId=String(e.entityId)),null!=e.score&&(t.score=Number(e.score)),null!=e.description&&(t.description=String(e.description)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.entityId="",n.score=0,n.description=""),null!=e.entityId&&e.hasOwnProperty("entityId")&&(n.entityId=e.entityId),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),null!=e.description&&e.hasOwnProperty("description")&&(n.description=e.description),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.WebDetection.WebEntity"},t}(),t.WebImage=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url)?"url: string expected":null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score?"score: number expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.WebDetection.WebImage)return e;var t=new b.google.cloud.vision.v1p4beta1.WebDetection.WebImage;return null!=e.url&&(t.url=String(e.url)),null!=e.score&&(t.score=Number(e.score)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.url="",n.score=0),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),null!=e.score&&e.hasOwnProperty("score")&&(n.score=t.json&&!isFinite(e.score)?String(e.score):e.score),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.WebDetection.WebImage"},t}(),t.WebPage=function(){function t(e){if(this.fullMatchingImages=[],this.partialMatchingImages=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.url=e.string();break;case 2:o.score=e.float();break;case 3:o.pageTitle=e.string();break;case 4:o.fullMatchingImages&&o.fullMatchingImages.length||(o.fullMatchingImages=[]),o.fullMatchingImages.push(b.google.cloud.vision.v1p4beta1.WebDetection.WebImage.decode(e,e.uint32()));break;case 5:o.partialMatchingImages&&o.partialMatchingImages.length||(o.partialMatchingImages=[]),o.partialMatchingImages.push(b.google.cloud.vision.v1p4beta1.WebDetection.WebImage.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.url&&e.hasOwnProperty("url")&&!v.isString(e.url))return"url: string expected";if(null!=e.score&&e.hasOwnProperty("score")&&"number"!=typeof e.score)return"score: number expected";if(null!=e.pageTitle&&e.hasOwnProperty("pageTitle")&&!v.isString(e.pageTitle))return"pageTitle: string expected";if(null!=e.fullMatchingImages&&e.hasOwnProperty("fullMatchingImages")){if(!Array.isArray(e.fullMatchingImages))return"fullMatchingImages: array expected";for(var t=0;t>>3){case 1:o.label=e.string();break;case 2:o.languageCode=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.label&&e.hasOwnProperty("label")&&!v.isString(e.label)?"label: string expected":null!=e.languageCode&&e.hasOwnProperty("languageCode")&&!v.isString(e.languageCode)?"languageCode: string expected":null},t.fromObject=function(e){if(e instanceof b.google.cloud.vision.v1p4beta1.WebDetection.WebLabel)return e;var t=new b.google.cloud.vision.v1p4beta1.WebDetection.WebLabel;return null!=e.label&&(t.label=String(e.label)),null!=e.languageCode&&(t.languageCode=String(e.languageCode)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.label="",n.languageCode=""),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.languageCode&&e.hasOwnProperty("languageCode")&&(n.languageCode=e.languageCode),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.cloud.vision.v1p4beta1.WebDetection.WebLabel"},t}(),t}(),s),l),c),h.api=((p={}).Http=function(){function t(e){if(this.rules=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.rules&&o.rules.length||(o.rules=[]),o.rules.push(b.google.api.HttpRule.decode(e,e.uint32()));break;case 2:o.fullyDecodeReservedExpansion=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.rules&&e.hasOwnProperty("rules")){if(!Array.isArray(e.rules))return"rules: array expected";for(var t=0;t>>3){case 1:o.selector=e.string();break;case 2:o.get=e.string();break;case 3:o.put=e.string();break;case 4:o.post=e.string();break;case 5:o.delete=e.string();break;case 6:o.patch=e.string();break;case 8:o.custom=b.google.api.CustomHttpPattern.decode(e,e.uint32());break;case 7:o.body=e.string();break;case 12:o.responseBody=e.string();break;case 11:o.additionalBindings&&o.additionalBindings.length||(o.additionalBindings=[]),o.additionalBindings.push(b.google.api.HttpRule.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t={};if(null!=e.selector&&e.hasOwnProperty("selector")&&!v.isString(e.selector))return"selector: string expected";if(null!=e.get&&e.hasOwnProperty("get")&&(t.pattern=1,!v.isString(e.get)))return"get: string expected";if(null!=e.put&&e.hasOwnProperty("put")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!v.isString(e.put))return"put: string expected"}if(null!=e.post&&e.hasOwnProperty("post")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!v.isString(e.post))return"post: string expected"}if(null!=e.delete&&e.hasOwnProperty("delete")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!v.isString(e.delete))return"delete: string expected"}if(null!=e.patch&&e.hasOwnProperty("patch")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!v.isString(e.patch))return"patch: string expected"}if(null!=e.custom&&e.hasOwnProperty("custom")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,o=b.google.api.CustomHttpPattern.verify(e.custom))return"custom."+o}if(null!=e.body&&e.hasOwnProperty("body")&&!v.isString(e.body))return"body: string expected";if(null!=e.responseBody&&e.hasOwnProperty("responseBody")&&!v.isString(e.responseBody))return"responseBody: string expected";if(null!=e.additionalBindings&&e.hasOwnProperty("additionalBindings")){if(!Array.isArray(e.additionalBindings))return"additionalBindings: array expected";for(var n=0;n>>3){case 1:o.kind=e.string();break;case 2:o.path=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.kind&&e.hasOwnProperty("kind")&&!v.isString(e.kind)?"kind: string expected":null!=e.path&&e.hasOwnProperty("path")&&!v.isString(e.path)?"path: string expected":null},t.fromObject=function(e){if(e instanceof b.google.api.CustomHttpPattern)return e;var t=new b.google.api.CustomHttpPattern;return null!=e.kind&&(t.kind=String(e.kind)),null!=e.path&&(t.path=String(e.path)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.kind="",n.path=""),null!=e.kind&&e.hasOwnProperty("kind")&&(n.kind=e.kind),null!=e.path&&e.hasOwnProperty("path")&&(n.path=e.path),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.api.CustomHttpPattern"},t}(),p.FieldBehavior=function(){var e={},t=Object.create(e);return t[e[0]="FIELD_BEHAVIOR_UNSPECIFIED"]=0,t[e[1]="OPTIONAL"]=1,t[e[2]="REQUIRED"]=2,t[e[3]="OUTPUT_ONLY"]=3,t[e[4]="INPUT_ONLY"]=4,t[e[5]="IMMUTABLE"]=5,t[e[6]="UNORDERED_LIST"]=6,t[e[7]="NON_EMPTY_DEFAULT"]=7,t}(),p.ResourceDescriptor=function(){function t(e){if(this.pattern=[],this.style=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.string();break;case 2:o.pattern&&o.pattern.length||(o.pattern=[]),o.pattern.push(e.string());break;case 3:o.nameField=e.string();break;case 4:o.history=e.int32();break;case 5:o.plural=e.string();break;case 6:o.singular=e.string();break;case 10:if(o.style&&o.style.length||(o.style=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.type=e.string();break;case 2:o.childType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.type&&e.hasOwnProperty("type")&&!v.isString(e.type)?"type: string expected":null!=e.childType&&e.hasOwnProperty("childType")&&!v.isString(e.childType)?"childType: string expected":null},t.fromObject=function(e){if(e instanceof b.google.api.ResourceReference)return e;var t=new b.google.api.ResourceReference;return null!=e.type&&(t.type=String(e.type)),null!=e.childType&&(t.childType=String(e.childType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type="",n.childType=""),null!=e.type&&e.hasOwnProperty("type")&&(n.type=e.type),null!=e.childType&&e.hasOwnProperty("childType")&&(n.childType=e.childType),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.api.ResourceReference"},t}(),p),h.protobuf=((u={}).FileDescriptorSet=function(){function t(e){if(this.file=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.file&&o.file.length||(o.file=[]),o.file.push(b.google.protobuf.FileDescriptorProto.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.file&&e.hasOwnProperty("file")){if(!Array.isArray(e.file))return"file: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.package=e.string();break;case 3:o.dependency&&o.dependency.length||(o.dependency=[]),o.dependency.push(e.string());break;case 10:if(o.publicDependency&&o.publicDependency.length||(o.publicDependency=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.name=e.string();break;case 2:o.field&&o.field.length||(o.field=[]),o.field.push(b.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 6:o.extension&&o.extension.length||(o.extension=[]),o.extension.push(b.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 3:o.nestedType&&o.nestedType.length||(o.nestedType=[]),o.nestedType.push(b.google.protobuf.DescriptorProto.decode(e,e.uint32()));break;case 4:o.enumType&&o.enumType.length||(o.enumType=[]),o.enumType.push(b.google.protobuf.EnumDescriptorProto.decode(e,e.uint32()));break;case 5:o.extensionRange&&o.extensionRange.length||(o.extensionRange=[]),o.extensionRange.push(b.google.protobuf.DescriptorProto.ExtensionRange.decode(e,e.uint32()));break;case 8:o.oneofDecl&&o.oneofDecl.length||(o.oneofDecl=[]),o.oneofDecl.push(b.google.protobuf.OneofDescriptorProto.decode(e,e.uint32()));break;case 7:o.options=b.google.protobuf.MessageOptions.decode(e,e.uint32());break;case 9:o.reservedRange&&o.reservedRange.length||(o.reservedRange=[]),o.reservedRange.push(b.google.protobuf.DescriptorProto.ReservedRange.decode(e,e.uint32()));break;case 10:o.reservedName&&o.reservedName.length||(o.reservedName=[]),o.reservedName.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.field&&e.hasOwnProperty("field")){if(!Array.isArray(e.field))return"field: array expected";for(var t=0;t>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;case 3:o.options=b.google.protobuf.ExtensionRangeOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.start&&e.hasOwnProperty("start")&&!v.isInteger(e.start))return"start: integer expected";if(null!=e.end&&e.hasOwnProperty("end")&&!v.isInteger(e.end))return"end: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=b.google.protobuf.ExtensionRangeOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof b.google.protobuf.DescriptorProto.ExtensionRange)return e;var t=new b.google.protobuf.DescriptorProto.ExtensionRange;if(null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.DescriptorProto.ExtensionRange.options: object expected");t.options=b.google.protobuf.ExtensionRangeOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0,n.options=null),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),null!=e.options&&e.hasOwnProperty("options")&&(n.options=b.google.protobuf.ExtensionRangeOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.DescriptorProto.ExtensionRange"},t}(),t.ReservedRange=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!v.isInteger(e.start)?"start: integer expected":null!=e.end&&e.hasOwnProperty("end")&&!v.isInteger(e.end)?"end: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.DescriptorProto.ReservedRange)return e;var t=new b.google.protobuf.DescriptorProto.ReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.DescriptorProto.ReservedRange"},t}(),t}(),u.ExtensionRangeOptions=function(){function t(e){if(this.uninterpretedOption=[],e)for(var t=Object.keys(e),n=0;n>>3==999?(o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 3:o.number=e.int32();break;case 4:o.label=e.int32();break;case 5:o.type=e.int32();break;case 6:o.typeName=e.string();break;case 2:o.extendee=e.string();break;case 7:o.defaultValue=e.string();break;case 9:o.oneofIndex=e.int32();break;case 10:o.jsonName=e.string();break;case 8:o.options=b.google.protobuf.FieldOptions.decode(e,e.uint32());break;case 17:o.proto3Optional=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.number&&e.hasOwnProperty("number")&&!v.isInteger(e.number))return"number: integer expected";if(null!=e.label&&e.hasOwnProperty("label"))switch(e.label){default:return"label: enum value expected";case 1:case 2:case 3:}if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:}if(null!=e.typeName&&e.hasOwnProperty("typeName")&&!v.isString(e.typeName))return"typeName: string expected";if(null!=e.extendee&&e.hasOwnProperty("extendee")&&!v.isString(e.extendee))return"extendee: string expected";if(null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&!v.isString(e.defaultValue))return"defaultValue: string expected";if(null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&!v.isInteger(e.oneofIndex))return"oneofIndex: integer expected";if(null!=e.jsonName&&e.hasOwnProperty("jsonName")&&!v.isString(e.jsonName))return"jsonName: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=b.google.protobuf.FieldOptions.verify(e.options);if(t)return"options."+t}return null!=e.proto3Optional&&e.hasOwnProperty("proto3Optional")&&"boolean"!=typeof e.proto3Optional?"proto3Optional: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.FieldDescriptorProto)return e;var t=new b.google.protobuf.FieldDescriptorProto;switch(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),e.label){case"LABEL_OPTIONAL":case 1:t.label=1;break;case"LABEL_REQUIRED":case 2:t.label=2;break;case"LABEL_REPEATED":case 3:t.label=3}switch(e.type){case"TYPE_DOUBLE":case 1:t.type=1;break;case"TYPE_FLOAT":case 2:t.type=2;break;case"TYPE_INT64":case 3:t.type=3;break;case"TYPE_UINT64":case 4:t.type=4;break;case"TYPE_INT32":case 5:t.type=5;break;case"TYPE_FIXED64":case 6:t.type=6;break;case"TYPE_FIXED32":case 7:t.type=7;break;case"TYPE_BOOL":case 8:t.type=8;break;case"TYPE_STRING":case 9:t.type=9;break;case"TYPE_GROUP":case 10:t.type=10;break;case"TYPE_MESSAGE":case 11:t.type=11;break;case"TYPE_BYTES":case 12:t.type=12;break;case"TYPE_UINT32":case 13:t.type=13;break;case"TYPE_ENUM":case 14:t.type=14;break;case"TYPE_SFIXED32":case 15:t.type=15;break;case"TYPE_SFIXED64":case 16:t.type=16;break;case"TYPE_SINT32":case 17:t.type=17;break;case"TYPE_SINT64":case 18:t.type=18}if(null!=e.typeName&&(t.typeName=String(e.typeName)),null!=e.extendee&&(t.extendee=String(e.extendee)),null!=e.defaultValue&&(t.defaultValue=String(e.defaultValue)),null!=e.oneofIndex&&(t.oneofIndex=0|e.oneofIndex),null!=e.jsonName&&(t.jsonName=String(e.jsonName)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");t.options=b.google.protobuf.FieldOptions.fromObject(e.options)}return null!=e.proto3Optional&&(t.proto3Optional=Boolean(e.proto3Optional)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.extendee="",n.number=0,n.label=t.enums===String?"LABEL_OPTIONAL":1,n.type=t.enums===String?"TYPE_DOUBLE":1,n.typeName="",n.defaultValue="",n.options=null,n.oneofIndex=0,n.jsonName="",n.proto3Optional=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.extendee&&e.hasOwnProperty("extendee")&&(n.extendee=e.extendee),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.label&&e.hasOwnProperty("label")&&(n.label=t.enums===String?b.google.protobuf.FieldDescriptorProto.Label[e.label]:e.label),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?b.google.protobuf.FieldDescriptorProto.Type[e.type]:e.type),null!=e.typeName&&e.hasOwnProperty("typeName")&&(n.typeName=e.typeName),null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&(n.defaultValue=e.defaultValue),null!=e.options&&e.hasOwnProperty("options")&&(n.options=b.google.protobuf.FieldOptions.toObject(e.options,t)),null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&(n.oneofIndex=e.oneofIndex),null!=e.jsonName&&e.hasOwnProperty("jsonName")&&(n.jsonName=e.jsonName),null!=e.proto3Optional&&e.hasOwnProperty("proto3Optional")&&(n.proto3Optional=e.proto3Optional),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.FieldDescriptorProto"},t.Type=function(){var e={},t=Object.create(e);return t[e[1]="TYPE_DOUBLE"]=1,t[e[2]="TYPE_FLOAT"]=2,t[e[3]="TYPE_INT64"]=3,t[e[4]="TYPE_UINT64"]=4,t[e[5]="TYPE_INT32"]=5,t[e[6]="TYPE_FIXED64"]=6,t[e[7]="TYPE_FIXED32"]=7,t[e[8]="TYPE_BOOL"]=8,t[e[9]="TYPE_STRING"]=9,t[e[10]="TYPE_GROUP"]=10,t[e[11]="TYPE_MESSAGE"]=11,t[e[12]="TYPE_BYTES"]=12,t[e[13]="TYPE_UINT32"]=13,t[e[14]="TYPE_ENUM"]=14,t[e[15]="TYPE_SFIXED32"]=15,t[e[16]="TYPE_SFIXED64"]=16,t[e[17]="TYPE_SINT32"]=17,t[e[18]="TYPE_SINT64"]=18,t}(),t.Label=function(){var e={},t=Object.create(e);return t[e[1]="LABEL_OPTIONAL"]=1,t[e[2]="LABEL_REQUIRED"]=2,t[e[3]="LABEL_REPEATED"]=3,t}(),t}(),u.OneofDescriptorProto=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.options=b.google.protobuf.OneofOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=b.google.protobuf.OneofOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof b.google.protobuf.OneofDescriptorProto)return e;var t=new b.google.protobuf.OneofDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.OneofDescriptorProto.options: object expected");t.options=b.google.protobuf.OneofOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.options&&e.hasOwnProperty("options")&&(n.options=b.google.protobuf.OneofOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.OneofDescriptorProto"},t}(),u.EnumDescriptorProto=function(){function t(e){if(this.value=[],this.reservedRange=[],this.reservedName=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value&&o.value.length||(o.value=[]),o.value.push(b.google.protobuf.EnumValueDescriptorProto.decode(e,e.uint32()));break;case 3:o.options=b.google.protobuf.EnumOptions.decode(e,e.uint32());break;case 4:o.reservedRange&&o.reservedRange.length||(o.reservedRange=[]),o.reservedRange.push(b.google.protobuf.EnumDescriptorProto.EnumReservedRange.decode(e,e.uint32()));break;case 5:o.reservedName&&o.reservedName.length||(o.reservedName=[]),o.reservedName.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.value&&e.hasOwnProperty("value")){if(!Array.isArray(e.value))return"value: array expected";for(var t=0;t>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!v.isInteger(e.start)?"start: integer expected":null!=e.end&&e.hasOwnProperty("end")&&!v.isInteger(e.end)?"end: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.EnumDescriptorProto.EnumReservedRange)return e;var t=new b.google.protobuf.EnumDescriptorProto.EnumReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.EnumDescriptorProto.EnumReservedRange"},t}(),t}(),u.EnumValueDescriptorProto=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.number=e.int32();break;case 3:o.options=b.google.protobuf.EnumValueOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.number&&e.hasOwnProperty("number")&&!v.isInteger(e.number))return"number: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=b.google.protobuf.EnumValueOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof b.google.protobuf.EnumValueDescriptorProto)return e;var t=new b.google.protobuf.EnumValueDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.EnumValueDescriptorProto.options: object expected");t.options=b.google.protobuf.EnumValueOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.number=0,n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.options&&e.hasOwnProperty("options")&&(n.options=b.google.protobuf.EnumValueOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.EnumValueDescriptorProto"},t}(),u.ServiceDescriptorProto=function(){function t(e){if(this.method=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.method&&o.method.length||(o.method=[]),o.method.push(b.google.protobuf.MethodDescriptorProto.decode(e,e.uint32()));break;case 3:o.options=b.google.protobuf.ServiceOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.method&&e.hasOwnProperty("method")){if(!Array.isArray(e.method))return"method: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.inputType=e.string();break;case 3:o.outputType=e.string();break;case 4:o.options=b.google.protobuf.MethodOptions.decode(e,e.uint32());break;case 5:o.clientStreaming=e.bool();break;case 6:o.serverStreaming=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.inputType&&e.hasOwnProperty("inputType")&&!v.isString(e.inputType))return"inputType: string expected";if(null!=e.outputType&&e.hasOwnProperty("outputType")&&!v.isString(e.outputType))return"outputType: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=b.google.protobuf.MethodOptions.verify(e.options);if(t)return"options."+t}return null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&"boolean"!=typeof e.clientStreaming?"clientStreaming: boolean expected":null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&"boolean"!=typeof e.serverStreaming?"serverStreaming: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.MethodDescriptorProto)return e;var t=new b.google.protobuf.MethodDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.inputType&&(t.inputType=String(e.inputType)),null!=e.outputType&&(t.outputType=String(e.outputType)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.MethodDescriptorProto.options: object expected");t.options=b.google.protobuf.MethodOptions.fromObject(e.options)}return null!=e.clientStreaming&&(t.clientStreaming=Boolean(e.clientStreaming)),null!=e.serverStreaming&&(t.serverStreaming=Boolean(e.serverStreaming)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.inputType="",n.outputType="",n.options=null,n.clientStreaming=!1,n.serverStreaming=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.inputType&&e.hasOwnProperty("inputType")&&(n.inputType=e.inputType),null!=e.outputType&&e.hasOwnProperty("outputType")&&(n.outputType=e.outputType),null!=e.options&&e.hasOwnProperty("options")&&(n.options=b.google.protobuf.MethodOptions.toObject(e.options,t)),null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&(n.clientStreaming=e.clientStreaming),null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&(n.serverStreaming=e.serverStreaming),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.MethodDescriptorProto"},t}(),u.FileOptions=function(){function t(e){if(this.uninterpretedOption=[],this[".google.api.resourceDefinition"]=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.javaPackage=e.string();break;case 8:o.javaOuterClassname=e.string();break;case 10:o.javaMultipleFiles=e.bool();break;case 20:o.javaGenerateEqualsAndHash=e.bool();break;case 27:o.javaStringCheckUtf8=e.bool();break;case 9:o.optimizeFor=e.int32();break;case 11:o.goPackage=e.string();break;case 16:o.ccGenericServices=e.bool();break;case 17:o.javaGenericServices=e.bool();break;case 18:o.pyGenericServices=e.bool();break;case 42:o.phpGenericServices=e.bool();break;case 23:o.deprecated=e.bool();break;case 31:o.ccEnableArenas=e.bool();break;case 36:o.objcClassPrefix=e.string();break;case 37:o.csharpNamespace=e.string();break;case 39:o.swiftPrefix=e.string();break;case 40:o.phpClassPrefix=e.string();break;case 41:o.phpNamespace=e.string();break;case 44:o.phpMetadataNamespace=e.string();break;case 45:o.rubyPackage=e.string();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1053:o[".google.api.resourceDefinition"]&&o[".google.api.resourceDefinition"].length||(o[".google.api.resourceDefinition"]=[]),o[".google.api.resourceDefinition"].push(b.google.api.ResourceDescriptor.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.javaPackage&&e.hasOwnProperty("javaPackage")&&!v.isString(e.javaPackage))return"javaPackage: string expected";if(null!=e.javaOuterClassname&&e.hasOwnProperty("javaOuterClassname")&&!v.isString(e.javaOuterClassname))return"javaOuterClassname: string expected";if(null!=e.javaMultipleFiles&&e.hasOwnProperty("javaMultipleFiles")&&"boolean"!=typeof e.javaMultipleFiles)return"javaMultipleFiles: boolean expected";if(null!=e.javaGenerateEqualsAndHash&&e.hasOwnProperty("javaGenerateEqualsAndHash")&&"boolean"!=typeof e.javaGenerateEqualsAndHash)return"javaGenerateEqualsAndHash: boolean expected";if(null!=e.javaStringCheckUtf8&&e.hasOwnProperty("javaStringCheckUtf8")&&"boolean"!=typeof e.javaStringCheckUtf8)return"javaStringCheckUtf8: boolean expected";if(null!=e.optimizeFor&&e.hasOwnProperty("optimizeFor"))switch(e.optimizeFor){default:return"optimizeFor: enum value expected";case 1:case 2:case 3:}if(null!=e.goPackage&&e.hasOwnProperty("goPackage")&&!v.isString(e.goPackage))return"goPackage: string expected";if(null!=e.ccGenericServices&&e.hasOwnProperty("ccGenericServices")&&"boolean"!=typeof e.ccGenericServices)return"ccGenericServices: boolean expected";if(null!=e.javaGenericServices&&e.hasOwnProperty("javaGenericServices")&&"boolean"!=typeof e.javaGenericServices)return"javaGenericServices: boolean expected";if(null!=e.pyGenericServices&&e.hasOwnProperty("pyGenericServices")&&"boolean"!=typeof e.pyGenericServices)return"pyGenericServices: boolean expected";if(null!=e.phpGenericServices&&e.hasOwnProperty("phpGenericServices")&&"boolean"!=typeof e.phpGenericServices)return"phpGenericServices: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.ccEnableArenas&&e.hasOwnProperty("ccEnableArenas")&&"boolean"!=typeof e.ccEnableArenas)return"ccEnableArenas: boolean expected";if(null!=e.objcClassPrefix&&e.hasOwnProperty("objcClassPrefix")&&!v.isString(e.objcClassPrefix))return"objcClassPrefix: string expected";if(null!=e.csharpNamespace&&e.hasOwnProperty("csharpNamespace")&&!v.isString(e.csharpNamespace))return"csharpNamespace: string expected";if(null!=e.swiftPrefix&&e.hasOwnProperty("swiftPrefix")&&!v.isString(e.swiftPrefix))return"swiftPrefix: string expected";if(null!=e.phpClassPrefix&&e.hasOwnProperty("phpClassPrefix")&&!v.isString(e.phpClassPrefix))return"phpClassPrefix: string expected";if(null!=e.phpNamespace&&e.hasOwnProperty("phpNamespace")&&!v.isString(e.phpNamespace))return"phpNamespace: string expected";if(null!=e.phpMetadataNamespace&&e.hasOwnProperty("phpMetadataNamespace")&&!v.isString(e.phpMetadataNamespace))return"phpMetadataNamespace: string expected";if(null!=e.rubyPackage&&e.hasOwnProperty("rubyPackage")&&!v.isString(e.rubyPackage))return"rubyPackage: string expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.messageSetWireFormat=e.bool();break;case 2:o.noStandardDescriptorAccessor=e.bool();break;case 3:o.deprecated=e.bool();break;case 7:o.mapEntry=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1053:o[".google.api.resource"]=b.google.api.ResourceDescriptor.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.messageSetWireFormat&&e.hasOwnProperty("messageSetWireFormat")&&"boolean"!=typeof e.messageSetWireFormat)return"messageSetWireFormat: boolean expected";if(null!=e.noStandardDescriptorAccessor&&e.hasOwnProperty("noStandardDescriptorAccessor")&&"boolean"!=typeof e.noStandardDescriptorAccessor)return"noStandardDescriptorAccessor: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.mapEntry&&e.hasOwnProperty("mapEntry")&&"boolean"!=typeof e.mapEntry)return"mapEntry: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.ctype=e.int32();break;case 2:o.packed=e.bool();break;case 6:o.jstype=e.int32();break;case 5:o.lazy=e.bool();break;case 15:o.unverifiedLazy=e.bool();break;case 3:o.deprecated=e.bool();break;case 10:o.weak=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1052:if(o[".google.api.fieldBehavior"]&&o[".google.api.fieldBehavior"].length||(o[".google.api.fieldBehavior"]=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==999?(o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 2:o.allowAlias=e.bool();break;case 3:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.allowAlias&&e.hasOwnProperty("allowAlias")&&"boolean"!=typeof e.allowAlias)return"allowAlias: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 33:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1049:o[".google.api.defaultHost"]=e.string();break;case 1050:o[".google.api.oauthScopes"]=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 33:o.deprecated=e.bool();break;case 34:o.idempotencyLevel=e.int32();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(b.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 72295728:o[".google.api.http"]=b.google.api.HttpRule.decode(e,e.uint32());break;case 1051:o[".google.api.methodSignature"]&&o[".google.api.methodSignature"].length||(o[".google.api.methodSignature"]=[]),o[".google.api.methodSignature"].push(e.string());break;case 1049:o[".google.longrunning.operationInfo"]=b.google.longrunning.OperationInfo.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.idempotencyLevel&&e.hasOwnProperty("idempotencyLevel"))switch(e.idempotencyLevel){default:return"idempotencyLevel: enum value expected";case 0:case 1:case 2:}if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 2:o.name&&o.name.length||(o.name=[]),o.name.push(b.google.protobuf.UninterpretedOption.NamePart.decode(e,e.uint32()));break;case 3:o.identifierValue=e.string();break;case 4:o.positiveIntValue=e.uint64();break;case 5:o.negativeIntValue=e.int64();break;case 6:o.doubleValue=e.double();break;case 7:o.stringValue=e.bytes();break;case 8:o.aggregateValue=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")){if(!Array.isArray(e.name))return"name: array expected";for(var t=0;t>>0,e.positiveIntValue.high>>>0).toNumber(!0))),null!=e.negativeIntValue&&(v.Long?(t.negativeIntValue=v.Long.fromValue(e.negativeIntValue)).unsigned=!1:"string"==typeof e.negativeIntValue?t.negativeIntValue=parseInt(e.negativeIntValue,10):"number"==typeof e.negativeIntValue?t.negativeIntValue=e.negativeIntValue:"object"==typeof e.negativeIntValue&&(t.negativeIntValue=new v.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber())),null!=e.doubleValue&&(t.doubleValue=Number(e.doubleValue)),null!=e.stringValue&&("string"==typeof e.stringValue?v.base64.decode(e.stringValue,t.stringValue=v.newBuffer(v.base64.length(e.stringValue)),0):e.stringValue.length>=0&&(t.stringValue=e.stringValue)),null!=e.aggregateValue&&(t.aggregateValue=String(e.aggregateValue)),t},t.toObject=function(e,t){t||(t={});var n={};if((t.arrays||t.defaults)&&(n.name=[]),t.defaults){if(n.identifierValue="",v.Long){var o=new v.Long(0,0,!0);n.positiveIntValue=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.positiveIntValue=t.longs===String?"0":0;v.Long?(o=new v.Long(0,0,!1),n.negativeIntValue=t.longs===String?o.toString():t.longs===Number?o.toNumber():o):n.negativeIntValue=t.longs===String?"0":0,n.doubleValue=0,t.bytes===String?n.stringValue="":(n.stringValue=[],t.bytes!==Array&&(n.stringValue=v.newBuffer(n.stringValue))),n.aggregateValue=""}if(e.name&&e.name.length){n.name=[];for(var r=0;r>>0,e.positiveIntValue.high>>>0).toNumber(!0):e.positiveIntValue),null!=e.negativeIntValue&&e.hasOwnProperty("negativeIntValue")&&("number"==typeof e.negativeIntValue?n.negativeIntValue=t.longs===String?String(e.negativeIntValue):e.negativeIntValue:n.negativeIntValue=t.longs===String?v.Long.prototype.toString.call(e.negativeIntValue):t.longs===Number?new v.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber():e.negativeIntValue),null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(n.doubleValue=t.json&&!isFinite(e.doubleValue)?String(e.doubleValue):e.doubleValue),null!=e.stringValue&&e.hasOwnProperty("stringValue")&&(n.stringValue=t.bytes===String?v.base64.encode(e.stringValue,0,e.stringValue.length):t.bytes===Array?Array.prototype.slice.call(e.stringValue):e.stringValue),null!=e.aggregateValue&&e.hasOwnProperty("aggregateValue")&&(n.aggregateValue=e.aggregateValue),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.UninterpretedOption"},t.NamePart=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.namePart=e.string();break;case 2:o.isExtension=e.bool();break;default:e.skipType(7&r)}}if(!o.hasOwnProperty("namePart"))throw v.ProtocolError("missing required 'namePart'",{instance:o});if(!o.hasOwnProperty("isExtension"))throw v.ProtocolError("missing required 'isExtension'",{instance:o});return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":v.isString(e.namePart)?"boolean"!=typeof e.isExtension?"isExtension: boolean expected":null:"namePart: string expected"},t.fromObject=function(e){if(e instanceof b.google.protobuf.UninterpretedOption.NamePart)return e;var t=new b.google.protobuf.UninterpretedOption.NamePart;return null!=e.namePart&&(t.namePart=String(e.namePart)),null!=e.isExtension&&(t.isExtension=Boolean(e.isExtension)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.namePart="",n.isExtension=!1),null!=e.namePart&&e.hasOwnProperty("namePart")&&(n.namePart=e.namePart),null!=e.isExtension&&e.hasOwnProperty("isExtension")&&(n.isExtension=e.isExtension),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.UninterpretedOption.NamePart"},t}(),t}(),u.SourceCodeInfo=function(){function t(e){if(this.location=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.location&&o.location.length||(o.location=[]),o.location.push(b.google.protobuf.SourceCodeInfo.Location.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.location&&e.hasOwnProperty("location")){if(!Array.isArray(e.location))return"location: array expected";for(var t=0;t>>3){case 1:if(o.path&&o.path.length||(o.path=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==1?(o.annotation&&o.annotation.length||(o.annotation=[]),o.annotation.push(b.google.protobuf.GeneratedCodeInfo.Annotation.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.annotation&&e.hasOwnProperty("annotation")){if(!Array.isArray(e.annotation))return"annotation: array expected";for(var t=0;t>>3){case 1:if(o.path&&o.path.length||(o.path=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.type_url=e.string();break;case 2:o.value=e.bytes();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.type_url&&e.hasOwnProperty("type_url")&&!v.isString(e.type_url)?"type_url: string expected":null!=e.value&&e.hasOwnProperty("value")&&!(e.value&&"number"==typeof e.value.length||v.isString(e.value))?"value: buffer expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.Any)return e;var t=new b.google.protobuf.Any;return null!=e.type_url&&(t.type_url=String(e.type_url)),null!=e.value&&("string"==typeof e.value?v.base64.decode(e.value,t.value=v.newBuffer(v.base64.length(e.value)),0):e.value.length>=0&&(t.value=e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type_url="",t.bytes===String?n.value="":(n.value=[],t.bytes!==Array&&(n.value=v.newBuffer(n.value)))),null!=e.type_url&&e.hasOwnProperty("type_url")&&(n.type_url=e.type_url),null!=e.value&&e.hasOwnProperty("value")&&(n.value=t.bytes===String?v.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.Any"},t}(),u.Duration=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.seconds=e.int64();break;case 2:o.nanos=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.seconds&&e.hasOwnProperty("seconds")&&!(v.isInteger(e.seconds)||e.seconds&&v.isInteger(e.seconds.low)&&v.isInteger(e.seconds.high))?"seconds: integer|Long expected":null!=e.nanos&&e.hasOwnProperty("nanos")&&!v.isInteger(e.nanos)?"nanos: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.Duration)return e;var t=new b.google.protobuf.Duration;return null!=e.seconds&&(v.Long?(t.seconds=v.Long.fromValue(e.seconds)).unsigned=!1:"string"==typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"==typeof e.seconds?t.seconds=e.seconds:"object"==typeof e.seconds&&(t.seconds=new v.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(v.Long){var o=new v.Long(0,0,!1);n.seconds=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.seconds=t.longs===String?"0":0;n.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"==typeof e.seconds?n.seconds=t.longs===String?String(e.seconds):e.seconds:n.seconds=t.longs===String?v.Long.prototype.toString.call(e.seconds):t.longs===Number?new v.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(n.nanos=e.nanos),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.Duration"},t}(),u.Empty=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?(o.paths&&o.paths.length||(o.paths=[]),o.paths.push(e.string())):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.paths&&e.hasOwnProperty("paths")){if(!Array.isArray(e.paths))return"paths: array expected";for(var t=0;t>>3){case 1:o.seconds=e.int64();break;case 2:o.nanos=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.seconds&&e.hasOwnProperty("seconds")&&!(v.isInteger(e.seconds)||e.seconds&&v.isInteger(e.seconds.low)&&v.isInteger(e.seconds.high))?"seconds: integer|Long expected":null!=e.nanos&&e.hasOwnProperty("nanos")&&!v.isInteger(e.nanos)?"nanos: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.Timestamp)return e;var t=new b.google.protobuf.Timestamp;return null!=e.seconds&&(v.Long?(t.seconds=v.Long.fromValue(e.seconds)).unsigned=!1:"string"==typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"==typeof e.seconds?t.seconds=e.seconds:"object"==typeof e.seconds&&(t.seconds=new v.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(v.Long){var o=new v.Long(0,0,!1);n.seconds=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.seconds=t.longs===String?"0":0;n.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"==typeof e.seconds?n.seconds=t.longs===String?String(e.seconds):e.seconds:n.seconds=t.longs===String?v.Long.prototype.toString.call(e.seconds):t.longs===Number?new v.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(n.nanos=e.nanos),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.Timestamp"},t}(),u.DoubleValue=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.double():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&"number"!=typeof e.value?"value: number expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.DoubleValue)return e;var t=new b.google.protobuf.DoubleValue;return null!=e.value&&(t.value=Number(e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.value=0),null!=e.value&&e.hasOwnProperty("value")&&(n.value=t.json&&!isFinite(e.value)?String(e.value):e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.DoubleValue"},t}(),u.FloatValue=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.float():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&"number"!=typeof e.value?"value: number expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.FloatValue)return e;var t=new b.google.protobuf.FloatValue;return null!=e.value&&(t.value=Number(e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.value=0),null!=e.value&&e.hasOwnProperty("value")&&(n.value=t.json&&!isFinite(e.value)?String(e.value):e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.FloatValue"},t}(),u.Int64Value=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.int64():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!(v.isInteger(e.value)||e.value&&v.isInteger(e.value.low)&&v.isInteger(e.value.high))?"value: integer|Long expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.Int64Value)return e;var t=new b.google.protobuf.Int64Value;return null!=e.value&&(v.Long?(t.value=v.Long.fromValue(e.value)).unsigned=!1:"string"==typeof e.value?t.value=parseInt(e.value,10):"number"==typeof e.value?t.value=e.value:"object"==typeof e.value&&(t.value=new v.LongBits(e.value.low>>>0,e.value.high>>>0).toNumber())),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(v.Long){var o=new v.Long(0,0,!1);n.value=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.value=t.longs===String?"0":0;return null!=e.value&&e.hasOwnProperty("value")&&("number"==typeof e.value?n.value=t.longs===String?String(e.value):e.value:n.value=t.longs===String?v.Long.prototype.toString.call(e.value):t.longs===Number?new v.LongBits(e.value.low>>>0,e.value.high>>>0).toNumber():e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.Int64Value"},t}(),u.UInt64Value=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.uint64():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!(v.isInteger(e.value)||e.value&&v.isInteger(e.value.low)&&v.isInteger(e.value.high))?"value: integer|Long expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.UInt64Value)return e;var t=new b.google.protobuf.UInt64Value;return null!=e.value&&(v.Long?(t.value=v.Long.fromValue(e.value)).unsigned=!0:"string"==typeof e.value?t.value=parseInt(e.value,10):"number"==typeof e.value?t.value=e.value:"object"==typeof e.value&&(t.value=new v.LongBits(e.value.low>>>0,e.value.high>>>0).toNumber(!0))),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(v.Long){var o=new v.Long(0,0,!0);n.value=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.value=t.longs===String?"0":0;return null!=e.value&&e.hasOwnProperty("value")&&("number"==typeof e.value?n.value=t.longs===String?String(e.value):e.value:n.value=t.longs===String?v.Long.prototype.toString.call(e.value):t.longs===Number?new v.LongBits(e.value.low>>>0,e.value.high>>>0).toNumber(!0):e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.UInt64Value"},t}(),u.Int32Value=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.int32():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isInteger(e.value)?"value: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.Int32Value)return e;var t=new b.google.protobuf.Int32Value;return null!=e.value&&(t.value=0|e.value),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.value=0),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.Int32Value"},t}(),u.UInt32Value=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.uint32():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isInteger(e.value)?"value: integer expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.UInt32Value)return e;var t=new b.google.protobuf.UInt32Value;return null!=e.value&&(t.value=e.value>>>0),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.value=0),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.UInt32Value"},t}(),u.BoolValue=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.bool():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&"boolean"!=typeof e.value?"value: boolean expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.BoolValue)return e;var t=new b.google.protobuf.BoolValue;return null!=e.value&&(t.value=Boolean(e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.value=!1),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.BoolValue"},t}(),u.StringValue=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!v.isString(e.value)?"value: string expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.StringValue)return e;var t=new b.google.protobuf.StringValue;return null!=e.value&&(t.value=String(e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.value=""),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.StringValue"},t}(),u.BytesValue=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.value=e.bytes():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!(e.value&&"number"==typeof e.value.length||v.isString(e.value))?"value: buffer expected":null},t.fromObject=function(e){if(e instanceof b.google.protobuf.BytesValue)return e;var t=new b.google.protobuf.BytesValue;return null!=e.value&&("string"==typeof e.value?v.base64.decode(e.value,t.value=v.newBuffer(v.base64.length(e.value)),0):e.value.length>=0&&(t.value=e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.value="":(n.value=[],t.bytes!==Array&&(n.value=v.newBuffer(n.value)))),null!=e.value&&e.hasOwnProperty("value")&&(n.value=t.bytes===String?v.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.BytesValue"},t}(),u),h.longrunning=((d={}).Operations=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.listOperations=function e(t,n){return this.rpcCall(e,b.google.longrunning.ListOperationsRequest,b.google.longrunning.ListOperationsResponse,t,n)},"name",{value:"ListOperations"}),Object.defineProperty(t.prototype.getOperation=function e(t,n){return this.rpcCall(e,b.google.longrunning.GetOperationRequest,b.google.longrunning.Operation,t,n)},"name",{value:"GetOperation"}),Object.defineProperty(t.prototype.deleteOperation=function e(t,n){return this.rpcCall(e,b.google.longrunning.DeleteOperationRequest,b.google.protobuf.Empty,t,n)},"name",{value:"DeleteOperation"}),Object.defineProperty(t.prototype.cancelOperation=function e(t,n){return this.rpcCall(e,b.google.longrunning.CancelOperationRequest,b.google.protobuf.Empty,t,n)},"name",{value:"CancelOperation"}),Object.defineProperty(t.prototype.waitOperation=function e(t,n){return this.rpcCall(e,b.google.longrunning.WaitOperationRequest,b.google.longrunning.Operation,t,n)},"name",{value:"WaitOperation"}),t}(),d.Operation=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.metadata=b.google.protobuf.Any.decode(e,e.uint32());break;case 3:o.done=e.bool();break;case 4:o.error=b.google.rpc.Status.decode(e,e.uint32());break;case 5:o.response=b.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t={};if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.metadata&&e.hasOwnProperty("metadata")&&(n=b.google.protobuf.Any.verify(e.metadata)))return"metadata."+n;if(null!=e.done&&e.hasOwnProperty("done")&&"boolean"!=typeof e.done)return"done: boolean expected";if(null!=e.error&&e.hasOwnProperty("error")&&(t.result=1,n=b.google.rpc.Status.verify(e.error)))return"error."+n;if(null!=e.response&&e.hasOwnProperty("response")){if(1===t.result)return"result: multiple values";var n;if(t.result=1,n=b.google.protobuf.Any.verify(e.response))return"response."+n}return null},t.fromObject=function(e){if(e instanceof b.google.longrunning.Operation)return e;var t=new b.google.longrunning.Operation;if(null!=e.name&&(t.name=String(e.name)),null!=e.metadata){if("object"!=typeof e.metadata)throw TypeError(".google.longrunning.Operation.metadata: object expected");t.metadata=b.google.protobuf.Any.fromObject(e.metadata)}if(null!=e.done&&(t.done=Boolean(e.done)),null!=e.error){if("object"!=typeof e.error)throw TypeError(".google.longrunning.Operation.error: object expected");t.error=b.google.rpc.Status.fromObject(e.error)}if(null!=e.response){if("object"!=typeof e.response)throw TypeError(".google.longrunning.Operation.response: object expected");t.response=b.google.protobuf.Any.fromObject(e.response)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.metadata=null,n.done=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.metadata&&e.hasOwnProperty("metadata")&&(n.metadata=b.google.protobuf.Any.toObject(e.metadata,t)),null!=e.done&&e.hasOwnProperty("done")&&(n.done=e.done),null!=e.error&&e.hasOwnProperty("error")&&(n.error=b.google.rpc.Status.toObject(e.error,t),t.oneofs&&(n.result="error")),null!=e.response&&e.hasOwnProperty("response")&&(n.response=b.google.protobuf.Any.toObject(e.response,t),t.oneofs&&(n.result="response")),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.longrunning.Operation"},t}(),d.GetOperationRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.longrunning.GetOperationRequest)return e;var t=new b.google.longrunning.GetOperationRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.longrunning.GetOperationRequest"},t}(),d.ListOperationsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 4:o.name=e.string();break;case 1:o.filter=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null!=e.filter&&e.hasOwnProperty("filter")&&!v.isString(e.filter)?"filter: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!v.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!v.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof b.google.longrunning.ListOperationsRequest)return e;var t=new b.google.longrunning.ListOperationsRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.filter&&(t.filter=String(e.filter)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.filter="",n.pageSize=0,n.pageToken="",n.name=""),null!=e.filter&&e.hasOwnProperty("filter")&&(n.filter=e.filter),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.longrunning.ListOperationsRequest"},t}(),d.ListOperationsResponse=function(){function t(e){if(this.operations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.operations&&o.operations.length||(o.operations=[]),o.operations.push(b.google.longrunning.Operation.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.operations&&e.hasOwnProperty("operations")){if(!Array.isArray(e.operations))return"operations: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.longrunning.CancelOperationRequest)return e;var t=new b.google.longrunning.CancelOperationRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.longrunning.CancelOperationRequest"},t}(),d.DeleteOperationRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof b.google.longrunning.DeleteOperationRequest)return e;var t=new b.google.longrunning.DeleteOperationRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.longrunning.DeleteOperationRequest"},t}(),d.WaitOperationRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.timeout=b.google.protobuf.Duration.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!v.isString(e.name))return"name: string expected";if(null!=e.timeout&&e.hasOwnProperty("timeout")){var t=b.google.protobuf.Duration.verify(e.timeout);if(t)return"timeout."+t}return null},t.fromObject=function(e){if(e instanceof b.google.longrunning.WaitOperationRequest)return e;var t=new b.google.longrunning.WaitOperationRequest;if(null!=e.name&&(t.name=String(e.name)),null!=e.timeout){if("object"!=typeof e.timeout)throw TypeError(".google.longrunning.WaitOperationRequest.timeout: object expected");t.timeout=b.google.protobuf.Duration.fromObject(e.timeout)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.timeout=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.timeout&&e.hasOwnProperty("timeout")&&(n.timeout=b.google.protobuf.Duration.toObject(e.timeout,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.longrunning.WaitOperationRequest"},t}(),d.OperationInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.responseType=e.string();break;case 2:o.metadataType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.responseType&&e.hasOwnProperty("responseType")&&!v.isString(e.responseType)?"responseType: string expected":null!=e.metadataType&&e.hasOwnProperty("metadataType")&&!v.isString(e.metadataType)?"metadataType: string expected":null},t.fromObject=function(e){if(e instanceof b.google.longrunning.OperationInfo)return e;var t=new b.google.longrunning.OperationInfo;return null!=e.responseType&&(t.responseType=String(e.responseType)),null!=e.metadataType&&(t.metadataType=String(e.metadataType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.responseType="",n.metadataType=""),null!=e.responseType&&e.hasOwnProperty("responseType")&&(n.responseType=e.responseType),null!=e.metadataType&&e.hasOwnProperty("metadataType")&&(n.metadataType=e.metadataType),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.longrunning.OperationInfo"},t}(),d),h.rpc=((g={}).Status=function(){function t(e){if(this.details=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.code=e.int32();break;case 2:o.message=e.string();break;case 3:o.details&&o.details.length||(o.details=[]),o.details.push(b.google.protobuf.Any.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.code&&e.hasOwnProperty("code")&&!v.isInteger(e.code))return"code: integer expected";if(null!=e.message&&e.hasOwnProperty("message")&&!v.isString(e.message))return"message: string expected";if(null!=e.details&&e.hasOwnProperty("details")){if(!Array.isArray(e.details))return"details: array expected";for(var t=0;t>>3){case 1:o.red=e.float();break;case 2:o.green=e.float();break;case 3:o.blue=e.float();break;case 4:o.alpha=b.google.protobuf.FloatValue.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.red&&e.hasOwnProperty("red")&&"number"!=typeof e.red)return"red: number expected";if(null!=e.green&&e.hasOwnProperty("green")&&"number"!=typeof e.green)return"green: number expected";if(null!=e.blue&&e.hasOwnProperty("blue")&&"number"!=typeof e.blue)return"blue: number expected";if(null!=e.alpha&&e.hasOwnProperty("alpha")){var t=b.google.protobuf.FloatValue.verify(e.alpha);if(t)return"alpha."+t}return null},t.fromObject=function(e){if(e instanceof b.google.type.Color)return e;var t=new b.google.type.Color;if(null!=e.red&&(t.red=Number(e.red)),null!=e.green&&(t.green=Number(e.green)),null!=e.blue&&(t.blue=Number(e.blue)),null!=e.alpha){if("object"!=typeof e.alpha)throw TypeError(".google.type.Color.alpha: object expected");t.alpha=b.google.protobuf.FloatValue.fromObject(e.alpha)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.red=0,n.green=0,n.blue=0,n.alpha=null),null!=e.red&&e.hasOwnProperty("red")&&(n.red=t.json&&!isFinite(e.red)?String(e.red):e.red),null!=e.green&&e.hasOwnProperty("green")&&(n.green=t.json&&!isFinite(e.green)?String(e.green):e.green),null!=e.blue&&e.hasOwnProperty("blue")&&(n.blue=t.json&&!isFinite(e.blue)?String(e.blue):e.blue),null!=e.alpha&&e.hasOwnProperty("alpha")&&(n.alpha=b.google.protobuf.FloatValue.toObject(e.alpha,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.type.Color"},t}(),f.LatLng=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.latitude=e.double();break;case 2:o.longitude=e.double();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof m||(e=new m(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.latitude&&e.hasOwnProperty("latitude")&&"number"!=typeof e.latitude?"latitude: number expected":null!=e.longitude&&e.hasOwnProperty("longitude")&&"number"!=typeof e.longitude?"longitude: number expected":null},t.fromObject=function(e){if(e instanceof b.google.type.LatLng)return e;var t=new b.google.type.LatLng;return null!=e.latitude&&(t.latitude=Number(e.latitude)),null!=e.longitude&&(t.longitude=Number(e.longitude)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.latitude=0,n.longitude=0),null!=e.latitude&&e.hasOwnProperty("latitude")&&(n.latitude=t.json&&!isFinite(e.latitude)?String(e.latitude):e.latitude),null!=e.longitude&&e.hasOwnProperty("longitude")&&(n.longitude=t.json&&!isFinite(e.longitude)?String(e.longitude):e.longitude),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.type.LatLng"},t}(),f),h),b})?o.apply(t,r):o)||(e.exports=i)},76358:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.call=void 0;const o=n(57147),r=n(49608),i=n(30108),a=n(38845),s=e=>function(t,n,o){const i=(e=>(r.string(e)?e=-1===e.indexOf("://")||0===e.indexOf("file://")?{image:{source:{filename:e}}}:{image:{source:{imageUri:e}}}:Buffer.isBuffer(e)&&(e={image:e}),e))(t);let a;r.undefined(o)&&r.function(n)?(o=n,a=void 0):a=n,i.features=i.features||[{type:e}];for(const t of i.features)if(t.type!==e)throw new Error("Setting explicit features is not supported on this method. Use the #annotateImage method instead.");return this.annotateImage(i,a,o)};t.call=function(e){const t={};t.annotateImage=(0,i.promisify)((function(e,t,n){let i;return r.undefined(n)&&r.function(t)?(n=t,i=void 0):i=t,((e,t)=>!r.object(e)||r.undefined(e.image)?t(new Error("No image present.")):(Buffer.isBuffer(e.image)&&(e.image={content:e.image.toString("base64")}),e.image.source&&e.image.source.filename?void o.readFile(e.image.source.filename,((n,o)=>{if(!n)return e.image.content=o.toString("base64"),delete e.image.source,t(null,e);t(n)})):t(null,e)))(e,((e,t)=>{if(e)return n(e);const o={requests:[t]};return this.batchAnnotateImages(o,i,((e,t)=>{if(e)return n(e);const o=t.responses[0];return n(void 0,o)}))}))}));const l=a.protobuf.Root.fromJSON(n(41548)).lookup(`google.cloud.vision.${e}.Feature.Type`).values;return t.faceDetection=(0,i.promisify)(s(l.FACE_DETECTION)),t.landmarkDetection=(0,i.promisify)(s(l.LANDMARK_DETECTION)),t.logoDetection=(0,i.promisify)(s(l.LOGO_DETECTION)),t.labelDetection=(0,i.promisify)(s(l.LABEL_DETECTION)),t.textDetection=(0,i.promisify)(s(l.TEXT_DETECTION)),t.documentTextDetection=(0,i.promisify)(s(l.DOCUMENT_TEXT_DETECTION)),t.safeSearchDetection=(0,i.promisify)(s(l.SAFE_SEARCH_DETECTION)),t.imageProperties=(0,i.promisify)(s(l.IMAGE_PROPERTIES)),t.cropHints=(0,i.promisify)(s(l.CROP_HINTS)),t.webDetection=(0,i.promisify)(s(l.WEB_DETECTION)),void 0!==l.PRODUCT_SEARCH&&(t.productSearch=(0,i.promisify)(s(l.PRODUCT_SEARCH))),void 0!==l.OBJECT_LOCALIZATION&&(t.objectLocalization=(0,i.promisify)(s(l.OBJECT_LOCALIZATION))),t}},44944:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.protos=t.ProductSearchClient=t.ImageAnnotatorClient=t.v1p4beta1=t.v1p3beta1=t.v1p2beta1=t.v1p1beta1=t.v1=void 0;const o=n(57877);t.v1=o;const r=n(4288);t.v1p1beta1=r;const i=n(91524);t.v1p2beta1=i;const a=n(79163);t.v1p3beta1=a;const s=n(60320);t.v1p4beta1=s;const l=n(76358);Object.assign(o.ImageAnnotatorClient.prototype,l.call("v1")),Object.assign(r.ImageAnnotatorClient.prototype,l.call("v1p1beta1")),Object.assign(i.ImageAnnotatorClient.prototype,l.call("v1p2beta1")),Object.assign(a.ImageAnnotatorClient.prototype,l.call("v1p3beta1")),Object.assign(s.ImageAnnotatorClient.prototype,l.call("v1p4beta1"));const c=o.ImageAnnotatorClient;t.ImageAnnotatorClient=c;const p=o.ProductSearchClient;t.ProductSearchClient=p,t.default={v1:o,v1p1beta1:r,v1p2beta1:i,v1p3beta1:a,v1p4beta1:s,ImageAnnotatorClient:c,ProductSearchClient:p};const u=n(57451);t.protos=u},23296:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageAnnotatorClient=void 0;const o=n(41548),r=n(12827),i=n(49724).i8;t.ImageAnnotatorClient=class{constructor(e,t){var a,s;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}};const l=this.constructor,c=(null==e?void 0:e.servicePath)||(null==e?void 0:e.apiEndpoint)||l.servicePath;this._providedCustomServicePath=!(!(null==e?void 0:e.servicePath)&&!(null==e?void 0:e.apiEndpoint));const p=(null==e?void 0:e.port)||l.port,u=null!==(a=null==e?void 0:e.clientConfig)&&void 0!==a?a:{},d=null!==(s=null==e?void 0:e.fallback)&&void 0!==s?s:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);e=Object.assign({servicePath:c,port:p,clientConfig:u,fallback:d},e),c===l.servicePath||"scopes"in e||(e.scopes=l.scopes),t||(t=n(38845)),this._gaxModule=e.fallback?t.fallback:t,this._gaxGrpc=new this._gaxModule.GrpcClient(e),this._opts=e,this.auth=this._gaxGrpc.auth,this.auth.useJWTAccessWithScope=!0,this.auth.defaultServicePath=l.servicePath,c===l.servicePath&&(this.auth.defaultScopes=l.scopes);const g=[`gax/${this._gaxModule.version}`,`gapic/${i}`];"undefined"!=typeof process&&"versions"in process?g.push(`gl-node/${process.versions.node}`):g.push(`gl-web/${this._gaxModule.version}`),e.fallback?"rest"===e.fallback&&g.push(`rest/${this._gaxGrpc.grpcVersion}`):g.push(`grpc/${this._gaxGrpc.grpcVersion}`),e.libName&&e.libVersion&&g.push(`${e.libName}/${e.libVersion}`),this._protos=this._gaxGrpc.loadProtoJSON(o),this.pathTemplates={productPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}"),productSetPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/productSets/{product_set}"),referenceImagePathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}")};const f=this._gaxModule.protobuf.Root.fromJSON(o),h={auth:this.auth,grpc:"grpc"in this._gaxGrpc?this._gaxGrpc.grpc:void 0};"rest"===e.fallback&&(h.protoJson=f,h.httpRules=[{selector:"google.longrunning.Operations.GetOperation",get:"/v1/{name=projects/*/operations/*}",additional_bindings:[{get:"/v1/{name=projects/*/locations/*/operations/*}"},{get:"/v1/{name=operations/*}"},{get:"/v1/{name=locations/*/operations/*}"}]}]),this.operationsClient=this._gaxModule.lro(h).operationsClient(e);const m=f.lookup(".google.cloud.vision.v1.AsyncBatchAnnotateImagesResponse"),y=f.lookup(".google.cloud.vision.v1.OperationMetadata"),v=f.lookup(".google.cloud.vision.v1.AsyncBatchAnnotateFilesResponse"),b=f.lookup(".google.cloud.vision.v1.OperationMetadata");this.descriptors.longrunning={asyncBatchAnnotateImages:new this._gaxModule.LongrunningDescriptor(this.operationsClient,m.decode.bind(m),y.decode.bind(y)),asyncBatchAnnotateFiles:new this._gaxModule.LongrunningDescriptor(this.operationsClient,v.decode.bind(v),b.decode.bind(b))},this._defaults=this._gaxGrpc.constructSettings("google.cloud.vision.v1.ImageAnnotator",r,e.clientConfig||{},{"x-goog-api-client":g.join(" ")}),this.innerApiCalls={},this.warn=this._gaxModule.warn}initialize(){if(this.imageAnnotatorStub)return this.imageAnnotatorStub;this.imageAnnotatorStub=this._gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.vision.v1.ImageAnnotator"):this._protos.google.cloud.vision.v1.ImageAnnotator,this._opts,this._providedCustomServicePath);const e=["batchAnnotateImages","batchAnnotateFiles","asyncBatchAnnotateImages","asyncBatchAnnotateFiles"];for(const t of e){const e=this.imageAnnotatorStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=this.descriptors.longrunning[t]||void 0,o=this._gaxModule.createApiCall(e,this._defaults[t],n,this._opts.fallback);this.innerApiCalls[t]=o}return this.imageAnnotatorStub}static get servicePath(){return"vision.googleapis.com"}static get apiEndpoint(){return"vision.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloud-vision"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}batchAnnotateImages(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.batchAnnotateImages(e,r,n)}batchAnnotateFiles(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.batchAnnotateFiles(e,r,n)}asyncBatchAnnotateImages(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.asyncBatchAnnotateImages(e,r,n)}async checkAsyncBatchAnnotateImagesProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.asyncBatchAnnotateImages,this._gaxModule.createDefaultBackoffSettings())}asyncBatchAnnotateFiles(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.asyncBatchAnnotateFiles(e,r,n)}async checkAsyncBatchAnnotateFilesProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.asyncBatchAnnotateFiles,this._gaxModule.createDefaultBackoffSettings())}productPath(e,t,n){return this.pathTemplates.productPathTemplate.render({project:e,location:t,product:n})}matchProjectFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).project}matchLocationFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).location}matchProductFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).product}productSetPath(e,t,n){return this.pathTemplates.productSetPathTemplate.render({project:e,location:t,product_set:n})}matchProjectFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).project}matchLocationFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).location}matchProductSetFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).product_set}referenceImagePath(e,t,n,o){return this.pathTemplates.referenceImagePathTemplate.render({project:e,location:t,product:n,reference_image:o})}matchProjectFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).project}matchLocationFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).location}matchProductFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).product}matchReferenceImageFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).reference_image}close(){return this.imageAnnotatorStub&&!this._terminated?this.imageAnnotatorStub.then((e=>{this._terminated=!0,e.close(),this.operationsClient.close()})):Promise.resolve()}}},57877:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProductSearchClient=t.ImageAnnotatorClient=void 0;var o=n(23296);Object.defineProperty(t,"ImageAnnotatorClient",{enumerable:!0,get:function(){return o.ImageAnnotatorClient}});var r=n(50037);Object.defineProperty(t,"ProductSearchClient",{enumerable:!0,get:function(){return r.ProductSearchClient}})},50037:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProductSearchClient=void 0;const o=n(41548),r=n(19184),i=n(49724).i8;t.ProductSearchClient=class{constructor(e,t){var a,s;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}};const l=this.constructor,c=(null==e?void 0:e.servicePath)||(null==e?void 0:e.apiEndpoint)||l.servicePath;this._providedCustomServicePath=!(!(null==e?void 0:e.servicePath)&&!(null==e?void 0:e.apiEndpoint));const p=(null==e?void 0:e.port)||l.port,u=null!==(a=null==e?void 0:e.clientConfig)&&void 0!==a?a:{},d=null!==(s=null==e?void 0:e.fallback)&&void 0!==s?s:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);e=Object.assign({servicePath:c,port:p,clientConfig:u,fallback:d},e),c===l.servicePath||"scopes"in e||(e.scopes=l.scopes),t||(t=n(38845)),this._gaxModule=e.fallback?t.fallback:t,this._gaxGrpc=new this._gaxModule.GrpcClient(e),this._opts=e,this.auth=this._gaxGrpc.auth,this.auth.useJWTAccessWithScope=!0,this.auth.defaultServicePath=l.servicePath,c===l.servicePath&&(this.auth.defaultScopes=l.scopes);const g=[`gax/${this._gaxModule.version}`,`gapic/${i}`];"undefined"!=typeof process&&"versions"in process?g.push(`gl-node/${process.versions.node}`):g.push(`gl-web/${this._gaxModule.version}`),e.fallback?"rest"===e.fallback&&g.push(`rest/${this._gaxGrpc.grpcVersion}`):g.push(`grpc/${this._gaxGrpc.grpcVersion}`),e.libName&&e.libVersion&&g.push(`${e.libName}/${e.libVersion}`),this._protos=this._gaxGrpc.loadProtoJSON(o),this.pathTemplates={locationPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}"),productPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}"),productSetPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/productSets/{product_set}"),referenceImagePathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}")},this.descriptors.page={listProductSets:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","productSets"),listProducts:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","products"),listReferenceImages:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","referenceImages"),listProductsInProductSet:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","products")};const f=this._gaxModule.protobuf.Root.fromJSON(o),h={auth:this.auth,grpc:"grpc"in this._gaxGrpc?this._gaxGrpc.grpc:void 0};"rest"===e.fallback&&(h.protoJson=f,h.httpRules=[{selector:"google.longrunning.Operations.GetOperation",get:"/v1/{name=projects/*/operations/*}",additional_bindings:[{get:"/v1/{name=projects/*/locations/*/operations/*}"},{get:"/v1/{name=operations/*}"},{get:"/v1/{name=locations/*/operations/*}"}]}]),this.operationsClient=this._gaxModule.lro(h).operationsClient(e);const m=f.lookup(".google.cloud.vision.v1.ImportProductSetsResponse"),y=f.lookup(".google.cloud.vision.v1.BatchOperationMetadata"),v=f.lookup(".google.protobuf.Empty"),b=f.lookup(".google.cloud.vision.v1.BatchOperationMetadata");this.descriptors.longrunning={importProductSets:new this._gaxModule.LongrunningDescriptor(this.operationsClient,m.decode.bind(m),y.decode.bind(y)),purgeProducts:new this._gaxModule.LongrunningDescriptor(this.operationsClient,v.decode.bind(v),b.decode.bind(b))},this._defaults=this._gaxGrpc.constructSettings("google.cloud.vision.v1.ProductSearch",r,e.clientConfig||{},{"x-goog-api-client":g.join(" ")}),this.innerApiCalls={},this.warn=this._gaxModule.warn}initialize(){if(this.productSearchStub)return this.productSearchStub;this.productSearchStub=this._gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.vision.v1.ProductSearch"):this._protos.google.cloud.vision.v1.ProductSearch,this._opts,this._providedCustomServicePath);const e=["createProductSet","listProductSets","getProductSet","updateProductSet","deleteProductSet","createProduct","listProducts","getProduct","updateProduct","deleteProduct","createReferenceImage","deleteReferenceImage","listReferenceImages","getReferenceImage","addProductToProductSet","removeProductFromProductSet","listProductsInProductSet","importProductSets","purgeProducts"];for(const t of e){const e=this.productSearchStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=this.descriptors.page[t]||this.descriptors.longrunning[t]||void 0,o=this._gaxModule.createApiCall(e,this._defaults[t],n,this._opts.fallback);this.innerApiCalls[t]=o}return this.productSearchStub}static get servicePath(){return"vision.googleapis.com"}static get apiEndpoint(){return"vision.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloud-vision"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}createProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createProductSet(e,r,n)}getProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getProductSet(e,r,n)}updateProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({"product_set.name":null!==(o=e.productSet.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.updateProductSet(e,r,n)}deleteProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteProductSet(e,r,n)}createProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createProduct(e,r,n)}getProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getProduct(e,r,n)}updateProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({"product.name":null!==(o=e.product.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.updateProduct(e,r,n)}deleteProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteProduct(e,r,n)}createReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createReferenceImage(e,r,n)}deleteReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteReferenceImage(e,r,n)}getReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getReferenceImage(e,r,n)}addProductToProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.addProductToProductSet(e,r,n)}removeProductFromProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.removeProductFromProductSet(e,r,n)}importProductSets(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.importProductSets(e,r,n)}async checkImportProductSetsProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.importProductSets,this._gaxModule.createDefaultBackoffSettings())}purgeProducts(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.purgeProducts(e,r,n)}async checkPurgeProductsProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.purgeProducts,this._gaxModule.createDefaultBackoffSettings())}listProductSets(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProductSets(e,r,n)}listProductSetsStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProductSets.merge(t);return this.initialize(),this.descriptors.page.listProductSets.createStream(this.innerApiCalls.listProductSets,e,o)}listProductSetsAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProductSets.merge(t);return this.initialize(),this.descriptors.page.listProductSets.asyncIterate(this.innerApiCalls.listProductSets,e,o)}listProducts(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProducts(e,r,n)}listProductsStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProducts.merge(t);return this.initialize(),this.descriptors.page.listProducts.createStream(this.innerApiCalls.listProducts,e,o)}listProductsAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProducts.merge(t);return this.initialize(),this.descriptors.page.listProducts.asyncIterate(this.innerApiCalls.listProducts,e,o)}listReferenceImages(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listReferenceImages(e,r,n)}listReferenceImagesStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listReferenceImages.merge(t);return this.initialize(),this.descriptors.page.listReferenceImages.createStream(this.innerApiCalls.listReferenceImages,e,o)}listReferenceImagesAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listReferenceImages.merge(t);return this.initialize(),this.descriptors.page.listReferenceImages.asyncIterate(this.innerApiCalls.listReferenceImages,e,o)}listProductsInProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProductsInProductSet(e,r,n)}listProductsInProductSetStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(n=e.name)&&void 0!==n?n:""});const o=this._defaults.listProductsInProductSet.merge(t);return this.initialize(),this.descriptors.page.listProductsInProductSet.createStream(this.innerApiCalls.listProductsInProductSet,e,o)}listProductsInProductSetAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(n=e.name)&&void 0!==n?n:""});const o=this._defaults.listProductsInProductSet.merge(t);return this.initialize(),this.descriptors.page.listProductsInProductSet.asyncIterate(this.innerApiCalls.listProductsInProductSet,e,o)}locationPath(e,t){return this.pathTemplates.locationPathTemplate.render({project:e,location:t})}matchProjectFromLocationName(e){return this.pathTemplates.locationPathTemplate.match(e).project}matchLocationFromLocationName(e){return this.pathTemplates.locationPathTemplate.match(e).location}productPath(e,t,n){return this.pathTemplates.productPathTemplate.render({project:e,location:t,product:n})}matchProjectFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).project}matchLocationFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).location}matchProductFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).product}productSetPath(e,t,n){return this.pathTemplates.productSetPathTemplate.render({project:e,location:t,product_set:n})}matchProjectFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).project}matchLocationFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).location}matchProductSetFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).product_set}referenceImagePath(e,t,n,o){return this.pathTemplates.referenceImagePathTemplate.render({project:e,location:t,product:n,reference_image:o})}matchProjectFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).project}matchLocationFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).location}matchProductFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).product}matchReferenceImageFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).reference_image}close(){return this.productSearchStub&&!this._terminated?this.productSearchStub.then((e=>{this._terminated=!0,e.close(),this.operationsClient.close()})):Promise.resolve()}}},72771:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageAnnotatorClient=void 0;const o=n(41548),r=n(10254),i=n(49724).i8;t.ImageAnnotatorClient=class{constructor(e,t){var a,s;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}};const l=this.constructor,c=(null==e?void 0:e.servicePath)||(null==e?void 0:e.apiEndpoint)||l.servicePath;this._providedCustomServicePath=!(!(null==e?void 0:e.servicePath)&&!(null==e?void 0:e.apiEndpoint));const p=(null==e?void 0:e.port)||l.port,u=null!==(a=null==e?void 0:e.clientConfig)&&void 0!==a?a:{},d=null!==(s=null==e?void 0:e.fallback)&&void 0!==s?s:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);e=Object.assign({servicePath:c,port:p,clientConfig:u,fallback:d},e),c===l.servicePath||"scopes"in e||(e.scopes=l.scopes),t||(t=n(38845)),this._gaxModule=e.fallback?t.fallback:t,this._gaxGrpc=new this._gaxModule.GrpcClient(e),this._opts=e,this.auth=this._gaxGrpc.auth,this.auth.useJWTAccessWithScope=!0,this.auth.defaultServicePath=l.servicePath,c===l.servicePath&&(this.auth.defaultScopes=l.scopes);const g=[`gax/${this._gaxModule.version}`,`gapic/${i}`];"undefined"!=typeof process&&"versions"in process?g.push(`gl-node/${process.versions.node}`):g.push(`gl-web/${this._gaxModule.version}`),e.fallback?"rest"===e.fallback&&g.push(`rest/${this._gaxGrpc.grpcVersion}`):g.push(`grpc/${this._gaxGrpc.grpcVersion}`),e.libName&&e.libVersion&&g.push(`${e.libName}/${e.libVersion}`),this._protos=this._gaxGrpc.loadProtoJSON(o),this._defaults=this._gaxGrpc.constructSettings("google.cloud.vision.v1p1beta1.ImageAnnotator",r,e.clientConfig||{},{"x-goog-api-client":g.join(" ")}),this.innerApiCalls={},this.warn=this._gaxModule.warn}initialize(){if(this.imageAnnotatorStub)return this.imageAnnotatorStub;this.imageAnnotatorStub=this._gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.vision.v1p1beta1.ImageAnnotator"):this._protos.google.cloud.vision.v1p1beta1.ImageAnnotator,this._opts,this._providedCustomServicePath);const e=["batchAnnotateImages"];for(const t of e){const e=this.imageAnnotatorStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=void 0,o=this._gaxModule.createApiCall(e,this._defaults[t],n,this._opts.fallback);this.innerApiCalls[t]=o}return this.imageAnnotatorStub}static get servicePath(){return"vision.googleapis.com"}static get apiEndpoint(){return"vision.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloud-vision"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}batchAnnotateImages(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.batchAnnotateImages(e,o,n)}close(){return this.imageAnnotatorStub&&!this._terminated?this.imageAnnotatorStub.then((e=>{this._terminated=!0,e.close()})):Promise.resolve()}}},4288:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageAnnotatorClient=void 0;var o=n(72771);Object.defineProperty(t,"ImageAnnotatorClient",{enumerable:!0,get:function(){return o.ImageAnnotatorClient}})},2987:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageAnnotatorClient=void 0;const o=n(41548),r=n(95184),i=n(49724).i8;t.ImageAnnotatorClient=class{constructor(e,t){var a,s;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}};const l=this.constructor,c=(null==e?void 0:e.servicePath)||(null==e?void 0:e.apiEndpoint)||l.servicePath;this._providedCustomServicePath=!(!(null==e?void 0:e.servicePath)&&!(null==e?void 0:e.apiEndpoint));const p=(null==e?void 0:e.port)||l.port,u=null!==(a=null==e?void 0:e.clientConfig)&&void 0!==a?a:{},d=null!==(s=null==e?void 0:e.fallback)&&void 0!==s?s:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);e=Object.assign({servicePath:c,port:p,clientConfig:u,fallback:d},e),c===l.servicePath||"scopes"in e||(e.scopes=l.scopes),t||(t=n(38845)),this._gaxModule=e.fallback?t.fallback:t,this._gaxGrpc=new this._gaxModule.GrpcClient(e),this._opts=e,this.auth=this._gaxGrpc.auth,this.auth.useJWTAccessWithScope=!0,this.auth.defaultServicePath=l.servicePath,c===l.servicePath&&(this.auth.defaultScopes=l.scopes);const g=[`gax/${this._gaxModule.version}`,`gapic/${i}`];"undefined"!=typeof process&&"versions"in process?g.push(`gl-node/${process.versions.node}`):g.push(`gl-web/${this._gaxModule.version}`),e.fallback?"rest"===e.fallback&&g.push(`rest/${this._gaxGrpc.grpcVersion}`):g.push(`grpc/${this._gaxGrpc.grpcVersion}`),e.libName&&e.libVersion&&g.push(`${e.libName}/${e.libVersion}`),this._protos=this._gaxGrpc.loadProtoJSON(o);const f=this._gaxModule.protobuf.Root.fromJSON(o),h={auth:this.auth,grpc:"grpc"in this._gaxGrpc?this._gaxGrpc.grpc:void 0};"rest"===e.fallback&&(h.protoJson=f,h.httpRules=[]),this.operationsClient=this._gaxModule.lro(h).operationsClient(e);const m=f.lookup(".google.cloud.vision.v1p2beta1.AsyncBatchAnnotateFilesResponse"),y=f.lookup(".google.cloud.vision.v1p2beta1.OperationMetadata");this.descriptors.longrunning={asyncBatchAnnotateFiles:new this._gaxModule.LongrunningDescriptor(this.operationsClient,m.decode.bind(m),y.decode.bind(y))},this._defaults=this._gaxGrpc.constructSettings("google.cloud.vision.v1p2beta1.ImageAnnotator",r,e.clientConfig||{},{"x-goog-api-client":g.join(" ")}),this.innerApiCalls={},this.warn=this._gaxModule.warn}initialize(){if(this.imageAnnotatorStub)return this.imageAnnotatorStub;this.imageAnnotatorStub=this._gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.vision.v1p2beta1.ImageAnnotator"):this._protos.google.cloud.vision.v1p2beta1.ImageAnnotator,this._opts,this._providedCustomServicePath);const e=["batchAnnotateImages","asyncBatchAnnotateFiles"];for(const t of e){const e=this.imageAnnotatorStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=this.descriptors.longrunning[t]||void 0,o=this._gaxModule.createApiCall(e,this._defaults[t],n,this._opts.fallback);this.innerApiCalls[t]=o}return this.imageAnnotatorStub}static get servicePath(){return"vision.googleapis.com"}static get apiEndpoint(){return"vision.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloud-vision"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}batchAnnotateImages(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.batchAnnotateImages(e,o,n)}asyncBatchAnnotateFiles(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.asyncBatchAnnotateFiles(e,o,n)}async checkAsyncBatchAnnotateFilesProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.asyncBatchAnnotateFiles,this._gaxModule.createDefaultBackoffSettings())}close(){return this.imageAnnotatorStub&&!this._terminated?this.imageAnnotatorStub.then((e=>{this._terminated=!0,e.close(),this.operationsClient.close()})):Promise.resolve()}}},91524:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageAnnotatorClient=void 0;var o=n(2987);Object.defineProperty(t,"ImageAnnotatorClient",{enumerable:!0,get:function(){return o.ImageAnnotatorClient}})},73401:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageAnnotatorClient=void 0;const o=n(41548),r=n(9935),i=n(49724).i8;t.ImageAnnotatorClient=class{constructor(e,t){var a,s;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}};const l=this.constructor,c=(null==e?void 0:e.servicePath)||(null==e?void 0:e.apiEndpoint)||l.servicePath;this._providedCustomServicePath=!(!(null==e?void 0:e.servicePath)&&!(null==e?void 0:e.apiEndpoint));const p=(null==e?void 0:e.port)||l.port,u=null!==(a=null==e?void 0:e.clientConfig)&&void 0!==a?a:{},d=null!==(s=null==e?void 0:e.fallback)&&void 0!==s?s:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);e=Object.assign({servicePath:c,port:p,clientConfig:u,fallback:d},e),c===l.servicePath||"scopes"in e||(e.scopes=l.scopes),t||(t=n(38845)),this._gaxModule=e.fallback?t.fallback:t,this._gaxGrpc=new this._gaxModule.GrpcClient(e),this._opts=e,this.auth=this._gaxGrpc.auth,this.auth.useJWTAccessWithScope=!0,this.auth.defaultServicePath=l.servicePath,c===l.servicePath&&(this.auth.defaultScopes=l.scopes);const g=[`gax/${this._gaxModule.version}`,`gapic/${i}`];"undefined"!=typeof process&&"versions"in process?g.push(`gl-node/${process.versions.node}`):g.push(`gl-web/${this._gaxModule.version}`),e.fallback?"rest"===e.fallback&&g.push(`rest/${this._gaxGrpc.grpcVersion}`):g.push(`grpc/${this._gaxGrpc.grpcVersion}`),e.libName&&e.libVersion&&g.push(`${e.libName}/${e.libVersion}`),this._protos=this._gaxGrpc.loadProtoJSON(o),this.pathTemplates={productPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}"),productSetPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/productSets/{product_set}"),referenceImagePathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}")};const f=this._gaxModule.protobuf.Root.fromJSON(o),h={auth:this.auth,grpc:"grpc"in this._gaxGrpc?this._gaxGrpc.grpc:void 0};"rest"===e.fallback&&(h.protoJson=f,h.httpRules=[]),this.operationsClient=this._gaxModule.lro(h).operationsClient(e);const m=f.lookup(".google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesResponse"),y=f.lookup(".google.cloud.vision.v1p3beta1.OperationMetadata");this.descriptors.longrunning={asyncBatchAnnotateFiles:new this._gaxModule.LongrunningDescriptor(this.operationsClient,m.decode.bind(m),y.decode.bind(y))},this._defaults=this._gaxGrpc.constructSettings("google.cloud.vision.v1p3beta1.ImageAnnotator",r,e.clientConfig||{},{"x-goog-api-client":g.join(" ")}),this.innerApiCalls={},this.warn=this._gaxModule.warn}initialize(){if(this.imageAnnotatorStub)return this.imageAnnotatorStub;this.imageAnnotatorStub=this._gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.vision.v1p3beta1.ImageAnnotator"):this._protos.google.cloud.vision.v1p3beta1.ImageAnnotator,this._opts,this._providedCustomServicePath);const e=["batchAnnotateImages","asyncBatchAnnotateFiles"];for(const t of e){const e=this.imageAnnotatorStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=this.descriptors.longrunning[t]||void 0,o=this._gaxModule.createApiCall(e,this._defaults[t],n,this._opts.fallback);this.innerApiCalls[t]=o}return this.imageAnnotatorStub}static get servicePath(){return"vision.googleapis.com"}static get apiEndpoint(){return"vision.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloud-vision"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}batchAnnotateImages(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.batchAnnotateImages(e,o,n)}asyncBatchAnnotateFiles(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.asyncBatchAnnotateFiles(e,o,n)}async checkAsyncBatchAnnotateFilesProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.asyncBatchAnnotateFiles,this._gaxModule.createDefaultBackoffSettings())}productPath(e,t,n){return this.pathTemplates.productPathTemplate.render({project:e,location:t,product:n})}matchProjectFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).project}matchLocationFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).location}matchProductFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).product}productSetPath(e,t,n){return this.pathTemplates.productSetPathTemplate.render({project:e,location:t,product_set:n})}matchProjectFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).project}matchLocationFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).location}matchProductSetFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).product_set}referenceImagePath(e,t,n,o){return this.pathTemplates.referenceImagePathTemplate.render({project:e,location:t,product:n,reference_image:o})}matchProjectFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).project}matchLocationFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).location}matchProductFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).product}matchReferenceImageFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).reference_image}close(){return this.imageAnnotatorStub&&!this._terminated?this.imageAnnotatorStub.then((e=>{this._terminated=!0,e.close(),this.operationsClient.close()})):Promise.resolve()}}},79163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProductSearchClient=t.ImageAnnotatorClient=void 0;var o=n(73401);Object.defineProperty(t,"ImageAnnotatorClient",{enumerable:!0,get:function(){return o.ImageAnnotatorClient}});var r=n(95611);Object.defineProperty(t,"ProductSearchClient",{enumerable:!0,get:function(){return r.ProductSearchClient}})},95611:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProductSearchClient=void 0;const o=n(41548),r=n(64828),i=n(49724).i8;t.ProductSearchClient=class{constructor(e,t){var a,s;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}};const l=this.constructor,c=(null==e?void 0:e.servicePath)||(null==e?void 0:e.apiEndpoint)||l.servicePath;this._providedCustomServicePath=!(!(null==e?void 0:e.servicePath)&&!(null==e?void 0:e.apiEndpoint));const p=(null==e?void 0:e.port)||l.port,u=null!==(a=null==e?void 0:e.clientConfig)&&void 0!==a?a:{},d=null!==(s=null==e?void 0:e.fallback)&&void 0!==s?s:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);e=Object.assign({servicePath:c,port:p,clientConfig:u,fallback:d},e),c===l.servicePath||"scopes"in e||(e.scopes=l.scopes),t||(t=n(38845)),this._gaxModule=e.fallback?t.fallback:t,this._gaxGrpc=new this._gaxModule.GrpcClient(e),this._opts=e,this.auth=this._gaxGrpc.auth,this.auth.useJWTAccessWithScope=!0,this.auth.defaultServicePath=l.servicePath,c===l.servicePath&&(this.auth.defaultScopes=l.scopes);const g=[`gax/${this._gaxModule.version}`,`gapic/${i}`];"undefined"!=typeof process&&"versions"in process?g.push(`gl-node/${process.versions.node}`):g.push(`gl-web/${this._gaxModule.version}`),e.fallback?"rest"===e.fallback&&g.push(`rest/${this._gaxGrpc.grpcVersion}`):g.push(`grpc/${this._gaxGrpc.grpcVersion}`),e.libName&&e.libVersion&&g.push(`${e.libName}/${e.libVersion}`),this._protos=this._gaxGrpc.loadProtoJSON(o),this.pathTemplates={locationPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}"),productPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}"),productSetPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/productSets/{product_set}"),referenceImagePathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}")},this.descriptors.page={listProductSets:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","productSets"),listProducts:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","products"),listReferenceImages:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","referenceImages"),listProductsInProductSet:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","products")};const f=this._gaxModule.protobuf.Root.fromJSON(o),h={auth:this.auth,grpc:"grpc"in this._gaxGrpc?this._gaxGrpc.grpc:void 0};"rest"===e.fallback&&(h.protoJson=f,h.httpRules=[]),this.operationsClient=this._gaxModule.lro(h).operationsClient(e);const m=f.lookup(".google.cloud.vision.v1p3beta1.ImportProductSetsResponse"),y=f.lookup(".google.cloud.vision.v1p3beta1.BatchOperationMetadata");this.descriptors.longrunning={importProductSets:new this._gaxModule.LongrunningDescriptor(this.operationsClient,m.decode.bind(m),y.decode.bind(y))},this._defaults=this._gaxGrpc.constructSettings("google.cloud.vision.v1p3beta1.ProductSearch",r,e.clientConfig||{},{"x-goog-api-client":g.join(" ")}),this.innerApiCalls={},this.warn=this._gaxModule.warn}initialize(){if(this.productSearchStub)return this.productSearchStub;this.productSearchStub=this._gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.vision.v1p3beta1.ProductSearch"):this._protos.google.cloud.vision.v1p3beta1.ProductSearch,this._opts,this._providedCustomServicePath);const e=["createProductSet","listProductSets","getProductSet","updateProductSet","deleteProductSet","createProduct","listProducts","getProduct","updateProduct","deleteProduct","createReferenceImage","deleteReferenceImage","listReferenceImages","getReferenceImage","addProductToProductSet","removeProductFromProductSet","listProductsInProductSet","importProductSets"];for(const t of e){const e=this.productSearchStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=this.descriptors.page[t]||this.descriptors.longrunning[t]||void 0,o=this._gaxModule.createApiCall(e,this._defaults[t],n,this._opts.fallback);this.innerApiCalls[t]=o}return this.productSearchStub}static get servicePath(){return"vision.googleapis.com"}static get apiEndpoint(){return"vision.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloud-vision"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}createProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createProductSet(e,r,n)}getProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getProductSet(e,r,n)}updateProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({"product_set.name":null!==(o=e.productSet.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.updateProductSet(e,r,n)}deleteProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteProductSet(e,r,n)}createProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createProduct(e,r,n)}getProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getProduct(e,r,n)}updateProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({"product.name":null!==(o=e.product.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.updateProduct(e,r,n)}deleteProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteProduct(e,r,n)}createReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createReferenceImage(e,r,n)}deleteReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteReferenceImage(e,r,n)}getReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getReferenceImage(e,r,n)}addProductToProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.addProductToProductSet(e,r,n)}removeProductFromProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.removeProductFromProductSet(e,r,n)}importProductSets(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.importProductSets(e,r,n)}async checkImportProductSetsProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.importProductSets,this._gaxModule.createDefaultBackoffSettings())}listProductSets(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProductSets(e,r,n)}listProductSetsStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProductSets.merge(t);return this.initialize(),this.descriptors.page.listProductSets.createStream(this.innerApiCalls.listProductSets,e,o)}listProductSetsAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProductSets.merge(t);return this.initialize(),this.descriptors.page.listProductSets.asyncIterate(this.innerApiCalls.listProductSets,e,o)}listProducts(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProducts(e,r,n)}listProductsStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProducts.merge(t);return this.initialize(),this.descriptors.page.listProducts.createStream(this.innerApiCalls.listProducts,e,o)}listProductsAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProducts.merge(t);return this.initialize(),this.descriptors.page.listProducts.asyncIterate(this.innerApiCalls.listProducts,e,o)}listReferenceImages(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listReferenceImages(e,r,n)}listReferenceImagesStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listReferenceImages.merge(t);return this.initialize(),this.descriptors.page.listReferenceImages.createStream(this.innerApiCalls.listReferenceImages,e,o)}listReferenceImagesAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listReferenceImages.merge(t);return this.initialize(),this.descriptors.page.listReferenceImages.asyncIterate(this.innerApiCalls.listReferenceImages,e,o)}listProductsInProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProductsInProductSet(e,r,n)}listProductsInProductSetStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(n=e.name)&&void 0!==n?n:""});const o=this._defaults.listProductsInProductSet.merge(t);return this.initialize(),this.descriptors.page.listProductsInProductSet.createStream(this.innerApiCalls.listProductsInProductSet,e,o)}listProductsInProductSetAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(n=e.name)&&void 0!==n?n:""});const o=this._defaults.listProductsInProductSet.merge(t);return this.initialize(),this.descriptors.page.listProductsInProductSet.asyncIterate(this.innerApiCalls.listProductsInProductSet,e,o)}locationPath(e,t){return this.pathTemplates.locationPathTemplate.render({project:e,location:t})}matchProjectFromLocationName(e){return this.pathTemplates.locationPathTemplate.match(e).project}matchLocationFromLocationName(e){return this.pathTemplates.locationPathTemplate.match(e).location}productPath(e,t,n){return this.pathTemplates.productPathTemplate.render({project:e,location:t,product:n})}matchProjectFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).project}matchLocationFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).location}matchProductFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).product}productSetPath(e,t,n){return this.pathTemplates.productSetPathTemplate.render({project:e,location:t,product_set:n})}matchProjectFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).project}matchLocationFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).location}matchProductSetFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).product_set}referenceImagePath(e,t,n,o){return this.pathTemplates.referenceImagePathTemplate.render({project:e,location:t,product:n,reference_image:o})}matchProjectFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).project}matchLocationFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).location}matchProductFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).product}matchReferenceImageFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).reference_image}close(){return this.productSearchStub&&!this._terminated?this.productSearchStub.then((e=>{this._terminated=!0,e.close(),this.operationsClient.close()})):Promise.resolve()}}},2464:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageAnnotatorClient=void 0;const o=n(41548),r=n(55329),i=n(49724).i8;t.ImageAnnotatorClient=class{constructor(e,t){var a,s;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}};const l=this.constructor,c=(null==e?void 0:e.servicePath)||(null==e?void 0:e.apiEndpoint)||l.servicePath;this._providedCustomServicePath=!(!(null==e?void 0:e.servicePath)&&!(null==e?void 0:e.apiEndpoint));const p=(null==e?void 0:e.port)||l.port,u=null!==(a=null==e?void 0:e.clientConfig)&&void 0!==a?a:{},d=null!==(s=null==e?void 0:e.fallback)&&void 0!==s?s:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);e=Object.assign({servicePath:c,port:p,clientConfig:u,fallback:d},e),c===l.servicePath||"scopes"in e||(e.scopes=l.scopes),t||(t=n(38845)),this._gaxModule=e.fallback?t.fallback:t,this._gaxGrpc=new this._gaxModule.GrpcClient(e),this._opts=e,this.auth=this._gaxGrpc.auth,this.auth.useJWTAccessWithScope=!0,this.auth.defaultServicePath=l.servicePath,c===l.servicePath&&(this.auth.defaultScopes=l.scopes);const g=[`gax/${this._gaxModule.version}`,`gapic/${i}`];"undefined"!=typeof process&&"versions"in process?g.push(`gl-node/${process.versions.node}`):g.push(`gl-web/${this._gaxModule.version}`),e.fallback?"rest"===e.fallback&&g.push(`rest/${this._gaxGrpc.grpcVersion}`):g.push(`grpc/${this._gaxGrpc.grpcVersion}`),e.libName&&e.libVersion&&g.push(`${e.libName}/${e.libVersion}`),this._protos=this._gaxGrpc.loadProtoJSON(o),this.pathTemplates={productPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}"),productSetPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/productSets/{product_set}"),referenceImagePathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}")};const f=this._gaxModule.protobuf.Root.fromJSON(o),h={auth:this.auth,grpc:"grpc"in this._gaxGrpc?this._gaxGrpc.grpc:void 0};"rest"===e.fallback&&(h.protoJson=f,h.httpRules=[]),this.operationsClient=this._gaxModule.lro(h).operationsClient(e);const m=f.lookup(".google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse"),y=f.lookup(".google.cloud.vision.v1p4beta1.OperationMetadata"),v=f.lookup(".google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesResponse"),b=f.lookup(".google.cloud.vision.v1p4beta1.OperationMetadata");this.descriptors.longrunning={asyncBatchAnnotateImages:new this._gaxModule.LongrunningDescriptor(this.operationsClient,m.decode.bind(m),y.decode.bind(y)),asyncBatchAnnotateFiles:new this._gaxModule.LongrunningDescriptor(this.operationsClient,v.decode.bind(v),b.decode.bind(b))},this._defaults=this._gaxGrpc.constructSettings("google.cloud.vision.v1p4beta1.ImageAnnotator",r,e.clientConfig||{},{"x-goog-api-client":g.join(" ")}),this.innerApiCalls={},this.warn=this._gaxModule.warn}initialize(){if(this.imageAnnotatorStub)return this.imageAnnotatorStub;this.imageAnnotatorStub=this._gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.vision.v1p4beta1.ImageAnnotator"):this._protos.google.cloud.vision.v1p4beta1.ImageAnnotator,this._opts,this._providedCustomServicePath);const e=["batchAnnotateImages","batchAnnotateFiles","asyncBatchAnnotateImages","asyncBatchAnnotateFiles"];for(const t of e){const e=this.imageAnnotatorStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=this.descriptors.longrunning[t]||void 0,o=this._gaxModule.createApiCall(e,this._defaults[t],n,this._opts.fallback);this.innerApiCalls[t]=o}return this.imageAnnotatorStub}static get servicePath(){return"vision.googleapis.com"}static get apiEndpoint(){return"vision.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloud-vision"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}batchAnnotateImages(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.batchAnnotateImages(e,o,n)}batchAnnotateFiles(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.batchAnnotateFiles(e,o,n)}asyncBatchAnnotateImages(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.asyncBatchAnnotateImages(e,o,n)}async checkAsyncBatchAnnotateImagesProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.asyncBatchAnnotateImages,this._gaxModule.createDefaultBackoffSettings())}asyncBatchAnnotateFiles(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},this.initialize(),this.innerApiCalls.asyncBatchAnnotateFiles(e,o,n)}async checkAsyncBatchAnnotateFilesProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.asyncBatchAnnotateFiles,this._gaxModule.createDefaultBackoffSettings())}productPath(e,t,n){return this.pathTemplates.productPathTemplate.render({project:e,location:t,product:n})}matchProjectFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).project}matchLocationFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).location}matchProductFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).product}productSetPath(e,t,n){return this.pathTemplates.productSetPathTemplate.render({project:e,location:t,product_set:n})}matchProjectFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).project}matchLocationFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).location}matchProductSetFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).product_set}referenceImagePath(e,t,n,o){return this.pathTemplates.referenceImagePathTemplate.render({project:e,location:t,product:n,reference_image:o})}matchProjectFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).project}matchLocationFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).location}matchProductFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).product}matchReferenceImageFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).reference_image}close(){return this.imageAnnotatorStub&&!this._terminated?this.imageAnnotatorStub.then((e=>{this._terminated=!0,e.close(),this.operationsClient.close()})):Promise.resolve()}}},60320:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProductSearchClient=t.ImageAnnotatorClient=void 0;var o=n(2464);Object.defineProperty(t,"ImageAnnotatorClient",{enumerable:!0,get:function(){return o.ImageAnnotatorClient}});var r=n(84951);Object.defineProperty(t,"ProductSearchClient",{enumerable:!0,get:function(){return r.ProductSearchClient}})},84951:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProductSearchClient=void 0;const o=n(41548),r=n(4859),i=n(49724).i8;t.ProductSearchClient=class{constructor(e,t){var a,s;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}};const l=this.constructor,c=(null==e?void 0:e.servicePath)||(null==e?void 0:e.apiEndpoint)||l.servicePath;this._providedCustomServicePath=!(!(null==e?void 0:e.servicePath)&&!(null==e?void 0:e.apiEndpoint));const p=(null==e?void 0:e.port)||l.port,u=null!==(a=null==e?void 0:e.clientConfig)&&void 0!==a?a:{},d=null!==(s=null==e?void 0:e.fallback)&&void 0!==s?s:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);e=Object.assign({servicePath:c,port:p,clientConfig:u,fallback:d},e),c===l.servicePath||"scopes"in e||(e.scopes=l.scopes),t||(t=n(38845)),this._gaxModule=e.fallback?t.fallback:t,this._gaxGrpc=new this._gaxModule.GrpcClient(e),this._opts=e,this.auth=this._gaxGrpc.auth,this.auth.useJWTAccessWithScope=!0,this.auth.defaultServicePath=l.servicePath,c===l.servicePath&&(this.auth.defaultScopes=l.scopes);const g=[`gax/${this._gaxModule.version}`,`gapic/${i}`];"undefined"!=typeof process&&"versions"in process?g.push(`gl-node/${process.versions.node}`):g.push(`gl-web/${this._gaxModule.version}`),e.fallback?"rest"===e.fallback&&g.push(`rest/${this._gaxGrpc.grpcVersion}`):g.push(`grpc/${this._gaxGrpc.grpcVersion}`),e.libName&&e.libVersion&&g.push(`${e.libName}/${e.libVersion}`),this._protos=this._gaxGrpc.loadProtoJSON(o),this.pathTemplates={locationPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}"),productPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}"),productSetPathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/productSets/{product_set}"),referenceImagePathTemplate:new this._gaxModule.PathTemplate("projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}")},this.descriptors.page={listProductSets:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","productSets"),listProducts:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","products"),listReferenceImages:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","referenceImages"),listProductsInProductSet:new this._gaxModule.PageDescriptor("pageToken","nextPageToken","products")};const f=this._gaxModule.protobuf.Root.fromJSON(o),h={auth:this.auth,grpc:"grpc"in this._gaxGrpc?this._gaxGrpc.grpc:void 0};"rest"===e.fallback&&(h.protoJson=f,h.httpRules=[]),this.operationsClient=this._gaxModule.lro(h).operationsClient(e);const m=f.lookup(".google.cloud.vision.v1p4beta1.ImportProductSetsResponse"),y=f.lookup(".google.cloud.vision.v1p4beta1.BatchOperationMetadata"),v=f.lookup(".google.protobuf.Empty"),b=f.lookup(".google.cloud.vision.v1p4beta1.BatchOperationMetadata");this.descriptors.longrunning={importProductSets:new this._gaxModule.LongrunningDescriptor(this.operationsClient,m.decode.bind(m),y.decode.bind(y)),purgeProducts:new this._gaxModule.LongrunningDescriptor(this.operationsClient,v.decode.bind(v),b.decode.bind(b))},this._defaults=this._gaxGrpc.constructSettings("google.cloud.vision.v1p4beta1.ProductSearch",r,e.clientConfig||{},{"x-goog-api-client":g.join(" ")}),this.innerApiCalls={},this.warn=this._gaxModule.warn}initialize(){if(this.productSearchStub)return this.productSearchStub;this.productSearchStub=this._gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.vision.v1p4beta1.ProductSearch"):this._protos.google.cloud.vision.v1p4beta1.ProductSearch,this._opts,this._providedCustomServicePath);const e=["createProductSet","listProductSets","getProductSet","updateProductSet","deleteProductSet","createProduct","listProducts","getProduct","updateProduct","deleteProduct","createReferenceImage","deleteReferenceImage","listReferenceImages","getReferenceImage","addProductToProductSet","removeProductFromProductSet","listProductsInProductSet","importProductSets","purgeProducts"];for(const t of e){const e=this.productSearchStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=this.descriptors.page[t]||this.descriptors.longrunning[t]||void 0,o=this._gaxModule.createApiCall(e,this._defaults[t],n,this._opts.fallback);this.innerApiCalls[t]=o}return this.productSearchStub}static get servicePath(){return"vision.googleapis.com"}static get apiEndpoint(){return"vision.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloud-vision"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}createProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createProductSet(e,r,n)}getProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getProductSet(e,r,n)}updateProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({"product_set.name":null!==(o=e.productSet.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.updateProductSet(e,r,n)}deleteProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteProductSet(e,r,n)}createProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createProduct(e,r,n)}getProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getProduct(e,r,n)}updateProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({"product.name":null!==(o=e.product.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.updateProduct(e,r,n)}deleteProduct(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteProduct(e,r,n)}createReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.createReferenceImage(e,r,n)}deleteReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.deleteReferenceImage(e,r,n)}getReferenceImage(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.getReferenceImage(e,r,n)}addProductToProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.addProductToProductSet(e,r,n)}removeProductFromProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.removeProductFromProductSet(e,r,n)}importProductSets(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.importProductSets(e,r,n)}async checkImportProductSetsProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.importProductSets,this._gaxModule.createDefaultBackoffSettings())}purgeProducts(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.purgeProducts(e,r,n)}async checkPurgeProductsProgress(e){const t=new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({name:e}),[n]=await this.operationsClient.getOperation(t);return new this._gaxModule.Operation(n,this.descriptors.longrunning.purgeProducts,this._gaxModule.createDefaultBackoffSettings())}listProductSets(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProductSets(e,r,n)}listProductSetsStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProductSets.merge(t);return this.initialize(),this.descriptors.page.listProductSets.createStream(this.innerApiCalls.listProductSets,e,o)}listProductSetsAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProductSets.merge(t);return this.initialize(),this.descriptors.page.listProductSets.asyncIterate(this.innerApiCalls.listProductSets,e,o)}listProducts(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProducts(e,r,n)}listProductsStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProducts.merge(t);return this.initialize(),this.descriptors.page.listProducts.createStream(this.innerApiCalls.listProducts,e,o)}listProductsAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listProducts.merge(t);return this.initialize(),this.descriptors.page.listProducts.asyncIterate(this.innerApiCalls.listProducts,e,o)}listReferenceImages(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(o=e.parent)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listReferenceImages(e,r,n)}listReferenceImagesStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listReferenceImages.merge(t);return this.initialize(),this.descriptors.page.listReferenceImages.createStream(this.innerApiCalls.listReferenceImages,e,o)}listReferenceImagesAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({parent:null!==(n=e.parent)&&void 0!==n?n:""});const o=this._defaults.listReferenceImages.merge(t);return this.initialize(),this.descriptors.page.listReferenceImages.asyncIterate(this.innerApiCalls.listReferenceImages,e,o)}listProductsInProductSet(e,t,n){var o;let r;return e=e||{},"function"==typeof t&&void 0===n?(n=t,r={}):r=t,r=r||{},r.otherArgs=r.otherArgs||{},r.otherArgs.headers=r.otherArgs.headers||{},r.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(o=e.name)&&void 0!==o?o:""}),this.initialize(),this.innerApiCalls.listProductsInProductSet(e,r,n)}listProductsInProductSetStream(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(n=e.name)&&void 0!==n?n:""});const o=this._defaults.listProductsInProductSet.merge(t);return this.initialize(),this.descriptors.page.listProductsInProductSet.createStream(this.innerApiCalls.listProductsInProductSet,e,o)}listProductsInProductSetAsync(e,t){var n;e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=this._gaxModule.routingHeader.fromParams({name:null!==(n=e.name)&&void 0!==n?n:""});const o=this._defaults.listProductsInProductSet.merge(t);return this.initialize(),this.descriptors.page.listProductsInProductSet.asyncIterate(this.innerApiCalls.listProductsInProductSet,e,o)}locationPath(e,t){return this.pathTemplates.locationPathTemplate.render({project:e,location:t})}matchProjectFromLocationName(e){return this.pathTemplates.locationPathTemplate.match(e).project}matchLocationFromLocationName(e){return this.pathTemplates.locationPathTemplate.match(e).location}productPath(e,t,n){return this.pathTemplates.productPathTemplate.render({project:e,location:t,product:n})}matchProjectFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).project}matchLocationFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).location}matchProductFromProductName(e){return this.pathTemplates.productPathTemplate.match(e).product}productSetPath(e,t,n){return this.pathTemplates.productSetPathTemplate.render({project:e,location:t,product_set:n})}matchProjectFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).project}matchLocationFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).location}matchProductSetFromProductSetName(e){return this.pathTemplates.productSetPathTemplate.match(e).product_set}referenceImagePath(e,t,n,o){return this.pathTemplates.referenceImagePathTemplate.render({project:e,location:t,product:n,reference_image:o})}matchProjectFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).project}matchLocationFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).location}matchProductFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).product}matchReferenceImageFromReferenceImageName(e){return this.pathTemplates.referenceImagePathTemplate.match(e).reference_image}close(){return this.productSearchStub&&!this._terminated?this.productSearchStub.then((e=>{this._terminated=!0,e.close(),this.operationsClient.close()})):Promise.resolve()}}},57935:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addAdminServicesToServer=t.registerAdminService=void 0;const n=[];t.registerAdminService=function(e,t){n.push({getServiceDefinition:e,getHandlers:t})},t.addAdminServicesToServer=function(e){for(const{getServiceDefinition:t,getHandlers:o}of n)e.addService(t(),o())}},11257:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackoffTimeout=void 0,t.BackoffTimeout=class{constructor(e,t){this.callback=e,this.initialDelay=1e3,this.multiplier=1.6,this.maxDelay=12e4,this.jitter=.2,this.running=!1,this.hasRef=!0,this.startTime=new Date,t&&(t.initialDelay&&(this.initialDelay=t.initialDelay),t.multiplier&&(this.multiplier=t.multiplier),t.jitter&&(this.jitter=t.jitter),t.maxDelay&&(this.maxDelay=t.maxDelay)),this.nextDelay=this.initialDelay,this.timerId=setTimeout((()=>{}),0),clearTimeout(this.timerId)}runTimer(e){var t,n;clearTimeout(this.timerId),this.timerId=setTimeout((()=>{this.callback(),this.running=!1}),e),this.hasRef||null===(n=(t=this.timerId).unref)||void 0===n||n.call(t)}runOnce(){this.running=!0,this.startTime=new Date,this.runTimer(this.nextDelay);const e=Math.min(this.nextDelay*this.multiplier,this.maxDelay),t=e*this.jitter;var n,o;this.nextDelay=e+(n=-t,o=t,Math.random()*(o-n)+n)}stop(){clearTimeout(this.timerId),this.running=!1}reset(){if(this.nextDelay=this.initialDelay,this.running){const e=new Date,t=this.startTime;t.setMilliseconds(t.getMilliseconds()+this.nextDelay),clearTimeout(this.timerId),e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CallCredentialsFilterFactory=t.CallCredentialsFilter=void 0;const o=n(68333),r=n(65328),i=n(8084);class a extends o.BaseFilter{constructor(e,t){var n,o;super(),this.channel=e,this.stream=t,this.channel=e,this.stream=t;const r=t.getMethod().split("/");let a="";r.length>=2&&(a=r[1]);const s=null!==(o=null===(n=i.splitHostPort(t.getHost()))||void 0===n?void 0:n.host)&&void 0!==o?o:"localhost";this.serviceUrl=`https://${s}/${a}`}async sendMetadata(e){const t=this.stream.getCredentials().generateMetadata({service_url:this.serviceUrl}),n=await e;try{n.merge(await t)}catch(e){return this.stream.cancelWithStatus(r.Status.UNAUTHENTICATED,`Failed to retrieve auth metadata with error: ${e.message}`),Promise.reject("Failed to retrieve auth metadata")}return n.get("authorization").length>1?(this.stream.cancelWithStatus(r.Status.INTERNAL,'"authorization" metadata cannot have multiple values'),Promise.reject('"authorization" metadata cannot have multiple values')):n}}t.CallCredentialsFilter=a,t.CallCredentialsFilterFactory=class{constructor(e){this.channel=e,this.channel=e}createFilter(e){return new a(this.channel,e)}}},68024:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CallCredentials=void 0;const o=n(21494);class r{static createFromMetadataGenerator(e){return new a(e)}static createFromGoogleCredential(e){return r.createFromMetadataGenerator(((t,n)=>{let r;var i;r="getRequestHeaders"in(i=e)&&"function"==typeof i.getRequestHeaders?e.getRequestHeaders(t.service_url):new Promise(((n,o)=>{e.getRequestMetadata(t.service_url,((e,t)=>{e?o(e):n(t)}))})),r.then((e=>{const t=new o.Metadata;for(const n of Object.keys(e))t.add(n,e[n]);n(null,t)}),(e=>{n(e)}))}))}static createEmpty(){return new s}}t.CallCredentials=r;class i extends r{constructor(e){super(),this.creds=e}async generateMetadata(e){const t=new o.Metadata,n=await Promise.all(this.creds.map((t=>t.generateMetadata(e))));for(const e of n)t.merge(e);return t}compose(e){return new i(this.creds.concat([e]))}_equals(e){return this===e||e instanceof i&&this.creds.every(((t,n)=>t._equals(e.creds[n])))}}class a extends r{constructor(e){super(),this.metadataGenerator=e}generateMetadata(e){return new Promise(((t,n)=>{this.metadataGenerator(e,((e,o)=>{void 0!==o?t(o):n(e)}))}))}compose(e){return new i([this,e])}_equals(e){return this===e||e instanceof a&&this.metadataGenerator===e.metadataGenerator}}class s extends r{generateMetadata(e){return Promise.resolve(new o.Metadata)}compose(e){return e}_equals(e){return e instanceof s}}},49650:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Http2CallStream=t.InterceptingListenerImpl=t.isInterceptingListener=void 0;const o=n(85158),r=n(22037),i=n(65328),a=n(21494),s=n(25766),l=n(51051),c=n(65328),{HTTP2_HEADER_STATUS:p,HTTP2_HEADER_CONTENT_TYPE:u,NGHTTP2_CANCEL:d}=o.constants;t.isInterceptingListener=function(e){return void 0!==e.onReceiveMetadata&&1===e.onReceiveMetadata.length},t.InterceptingListenerImpl=class{constructor(e,t){this.listener=e,this.nextListener=t,this.processingMetadata=!1,this.hasPendingMessage=!1,this.processingMessage=!1,this.pendingStatus=null}processPendingMessage(){this.hasPendingMessage&&(this.nextListener.onReceiveMessage(this.pendingMessage),this.pendingMessage=null,this.hasPendingMessage=!1)}processPendingStatus(){this.pendingStatus&&this.nextListener.onReceiveStatus(this.pendingStatus)}onReceiveMetadata(e){this.processingMetadata=!0,this.listener.onReceiveMetadata(e,(e=>{this.processingMetadata=!1,this.nextListener.onReceiveMetadata(e),this.processPendingMessage(),this.processPendingStatus()}))}onReceiveMessage(e){this.processingMessage=!0,this.listener.onReceiveMessage(e,(e=>{this.processingMessage=!1,this.processingMetadata?(this.pendingMessage=e,this.hasPendingMessage=!0):(this.nextListener.onReceiveMessage(e),this.processPendingStatus())}))}onReceiveStatus(e){this.listener.onReceiveStatus(e,(e=>{this.processingMetadata||this.processingMessage?this.pendingStatus=e:this.nextListener.onReceiveStatus(e)}))}},t.Http2CallStream=class{constructor(e,t,n,o,r,l){this.methodName=e,this.channel=t,this.options=n,this.channelCallCredentials=r,this.callNumber=l,this.http2Stream=null,this.pendingRead=!1,this.isWriteFilterPending=!1,this.pendingWrite=null,this.pendingWriteCallback=null,this.writesClosed=!1,this.decoder=new s.StreamDecoder,this.isReadFilterPending=!1,this.canPush=!1,this.readsClosed=!1,this.statusOutput=!1,this.unpushedReadMessages=[],this.unfilteredReadMessages=[],this.mappedStatusCode=i.Status.UNKNOWN,this.finalStatus=null,this.subchannel=null,this.listener=null,this.internalError=null,this.configDeadline=1/0,this.statusWatchers=[],this.streamEndWatchers=[],this.callStatsTracker=null,this.filterStack=o.createFilter(this),this.credentials=r,this.disconnectListener=()=>{this.endCall({code:i.Status.UNAVAILABLE,details:"Connection dropped",metadata:new a.Metadata})},this.options.parentCall&&this.options.flags&i.Propagate.CANCELLATION&&this.options.parentCall.on("cancelled",(()=>{this.cancelWithStatus(i.Status.CANCELLED,"Cancelled by parent call")}))}outputStatus(){var e;if(this.listener&&!this.statusOutput){this.statusOutput=!0;const t=this.filterStack.receiveTrailers(this.finalStatus);this.trace("ended with status: code="+t.code+' details="'+t.details+'"'),this.statusWatchers.forEach((e=>e(t))),process.nextTick((()=>{var e;null===(e=this.listener)||void 0===e||e.onReceiveStatus(t)})),null===(e=this.http2Stream)||void 0===e||e.resume(),this.subchannel&&(this.subchannel.callUnref(),this.subchannel.removeDisconnectListener(this.disconnectListener))}}trace(e){l.trace(c.LogVerbosity.DEBUG,"call_stream","["+this.callNumber+"] "+e)}endCall(e){null!==this.finalStatus&&this.finalStatus.code!==i.Status.OK||(this.finalStatus=e,this.maybeOutputStatus()),this.destroyHttp2Stream()}maybeOutputStatus(){null!==this.finalStatus&&(this.finalStatus.code!==i.Status.OK||this.readsClosed&&0===this.unpushedReadMessages.length&&0===this.unfilteredReadMessages.length&&!this.isReadFilterPending)&&this.outputStatus()}push(e){this.trace("pushing to reader message of length "+(e instanceof Buffer?e.length:null)),this.canPush=!1,process.nextTick((()=>{var t;this.statusOutput||(null===(t=this.listener)||void 0===t||t.onReceiveMessage(e),this.maybeOutputStatus())}))}handleFilterError(e){this.cancelWithStatus(i.Status.INTERNAL,e.message)}handleFilteredRead(e){if(null===this.finalStatus||this.finalStatus.code===i.Status.OK){if(this.isReadFilterPending=!1,this.canPush?(this.http2Stream.pause(),this.push(e)):(this.trace("unpushedReadMessages.push message of length "+e.length),this.unpushedReadMessages.push(e)),this.unfilteredReadMessages.length>0){const e=this.unfilteredReadMessages.shift();this.filterReceivedMessage(e)}}else this.maybeOutputStatus()}filterReceivedMessage(e){null===this.finalStatus||this.finalStatus.code===i.Status.OK?(this.trace("filterReceivedMessage of length "+e.length),this.isReadFilterPending=!0,this.filterStack.receiveMessage(Promise.resolve(e)).then(this.handleFilteredRead.bind(this),this.handleFilterError.bind(this))):this.maybeOutputStatus()}tryPush(e){this.isReadFilterPending?(this.trace("unfilteredReadMessages.push message of length "+(e&&e.length)),this.unfilteredReadMessages.push(e)):this.filterReceivedMessage(e)}handleTrailers(e){this.streamEndWatchers.forEach((e=>e(!0)));let t,n="";for(const t of Object.keys(e))n+="\t\t"+t+": "+e[t]+"\n";this.trace("Received server trailers:\n"+n);try{t=a.Metadata.fromHttp2Headers(e)}catch(e){t=new a.Metadata}const o=t.getMap();let r=this.mappedStatusCode;if(r===i.Status.UNKNOWN&&"string"==typeof o["grpc-status"]){const e=Number(o["grpc-status"]);e in i.Status&&(r=e,this.trace("received status code "+e+" from server")),t.remove("grpc-status")}let s="";if("string"==typeof o["grpc-message"]){try{s=decodeURI(o["grpc-message"])}catch(e){s=o["grpc-message"]}t.remove("grpc-message"),this.trace('received status details string "'+s+'" from server')}const l={code:r,details:s,metadata:t};this.endCall(l)}writeMessageToStream(e,t){var n;null===(n=this.callStatsTracker)||void 0===n||n.addMessageSent(),this.http2Stream.write(e,t)}attachHttp2Stream(e,t,n,s){if(this.filterStack.push(n),null!==this.finalStatus)e.close(d);else{if(this.trace("attachHttp2Stream from subchannel "+t.getAddress()),this.http2Stream=e,this.subchannel=t,this.callStatsTracker=s,t.addDisconnectListener(this.disconnectListener),t.callRef(),e.on("response",((e,t)=>{var n;let r="";for(const t of Object.keys(e))r+="\t\t"+t+": "+e[t]+"\n";switch(this.trace("Received server headers:\n"+r),e[":status"]){case 400:this.mappedStatusCode=i.Status.INTERNAL;break;case 401:this.mappedStatusCode=i.Status.UNAUTHENTICATED;break;case 403:this.mappedStatusCode=i.Status.PERMISSION_DENIED;break;case 404:this.mappedStatusCode=i.Status.UNIMPLEMENTED;break;case 429:case 502:case 503:case 504:this.mappedStatusCode=i.Status.UNAVAILABLE;break;default:this.mappedStatusCode=i.Status.UNKNOWN}if(t&o.constants.NGHTTP2_FLAG_END_STREAM)this.handleTrailers(e);else{let t;try{t=a.Metadata.fromHttp2Headers(e)}catch(e){return void this.endCall({code:i.Status.UNKNOWN,details:e.message,metadata:new a.Metadata})}try{const e=this.filterStack.receiveMetadata(t);null===(n=this.listener)||void 0===n||n.onReceiveMetadata(e)}catch(e){this.endCall({code:i.Status.UNKNOWN,details:e.message,metadata:new a.Metadata})}}})),e.on("trailers",(e=>{this.handleTrailers(e)})),e.on("data",(e=>{if(this.statusOutput)return;this.trace("receive HTTP/2 data frame of length "+e.length);const t=this.decoder.write(e);for(const e of t)this.trace("parsed message of length "+e.length),this.callStatsTracker.addMessageReceived(),this.tryPush(e)})),e.on("end",(()=>{this.readsClosed=!0,this.maybeOutputStatus()})),e.on("close",(()=>{process.nextTick((()=>{var t;if(this.trace("HTTP/2 stream closed with code "+e.rstCode),(null===(t=this.finalStatus)||void 0===t?void 0:t.code)===i.Status.OK)return;let n,r="";switch(e.rstCode){case o.constants.NGHTTP2_NO_ERROR:if(null!==this.finalStatus)return;n=i.Status.INTERNAL,r=`Received RST_STREAM with code ${e.rstCode}`;break;case o.constants.NGHTTP2_REFUSED_STREAM:n=i.Status.UNAVAILABLE,r="Stream refused by server";break;case o.constants.NGHTTP2_CANCEL:n=i.Status.CANCELLED,r="Call cancelled";break;case o.constants.NGHTTP2_ENHANCE_YOUR_CALM:n=i.Status.RESOURCE_EXHAUSTED,r="Bandwidth exhausted or memory limit exceeded";break;case o.constants.NGHTTP2_INADEQUATE_SECURITY:n=i.Status.PERMISSION_DENIED,r="Protocol not secure enough";break;case o.constants.NGHTTP2_INTERNAL_ERROR:n=i.Status.INTERNAL,null===this.internalError?r=`Received RST_STREAM with code ${e.rstCode} (Internal server error)`:"ECONNRESET"===this.internalError.code||"ETIMEDOUT"===this.internalError.code?(n=i.Status.UNAVAILABLE,r=this.internalError.message):r=`Received RST_STREAM with code ${e.rstCode} triggered by internal client error: ${this.internalError.message}`;break;default:n=i.Status.INTERNAL,r=`Received RST_STREAM with code ${e.rstCode}`}this.endCall({code:n,details:r,metadata:new a.Metadata})}))})),e.on("error",(e=>{"ERR_HTTP2_STREAM_ERROR"!==e.code&&(this.trace("Node error event: message="+e.message+" code="+e.code+" errno="+function(e){for(const[t,n]of Object.entries(r.constants.errno))if(n===e)return t;return"Unknown system error "+e}(e.errno)+" syscall="+e.syscall),this.internalError=e),this.streamEndWatchers.forEach((e=>e(!1)))})),this.pendingWrite){if(!this.pendingWriteCallback)throw new Error("Invalid state in write handling code");this.trace("sending data chunk of length "+this.pendingWrite.length+" (deferred)");try{this.writeMessageToStream(this.pendingWrite,this.pendingWriteCallback)}catch(e){this.endCall({code:i.Status.UNAVAILABLE,details:`Write failed with error ${e.message}`,metadata:new a.Metadata})}}this.maybeCloseWrites()}}start(e,t){this.trace("Sending metadata"),this.listener=t,this.channel._startCallStream(this,e),this.maybeOutputStatus()}destroyHttp2Stream(){var e;if(null!==this.http2Stream&&!this.http2Stream.destroyed){let t;t=(null===(e=this.finalStatus)||void 0===e?void 0:e.code)===i.Status.OK?o.constants.NGHTTP2_NO_ERROR:o.constants.NGHTTP2_CANCEL,this.trace("close http2 stream with code "+t),this.http2Stream.close(t)}}cancelWithStatus(e,t){this.trace("cancelWithStatus code: "+e+' details: "'+t+'"'),this.endCall({code:e,details:t,metadata:new a.Metadata})}getDeadline(){const e=[this.options.deadline];return this.options.parentCall&&this.options.flags&i.Propagate.DEADLINE&&e.push(this.options.parentCall.getDeadline()),this.configDeadline&&e.push(this.configDeadline),function(e){let t=1/0;for(const n of e){const e=n instanceof Date?n.getTime():n;e0){const e=this.unpushedReadMessages.shift();return void this.push(e)}this.http2Stream.resume()}}maybeCloseWrites(){this.writesClosed&&!this.isWriteFilterPending&&null!==this.http2Stream&&(this.trace("calling end() on HTTP/2 stream"),this.http2Stream.end())}sendMessageWithContext(e,t){this.trace("write() called with message of length "+t.length);const n={message:t,flags:e.flags},o=t=>{var n,o;let r=i.Status.UNAVAILABLE;"ERR_STREAM_WRITE_AFTER_END"===(null===(n=t)||void 0===n?void 0:n.code)&&(r=i.Status.INTERNAL),t&&this.cancelWithStatus(r,`Write error: ${t.message}`),null===(o=e.callback)||void 0===o||o.call(e)};this.isWriteFilterPending=!0,this.filterStack.sendMessage(Promise.resolve(n)).then((e=>{if(this.isWriteFilterPending=!1,null===this.http2Stream)this.trace("deferring writing data chunk of length "+e.message.length),this.pendingWrite=e.message,this.pendingWriteCallback=o;else{this.trace("sending data chunk of length "+e.message.length);try{this.writeMessageToStream(e.message,o)}catch(e){this.endCall({code:i.Status.UNAVAILABLE,details:`Write failed with error ${e.message}`,metadata:new a.Metadata})}this.maybeCloseWrites()}}),this.handleFilterError.bind(this))}halfClose(){this.trace("end() called"),this.writesClosed=!0,this.maybeCloseWrites()}}},62632:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClientDuplexStreamImpl=t.ClientWritableStreamImpl=t.ClientReadableStreamImpl=t.ClientUnaryCallImpl=t.callErrorFromStatus=void 0;const o=n(82361),r=n(12781),i=n(65328);t.callErrorFromStatus=function(e,t){const n=`${e.code} ${i.Status[e.code]}: ${e.details}`,o=`${new Error(n).stack}\nfor call at\n${t}`;return Object.assign(new Error(n),e,{stack:o})};class a extends o.EventEmitter{constructor(){super()}cancel(){var e;null===(e=this.call)||void 0===e||e.cancelWithStatus(i.Status.CANCELLED,"Cancelled on client")}getPeer(){var e,t;return null!==(t=null===(e=this.call)||void 0===e?void 0:e.getPeer())&&void 0!==t?t:"unknown"}}t.ClientUnaryCallImpl=a;class s extends r.Readable{constructor(e){super({objectMode:!0}),this.deserialize=e}cancel(){var e;null===(e=this.call)||void 0===e||e.cancelWithStatus(i.Status.CANCELLED,"Cancelled on client")}getPeer(){var e,t;return null!==(t=null===(e=this.call)||void 0===e?void 0:e.getPeer())&&void 0!==t?t:"unknown"}_read(e){var t;null===(t=this.call)||void 0===t||t.startRead()}}t.ClientReadableStreamImpl=s;class l extends r.Writable{constructor(e){super({objectMode:!0}),this.serialize=e}cancel(){var e;null===(e=this.call)||void 0===e||e.cancelWithStatus(i.Status.CANCELLED,"Cancelled on client")}getPeer(){var e,t;return null!==(t=null===(e=this.call)||void 0===e?void 0:e.getPeer())&&void 0!==t?t:"unknown"}_write(e,t,n){var o;const r={callback:n},i=Number(t);Number.isNaN(i)||(r.flags=i),null===(o=this.call)||void 0===o||o.sendMessageWithContext(r,e)}_final(e){var t;null===(t=this.call)||void 0===t||t.halfClose(),e()}}t.ClientWritableStreamImpl=l;class c extends r.Duplex{constructor(e,t){super({objectMode:!0}),this.serialize=e,this.deserialize=t}cancel(){var e;null===(e=this.call)||void 0===e||e.cancelWithStatus(i.Status.CANCELLED,"Cancelled on client")}getPeer(){var e,t;return null!==(t=null===(e=this.call)||void 0===e?void 0:e.getPeer())&&void 0!==t?t:"unknown"}_read(e){var t;null===(t=this.call)||void 0===t||t.startRead()}_write(e,t,n){var o;const r={callback:n},i=Number(t);Number.isNaN(i)||(r.flags=i),null===(o=this.call)||void 0===o||o.sendMessageWithContext(r,e)}_final(e){var t;null===(t=this.call)||void 0===t||t.halfClose(),e()}}t.ClientDuplexStreamImpl=c},16643:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChannelCredentials=void 0;const o=n(24404),r=n(68024),i=n(75393);function a(e,t){if(e&&!(e instanceof Buffer))throw new TypeError(`${t}, if provided, must be a Buffer.`)}class s{constructor(e){this.callCredentials=e||r.CallCredentials.createEmpty()}_getCallCredentials(){return this.callCredentials}static createSsl(e,t,n,r){var s;if(a(e,"Root certificate"),a(t,"Private key"),a(n,"Certificate chain"),t&&!n)throw new Error("Private key must be given with accompanying certificate chain");if(!t&&n)throw new Error("Certificate chain must be given with accompanying private key");const l=o.createSecureContext({ca:null!==(s=null!=e?e:i.getDefaultRootsData())&&void 0!==s?s:void 0,key:null!=t?t:void 0,cert:null!=n?n:void 0,ciphers:i.CIPHER_SUITES});return new c(l,null!=r?r:{})}static createFromSecureContext(e,t){return new c(e,null!=t?t:{})}static createInsecure(){return new l}}t.ChannelCredentials=s;class l extends s{constructor(e){super(e)}compose(e){throw new Error("Cannot compose insecure credentials")}_getConnectionOptions(){return null}_isSecure(){return!1}_equals(e){return e instanceof l}}class c extends s{constructor(e,t){super(),this.secureContext=e,this.verifyOptions=t,this.connectionOptions={secureContext:e},(null==t?void 0:t.checkServerIdentity)&&(this.connectionOptions.checkServerIdentity=t.checkServerIdentity)}compose(e){const t=this.callCredentials.compose(e);return new p(this,t)}_getConnectionOptions(){return Object.assign({},this.connectionOptions)}_isSecure(){return!0}_equals(e){return this===e||e instanceof c&&this.secureContext===e.secureContext&&this.verifyOptions.checkServerIdentity===e.verifyOptions.checkServerIdentity}}class p extends s{constructor(e,t){super(t),this.channelCredentials=e}compose(e){const t=this.callCredentials.compose(e);return new p(this.channelCredentials,t)}_getConnectionOptions(){return this.channelCredentials._getConnectionOptions()}_isSecure(){return!0}_equals(e){return this===e||e instanceof p&&this.channelCredentials._equals(e.channelCredentials)&&this.callCredentials._equals(e.callCredentials)}}},70713:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.channelOptionsEqual=t.recognizedOptions=void 0,t.recognizedOptions={"grpc.ssl_target_name_override":!0,"grpc.primary_user_agent":!0,"grpc.secondary_user_agent":!0,"grpc.default_authority":!0,"grpc.keepalive_time_ms":!0,"grpc.keepalive_timeout_ms":!0,"grpc.keepalive_permit_without_calls":!0,"grpc.service_config":!0,"grpc.max_concurrent_streams":!0,"grpc.initial_reconnect_backoff_ms":!0,"grpc.max_reconnect_backoff_ms":!0,"grpc.use_local_subchannel_pool":!0,"grpc.max_send_message_length":!0,"grpc.max_receive_message_length":!0,"grpc.enable_http_proxy":!0,"grpc.enable_channelz":!0,"grpc.dns_min_time_between_resolutions_ms":!0,"grpc-node.max_session_memory":!0},t.channelOptionsEqual=function(e,t){const n=Object.keys(e).sort(),o=Object.keys(t).sort();if(n.length!==o.length)return!1;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChannelImplementation=void 0;const o=n(49650),r=n(16643),i=n(48026),a=n(38117),s=n(56617),l=n(65328),c=n(8401),p=n(44066),u=n(71046),d=n(59695),g=n(17394),f=n(51051),h=n(65146),m=n(30914),y=n(8084),v=n(89091),b=n(68109);let O=0;const w=[l.Status.OK,l.Status.INVALID_ARGUMENT,l.Status.NOT_FOUND,l.Status.ALREADY_EXISTS,l.Status.FAILED_PRECONDITION,l.Status.ABORTED,l.Status.OUT_OF_RANGE,l.Status.DATA_LOSS];function P(e,t){return w.includes(e)?{code:l.Status.INTERNAL,details:`Invalid status from control plane: ${e} ${l.Status[e]} ${t}`}:{code:e,details:t}}t.ChannelImplementation=class{constructor(e,t,n){var o,O,w,x;if(this.credentials=t,this.options=n,this.connectivityState=v.ConnectivityState.IDLE,this.currentPicker=new s.UnavailablePicker,this.configSelectionQueue=[],this.pickQueue=[],this.connectivityStateWatchers=[],this.configSelector=null,this.currentResolutionError=null,this.channelzEnabled=!0,this.callTracker=new b.ChannelzCallTracker,this.childrenTracker=new b.ChannelzChildrenTracker,"string"!=typeof e)throw new TypeError("Channel target must be a string");if(!(t instanceof r.ChannelCredentials))throw new TypeError("Channel credentials must be a ChannelCredentials object");if(n&&"object"!=typeof n)throw new TypeError("Channel options must be an object");this.originalTarget=e;const S=y.parseUri(e);if(null===S)throw new Error(`Could not parse target name "${e}"`);const T=g.mapUriDefaultScheme(S);if(null===T)throw new Error(`Could not find a default scheme for target name "${e}"`);this.callRefTimer=setInterval((()=>{}),2147483647),null===(O=(o=this.callRefTimer).unref)||void 0===O||O.call(o),0===this.options["grpc.enable_channelz"]&&(this.channelzEnabled=!1),this.channelzTrace=new b.ChannelzTrace,this.channelzRef=b.registerChannelzChannel(e,(()=>this.getChannelzInfo()),this.channelzEnabled),this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO","Channel created"),this.options["grpc.default_authority"]?this.defaultAuthority=this.options["grpc.default_authority"]:this.defaultAuthority=g.getDefaultAuthority(T);const A=m.mapProxyName(T,n);this.target=A.target,this.options=Object.assign({},this.options,A.extraOptions),this.subchannelPool=a.getSubchannelPool(0===(null!==(w=n["grpc.use_local_subchannel_pool"])&&void 0!==w?w:0));const E={createSubchannel:(e,t)=>{const n=this.subchannelPool.getOrCreateSubchannel(this.target,e,Object.assign({},this.options,t),this.credentials);return this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO","Created subchannel or used existing subchannel",n.getChannelzRef()),n},updateState:(e,t)=>{this.currentPicker=t;const n=this.pickQueue.slice();this.pickQueue=[],this.callRefTimerUnref();for(const{callStream:e,callMetadata:t,callConfig:o,dynamicFilters:r}of n)this.tryPick(e,t,o,r);this.updateState(e)},requestReresolution:()=>{throw new Error("Resolving load balancer should never call requestReresolution")},addChannelzChild:e=>{this.channelzEnabled&&this.childrenTracker.refChild(e)},removeChannelzChild:e=>{this.channelzEnabled&&this.childrenTracker.unrefChild(e)}};this.resolvingLoadBalancer=new i.ResolvingLoadBalancer(this.target,E,n,(e=>{this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO","Address resolution succeeded"),this.configSelector=e,this.currentResolutionError=null,process.nextTick((()=>{const e=this.configSelectionQueue;this.configSelectionQueue=[],this.callRefTimerUnref();for(const{callStream:t,callMetadata:n}of e)this.tryGetConfig(t,n);this.configSelectionQueue=[]}))}),(e=>{this.channelzEnabled&&this.channelzTrace.addTrace("CT_WARNING","Address resolution failed with code "+e.code+' and details "'+e.details+'"'),this.configSelectionQueue.length>0&&this.trace("Name resolution failed with calls queued for config selection"),null===this.configSelector&&(this.currentResolutionError=Object.assign(Object.assign({},P(e.code,e.details)),{metadata:e.metadata}));const t=this.configSelectionQueue;this.configSelectionQueue=[],this.callRefTimerUnref();for(const{callStream:n,callMetadata:o}of t)o.getOptions().waitForReady?(this.callRefTimerRef(),this.configSelectionQueue.push({callStream:n,callMetadata:o})):n.cancelWithStatus(e.code,e.details)})),this.filterStackFactory=new c.FilterStackFactory([new p.CallCredentialsFilterFactory(this),new u.DeadlineFilterFactory(this),new h.MaxMessageSizeFilterFactory(this.options),new d.CompressionFilterFactory(this,this.options)]),this.trace("Channel constructed with options "+JSON.stringify(n,void 0,2));const j=new Error;f.trace(l.LogVerbosity.DEBUG,"channel_stacktrace","("+this.channelzRef.id+") Channel constructed \n"+(null===(x=j.stack)||void 0===x?void 0:x.substring(j.stack.indexOf("\n")+1)))}getChannelzInfo(){return{target:this.originalTarget,state:this.connectivityState,trace:this.channelzTrace,callTracker:this.callTracker,children:this.childrenTracker.getChildLists()}}trace(e,t){f.trace(null!=t?t:l.LogVerbosity.DEBUG,"channel","("+this.channelzRef.id+") "+y.uriToString(this.target)+" "+e)}callRefTimerRef(){var e,t,n,o;(null===(t=(e=this.callRefTimer).hasRef)||void 0===t?void 0:t.call(e))||(this.trace("callRefTimer.ref | configSelectionQueue.length="+this.configSelectionQueue.length+" pickQueue.length="+this.pickQueue.length),null===(o=(n=this.callRefTimer).ref)||void 0===o||o.call(n))}callRefTimerUnref(){var e,t;this.callRefTimer.hasRef&&!this.callRefTimer.hasRef()||(this.trace("callRefTimer.unref | configSelectionQueue.length="+this.configSelectionQueue.length+" pickQueue.length="+this.pickQueue.length),null===(t=(e=this.callRefTimer).unref)||void 0===t||t.call(e))}pushPick(e,t,n,o){this.pickQueue.push({callStream:e,callMetadata:t,callConfig:n,dynamicFilters:o}),this.callRefTimerRef()}tryPick(e,t,n,o){var r,i;const a=this.currentPicker.pick({metadata:t,extraPickInfo:n.pickInformation}),c=a.subchannel?"("+a.subchannel.getChannelzRef().id+") "+a.subchannel.getAddress():""+a.subchannel;switch(this.trace("Pick result for call ["+e.getCallNumber()+"]: "+s.PickResultType[a.pickResultType]+" subchannel: "+c+" status: "+(null===(r=a.status)||void 0===r?void 0:r.code)+" "+(null===(i=a.status)||void 0===i?void 0:i.details)),a.pickResultType){case s.PickResultType.COMPLETE:if(null===a.subchannel)e.cancelWithStatus(l.Status.UNAVAILABLE,"Request dropped by load balancing policy");else{if(a.subchannel.getConnectivityState()!==v.ConnectivityState.READY){f.log(l.LogVerbosity.ERROR,"Error: COMPLETE pick result subchannel "+c+" has state "+v.ConnectivityState[a.subchannel.getConnectivityState()]),this.pushPick(e,t,n,o);break}e.filterStack.sendMetadata(Promise.resolve(t.clone())).then((r=>{var i,s,p;const u=a.subchannel.getConnectivityState();if(u===v.ConnectivityState.READY)try{const t=a.extraFilterFactories.map((t=>t.createFilter(e)));null===(i=a.subchannel)||void 0===i||i.getRealSubchannel().startCallStream(r,e,[...o,...t]),null===(s=n.onCommitted)||void 0===s||s.call(n),null===(p=a.onCallStarted)||void 0===p||p.call(a)}catch(r){const i=r.code;"ERR_HTTP2_GOAWAY_SESSION"===i||"ERR_HTTP2_INVALID_SESSION"===i?(this.trace("Failed to start call on picked subchannel "+c+" with error "+r.message+". Retrying pick",l.LogVerbosity.INFO),this.tryPick(e,t,n,o)):(this.trace("Failed to start call on picked subchanel "+c+" with error "+r.message+". Ending call",l.LogVerbosity.INFO),e.cancelWithStatus(l.Status.INTERNAL,`Failed to start HTTP/2 stream with error: ${r.message}`))}else this.trace("Picked subchannel "+c+" has state "+v.ConnectivityState[u]+" after metadata filters. Retrying pick",l.LogVerbosity.INFO),this.tryPick(e,t,n,o)}),(t=>{const{code:n,details:o}=P("number"==typeof t.code?t.code:l.Status.UNKNOWN,`Getting metadata from plugin failed with error: ${t.message}`);e.cancelWithStatus(n,o)}))}break;case s.PickResultType.QUEUE:this.pushPick(e,t,n,o);break;case s.PickResultType.TRANSIENT_FAILURE:if(t.getOptions().waitForReady)this.pushPick(e,t,n,o);else{const{code:t,details:n}=P(a.status.code,a.status.details);e.cancelWithStatus(t,n)}break;case s.PickResultType.DROP:const{code:r,details:i}=P(a.status.code,a.status.details);e.cancelWithStatus(r,i);break;default:throw new Error(`Invalid state: unknown pickResultType ${a.pickResultType}`)}}removeConnectivityStateWatcher(e){const t=this.connectivityStateWatchers.findIndex((t=>t===e));t>=0&&this.connectivityStateWatchers.splice(t,1)}updateState(e){f.trace(l.LogVerbosity.DEBUG,"connectivity_state","("+this.channelzRef.id+") "+y.uriToString(this.target)+" "+v.ConnectivityState[this.connectivityState]+" -> "+v.ConnectivityState[e]),this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO",v.ConnectivityState[this.connectivityState]+" -> "+v.ConnectivityState[e]),this.connectivityState=e;const t=this.connectivityStateWatchers.slice();for(const n of t)e!==n.currentState&&(n.timer&&clearTimeout(n.timer),this.removeConnectivityStateWatcher(n),n.callback());e!==v.ConnectivityState.TRANSIENT_FAILURE&&(this.currentResolutionError=null)}tryGetConfig(e,t){if(null===e.getStatus())if(null===this.configSelector)this.resolvingLoadBalancer.exitIdle(),this.currentResolutionError&&!t.getOptions().waitForReady?e.cancelWithStatus(this.currentResolutionError.code,this.currentResolutionError.details):(this.configSelectionQueue.push({callStream:e,callMetadata:t}),this.callRefTimerRef());else{const n=this.configSelector(e.getMethod(),t);if(n.status===l.Status.OK){if(n.methodConfig.timeout){const t=new Date;t.setSeconds(t.getSeconds()+n.methodConfig.timeout.seconds),t.setMilliseconds(t.getMilliseconds()+n.methodConfig.timeout.nanos/1e6),e.setConfigDeadline(t),e.filterStack.refresh()}if(n.dynamicFilterFactories.length>0){const o=new c.FilterStackFactory(n.dynamicFilterFactories).createFilter(e);o.sendMetadata(Promise.resolve(t)).then((t=>{this.tryPick(e,t,n,o.getFilters())}))}else this.tryPick(e,t,n,[])}else{const{code:t,details:o}=P(n.status,"Failed to route call to method "+e.getMethod());e.cancelWithStatus(t,o)}}}_startCallStream(e,t){this.tryGetConfig(e,t.clone())}close(){this.resolvingLoadBalancer.destroy(),this.updateState(v.ConnectivityState.SHUTDOWN),clearInterval(this.callRefTimer),this.channelzEnabled&&b.unregisterChannelzRef(this.channelzRef),this.subchannelPool.unrefUnusedSubchannels()}getTarget(){return y.uriToString(this.target)}getConnectivityState(e){const t=this.connectivityState;return e&&this.resolvingLoadBalancer.exitIdle(),t}watchConnectivityState(e,t,n){if(this.connectivityState===v.ConnectivityState.SHUTDOWN)throw new Error("Channel has been shut down");let o=null;if(t!==1/0){const e=t instanceof Date?t:new Date(t),i=new Date;if(t===-1/0||e<=i)return void process.nextTick(n,new Error("Deadline passed without connectivity state change"));o=setTimeout((()=>{this.removeConnectivityStateWatcher(r),n(new Error("Deadline passed without connectivity state change"))}),e.getTime()-i.getTime())}const r={currentState:e,callback:n,timer:o};this.connectivityStateWatchers.push(r)}getChannelzRef(){return this.channelzRef}createCall(e,t,n,r,i){if("string"!=typeof e)throw new TypeError("Channel#createCall: method must be a string");if(!("number"==typeof t||t instanceof Date))throw new TypeError("Channel#createCall: deadline must be a number or Date");if(this.connectivityState===v.ConnectivityState.SHUTDOWN)throw new Error("Channel has been shut down");const a=function(){const e=O;return O+=1,O>=Number.MAX_SAFE_INTEGER&&(O=0),e}();this.trace("createCall ["+a+'] method="'+e+'", deadline='+t);const s={deadline:t,flags:null!=i?i:l.Propagate.DEFAULTS,host:null!=n?n:this.defaultAuthority,parentCall:r},c=new o.Http2CallStream(e,this,s,this.filterStackFactory,this.credentials._getCallCredentials(),a);return this.channelzEnabled&&(this.callTracker.addCallStarted(),c.addStatusWatcher((e=>{e.code===l.Status.OK?this.callTracker.addCallSucceeded():this.callTracker.addCallFailed()}))),c}}},68109:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setup=t.getChannelzServiceDefinition=t.getChannelzHandlers=t.unregisterChannelzRef=t.registerChannelzSocket=t.registerChannelzServer=t.registerChannelzSubchannel=t.registerChannelzChannel=t.ChannelzCallTracker=t.ChannelzChildrenTracker=t.ChannelzTrace=void 0;const o=n(41808),r=n(89091),i=n(65328),a=n(87297),s=n(57935),l=n(50381);function c(e){return{channel_id:e.id,name:e.name}}function p(e){return{subchannel_id:e.id,name:e.name}}function u(e){return{socket_id:e.id,name:e.name}}t.ChannelzTrace=class{constructor(){this.events=[],this.eventsLogged=0,this.creationTimestamp=new Date}addTrace(e,t,n){const o=new Date;this.events.push({description:t,severity:e,timestamp:o,childChannel:"channel"===(null==n?void 0:n.kind)?n:void 0,childSubchannel:"subchannel"===(null==n?void 0:n.kind)?n:void 0}),this.events.length>=64&&(this.events=this.events.slice(32)),this.eventsLogged+=1}getTraceMessage(){return{creation_timestamp:w(this.creationTimestamp),num_events_logged:this.eventsLogged,events:this.events.map((e=>({description:e.description,severity:e.severity,timestamp:w(e.timestamp),channel_ref:e.childChannel?c(e.childChannel):null,subchannel_ref:e.childSubchannel?p(e.childSubchannel):null})))}}},t.ChannelzChildrenTracker=class{constructor(){this.channelChildren=new Map,this.subchannelChildren=new Map,this.socketChildren=new Map}refChild(e){var t,n,o;switch(e.kind){case"channel":{let n=null!==(t=this.channelChildren.get(e.id))&&void 0!==t?t:{ref:e,count:0};n.count+=1,this.channelChildren.set(e.id,n);break}case"subchannel":{let t=null!==(n=this.subchannelChildren.get(e.id))&&void 0!==n?n:{ref:e,count:0};t.count+=1,this.subchannelChildren.set(e.id,t);break}case"socket":{let t=null!==(o=this.socketChildren.get(e.id))&&void 0!==o?o:{ref:e,count:0};t.count+=1,this.socketChildren.set(e.id,t);break}}}unrefChild(e){switch(e.kind){case"channel":{let t=this.channelChildren.get(e.id);void 0!==t&&(t.count-=1,0===t.count?this.channelChildren.delete(e.id):this.channelChildren.set(e.id,t));break}case"subchannel":{let t=this.subchannelChildren.get(e.id);void 0!==t&&(t.count-=1,0===t.count?this.subchannelChildren.delete(e.id):this.subchannelChildren.set(e.id,t));break}case"socket":{let t=this.socketChildren.get(e.id);void 0!==t&&(t.count-=1,0===t.count?this.socketChildren.delete(e.id):this.socketChildren.set(e.id,t));break}}}getChildLists(){const e=[];for(const{ref:t}of this.channelChildren.values())e.push(t);const t=[];for(const{ref:e}of this.subchannelChildren.values())t.push(e);const n=[];for(const{ref:e}of this.socketChildren.values())n.push(e);return{channels:e,subchannels:t,sockets:n}}},t.ChannelzCallTracker=class{constructor(){this.callsStarted=0,this.callsSucceeded=0,this.callsFailed=0,this.lastCallStartedTimestamp=null}addCallStarted(){this.callsStarted+=1,this.lastCallStartedTimestamp=new Date}addCallSucceeded(){this.callsSucceeded+=1}addCallFailed(){this.callsFailed+=1}};let d=1;function g(){return d++}const f=[],h=[],m=[],y=[];function v(e){if(""===e)return[];const t=e.split(":").map((e=>function(e){const t=Number.parseInt(e,16);return[t/256|0,t%256]}(e)));return[].concat(...t)}function b(e){if(o.isIPv4(e))return Buffer.from(Uint8Array.from(e.split(".").map((e=>Number.parseInt(e)))));if(o.isIPv6(e)){let t,n;const o=e.indexOf("::");-1===o?(t=e,n=""):(t=e.substring(0,o),n=e.substring(o+2));const r=Buffer.from(v(t)),i=Buffer.from(v(n)),a=Buffer.alloc(16-r.length-i.length,0);return Buffer.concat([r,a,i])}return null}function O(e){switch(e){case r.ConnectivityState.CONNECTING:return{state:"CONNECTING"};case r.ConnectivityState.IDLE:return{state:"IDLE"};case r.ConnectivityState.READY:return{state:"READY"};case r.ConnectivityState.SHUTDOWN:return{state:"SHUTDOWN"};case r.ConnectivityState.TRANSIENT_FAILURE:return{state:"TRANSIENT_FAILURE"};default:return{state:"UNKNOWN"}}}function w(e){if(!e)return null;const t=e.getTime();return{seconds:t/1e3|0,nanos:t%1e3*1e6}}function P(e){const t=e.getInfo();return{ref:c(e.ref),data:{target:t.target,state:O(t.state),calls_started:t.callTracker.callsStarted,calls_succeeded:t.callTracker.callsSucceeded,calls_failed:t.callTracker.callsFailed,last_call_started_timestamp:w(t.callTracker.lastCallStartedTimestamp),trace:t.trace.getTraceMessage()},channel_ref:t.children.channels.map((e=>c(e))),subchannel_ref:t.children.subchannels.map((e=>p(e)))}}function x(e,t){const n=Number.parseInt(e.request.channel_id),o=f[n];void 0!==o?t(null,{channel:P(o)}):t({code:i.Status.NOT_FOUND,details:"No channel data found for id "+n})}function S(e,t){const n=Number.parseInt(e.request.max_results),o=[];let r=Number.parseInt(e.request.start_channel_id);for(;r=n))break}t(null,{channel:o,end:r>=m.length})}function T(e){const t=e.getInfo();return{ref:(n=e.ref,{server_id:n.id}),data:{calls_started:t.callTracker.callsStarted,calls_succeeded:t.callTracker.callsSucceeded,calls_failed:t.callTracker.callsFailed,last_call_started_timestamp:w(t.callTracker.lastCallStartedTimestamp),trace:t.trace.getTraceMessage()},listen_socket:t.listenerChildren.sockets.map((e=>u(e)))};var n}function A(e,t){const n=Number.parseInt(e.request.server_id),o=m[n];void 0!==o?t(null,{server:T(o)}):t({code:i.Status.NOT_FOUND,details:"No server data found for id "+n})}function E(e,t){const n=Number.parseInt(e.request.max_results),o=[];let r=Number.parseInt(e.request.start_server_id);for(;r=n))break}t(null,{server:o,end:r>=m.length})}function j(e,t){const n=Number.parseInt(e.request.subchannel_id),o=h[n];if(void 0===o)return void t({code:i.Status.NOT_FOUND,details:"No subchannel data found for id "+n});const r=o.getInfo();t(null,{subchannel:{ref:p(o.ref),data:{target:r.target,state:O(r.state),calls_started:r.callTracker.callsStarted,calls_succeeded:r.callTracker.callsSucceeded,calls_failed:r.callTracker.callsFailed,last_call_started_timestamp:w(r.callTracker.lastCallStartedTimestamp),trace:r.trace.getTraceMessage()},socket_ref:r.children.sockets.map((e=>u(e)))}})}function k(e){var t;return a.isTcpSubchannelAddress(e)?{address:"tcpip_address",tcpip_address:{ip_address:null!==(t=b(e.host))&&void 0!==t?t:void 0,port:e.port}}:{address:"uds_address",uds_address:{filename:e.path}}}function _(e,t){var n,o,r,a,s;const l=Number.parseInt(e.request.socket_id),c=y[l];if(void 0===c)return void t({code:i.Status.NOT_FOUND,details:"No socket data found for id "+l});const p=c.getInfo(),d=p.security?{model:"tls",tls:{cipher_suite:p.security.cipherSuiteStandardName?"standard_name":"other_name",standard_name:null!==(n=p.security.cipherSuiteStandardName)&&void 0!==n?n:void 0,other_name:null!==(o=p.security.cipherSuiteOtherName)&&void 0!==o?o:void 0,local_certificate:null!==(r=p.security.localCertificate)&&void 0!==r?r:void 0,remote_certificate:null!==(a=p.security.remoteCertificate)&&void 0!==a?a:void 0}}:null;t(null,{socket:{ref:u(c.ref),local:p.localAddress?k(p.localAddress):null,remote:p.remoteAddress?k(p.remoteAddress):null,remote_name:null!==(s=p.remoteName)&&void 0!==s?s:void 0,security:d,data:{keep_alives_sent:p.keepAlivesSent,streams_started:p.streamsStarted,streams_succeeded:p.streamsSucceeded,streams_failed:p.streamsFailed,last_local_stream_created_timestamp:w(p.lastLocalStreamCreatedTimestamp),last_remote_stream_created_timestamp:w(p.lastRemoteStreamCreatedTimestamp),messages_received:p.messagesReceived,messages_sent:p.messagesSent,last_message_received_timestamp:w(p.lastMessageReceivedTimestamp),last_message_sent_timestamp:w(p.lastMessageSentTimestamp),local_flow_control_window:p.localFlowControlWindow?{value:p.localFlowControlWindow}:null,remote_flow_control_window:p.remoteFlowControlWindow?{value:p.remoteFlowControlWindow}:null}}})}function C(e,t){const n=Number.parseInt(e.request.server_id),o=m[n];if(void 0===o)return void t({code:i.Status.NOT_FOUND,details:"No server data found for id "+n});const r=Number.parseInt(e.request.start_socket_id),a=Number.parseInt(e.request.max_results),s=o.getInfo().sessionChildren.sockets.sort(((e,t)=>e.id-t.id)),l=[];let c=0;for(;c=r&&(l.push(u(s[c])),l.length>=a));c++);t(null,{socket_ref:l,end:c>=s.length})}function I(){return{GetChannel:x,GetTopChannels:S,GetServer:A,GetServers:E,GetSubchannel:j,GetSocket:_,GetServerSockets:C}}t.registerChannelzChannel=function(e,t,n){const o=g(),r={id:o,name:e,kind:"channel"};return n&&(f[o]={ref:r,getInfo:t}),r},t.registerChannelzSubchannel=function(e,t,n){const o=g(),r={id:o,name:e,kind:"subchannel"};return n&&(h[o]={ref:r,getInfo:t}),r},t.registerChannelzServer=function(e,t){const n=g(),o={id:n,kind:"server"};return t&&(m[n]={ref:o,getInfo:e}),o},t.registerChannelzSocket=function(e,t,n){const o=g(),r={id:o,name:e,kind:"socket"};return n&&(y[o]={ref:r,getInfo:t}),r},t.unregisterChannelzRef=function(e){switch(e.kind){case"channel":return void delete f[e.id];case"subchannel":return void delete h[e.id];case"server":return void delete m[e.id];case"socket":return void delete y[e.id]}},t.getChannelzHandlers=I;let R=null;function N(){if(R)return R;const e=(0,n(91779).loadSync)("channelz.proto",{keepCase:!0,longs:String,enums:String,defaults:!0,oneofs:!0,includeDirs:[`${__dirname}/../../proto`]}),t=l.loadPackageDefinition(e);return R=t.grpc.channelz.v1.Channelz.service,R}t.getChannelzServiceDefinition=N,t.setup=function(){s.registerAdminService(N,I)}},47326:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInterceptingCall=t.InterceptingCall=t.RequesterBuilder=t.ListenerBuilder=t.InterceptorConfigurationError=void 0;const o=n(21494),r=n(49650),i=n(65328);class a extends Error{constructor(e){super(e),this.name="InterceptorConfigurationError",Error.captureStackTrace(this,a)}}t.InterceptorConfigurationError=a,t.ListenerBuilder=class{constructor(){this.metadata=void 0,this.message=void 0,this.status=void 0}withOnReceiveMetadata(e){return this.metadata=e,this}withOnReceiveMessage(e){return this.message=e,this}withOnReceiveStatus(e){return this.status=e,this}build(){return{onReceiveMetadata:this.metadata,onReceiveMessage:this.message,onReceiveStatus:this.status}}},t.RequesterBuilder=class{constructor(){this.start=void 0,this.message=void 0,this.halfClose=void 0,this.cancel=void 0}withStart(e){return this.start=e,this}withSendMessage(e){return this.message=e,this}withHalfClose(e){return this.halfClose=e,this}withCancel(e){return this.cancel=e,this}build(){return{start:this.start,sendMessage:this.message,halfClose:this.halfClose,cancel:this.cancel}}};const s={onReceiveMetadata:(e,t)=>{t(e)},onReceiveMessage:(e,t)=>{t(e)},onReceiveStatus:(e,t)=>{t(e)}},l={start:(e,t,n)=>{n(e,t)},sendMessage:(e,t)=>{t(e)},halfClose:e=>{e()},cancel:e=>{e()}};t.InterceptingCall=class{constructor(e,t){var n,o,r,i;this.nextCall=e,this.processingMetadata=!1,this.pendingMessageContext=null,this.processingMessage=!1,this.pendingHalfClose=!1,this.requester=t?{start:null!==(n=t.start)&&void 0!==n?n:l.start,sendMessage:null!==(o=t.sendMessage)&&void 0!==o?o:l.sendMessage,halfClose:null!==(r=t.halfClose)&&void 0!==r?r:l.halfClose,cancel:null!==(i=t.cancel)&&void 0!==i?i:l.cancel}:l}cancelWithStatus(e,t){this.requester.cancel((()=>{this.nextCall.cancelWithStatus(e,t)}))}getPeer(){return this.nextCall.getPeer()}processPendingMessage(){this.pendingMessageContext&&(this.nextCall.sendMessageWithContext(this.pendingMessageContext,this.pendingMessage),this.pendingMessageContext=null,this.pendingMessage=null)}processPendingHalfClose(){this.pendingHalfClose&&this.nextCall.halfClose()}start(e,t){var n,o,i,a,l,c;const p={onReceiveMetadata:null!==(o=null===(n=null==t?void 0:t.onReceiveMetadata)||void 0===n?void 0:n.bind(t))&&void 0!==o?o:e=>{},onReceiveMessage:null!==(a=null===(i=null==t?void 0:t.onReceiveMessage)||void 0===i?void 0:i.bind(t))&&void 0!==a?a:e=>{},onReceiveStatus:null!==(c=null===(l=null==t?void 0:t.onReceiveStatus)||void 0===l?void 0:l.bind(t))&&void 0!==c?c:e=>{}};this.processingMetadata=!0,this.requester.start(e,p,((e,t)=>{var n,o,i;let a;if(this.processingMetadata=!1,r.isInterceptingListener(t))a=t;else{const e={onReceiveMetadata:null!==(n=t.onReceiveMetadata)&&void 0!==n?n:s.onReceiveMetadata,onReceiveMessage:null!==(o=t.onReceiveMessage)&&void 0!==o?o:s.onReceiveMessage,onReceiveStatus:null!==(i=t.onReceiveStatus)&&void 0!==i?i:s.onReceiveStatus};a=new r.InterceptingListenerImpl(e,p)}this.nextCall.start(e,a),this.processPendingMessage(),this.processPendingHalfClose()}))}sendMessageWithContext(e,t){this.processingMessage=!0,this.requester.sendMessage(t,(n=>{this.processingMessage=!1,this.processingMetadata?(this.pendingMessageContext=e,this.pendingMessage=t):(this.nextCall.sendMessageWithContext(e,n),this.processPendingHalfClose())}))}sendMessage(e){this.sendMessageWithContext({},e)}startRead(){this.nextCall.startRead()}halfClose(){this.requester.halfClose((()=>{this.processingMetadata||this.processingMessage?this.pendingHalfClose=!0:this.nextCall.halfClose()}))}setCredentials(e){this.nextCall.setCredentials(e)}};class c{constructor(e,t){this.call=e,this.methodDefinition=t}cancelWithStatus(e,t){this.call.cancelWithStatus(e,t)}getPeer(){return this.call.getPeer()}setCredentials(e){this.call.setCredentials(e)}sendMessageWithContext(e,t){let n;try{n=this.methodDefinition.requestSerialize(t)}catch(e){return void this.call.cancelWithStatus(i.Status.INTERNAL,`Request message serialization failure: ${e.message}`)}this.call.sendMessageWithContext(e,n)}sendMessage(e){this.sendMessageWithContext({},e)}start(e,t){let n=null;this.call.start(e,{onReceiveMetadata:e=>{var n;null===(n=null==t?void 0:t.onReceiveMetadata)||void 0===n||n.call(t,e)},onReceiveMessage:e=>{var r;let a;try{a=this.methodDefinition.responseDeserialize(e)}catch(e){return n={code:i.Status.INTERNAL,details:`Response message parsing error: ${e.message}`,metadata:new o.Metadata},void this.call.cancelWithStatus(n.code,n.details)}null===(r=null==t?void 0:t.onReceiveMessage)||void 0===r||r.call(t,a)},onReceiveStatus:e=>{var o,r;n?null===(o=null==t?void 0:t.onReceiveStatus)||void 0===o||o.call(t,n):null===(r=null==t?void 0:t.onReceiveStatus)||void 0===r||r.call(t,e)}})}startRead(){this.call.startRead()}halfClose(){this.call.halfClose()}}class p extends c{constructor(e,t){super(e,t)}start(e,t){var n,o;let r=!1;const i={onReceiveMetadata:null!==(o=null===(n=null==t?void 0:t.onReceiveMetadata)||void 0===n?void 0:n.bind(t))&&void 0!==o?o:e=>{},onReceiveMessage:e=>{var n;r=!0,null===(n=null==t?void 0:t.onReceiveMessage)||void 0===n||n.call(t,e)},onReceiveStatus:e=>{var n,o;r||null===(n=null==t?void 0:t.onReceiveMessage)||void 0===n||n.call(t,null),null===(o=null==t?void 0:t.onReceiveStatus)||void 0===o||o.call(t,e)}};super.start(e,i),this.call.startRead()}}class u extends c{}t.getInterceptingCall=function(e,t,n,o){if(e.clientInterceptors.length>0&&e.clientInterceptorProviders.length>0)throw new a("Both interceptors and interceptor_providers were passed as options to the client constructor. Only one of these is allowed.");if(e.callInterceptors.length>0&&e.callInterceptorProviders.length>0)throw new a("Both interceptors and interceptor_providers were passed as call options. Only one of these is allowed.");let r=[];r=e.callInterceptors.length>0||e.callInterceptorProviders.length>0?[].concat(e.callInterceptors,e.callInterceptorProviders.map((e=>e(t)))).filter((e=>e)):[].concat(e.clientInterceptors,e.clientInterceptorProviders.map((e=>e(t)))).filter((e=>e));const i=Object.assign({},n,{method_definition:t});return r.reduceRight(((e,t)=>n=>t(n,e)),(e=>function(e,t,n){const o=function(e,t,n){var o,r;const i=null!==(o=n.deadline)&&void 0!==o?o:1/0,a=n.host,s=null!==(r=n.parent)&&void 0!==r?r:null,l=n.propagate_flags,c=n.credentials,p=e.createCall(t,i,a,s,l);return c&&p.setCredentials(c),p}(e,n.path,t);return n.responseStream?new u(o,n):new p(o,n)}(o,e,t)))(i)}},96817:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Client=void 0;const o=n(62632),r=n(82906),i=n(89091),a=n(65328),s=n(21494),l=n(47326),c=Symbol(),p=Symbol(),u=Symbol(),d=Symbol();function g(e){return"function"==typeof e}function f(e){return e.stack.split("\n").slice(1).join("\n")}t.Client=class{constructor(e,t,n={}){var o,i;if(n=Object.assign({},n),this[p]=null!==(o=n.interceptors)&&void 0!==o?o:[],delete n.interceptors,this[u]=null!==(i=n.interceptor_providers)&&void 0!==i?i:[],delete n.interceptor_providers,this[p].length>0&&this[u].length>0)throw new Error("Both interceptors and interceptor_providers were passed as options to the client constructor. Only one of these is allowed.");if(this[d]=n.callInvocationTransformer,delete n.callInvocationTransformer,n.channelOverride)this[c]=n.channelOverride;else if(n.channelFactoryOverride){const o=n.channelFactoryOverride;delete n.channelFactoryOverride,this[c]=o(e,t,n)}else this[c]=new r.ChannelImplementation(e,t,n)}close(){this[c].close()}getChannel(){return this[c]}waitForReady(e,t){const n=o=>{if(o)return void t(new Error("Failed to connect before the deadline"));let r;try{r=this[c].getConnectivityState(!0)}catch(e){return void t(new Error("The channel has been closed"))}if(r===i.ConnectivityState.READY)t();else try{this[c].watchConnectivityState(r,e,n)}catch(e){t(new Error("The channel has been closed"))}};setImmediate(n)}checkOptionalUnaryResponseArguments(e,t,n){if(g(e))return{metadata:new s.Metadata,options:{},callback:e};if(g(t))return e instanceof s.Metadata?{metadata:e,options:{},callback:t}:{metadata:new s.Metadata,options:e,callback:t};if(!(e instanceof s.Metadata&&t instanceof Object&&g(n)))throw new Error("Incorrect arguments passed");return{metadata:e,options:t,callback:n}}makeUnaryRequest(e,t,n,r,i,s,g){var h,m;const y=this.checkOptionalUnaryResponseArguments(i,s,g),v={path:e,requestStream:!1,responseStream:!1,requestSerialize:t,responseDeserialize:n};let b={argument:r,metadata:y.metadata,call:new o.ClientUnaryCallImpl,channel:this[c],methodDefinition:v,callOptions:y.options,callback:y.callback};this[d]&&(b=this[d](b));const O=b.call,w={clientInterceptors:this[p],clientInterceptorProviders:this[u],callInterceptors:null!==(h=b.callOptions.interceptors)&&void 0!==h?h:[],callInterceptorProviders:null!==(m=b.callOptions.interceptor_providers)&&void 0!==m?m:[]},P=l.getInterceptingCall(w,b.methodDefinition,b.callOptions,b.channel);O.call=P,b.callOptions.credentials&&P.setCredentials(b.callOptions.credentials);let x=null,S=!1;const T=new Error;return P.start(b.metadata,{onReceiveMetadata:e=>{O.emit("metadata",e)},onReceiveMessage(e){null!==x&&P.cancelWithStatus(a.Status.INTERNAL,"Too many responses received"),x=e},onReceiveStatus(e){if(!S){if(S=!0,e.code===a.Status.OK)if(null===x){const t=f(T);b.callback(o.callErrorFromStatus({code:a.Status.INTERNAL,details:"No message received",metadata:e.metadata},t))}else b.callback(null,x);else{const t=f(T);b.callback(o.callErrorFromStatus(e,t))}O.emit("status",e)}}}),P.sendMessage(r),P.halfClose(),O}makeClientStreamRequest(e,t,n,r,i,s){var g,h;const m=this.checkOptionalUnaryResponseArguments(r,i,s),y={path:e,requestStream:!0,responseStream:!1,requestSerialize:t,responseDeserialize:n};let v={metadata:m.metadata,call:new o.ClientWritableStreamImpl(t),channel:this[c],methodDefinition:y,callOptions:m.options,callback:m.callback};this[d]&&(v=this[d](v));const b=v.call,O={clientInterceptors:this[p],clientInterceptorProviders:this[u],callInterceptors:null!==(g=v.callOptions.interceptors)&&void 0!==g?g:[],callInterceptorProviders:null!==(h=v.callOptions.interceptor_providers)&&void 0!==h?h:[]},w=l.getInterceptingCall(O,v.methodDefinition,v.callOptions,v.channel);b.call=w,v.callOptions.credentials&&w.setCredentials(v.callOptions.credentials);let P=null,x=!1;const S=new Error;return w.start(v.metadata,{onReceiveMetadata:e=>{b.emit("metadata",e)},onReceiveMessage(e){null!==P&&w.cancelWithStatus(a.Status.INTERNAL,"Too many responses received"),P=e},onReceiveStatus(e){if(!x){if(x=!0,e.code===a.Status.OK)if(null===P){const t=f(S);v.callback(o.callErrorFromStatus({code:a.Status.INTERNAL,details:"No message received",metadata:e.metadata},t))}else v.callback(null,P);else{const t=f(S);v.callback(o.callErrorFromStatus(e,t))}b.emit("status",e)}}}),b}checkMetadataAndOptions(e,t){let n,o;return e instanceof s.Metadata?(n=e,o=t||{}):(o=e||{},n=new s.Metadata),{metadata:n,options:o}}makeServerStreamRequest(e,t,n,r,i,s){var g,h;const m=this.checkMetadataAndOptions(i,s),y={path:e,requestStream:!1,responseStream:!0,requestSerialize:t,responseDeserialize:n};let v={argument:r,metadata:m.metadata,call:new o.ClientReadableStreamImpl(n),channel:this[c],methodDefinition:y,callOptions:m.options};this[d]&&(v=this[d](v));const b=v.call,O={clientInterceptors:this[p],clientInterceptorProviders:this[u],callInterceptors:null!==(g=v.callOptions.interceptors)&&void 0!==g?g:[],callInterceptorProviders:null!==(h=v.callOptions.interceptor_providers)&&void 0!==h?h:[]},w=l.getInterceptingCall(O,v.methodDefinition,v.callOptions,v.channel);b.call=w,v.callOptions.credentials&&w.setCredentials(v.callOptions.credentials);let P=!1;const x=new Error;return w.start(v.metadata,{onReceiveMetadata(e){b.emit("metadata",e)},onReceiveMessage(e){b.push(e)},onReceiveStatus(e){if(!P){if(P=!0,b.push(null),e.code!==a.Status.OK){const t=f(x);b.emit("error",o.callErrorFromStatus(e,t))}b.emit("status",e)}}}),w.sendMessage(r),w.halfClose(),b}makeBidiStreamRequest(e,t,n,r,i){var s,g;const h=this.checkMetadataAndOptions(r,i),m={path:e,requestStream:!0,responseStream:!0,requestSerialize:t,responseDeserialize:n};let y={metadata:h.metadata,call:new o.ClientDuplexStreamImpl(t,n),channel:this[c],methodDefinition:m,callOptions:h.options};this[d]&&(y=this[d](y));const v=y.call,b={clientInterceptors:this[p],clientInterceptorProviders:this[u],callInterceptors:null!==(s=y.callOptions.interceptors)&&void 0!==s?s:[],callInterceptorProviders:null!==(g=y.callOptions.interceptor_providers)&&void 0!==g?g:[]},O=l.getInterceptingCall(b,y.methodDefinition,y.callOptions,y.channel);v.call=O,y.callOptions.credentials&&O.setCredentials(y.callOptions.credentials);let w=!1;const P=new Error;return O.start(y.metadata,{onReceiveMetadata(e){v.emit("metadata",e)},onReceiveMessage(e){v.push(e)},onReceiveStatus(e){if(!w){if(w=!0,v.push(null),e.code!==a.Status.OK){const t=f(P);v.emit("error",o.callErrorFromStatus(e,t))}v.emit("status",e)}}}),v}}},38313:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CompressionAlgorithms=void 0,(n=t.CompressionAlgorithms||(t.CompressionAlgorithms={}))[n.identity=0]="identity",n[n.deflate=1]="deflate",n[n.gzip=2]="gzip"},59695:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompressionFilterFactory=t.CompressionFilter=void 0;const o=n(59796),r=n(38313),i=n(65328),a=n(68333),s=n(51051);class l{async writeMessage(e,t){let n=e;t&&(n=await this.compressMessage(n));const o=Buffer.allocUnsafe(n.length+5);return o.writeUInt8(t?1:0,0),o.writeUInt32BE(n.length,1),n.copy(o,5),o}async readMessage(e){const t=1===e.readUInt8(0);let n=e.slice(5);return t&&(n=await this.decompressMessage(n)),n}}class c extends l{async compressMessage(e){return e}async writeMessage(e,t){const n=Buffer.allocUnsafe(e.length+5);return n.writeUInt8(0,0),n.writeUInt32BE(e.length,1),e.copy(n,5),n}decompressMessage(e){return Promise.reject(new Error('Received compressed message but "grpc-encoding" header was identity'))}}class p extends l{compressMessage(e){return new Promise(((t,n)=>{o.deflate(e,((e,o)=>{e?n(e):t(o)}))}))}decompressMessage(e){return new Promise(((t,n)=>{o.inflate(e,((e,o)=>{e?n(e):t(o)}))}))}}class u extends l{compressMessage(e){return new Promise(((t,n)=>{o.gzip(e,((e,o)=>{e?n(e):t(o)}))}))}decompressMessage(e){return new Promise(((t,n)=>{o.unzip(e,((e,o)=>{e?n(e):t(o)}))}))}}class d extends l{constructor(e){super(),this.compressionName=e}compressMessage(e){return Promise.reject(new Error(`Received message compressed with unsupported compression method ${this.compressionName}`))}decompressMessage(e){return Promise.reject(new Error(`Compression method not supported: ${this.compressionName}`))}}function g(e){switch(e){case"identity":return new c;case"deflate":return new p;case"gzip":return new u;default:return new d(e)}}class f extends a.BaseFilter{constructor(e,t){var n;super(),this.sharedFilterConfig=t,this.sendCompression=new c,this.receiveCompression=new c,this.currentCompressionAlgorithm="identity";const o=e["grpc.default_compression_algorithm"];if(void 0!==o)if("number"==typeof(a=o)&&"string"==typeof r.CompressionAlgorithms[a]){const e=r.CompressionAlgorithms[o],i=null===(n=t.serverSupportedEncodingHeader)||void 0===n?void 0:n.split(",");i&&!i.includes(e)||(this.currentCompressionAlgorithm=e,this.sendCompression=g(this.currentCompressionAlgorithm))}else s.log(i.LogVerbosity.ERROR,`Invalid value provided for grpc.default_compression_algorithm option: ${o}`);var a}async sendMetadata(e){const t=await e;return t.set("grpc-accept-encoding","identity,deflate,gzip"),t.set("accept-encoding","identity"),"identity"===this.currentCompressionAlgorithm?t.remove("grpc-encoding"):t.set("grpc-encoding",this.currentCompressionAlgorithm),t}receiveMetadata(e){const t=e.get("grpc-encoding");if(t.length>0){const e=t[0];"string"==typeof e&&(this.receiveCompression=g(e))}e.remove("grpc-encoding");const n=e.get("grpc-accept-encoding")[0];return n&&(this.sharedFilterConfig.serverSupportedEncodingHeader=n,n.split(",").includes(this.currentCompressionAlgorithm)||(this.sendCompression=new c,this.currentCompressionAlgorithm="identity")),e.remove("grpc-accept-encoding"),e}async sendMessage(e){var t;const n=await e;let o;return o=!(this.sendCompression instanceof c)&&0==(2&(null!==(t=n.flags)&&void 0!==t?t:0)),{message:await this.sendCompression.writeMessage(n.message,o),flags:n.flags}}async receiveMessage(e){return this.receiveCompression.readMessage(await e)}}t.CompressionFilter=f,t.CompressionFilterFactory=class{constructor(e,t){this.channel=e,this.options=t,this.sharedFilterConfig={}}createFilter(e){return new f(this.options,this.sharedFilterConfig)}}},89091:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectivityState=void 0,(n=t.ConnectivityState||(t.ConnectivityState={}))[n.IDLE=0]="IDLE",n[n.CONNECTING=1]="CONNECTING",n[n.READY=2]="READY",n[n.TRANSIENT_FAILURE=3]="TRANSIENT_FAILURE",n[n.SHUTDOWN=4]="SHUTDOWN"},65328:(e,t)=>{"use strict";var n,o,r;Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH=t.DEFAULT_MAX_SEND_MESSAGE_LENGTH=t.Propagate=t.LogVerbosity=t.Status=void 0,(r=t.Status||(t.Status={}))[r.OK=0]="OK",r[r.CANCELLED=1]="CANCELLED",r[r.UNKNOWN=2]="UNKNOWN",r[r.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",r[r.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",r[r.NOT_FOUND=5]="NOT_FOUND",r[r.ALREADY_EXISTS=6]="ALREADY_EXISTS",r[r.PERMISSION_DENIED=7]="PERMISSION_DENIED",r[r.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",r[r.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",r[r.ABORTED=10]="ABORTED",r[r.OUT_OF_RANGE=11]="OUT_OF_RANGE",r[r.UNIMPLEMENTED=12]="UNIMPLEMENTED",r[r.INTERNAL=13]="INTERNAL",r[r.UNAVAILABLE=14]="UNAVAILABLE",r[r.DATA_LOSS=15]="DATA_LOSS",r[r.UNAUTHENTICATED=16]="UNAUTHENTICATED",(o=t.LogVerbosity||(t.LogVerbosity={}))[o.DEBUG=0]="DEBUG",o[o.INFO=1]="INFO",o[o.ERROR=2]="ERROR",o[o.NONE=3]="NONE",(n=t.Propagate||(t.Propagate={}))[n.DEADLINE=1]="DEADLINE",n[n.CENSUS_STATS_CONTEXT=2]="CENSUS_STATS_CONTEXT",n[n.CENSUS_TRACING_CONTEXT=4]="CENSUS_TRACING_CONTEXT",n[n.CANCELLATION=8]="CANCELLATION",n[n.DEFAULTS=65535]="DEFAULTS",t.DEFAULT_MAX_SEND_MESSAGE_LENGTH=-1,t.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH=4194304},71046:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeadlineFilterFactory=t.DeadlineFilter=void 0;const o=n(65328),r=n(68333),i=[["m",1],["S",1e3],["M",6e4],["H",36e5]];class a extends r.BaseFilter{constructor(e,t){super(),this.channel=e,this.callStream=t,this.timer=null,this.deadline=1/0,this.retreiveDeadline(),this.runTimer()}retreiveDeadline(){const e=this.callStream.getDeadline();e instanceof Date?this.deadline=e.getTime():this.deadline=e}runTimer(){var e,t;this.timer&&clearTimeout(this.timer);const n=(new Date).getTime(),r=this.deadline-n;r<=0?process.nextTick((()=>{this.callStream.cancelWithStatus(o.Status.DEADLINE_EXCEEDED,"Deadline exceeded")})):this.deadline!==1/0&&(this.timer=setTimeout((()=>{this.callStream.cancelWithStatus(o.Status.DEADLINE_EXCEEDED,"Deadline exceeded")}),r),null===(t=(e=this.timer).unref)||void 0===t||t.call(e))}refresh(){this.retreiveDeadline(),this.runTimer()}async sendMetadata(e){if(this.deadline===1/0)return e;const t=await e,n=function(e){const t=(new Date).getTime(),n=Math.max(e-t,0);for(const[e,t]of i){const o=n/t;if(o<1e8)return String(Math.ceil(o))+e}throw new Error("Deadline is too far in the future")}(this.deadline);return t.set("grpc-timeout",n),t}receiveTrailers(e){return this.timer&&clearTimeout(this.timer),e}}t.DeadlineFilter=a,t.DeadlineFilterFactory=class{constructor(e){this.channel=e}createFilter(e){return new a(this.channel,e)}}},20300:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDuration=t.durationToMs=t.msToDuration=void 0,t.msToDuration=function(e){return{seconds:e/1e3|0,nanos:e%1e3*1e6|0}},t.durationToMs=function(e){return 1e3*e.seconds+e.nanos/1e6|0},t.isDuration=function(e){return"number"==typeof e.seconds&&"number"==typeof e.nanos}},99937:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(51051);Object.defineProperty(t,"trace",{enumerable:!0,get:function(){return o.trace}}),Object.defineProperty(t,"log",{enumerable:!0,get:function(){return o.log}});var r=n(17394);Object.defineProperty(t,"registerResolver",{enumerable:!0,get:function(){return r.registerResolver}});var i=n(8084);Object.defineProperty(t,"uriToString",{enumerable:!0,get:function(){return i.uriToString}});var a=n(20300);Object.defineProperty(t,"durationToMs",{enumerable:!0,get:function(){return a.durationToMs}});var s=n(11257);Object.defineProperty(t,"BackoffTimeout",{enumerable:!0,get:function(){return s.BackoffTimeout}});var l=n(95477);Object.defineProperty(t,"createChildChannelControlHelper",{enumerable:!0,get:function(){return l.createChildChannelControlHelper}}),Object.defineProperty(t,"registerLoadBalancerType",{enumerable:!0,get:function(){return l.registerLoadBalancerType}}),Object.defineProperty(t,"getFirstUsableConfig",{enumerable:!0,get:function(){return l.getFirstUsableConfig}}),Object.defineProperty(t,"validateLoadBalancingConfig",{enumerable:!0,get:function(){return l.validateLoadBalancingConfig}});var c=n(87297);Object.defineProperty(t,"subchannelAddressToString",{enumerable:!0,get:function(){return c.subchannelAddressToString}});var p=n(88925);Object.defineProperty(t,"ChildLoadBalancerHandler",{enumerable:!0,get:function(){return p.ChildLoadBalancerHandler}});var u=n(56617);Object.defineProperty(t,"UnavailablePicker",{enumerable:!0,get:function(){return u.UnavailablePicker}}),Object.defineProperty(t,"QueuePicker",{enumerable:!0,get:function(){return u.QueuePicker}}),Object.defineProperty(t,"PickResultType",{enumerable:!0,get:function(){return u.PickResultType}});var d=n(68333);Object.defineProperty(t,"BaseFilter",{enumerable:!0,get:function(){return d.BaseFilter}});var g=n(8401);Object.defineProperty(t,"FilterStackFactory",{enumerable:!0,get:function(){return g.FilterStackFactory}});var f=n(57935);Object.defineProperty(t,"registerAdminService",{enumerable:!0,get:function(){return f.registerAdminService}});var h=n(75554);Object.defineProperty(t,"BaseSubchannelWrapper",{enumerable:!0,get:function(){return h.BaseSubchannelWrapper}});var m=n(47911);Object.defineProperty(t,"OutlierDetectionLoadBalancingConfig",{enumerable:!0,get:function(){return m.OutlierDetectionLoadBalancingConfig}})},8401:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FilterStackFactory=t.FilterStack=void 0;class n{constructor(e){this.filters=e}sendMetadata(e){let t=e;for(let e=0;e=0;e--)t=this.filters[e].receiveMetadata(t);return t}sendMessage(e){let t=e;for(let e=0;e=0;e--)t=this.filters[e].receiveMessage(t);return t}receiveTrailers(e){let t=e;for(let e=this.filters.length-1;e>=0;e--)t=this.filters[e].receiveTrailers(t);return t}refresh(){for(const e of this.filters)e.refresh()}push(e){this.filters.unshift(...e)}getFilters(){return this.filters}}t.FilterStack=n,t.FilterStackFactory=class{constructor(e){this.factories=e}push(e){this.factories.unshift(...e)}createFilter(e){return new n(this.factories.map((t=>t.createFilter(e))))}}},68333:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseFilter=void 0,t.BaseFilter=class{async sendMetadata(e){return e}receiveMetadata(e){return e}async sendMessage(e){return e}async receiveMessage(e){return e}receiveTrailers(e){return e}refresh(){}}},30914:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getProxiedConnection=t.mapProxyName=void 0;const o=n(51051),r=n(65328),i=n(17394),a=n(13685),s=n(24404),l=n(51051),c=n(87297),p=n(8084),u=n(57310);function d(e){l.trace(r.LogVerbosity.DEBUG,"proxy",e)}t.mapProxyName=function(e,t){var n;const i={target:e,extraOptions:{}};if(0===(null!==(n=t["grpc.enable_http_proxy"])&&void 0!==n?n:1))return i;if("unix"===e.scheme)return i;const a=function(){let e,t="",n="";if(process.env.grpc_proxy)n="grpc_proxy",t=process.env.grpc_proxy;else if(process.env.https_proxy)n="https_proxy",t=process.env.https_proxy;else{if(!process.env.http_proxy)return{};n="http_proxy",t=process.env.http_proxy}try{e=new u.URL(t)}catch(e){return o.log(r.LogVerbosity.ERROR,`cannot parse value of "${n}" env var`),{}}if("http:"!==e.protocol)return o.log(r.LogVerbosity.ERROR,`"${e.protocol}" scheme not supported in proxy URI`),{};let i=null;e.username&&(e.password?(o.log(r.LogVerbosity.INFO,"userinfo found in proxy URI"),i=`${e.username}:${e.password}`):i=e.username);const a=e.hostname;let s=e.port;""===s&&(s="80");const l={address:`${a}:${s}`};return i&&(l.creds=i),d("Proxy server "+l.address+" set by environment variable "+n),l}();if(!a.address)return i;const s=p.splitHostPort(e.path);if(!s)return i;const l=s.host;for(const t of function(){let e=process.env.no_grpc_proxy,t="no_grpc_proxy";return e||(e=process.env.no_proxy,t="no_proxy"),e?(d("No proxy server list set by environment variable "+t),e.split(",")):[]}())if(t===l)return d("Not using proxy for target in no_proxy list: "+p.uriToString(e)),i;const c={"grpc.http_connect_target":p.uriToString(e)};return a.creds&&(c["grpc.http_connect_creds"]=a.creds),{target:{scheme:"dns",path:a.address},extraOptions:c}},t.getProxiedConnection=function(e,t,n){if(!("grpc.http_connect_target"in t))return Promise.resolve({});const l=t["grpc.http_connect_target"],u=p.parseUri(l);if(null===u)return Promise.resolve({});const g={method:"CONNECT",path:u.path},f={Host:u.path};c.isTcpSubchannelAddress(e)?(g.host=e.host,g.port=e.port):g.socketPath=e.path,"grpc.http_connect_creds"in t&&(f["Proxy-Authorization"]="Basic "+Buffer.from(t["grpc.http_connect_creds"]).toString("base64")),g.headers=f;const h=c.subchannelAddressToString(e);return d("Using proxy "+h+" to connect to "+g.path),new Promise(((e,t)=>{const l=a.request(g);l.once("connect",((a,c,f)=>{var m;if(l.removeAllListeners(),c.removeAllListeners(),200===a.statusCode)if(d("Successfully connected to "+g.path+" through proxy "+h),"secureContext"in n){const o=i.getDefaultAuthority(u),r=p.splitHostPort(o),a=null!==(m=null==r?void 0:r.host)&&void 0!==m?m:o,l=s.connect(Object.assign({host:a,servername:a,socket:c},n),(()=>{d("Successfully established a TLS connection to "+g.path+" through proxy "+h),e({socket:l,realTarget:u})}));l.on("error",(e=>{d("Failed to establish a TLS connection to "+g.path+" through proxy "+h+" with error "+e.message),t()}))}else d("Successfully established a plaintext connection to "+g.path+" through proxy "+h),e({socket:c,realTarget:u});else o.log(r.LogVerbosity.ERROR,"Failed to connect to "+g.path+" through proxy "+h+" with status "+a.statusCode),t()})),l.once("error",(e=>{l.removeAllListeners(),o.log(r.LogVerbosity.ERROR,"Failed to connect to proxy "+h+" with error "+e.message),t()})),l.end()}))}},38268:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.experimental=t.StatusBuilder=t.getClientChannel=t.ServerCredentials=t.Server=t.setLogVerbosity=t.setLogger=t.load=t.loadObject=t.CallCredentials=t.ChannelCredentials=t.waitForClientReady=t.closeClient=t.Channel=t.makeGenericClientConstructor=t.makeClientConstructor=t.loadPackageDefinition=t.Client=t.compressionAlgorithms=t.propagate=t.connectivityState=t.status=t.logVerbosity=t.Metadata=t.credentials=void 0;const o=n(68024);Object.defineProperty(t,"CallCredentials",{enumerable:!0,get:function(){return o.CallCredentials}});const r=n(82906);Object.defineProperty(t,"Channel",{enumerable:!0,get:function(){return r.ChannelImplementation}});const i=n(38313);Object.defineProperty(t,"compressionAlgorithms",{enumerable:!0,get:function(){return i.CompressionAlgorithms}});const a=n(89091);Object.defineProperty(t,"connectivityState",{enumerable:!0,get:function(){return a.ConnectivityState}});const s=n(16643);Object.defineProperty(t,"ChannelCredentials",{enumerable:!0,get:function(){return s.ChannelCredentials}});const l=n(96817);Object.defineProperty(t,"Client",{enumerable:!0,get:function(){return l.Client}});const c=n(65328);Object.defineProperty(t,"logVerbosity",{enumerable:!0,get:function(){return c.LogVerbosity}}),Object.defineProperty(t,"status",{enumerable:!0,get:function(){return c.Status}}),Object.defineProperty(t,"propagate",{enumerable:!0,get:function(){return c.Propagate}});const p=n(51051),u=n(50381);Object.defineProperty(t,"loadPackageDefinition",{enumerable:!0,get:function(){return u.loadPackageDefinition}}),Object.defineProperty(t,"makeClientConstructor",{enumerable:!0,get:function(){return u.makeClientConstructor}}),Object.defineProperty(t,"makeGenericClientConstructor",{enumerable:!0,get:function(){return u.makeClientConstructor}});const d=n(21494);Object.defineProperty(t,"Metadata",{enumerable:!0,get:function(){return d.Metadata}});const g=n(21947);Object.defineProperty(t,"Server",{enumerable:!0,get:function(){return g.Server}});const f=n(77654);Object.defineProperty(t,"ServerCredentials",{enumerable:!0,get:function(){return f.ServerCredentials}});const h=n(69843);Object.defineProperty(t,"StatusBuilder",{enumerable:!0,get:function(){return h.StatusBuilder}}),t.credentials={combineChannelCredentials:(e,...t)=>t.reduce(((e,t)=>e.compose(t)),e),combineCallCredentials:(e,...t)=>t.reduce(((e,t)=>e.compose(t)),e),createInsecure:s.ChannelCredentials.createInsecure,createSsl:s.ChannelCredentials.createSsl,createFromSecureContext:s.ChannelCredentials.createFromSecureContext,createFromMetadataGenerator:o.CallCredentials.createFromMetadataGenerator,createFromGoogleCredential:o.CallCredentials.createFromGoogleCredential,createEmpty:o.CallCredentials.createEmpty},t.closeClient=e=>e.close(),t.waitForClientReady=(e,t,n)=>e.waitForReady(t,n),t.loadObject=(e,t)=>{throw new Error("Not available in this library. Use @grpc/proto-loader and loadPackageDefinition instead")},t.load=(e,t,n)=>{throw new Error("Not available in this library. Use @grpc/proto-loader and loadPackageDefinition instead")},t.setLogger=e=>{p.setLogger(e)},t.setLogVerbosity=e=>{p.setLoggerVerbosity(e)},t.getClientChannel=e=>l.Client.prototype.getChannel.call(e);var m=n(47326);Object.defineProperty(t,"ListenerBuilder",{enumerable:!0,get:function(){return m.ListenerBuilder}}),Object.defineProperty(t,"RequesterBuilder",{enumerable:!0,get:function(){return m.RequesterBuilder}}),Object.defineProperty(t,"InterceptingCall",{enumerable:!0,get:function(){return m.InterceptingCall}}),Object.defineProperty(t,"InterceptorConfigurationError",{enumerable:!0,get:function(){return m.InterceptorConfigurationError}});var y=n(68109);Object.defineProperty(t,"getChannelzServiceDefinition",{enumerable:!0,get:function(){return y.getChannelzServiceDefinition}}),Object.defineProperty(t,"getChannelzHandlers",{enumerable:!0,get:function(){return y.getChannelzHandlers}});var v=n(57935);Object.defineProperty(t,"addAdminServicesToServer",{enumerable:!0,get:function(){return v.addAdminServicesToServer}});const b=n(99937);t.experimental=b;const O=n(29983),w=n(77452),P=n(68103),x=n(12126),S=n(71093),T=n(47911),A=n(68109),E=n(14167).i8;p.trace(c.LogVerbosity.DEBUG,"index","Loading @grpc/grpc-js version "+E),O.setup(),w.setup(),P.setup(),x.setup(),S.setup(),T.setup(),A.setup()},88925:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChildLoadBalancerHandler=void 0;const o=n(95477),r=n(89091);t.ChildLoadBalancerHandler=class{constructor(e){this.channelControlHelper=e,this.currentChild=null,this.pendingChild=null,this.ChildPolicyHelper=class{constructor(e){this.parent=e,this.child=null}createSubchannel(e,t){return this.parent.channelControlHelper.createSubchannel(e,t)}updateState(e,t){var n;if(this.calledByPendingChild()){if(e===r.ConnectivityState.CONNECTING)return;null===(n=this.parent.currentChild)||void 0===n||n.destroy(),this.parent.currentChild=this.parent.pendingChild,this.parent.pendingChild=null}else if(!this.calledByCurrentChild())return;this.parent.channelControlHelper.updateState(e,t)}requestReresolution(){var e;const t=null!==(e=this.parent.pendingChild)&&void 0!==e?e:this.parent.currentChild;this.child===t&&this.parent.channelControlHelper.requestReresolution()}setChild(e){this.child=e}addChannelzChild(e){this.parent.channelControlHelper.addChannelzChild(e)}removeChannelzChild(e){this.parent.channelControlHelper.removeChannelzChild(e)}calledByPendingChild(){return this.child===this.parent.pendingChild}calledByCurrentChild(){return this.child===this.parent.currentChild}}}updateAddressList(e,t,n){let r;if(null===this.currentChild||this.currentChild.getTypeName()!==t.getLoadBalancerName()){const e=new this.ChildPolicyHelper(this),n=o.createLoadBalancer(t,e);e.setChild(n),null===this.currentChild?(this.currentChild=n,r=this.currentChild):(this.pendingChild&&this.pendingChild.destroy(),this.pendingChild=n,r=this.pendingChild)}else r=null===this.pendingChild?this.currentChild:this.pendingChild;r.updateAddressList(e,t,n)}exitIdle(){this.currentChild&&(this.currentChild.exitIdle(),this.pendingChild&&this.pendingChild.exitIdle())}resetBackoff(){this.currentChild&&(this.currentChild.resetBackoff(),this.pendingChild&&this.pendingChild.resetBackoff())}destroy(){this.currentChild&&(this.currentChild.destroy(),this.currentChild=null),this.pendingChild&&(this.pendingChild.destroy(),this.pendingChild=null)}getTypeName(){return"child_load_balancer_helper"}}},47911:(e,t,n)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.setup=t.OutlierDetectionLoadBalancer=t.OutlierDetectionLoadBalancingConfig=void 0;const r=n(89091),i=n(65328),a=n(20300),s=n(99937),l=n(68333),c=n(95477),p=n(88925),u=n(56617),d=n(87297),g=n(75554),f=n(51051);function h(e){f.trace(i.LogVerbosity.DEBUG,"outlier_detection",e)}const m="outlier_detection",y="true"===(null!==(o=process.env.GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION)&&void 0!==o?o:"true"),v={stdev_factor:1900,enforcement_percentage:100,minimum_hosts:5,request_volume:100},b={threshold:85,enforcement_percentage:100,minimum_hosts:5,request_volume:50};function O(e,t,n,o){if(t in e&&typeof e[t]!==n)throw new Error(`outlier detection config ${o?`${o}.${t}`:t} parse error: expected ${n}, got ${typeof e[t]}`)}function w(e,t,n){const o=n?`${n}.${t}`:t;if(t in e){if(!a.isDuration(e[t]))throw new Error(`outlier detection config ${o} parse error: expected Duration, got ${typeof e[t]}`);if(!(e[t].seconds>=0&&e[t].seconds<=315576e6&&e[t].nanos>=0&&e[t].nanos<=999999999))throw new Error(`outlier detection config ${o} parse error: values out of range for non-negative Duaration`)}}function P(e,t,n){const o=n?`${n}.${t}`:t;if(O(e,t,"number",n),t in e&&!(e[t]>=0&&e[t]<=100))throw new Error(`outlier detection config ${o} parse error: value out of range for percentage (0-100)`)}class x{constructor(e,t,n,o,r,i,a){this.childPolicy=a,this.intervalMs=null!=e?e:1e4,this.baseEjectionTimeMs=null!=t?t:3e4,this.maxEjectionTimeMs=null!=n?n:3e5,this.maxEjectionPercent=null!=o?o:10,this.successRateEjection=r?Object.assign(Object.assign({},v),r):null,this.failurePercentageEjection=i?Object.assign(Object.assign({},b),i):null}getLoadBalancerName(){return m}toJsonObject(){return{interval:a.msToDuration(this.intervalMs),base_ejection_time:a.msToDuration(this.baseEjectionTimeMs),max_ejection_time:a.msToDuration(this.maxEjectionTimeMs),max_ejection_percent:this.maxEjectionPercent,success_rate_ejection:this.successRateEjection,failure_percentage_ejection:this.failurePercentageEjection,child_policy:this.childPolicy.map((e=>e.toJsonObject()))}}getIntervalMs(){return this.intervalMs}getBaseEjectionTimeMs(){return this.baseEjectionTimeMs}getMaxEjectionTimeMs(){return this.maxEjectionTimeMs}getMaxEjectionPercent(){return this.maxEjectionPercent}getSuccessRateEjectionConfig(){return this.successRateEjection}getFailurePercentageEjectionConfig(){return this.failurePercentageEjection}getChildPolicy(){return this.childPolicy}copyWithChildPolicy(e){return new x(this.intervalMs,this.baseEjectionTimeMs,this.maxEjectionTimeMs,this.maxEjectionPercent,this.successRateEjection,this.failurePercentageEjection,e)}static createFromJson(e){var t;if(w(e,"interval"),w(e,"base_ejection_time"),w(e,"max_ejection_time"),P(e,"max_ejection_percent"),"success_rate_ejection"in e){if("object"!=typeof e.success_rate_ejection)throw new Error("outlier detection config success_rate_ejection must be an object");O(e.success_rate_ejection,"stdev_factor","number","success_rate_ejection"),P(e.success_rate_ejection,"enforcement_percentage","success_rate_ejection"),O(e.success_rate_ejection,"minimum_hosts","number","success_rate_ejection"),O(e.success_rate_ejection,"request_volume","number","success_rate_ejection")}if("failure_percentage_ejection"in e){if("object"!=typeof e.failure_percentage_ejection)throw new Error("outlier detection config failure_percentage_ejection must be an object");P(e.failure_percentage_ejection,"threshold","failure_percentage_ejection"),P(e.failure_percentage_ejection,"enforcement_percentage","failure_percentage_ejection"),O(e.failure_percentage_ejection,"minimum_hosts","number","failure_percentage_ejection"),O(e.failure_percentage_ejection,"request_volume","number","failure_percentage_ejection")}return new x(e.interval?a.durationToMs(e.interval):null,e.base_ejection_time?a.durationToMs(e.base_ejection_time):null,e.max_ejection_time?a.durationToMs(e.max_ejection_time):null,null!==(t=e.max_ejection_percent)&&void 0!==t?t:null,e.success_rate_ejection,e.failure_percentage_ejection,e.child_policy.map(c.validateLoadBalancingConfig))}}t.OutlierDetectionLoadBalancingConfig=x;class S extends g.BaseSubchannelWrapper{constructor(e,t){super(e),this.mapEntry=t,this.stateListeners=[],this.ejected=!1,this.refCount=0,this.childSubchannelState=e.getConnectivityState(),e.addConnectivityStateListener(((e,t,n)=>{if(this.childSubchannelState=n,!this.ejected)for(const e of this.stateListeners)e(this,t,n)}))}getConnectivityState(){return this.ejected?r.ConnectivityState.TRANSIENT_FAILURE:this.childSubchannelState}addConnectivityStateListener(e){this.stateListeners.push(e)}removeConnectivityStateListener(e){const t=this.stateListeners.indexOf(e);t>-1&&this.stateListeners.splice(t,1)}ref(){this.child.ref(),this.refCount+=1}unref(){if(this.child.unref(),this.refCount-=1,this.refCount<=0&&this.mapEntry){const e=this.mapEntry.subchannelWrappers.indexOf(this);e>=0&&this.mapEntry.subchannelWrappers.splice(e,1)}}eject(){this.ejected=!0;for(const e of this.stateListeners)e(this,this.childSubchannelState,r.ConnectivityState.TRANSIENT_FAILURE)}uneject(){this.ejected=!1;for(const e of this.stateListeners)e(this,r.ConnectivityState.TRANSIENT_FAILURE,this.childSubchannelState)}getMapEntry(){return this.mapEntry}getWrappedSubchannel(){return this.child}}class T{constructor(){this.activeBucket={success:0,failure:0},this.inactiveBucket={success:0,failure:0}}addSuccess(){this.activeBucket.success+=1}addFailure(){this.activeBucket.failure+=1}switchBuckets(){this.inactiveBucket=this.activeBucket,this.activeBucket={success:0,failure:0}}getLastSuccesses(){return this.inactiveBucket.success}getLastFailures(){return this.inactiveBucket.failure}}class A extends l.BaseFilter{constructor(e){super(),this.callCounter=e}receiveTrailers(e){return e.code===i.Status.OK?this.callCounter.addSuccess():this.callCounter.addFailure(),e}}class E{constructor(e){this.callCounter=e}createFilter(e){return new A(this.callCounter)}}class j{constructor(e,t){this.wrappedPicker=e,this.countCalls=t}pick(e){const t=this.wrappedPicker.pick(e);if(t.pickResultType===u.PickResultType.COMPLETE){const e=t.subchannel,n=e.getMapEntry();if(n){const o=[...t.extraFilterFactories];return this.countCalls&&o.push(new E(n.counter)),Object.assign(Object.assign({},t),{subchannel:e.getWrappedSubchannel(),extraFilterFactories:o})}return Object.assign(Object.assign({},t),{subchannel:e.getWrappedSubchannel()})}return t}}class k{constructor(e){this.addressMap=new Map,this.latestConfig=null,this.timerStartTime=null,this.childBalancer=new p.ChildLoadBalancerHandler(s.createChildChannelControlHelper(e,{createSubchannel:(t,n)=>{const o=e.createSubchannel(t,n),r=this.addressMap.get(d.subchannelAddressToString(t)),i=new S(o,r);return null!==(null==r?void 0:r.currentEjectionTimestamp)&&i.eject(),null==r||r.subchannelWrappers.push(i),i},updateState:(t,n)=>{t===r.ConnectivityState.READY?e.updateState(t,new j(n,this.isCountingEnabled())):e.updateState(t,n)}})),this.ejectionTimer=setInterval((()=>{}),0),clearInterval(this.ejectionTimer)}isCountingEnabled(){return null!==this.latestConfig&&(null!==this.latestConfig.getSuccessRateEjectionConfig()||null!==this.latestConfig.getFailurePercentageEjectionConfig())}getCurrentEjectionPercent(){let e=0;for(const t of this.addressMap.values())null!==t.currentEjectionTimestamp&&(e+=1);return 100*e/this.addressMap.size}runSuccessRateCheck(e){if(!this.latestConfig)return;const t=this.latestConfig.getSuccessRateEjectionConfig();if(!t)return;h("Running success rate check");const n=t.request_volume;let o=0;const r=[];for(const e of this.addressMap.values()){const t=e.counter.getLastSuccesses(),i=e.counter.getLastFailures();t+i>=n&&(o+=1,r.push(t/(t+i)))}if(h("Found "+o+" success rate candidates; currentEjectionPercent="+this.getCurrentEjectionPercent()+" successRates=["+r+"]"),oe+t))/r.length;let a=0;for(const e of r){const t=e-i;a+=t*t}const s=a/r.length,l=Math.sqrt(s),c=i-l*(t.stdev_factor/1e3);h("stdev="+l+" ejectionThreshold="+c);for(const[o,r]of this.addressMap.entries()){if(this.getCurrentEjectionPercent()>=this.latestConfig.getMaxEjectionPercent())break;const i=r.counter.getLastSuccesses(),a=r.counter.getLastFailures();if(i+athis.runChecks()),e)}runChecks(){const e=new Date;if(h("Ejection timer running"),this.switchAllBuckets(),this.latestConfig){this.timerStartTime=e,this.startTimer(this.latestConfig.getIntervalMs()),this.runSuccessRateCheck(e),this.runFailurePercentageCheck(e);for(const[e,t]of this.addressMap.entries())if(null===t.currentEjectionTimestamp)t.ejectionTimeMultiplier>0&&(t.ejectionTimeMultiplier-=1);else{const n=this.latestConfig.getBaseEjectionTimeMs(),o=this.latestConfig.getMaxEjectionTimeMs(),r=new Date(t.currentEjectionTimestamp.getTime());r.setMilliseconds(r.getMilliseconds()+Math.min(n*t.ejectionTimeMultiplier,Math.max(n,o))),r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setup=t.PickFirstLoadBalancer=t.PickFirstLoadBalancingConfig=void 0;const o=n(95477),r=n(89091),i=n(56617),a=n(87297),s=n(51051),l=n(65328);function c(e){s.trace(l.LogVerbosity.DEBUG,"pick_first",e)}const p="pick_first";class u{getLoadBalancerName(){return p}constructor(){}toJsonObject(){return{[p]:{}}}static createFromJson(e){return new u}}t.PickFirstLoadBalancingConfig=u;class d{constructor(e){this.subchannel=e}pick(e){return{pickResultType:i.PickResultType.COMPLETE,subchannel:this.subchannel,status:null,extraFilterFactories:[],onCallStarted:null}}}class g{constructor(e){this.channelControlHelper=e,this.latestAddressList=[],this.subchannels=[],this.currentState=r.ConnectivityState.IDLE,this.currentSubchannelIndex=0,this.currentPick=null,this.triedAllSubchannels=!1,this.subchannelStateCounts={[r.ConnectivityState.CONNECTING]:0,[r.ConnectivityState.IDLE]:0,[r.ConnectivityState.READY]:0,[r.ConnectivityState.SHUTDOWN]:0,[r.ConnectivityState.TRANSIENT_FAILURE]:0},this.subchannelStateListener=(e,t,n)=>{if(this.subchannelStateCounts[t]-=1,this.subchannelStateCounts[n]+=1,e===this.subchannels[this.currentSubchannelIndex]&&n===r.ConnectivityState.TRANSIENT_FAILURE&&this.startNextSubchannelConnecting(),n!==r.ConnectivityState.READY){if(this.triedAllSubchannels&&this.subchannelStateCounts[r.ConnectivityState.IDLE]===this.subchannels.length)return this.resetSubchannelList(!1),void this.updateState(r.ConnectivityState.IDLE,new i.QueuePicker(this));if(null===this.currentPick)if(this.triedAllSubchannels){let e;e=this.subchannelStateCounts[r.ConnectivityState.CONNECTING]>0?r.ConnectivityState.CONNECTING:this.subchannelStateCounts[r.ConnectivityState.TRANSIENT_FAILURE]>0?r.ConnectivityState.TRANSIENT_FAILURE:r.ConnectivityState.IDLE,e!==this.currentState&&(e===r.ConnectivityState.TRANSIENT_FAILURE?this.updateState(e,new i.UnavailablePicker):this.updateState(e,new i.QueuePicker(this)))}else this.updateState(r.ConnectivityState.CONNECTING,new i.QueuePicker(this))}else this.pickSubchannel(e)},this.pickedSubchannelStateListener=(e,t,n)=>{if(n!==r.ConnectivityState.READY)if(this.currentPick=null,e.unref(),e.removeConnectivityStateListener(this.pickedSubchannelStateListener),this.channelControlHelper.removeChannelzChild(e.getChannelzRef()),this.subchannels.length>0)if(this.triedAllSubchannels){let e;e=this.subchannelStateCounts[r.ConnectivityState.CONNECTING]>0?r.ConnectivityState.CONNECTING:this.subchannelStateCounts[r.ConnectivityState.TRANSIENT_FAILURE]>0?r.ConnectivityState.TRANSIENT_FAILURE:r.ConnectivityState.IDLE,e===r.ConnectivityState.TRANSIENT_FAILURE?this.updateState(e,new i.UnavailablePicker):this.updateState(e,new i.QueuePicker(this))}else this.updateState(r.ConnectivityState.CONNECTING,new i.QueuePicker(this));else this.updateState(r.ConnectivityState.IDLE,new i.QueuePicker(this))},this.connectionDelayTimeout=setTimeout((()=>{}),0),clearTimeout(this.connectionDelayTimeout)}startNextSubchannelConnecting(){if(!this.triedAllSubchannels){for(const[e,t]of this.subchannels.entries())if(e>this.currentSubchannelIndex){const n=t.getConnectivityState();if(n===r.ConnectivityState.IDLE||n===r.ConnectivityState.CONNECTING)return void this.startConnecting(e)}this.triedAllSubchannels=!0}}startConnecting(e){clearTimeout(this.connectionDelayTimeout),this.currentSubchannelIndex=e,this.subchannels[e].getConnectivityState()===r.ConnectivityState.IDLE&&(c("Start connecting to subchannel with address "+this.subchannels[e].getAddress()),process.nextTick((()=>{this.subchannels[e].startConnecting()}))),this.connectionDelayTimeout=setTimeout((()=>{this.startNextSubchannelConnecting()}),250)}pickSubchannel(e){c("Pick subchannel with address "+e.getAddress()),null!==this.currentPick&&(this.currentPick.unref(),this.currentPick.removeConnectivityStateListener(this.pickedSubchannelStateListener)),this.currentPick=e,this.updateState(r.ConnectivityState.READY,new d(e)),e.addConnectivityStateListener(this.pickedSubchannelStateListener),e.ref(),this.channelControlHelper.addChannelzChild(e.getChannelzRef()),this.resetSubchannelList(),clearTimeout(this.connectionDelayTimeout)}updateState(e,t){c(r.ConnectivityState[this.currentState]+" -> "+r.ConnectivityState[e]),this.currentState=e,this.channelControlHelper.updateState(e,t)}resetSubchannelList(e=!0){for(const e of this.subchannels)e.removeConnectivityStateListener(this.subchannelStateListener),e.unref(),this.channelControlHelper.removeChannelzChild(e.getChannelzRef());this.currentSubchannelIndex=0,this.subchannelStateCounts={[r.ConnectivityState.CONNECTING]:0,[r.ConnectivityState.IDLE]:0,[r.ConnectivityState.READY]:0,[r.ConnectivityState.SHUTDOWN]:0,[r.ConnectivityState.TRANSIENT_FAILURE]:0},this.subchannels=[],e&&(this.triedAllSubchannels=!1)}connectToAddressList(){this.resetSubchannelList(),c("Connect to address list "+this.latestAddressList.map((e=>a.subchannelAddressToString(e)))),this.subchannels=this.latestAddressList.map((e=>this.channelControlHelper.createSubchannel(e,{})));for(const e of this.subchannels)e.ref(),this.channelControlHelper.addChannelzChild(e.getChannelzRef());for(const e of this.subchannels)if(e.addConnectivityStateListener(this.subchannelStateListener),this.subchannelStateCounts[e.getConnectivityState()]+=1,e.getConnectivityState()===r.ConnectivityState.READY)return this.pickSubchannel(e),void this.resetSubchannelList();for(const[e,t]of this.subchannels.entries()){const n=t.getConnectivityState();if(n===r.ConnectivityState.IDLE||n===r.ConnectivityState.CONNECTING)return this.startConnecting(e),void(null===this.currentPick&&this.updateState(r.ConnectivityState.CONNECTING,new i.QueuePicker(this)))}null===this.currentPick&&this.updateState(r.ConnectivityState.TRANSIENT_FAILURE,new i.UnavailablePicker)}updateAddressList(e,t){0!==this.subchannels.length&&this.latestAddressList.every(((t,n)=>e[n]===t))||(this.latestAddressList=e,this.connectToAddressList())}exitIdle(){(this.currentState===r.ConnectivityState.IDLE||this.triedAllSubchannels)&&this.channelControlHelper.requestReresolution();for(const e of this.subchannels)e.startConnecting();this.currentState===r.ConnectivityState.IDLE&&this.latestAddressList.length>0&&this.connectToAddressList()}resetBackoff(){}destroy(){if(this.resetSubchannelList(),null!==this.currentPick){const e=this.currentPick;e.unref(),e.removeConnectivityStateListener(this.pickedSubchannelStateListener),this.channelControlHelper.removeChannelzChild(e.getChannelzRef())}}getTypeName(){return p}}t.PickFirstLoadBalancer=g,t.setup=function(){o.registerLoadBalancerType(p,g,u),o.registerDefaultLoadBalancerType(p)}},71093:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setup=t.RoundRobinLoadBalancer=void 0;const o=n(95477),r=n(89091),i=n(56617),a=n(87297),s=n(51051),l=n(65328);function c(e){s.trace(l.LogVerbosity.DEBUG,"round_robin",e)}const p="round_robin";class u{getLoadBalancerName(){return p}constructor(){}toJsonObject(){return{[p]:{}}}static createFromJson(e){return new u}}class d{constructor(e,t=0){this.subchannelList=e,this.nextIndex=t}pick(e){const t=this.subchannelList[this.nextIndex];return this.nextIndex=(this.nextIndex+1)%this.subchannelList.length,{pickResultType:i.PickResultType.COMPLETE,subchannel:t,status:null,extraFilterFactories:[],onCallStarted:null}}peekNextSubchannel(){return this.subchannelList[this.nextIndex]}}class g{constructor(e){this.channelControlHelper=e,this.subchannels=[],this.currentState=r.ConnectivityState.IDLE,this.currentReadyPicker=null,this.subchannelStateCounts={[r.ConnectivityState.CONNECTING]:0,[r.ConnectivityState.IDLE]:0,[r.ConnectivityState.READY]:0,[r.ConnectivityState.SHUTDOWN]:0,[r.ConnectivityState.TRANSIENT_FAILURE]:0},this.subchannelStateListener=(e,t,n)=>{this.subchannelStateCounts[t]-=1,this.subchannelStateCounts[n]+=1,this.calculateAndUpdateState(),n!==r.ConnectivityState.TRANSIENT_FAILURE&&n!==r.ConnectivityState.IDLE||(this.channelControlHelper.requestReresolution(),e.startConnecting())}}calculateAndUpdateState(){if(this.subchannelStateCounts[r.ConnectivityState.READY]>0){const e=this.subchannels.filter((e=>e.getConnectivityState()===r.ConnectivityState.READY));let t=0;null!==this.currentReadyPicker&&(t=e.indexOf(this.currentReadyPicker.peekNextSubchannel()),t<0&&(t=0)),this.updateState(r.ConnectivityState.READY,new d(e,t))}else this.subchannelStateCounts[r.ConnectivityState.CONNECTING]>0?this.updateState(r.ConnectivityState.CONNECTING,new i.QueuePicker(this)):this.subchannelStateCounts[r.ConnectivityState.TRANSIENT_FAILURE]>0?this.updateState(r.ConnectivityState.TRANSIENT_FAILURE,new i.UnavailablePicker):this.updateState(r.ConnectivityState.IDLE,new i.QueuePicker(this))}updateState(e,t){c(r.ConnectivityState[this.currentState]+" -> "+r.ConnectivityState[e]),e===r.ConnectivityState.READY?this.currentReadyPicker=t:this.currentReadyPicker=null,this.currentState=e,this.channelControlHelper.updateState(e,t)}resetSubchannelList(){for(const e of this.subchannels)e.removeConnectivityStateListener(this.subchannelStateListener),e.unref(),this.channelControlHelper.removeChannelzChild(e.getChannelzRef());this.subchannelStateCounts={[r.ConnectivityState.CONNECTING]:0,[r.ConnectivityState.IDLE]:0,[r.ConnectivityState.READY]:0,[r.ConnectivityState.SHUTDOWN]:0,[r.ConnectivityState.TRANSIENT_FAILURE]:0},this.subchannels=[]}updateAddressList(e,t){this.resetSubchannelList(),c("Connect to address list "+e.map((e=>a.subchannelAddressToString(e)))),this.subchannels=e.map((e=>this.channelControlHelper.createSubchannel(e,{})));for(const e of this.subchannels){e.ref(),e.addConnectivityStateListener(this.subchannelStateListener),this.channelControlHelper.addChannelzChild(e.getChannelzRef());const t=e.getConnectivityState();this.subchannelStateCounts[t]+=1,t!==r.ConnectivityState.IDLE&&t!==r.ConnectivityState.TRANSIENT_FAILURE||e.startConnecting()}this.calculateAndUpdateState()}exitIdle(){for(const e of this.subchannels)e.startConnecting()}resetBackoff(){}destroy(){this.resetSubchannelList()}getTypeName(){return p}}t.RoundRobinLoadBalancer=g,t.setup=function(){o.registerLoadBalancerType(p,g,u)}},95477:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateLoadBalancingConfig=t.getFirstUsableConfig=t.isLoadBalancerNameRegistered=t.createLoadBalancer=t.registerDefaultLoadBalancerType=t.registerLoadBalancerType=t.createChildChannelControlHelper=void 0,t.createChildChannelControlHelper=function(e,t){var n,o,r,i,a,s,l,c,p,u;return{createSubchannel:null!==(o=null===(n=t.createSubchannel)||void 0===n?void 0:n.bind(t))&&void 0!==o?o:e.createSubchannel.bind(e),updateState:null!==(i=null===(r=t.updateState)||void 0===r?void 0:r.bind(t))&&void 0!==i?i:e.updateState.bind(e),requestReresolution:null!==(s=null===(a=t.requestReresolution)||void 0===a?void 0:a.bind(t))&&void 0!==s?s:e.requestReresolution.bind(e),addChannelzChild:null!==(c=null===(l=t.addChannelzChild)||void 0===l?void 0:l.bind(t))&&void 0!==c?c:e.addChannelzChild.bind(e),removeChannelzChild:null!==(u=null===(p=t.removeChannelzChild)||void 0===p?void 0:p.bind(t))&&void 0!==u?u:e.removeChannelzChild.bind(e)}};const n={};let o=null;t.registerLoadBalancerType=function(e,t,o){n[e]={LoadBalancer:t,LoadBalancingConfig:o}},t.registerDefaultLoadBalancerType=function(e){o=e},t.createLoadBalancer=function(e,t){const o=e.getLoadBalancerName();return o in n?new n[o].LoadBalancer(t):null},t.isLoadBalancerNameRegistered=function(e){return e in n},t.getFirstUsableConfig=function(e,t=!1){for(const t of e)if(t.getLoadBalancerName()in n)return t;return t&&o?new n[o].LoadBalancingConfig:null},t.validateLoadBalancingConfig=function(e){if(null===e||"object"!=typeof e)throw new Error("Load balancing config must be an object");const t=Object.keys(e);if(1!==t.length)throw new Error("Provided load balancing config has multiple conflicting entries");const o=t[0];if(o in n)return n[o].LoadBalancingConfig.createFromJson(e[o]);throw new Error(`Unrecognized load balancing config name ${o}`)}},51051:(e,t,n)=>{"use strict";var o,r,i,a;Object.defineProperty(t,"__esModule",{value:!0}),t.isTracerEnabled=t.trace=t.log=t.setLoggerVerbosity=t.setLogger=t.getLogger=void 0;const s=n(65328);let l={error:(e,...t)=>{console.error("E "+e,...t)},info:(e,...t)=>{console.error("I "+e,...t)},debug:(e,...t)=>{console.error("D "+e,...t)}},c=s.LogVerbosity.ERROR;switch((null!==(r=null!==(o=process.env.GRPC_NODE_VERBOSITY)&&void 0!==o?o:process.env.GRPC_VERBOSITY)&&void 0!==r?r:"").toUpperCase()){case"DEBUG":c=s.LogVerbosity.DEBUG;break;case"INFO":c=s.LogVerbosity.INFO;break;case"ERROR":c=s.LogVerbosity.ERROR;break;case"NONE":c=s.LogVerbosity.NONE}t.getLogger=()=>l,t.setLogger=e=>{l=e},t.setLoggerVerbosity=e=>{c=e},t.log=(e,...t)=>{let n;if(e>=c){switch(e){case s.LogVerbosity.DEBUG:n=l.debug;break;case s.LogVerbosity.INFO:n=l.info;break;case s.LogVerbosity.ERROR:n=l.error}n||(n=l.error),n&&n.bind(l)(...t)}};const p=null!==(a=null!==(i=process.env.GRPC_NODE_TRACE)&&void 0!==i?i:process.env.GRPC_TRACE)&&void 0!==a?a:"",u=new Set,d=new Set;for(const e of p.split(","))e.startsWith("-")?d.add(e.substring(1)):u.add(e);const g=u.has("all");function f(e){return!d.has(e)&&(g||u.has(e))}t.trace=function(e,n,o){f(n)&&t.log(e,(new Date).toISOString()+" | "+n+" | "+o)},t.isTracerEnabled=f},50381:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadPackageDefinition=t.makeClientConstructor=void 0;const o=n(96817),r={unary:o.Client.prototype.makeUnaryRequest,server_stream:o.Client.prototype.makeServerStreamRequest,client_stream:o.Client.prototype.makeClientStreamRequest,bidi:o.Client.prototype.makeBidiStreamRequest};function i(e){return["__proto__","prototype","constructor"].includes(e)}function a(e,t,n){n||(n={});class a extends o.Client{}return Object.keys(e).forEach((t=>{if(i(t))return;const n=e[t];let o;if("string"==typeof t&&"$"===t.charAt(0))throw new Error("Method names cannot start with $");o=n.requestStream?n.responseStream?"bidi":"client_stream":n.responseStream?"server_stream":"unary";const s=n.requestSerialize,l=n.responseDeserialize,c=function(e,t,n,o){return function(...r){return e.call(this,t,n,o,...r)}}(r[o],n.path,s,l);a.prototype[t]=c,Object.assign(a.prototype[t],n),n.originalName&&!i(n.originalName)&&(a.prototype[n.originalName]=a.prototype[t])})),a.service=e,a.serviceName=t,a}t.makeClientConstructor=a,t.loadPackageDefinition=function(e){const t={};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const r=e[o],s=o.split(".");if(s.some((e=>i(e))))continue;const l=s[s.length-1];let c=t;for(const e of s.slice(0,-1))c[e]||(c[e]={}),c=c[e];n=r,c[l]="format"in n?r:a(r,l,{})}var n;return t}},65146:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MaxMessageSizeFilterFactory=t.MaxMessageSizeFilter=void 0;const o=n(68333),r=n(65328);class i extends o.BaseFilter{constructor(e,t){super(),this.options=e,this.callStream=t,this.maxSendMessageSize=r.DEFAULT_MAX_SEND_MESSAGE_LENGTH,this.maxReceiveMessageSize=r.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH,"grpc.max_send_message_length"in e&&(this.maxSendMessageSize=e["grpc.max_send_message_length"]),"grpc.max_receive_message_length"in e&&(this.maxReceiveMessageSize=e["grpc.max_receive_message_length"])}async sendMessage(e){if(-1===this.maxSendMessageSize)return e;{const t=await e;return t.message.length>this.maxSendMessageSize?(this.callStream.cancelWithStatus(r.Status.RESOURCE_EXHAUSTED,`Sent message larger than max (${t.message.length} vs. ${this.maxSendMessageSize})`),Promise.reject("Message too large")):t}}async receiveMessage(e){if(-1===this.maxReceiveMessageSize)return e;{const t=await e;return t.length>this.maxReceiveMessageSize?(this.callStream.cancelWithStatus(r.Status.RESOURCE_EXHAUSTED,`Received message larger than max (${t.length} vs. ${this.maxReceiveMessageSize})`),Promise.reject("Message too large")):t}}}t.MaxMessageSizeFilter=i,t.MaxMessageSizeFilterFactory=class{constructor(e){this.options=e}createFilter(e){return new i(this.options,e)}}},21494:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;const o=n(51051),r=n(65328),i=/^[0-9a-z_.-]+$/,a=/^[ -~]*$/;function s(e){return e.endsWith("-bin")}function l(e){return!e.startsWith("grpc-")}function c(e){return e.toLowerCase()}function p(e,t){if(!function(e){return i.test(e)}(e))throw new Error('Metadata key "'+e+'" contains illegal characters');if(null!=t)if(s(e)){if(!Buffer.isBuffer(t))throw new Error("keys that end with '-bin' must have Buffer values")}else{if(Buffer.isBuffer(t))throw new Error("keys that don't end with '-bin' must have String values");if(!function(e){return a.test(e)}(t))throw new Error('Metadata string value "'+t+'" contains illegal characters')}}class u{constructor(e={}){this.internalRepr=new Map,this.options=e}set(e,t){p(e=c(e),t),this.internalRepr.set(e,[t])}add(e,t){p(e=c(e),t);const n=this.internalRepr.get(e);void 0===n?this.internalRepr.set(e,[t]):n.push(t)}remove(e){e=c(e),this.internalRepr.delete(e)}get(e){return e=c(e),this.internalRepr.get(e)||[]}getMap(){const e={};for(const[t,n]of this.internalRepr)if(n.length>0){const o=n[0];e[t]=Buffer.isBuffer(o)?Buffer.from(o):o}return e}clone(){const e=new u(this.options),t=e.internalRepr;for(const[e,n]of this.internalRepr){const o=n.map((e=>Buffer.isBuffer(e)?Buffer.from(e):e));t.set(e,o)}return e}merge(e){for(const[t,n]of e.internalRepr){const e=(this.internalRepr.get(t)||[]).concat(n);this.internalRepr.set(t,e)}}setOptions(e){this.options=e}getOptions(){return this.options}toHttp2Headers(){const e={};for(const[t,n]of this.internalRepr)e[t]=n.map(d);return e}_getCoreRepresentation(){return this.internalRepr}toJSON(){const e={};for(const[t,n]of this.internalRepr)e[t]=n;return e}static fromHttp2Headers(e){const t=new u;for(const n of Object.keys(e)){if(":"===n.charAt(0))continue;const i=e[n];try{s(n)?Array.isArray(i)?i.forEach((e=>{t.add(n,Buffer.from(e,"base64"))})):void 0!==i&&(l(n)?i.split(",").forEach((e=>{t.add(n,Buffer.from(e.trim(),"base64"))})):t.add(n,Buffer.from(i,"base64"))):Array.isArray(i)?i.forEach((e=>{t.add(n,e)})):void 0!==i&&t.add(n,i)}catch(e){const t=`Failed to add metadata entry ${n}: ${i}. ${e.message}. For more information see https://github.com/grpc/grpc-node/issues/1173`;o.log(r.LogVerbosity.ERROR,t)}}return t}}t.Metadata=u;const d=e=>Buffer.isBuffer(e)?e.toString("base64"):e},56617:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QueuePicker=t.UnavailablePicker=t.PickResultType=void 0;const o=n(21494),r=n(65328);var i;!function(e){e[e.COMPLETE=0]="COMPLETE",e[e.QUEUE=1]="QUEUE",e[e.TRANSIENT_FAILURE=2]="TRANSIENT_FAILURE",e[e.DROP=3]="DROP"}(i=t.PickResultType||(t.PickResultType={})),t.UnavailablePicker=class{constructor(e){this.status=void 0!==e?e:{code:r.Status.UNAVAILABLE,details:"No connection established",metadata:new o.Metadata}}pick(e){return{pickResultType:i.TRANSIENT_FAILURE,subchannel:null,status:this.status,extraFilterFactories:[],onCallStarted:null}}},t.QueuePicker=class{constructor(e){this.loadBalancer=e,this.calledExitIdle=!1}pick(e){return this.calledExitIdle||(process.nextTick((()=>{this.loadBalancer.exitIdle()})),this.calledExitIdle=!0),{pickResultType:i.QUEUE,subchannel:null,status:null,extraFilterFactories:[],onCallStarted:null}}}},29983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setup=void 0;const o=n(17394),r=n(9523),i=n(73837),a=n(50687),s=n(65328),l=n(21494),c=n(51051),p=n(65328),u=n(8084),d=n(41808),g=n(11257);function f(e){c.trace(p.LogVerbosity.DEBUG,"dns_resolver",e)}const h=i.promisify(r.resolveTxt),m=i.promisify(r.lookup);class y{constructor(e,t,n){var o,r,i;this.target=e,this.listener=t,this.pendingLookupPromise=null,this.pendingTxtPromise=null,this.latestLookupResult=null,this.latestServiceConfig=null,this.latestServiceConfigError=null,this.continueResolving=!1,this.isNextResolutionTimerRunning=!1,f("Resolver constructed for target "+u.uriToString(e));const a=u.splitHostPort(e.path);null===a?(this.ipResult=null,this.dnsHostname=null,this.port=null):d.isIPv4(a.host)||d.isIPv6(a.host)?(this.ipResult=[{host:a.host,port:null!==(o=a.port)&&void 0!==o?o:443}],this.dnsHostname=null,this.port=null):(this.ipResult=null,this.dnsHostname=a.host,this.port=null!==(r=a.port)&&void 0!==r?r:443),this.percentage=100*Math.random(),this.defaultResolutionError={code:s.Status.UNAVAILABLE,details:`Name resolution failed for target ${u.uriToString(this.target)}`,metadata:new l.Metadata};const c={initialDelay:n["grpc.initial_reconnect_backoff_ms"],maxDelay:n["grpc.max_reconnect_backoff_ms"]};this.backoff=new g.BackoffTimeout((()=>{this.continueResolving&&this.startResolutionWithBackoff()}),c),this.backoff.unref(),this.minTimeBetweenResolutionsMs=null!==(i=n["grpc.dns_min_time_between_resolutions_ms"])&&void 0!==i?i:3e4,this.nextResolutionTimer=setTimeout((()=>{}),0),clearTimeout(this.nextResolutionTimer)}startResolution(){if(null!==this.ipResult)return f("Returning IP address for target "+u.uriToString(this.target)),setImmediate((()=>{this.listener.onSuccessfulResolution(this.ipResult,null,null,null,{})})),this.backoff.stop(),void this.backoff.reset();if(null===this.dnsHostname)f("Failed to parse DNS address "+u.uriToString(this.target)),setImmediate((()=>{this.listener.onError({code:s.Status.UNAVAILABLE,details:`Failed to parse DNS address ${u.uriToString(this.target)}`,metadata:new l.Metadata})})),this.stopNextResolutionTimer();else{if(null!==this.pendingLookupPromise)return;f("Looking up DNS hostname "+this.dnsHostname),this.latestLookupResult=null;const e=this.dnsHostname;this.pendingLookupPromise=m(e,{all:!0}),this.pendingLookupPromise.then((e=>{this.pendingLookupPromise=null,this.backoff.reset(),this.backoff.stop();const t=e.filter((e=>4===e.family)),n=e.filter((e=>6===e.family));this.latestLookupResult=function(...e){const t=[];for(let n=0;ne.length)));n++)for(const o of e)n({host:e.address,port:+this.port})));const o="["+this.latestLookupResult.map((e=>e.host+":"+e.port)).join(",")+"]";f("Resolved addresses for target "+u.uriToString(this.target)+": "+o),0!==this.latestLookupResult.length?this.listener.onSuccessfulResolution(this.latestLookupResult,this.latestServiceConfig,this.latestServiceConfigError,null,{}):this.listener.onError(this.defaultResolutionError)}),(e=>{f("Resolution error for target "+u.uriToString(this.target)+": "+e.message),this.pendingLookupPromise=null,this.stopNextResolutionTimer(),this.listener.onError(this.defaultResolutionError)})),null===this.pendingTxtPromise&&(this.pendingTxtPromise=h(e),this.pendingTxtPromise.then((e=>{this.pendingTxtPromise=null;try{this.latestServiceConfig=a.extractAndSelectServiceConfig(e,this.percentage)}catch(e){this.latestServiceConfigError={code:s.Status.UNAVAILABLE,details:"Parsing service config failed",metadata:new l.Metadata}}null!==this.latestLookupResult&&this.listener.onSuccessfulResolution(this.latestLookupResult,this.latestServiceConfig,this.latestServiceConfigError,null,{})}),(e=>{})))}}startNextResolutionTimer(){var e,t;clearTimeout(this.nextResolutionTimer),this.nextResolutionTimer=null===(t=(e=setTimeout((()=>{this.stopNextResolutionTimer(),this.continueResolving&&this.startResolutionWithBackoff()}),this.minTimeBetweenResolutionsMs)).unref)||void 0===t?void 0:t.call(e),this.isNextResolutionTimerRunning=!0}stopNextResolutionTimer(){clearTimeout(this.nextResolutionTimer),this.isNextResolutionTimerRunning=!1}startResolutionWithBackoff(){null===this.pendingLookupPromise&&(this.continueResolving=!1,this.startResolution(),this.backoff.runOnce(),this.startNextResolutionTimer())}updateResolution(){null===this.pendingLookupPromise&&(this.isNextResolutionTimerRunning||this.backoff.isRunning()?this.continueResolving=!0:this.startResolutionWithBackoff())}destroy(){this.continueResolving=!1,this.backoff.stop(),this.stopNextResolutionTimer()}static getDefaultAuthority(e){return e.path}}t.setup=function(){o.registerResolver("dns",y),o.registerDefaultScheme("dns")}},68103:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setup=void 0;const o=n(41808),r=n(65328),i=n(21494),a=n(17394),s=n(8084),l=n(51051);function c(e){l.trace(r.LogVerbosity.DEBUG,"ip_resolver",e)}const p="ipv4",u="ipv6";class d{constructor(e,t,n){var a;this.target=e,this.listener=t,this.addresses=[],this.error=null,c("Resolver constructed for target "+s.uriToString(e));const l=[];if(e.scheme!==p&&e.scheme!==u)return void(this.error={code:r.Status.UNAVAILABLE,details:`Unrecognized scheme ${e.scheme} in IP resolver`,metadata:new i.Metadata});const d=e.path.split(",");for(const t of d){const n=s.splitHostPort(t);if(null===n)return void(this.error={code:r.Status.UNAVAILABLE,details:`Failed to parse ${e.scheme} address ${t}`,metadata:new i.Metadata});if(e.scheme===p&&!o.isIPv4(n.host)||e.scheme===u&&!o.isIPv6(n.host))return void(this.error={code:r.Status.UNAVAILABLE,details:`Failed to parse ${e.scheme} address ${t}`,metadata:new i.Metadata});l.push({host:n.host,port:null!==(a=n.port)&&void 0!==a?a:443})}this.addresses=l,c("Parsed "+e.scheme+" address list "+this.addresses)}updateResolution(){process.nextTick((()=>{this.error?this.listener.onError(this.error):this.listener.onSuccessfulResolution(this.addresses,null,null,null,{})}))}destroy(){}static getDefaultAuthority(e){return e.path.split(",")[0]}}t.setup=function(){a.registerResolver(p,d),a.registerResolver(u,d)}},77452:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setup=void 0;const o=n(17394);class r{constructor(e,t,n){let o;this.listener=t,this.addresses=[],o=""===e.authority?"/"+e.path:e.path,this.addresses=[{path:o}]}updateResolution(){process.nextTick(this.listener.onSuccessfulResolution,this.addresses,null,null,null,{})}destroy(){}static getDefaultAuthority(e){return"localhost"}}t.setup=function(){o.registerResolver("unix",r)}},17394:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapUriDefaultScheme=t.getDefaultAuthority=t.createResolver=t.registerDefaultScheme=t.registerResolver=void 0;const o=n(8084),r={};let i=null;t.registerResolver=function(e,t){r[e]=t},t.registerDefaultScheme=function(e){i=e},t.createResolver=function(e,t,n){if(void 0!==e.scheme&&e.scheme in r)return new r[e.scheme](e,t,n);throw new Error(`No resolver could be created for target ${o.uriToString(e)}`)},t.getDefaultAuthority=function(e){if(void 0!==e.scheme&&e.scheme in r)return r[e.scheme].getDefaultAuthority(e);throw new Error(`Invalid target ${o.uriToString(e)}`)},t.mapUriDefaultScheme=function(e){return void 0!==e.scheme&&e.scheme in r?e:null!==i?{scheme:i,authority:void 0,path:o.uriToString(e)}:null}},48026:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolvingLoadBalancer=void 0;const o=n(95477),r=n(50687),i=n(89091),a=n(17394),s=n(56617),l=n(11257),c=n(65328),p=n(21494),u=n(51051),d=n(65328),g=n(8084),f=n(88925);t.ResolvingLoadBalancer=class{constructor(e,t,n,u,d){this.target=e,this.channelControlHelper=t,this.channelOptions=n,this.onSuccessfulResolution=u,this.onFailedResolution=d,this.latestChildState=i.ConnectivityState.IDLE,this.latestChildPicker=new s.QueuePicker(this),this.currentState=i.ConnectivityState.IDLE,this.previousServiceConfig=null,this.continueResolving=!1,n["grpc.service_config"]?this.defaultServiceConfig=r.validateServiceConfig(JSON.parse(n["grpc.service_config"])):this.defaultServiceConfig={loadBalancingConfig:[],methodConfig:[]},this.updateState(i.ConnectivityState.IDLE,new s.QueuePicker(this)),this.childLoadBalancer=new f.ChildLoadBalancerHandler({createSubchannel:t.createSubchannel.bind(t),requestReresolution:()=>{this.backoffTimeout.isRunning()?this.continueResolving=!0:this.updateResolution()},updateState:(e,t)=>{this.latestChildState=e,this.latestChildPicker=t,this.updateState(e,t)},addChannelzChild:t.addChannelzChild.bind(t),removeChannelzChild:t.removeChannelzChild.bind(t)}),this.innerResolver=a.createResolver(e,{onSuccessfulResolution:(e,t,n,r,i)=>{var a;let s=null;null===t?null===n?(this.previousServiceConfig=null,s=this.defaultServiceConfig):null===this.previousServiceConfig?this.handleResolutionFailure(n):s=this.previousServiceConfig:(s=t,this.previousServiceConfig=t);const l=null!==(a=null==s?void 0:s.loadBalancingConfig)&&void 0!==a?a:[],u=o.getFirstUsableConfig(l,!0);if(null===u)return void this.handleResolutionFailure({code:c.Status.UNAVAILABLE,details:"All load balancer options in service config are not compatible",metadata:new p.Metadata});this.childLoadBalancer.updateAddressList(e,u,i);const d=null!=s?s:this.defaultServiceConfig;this.onSuccessfulResolution(null!=r?r:function(e){return function(t,n){var o,r;const i=t.split("/").filter((e=>e.length>0)),a=null!==(o=i[0])&&void 0!==o?o:"",s=null!==(r=i[1])&&void 0!==r?r:"";if(e&&e.methodConfig)for(const t of e.methodConfig)for(const e of t.name)if(e.service===a&&(void 0===e.method||e.method===s))return{methodConfig:t,pickInformation:{},status:c.Status.OK,dynamicFilterFactories:[]};return{methodConfig:{name:[]},pickInformation:{},status:c.Status.OK,dynamicFilterFactories:[]}}}(d))},onError:e=>{this.handleResolutionFailure(e)}},n);const g={initialDelay:n["grpc.initial_reconnect_backoff_ms"],maxDelay:n["grpc.max_reconnect_backoff_ms"]};this.backoffTimeout=new l.BackoffTimeout((()=>{this.continueResolving?(this.updateResolution(),this.continueResolving=!1):this.updateState(this.latestChildState,this.latestChildPicker)}),g),this.backoffTimeout.unref()}updateResolution(){this.innerResolver.updateResolution(),this.currentState===i.ConnectivityState.IDLE&&this.updateState(i.ConnectivityState.CONNECTING,new s.QueuePicker(this)),this.backoffTimeout.runOnce()}updateState(e,t){var n;n=g.uriToString(this.target)+" "+i.ConnectivityState[this.currentState]+" -> "+i.ConnectivityState[e],u.trace(d.LogVerbosity.DEBUG,"resolving_load_balancer",n),e===i.ConnectivityState.IDLE&&(t=new s.QueuePicker(this)),this.currentState=e,this.channelControlHelper.updateState(e,t)}handleResolutionFailure(e){this.latestChildState===i.ConnectivityState.IDLE&&(this.updateState(i.ConnectivityState.TRANSIENT_FAILURE,new s.UnavailablePicker(e)),this.onFailedResolution(e))}exitIdle(){this.currentState!==i.ConnectivityState.IDLE&&this.currentState!==i.ConnectivityState.TRANSIENT_FAILURE||(this.backoffTimeout.isRunning()?this.continueResolving=!0:this.updateResolution()),this.childLoadBalancer.exitIdle()}updateAddressList(e,t){throw new Error("updateAddressList not supported on ResolvingLoadBalancer")}resetBackoff(){this.backoffTimeout.reset(),this.childLoadBalancer.resetBackoff()}destroy(){this.childLoadBalancer.destroy(),this.innerResolver.destroy(),this.updateState(i.ConnectivityState.SHUTDOWN,new s.UnavailablePicker)}getTypeName(){return"resolving_load_balancer"}}},29351:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Http2ServerCallStream=t.ServerDuplexStreamImpl=t.ServerWritableStreamImpl=t.ServerReadableStreamImpl=t.ServerUnaryCallImpl=void 0;const o=n(82361),r=n(85158),i=n(12781),a=n(59796),s=n(73837),l=n(65328),c=n(21494),p=n(25766),u=n(51051),d="server_call",g=s.promisify(a.unzip),f=s.promisify(a.inflate);function h(e){u.trace(l.LogVerbosity.DEBUG,d,e)}const m="grpc-timeout",y=/(\d{1,8})\s*([HMSmun])/,v={H:36e5,M:6e4,S:1e3,m:1,u:.001,n:1e-6},b={"grpc-accept-encoding":"identity,deflate,gzip","grpc-encoding":"identity",[r.constants.HTTP2_HEADER_STATUS]:r.constants.HTTP_STATUS_OK,[r.constants.HTTP2_HEADER_CONTENT_TYPE]:"application/grpc+proto"},O={waitForTrailers:!0};class w extends o.EventEmitter{constructor(e,t,n){super(),this.call=e,this.metadata=t,this.request=n,this.cancelled=!1,this.call.setupSurfaceCall(this)}getPeer(){return this.call.getPeer()}sendMetadata(e){this.call.sendMetadata(e)}getDeadline(){return this.call.getDeadline()}getPath(){return this.call.getPath()}}t.ServerUnaryCallImpl=w;class P extends i.Readable{constructor(e,t,n,o){super({objectMode:!0}),this.call=e,this.metadata=t,this.deserialize=n,this.cancelled=!1,this.call.setupSurfaceCall(this),this.call.setupReadable(this,o)}_read(e){this.call.consumeUnpushedMessages(this)&&this.call.resume()}getPeer(){return this.call.getPeer()}sendMetadata(e){this.call.sendMetadata(e)}getDeadline(){return this.call.getDeadline()}getPath(){return this.call.getPath()}}t.ServerReadableStreamImpl=P;class x extends i.Writable{constructor(e,t,n,o){super({objectMode:!0}),this.call=e,this.metadata=t,this.serialize=n,this.request=o,this.cancelled=!1,this.trailingMetadata=new c.Metadata,this.call.setupSurfaceCall(this),this.on("error",(e=>{this.call.sendError(e),this.end()}))}getPeer(){return this.call.getPeer()}sendMetadata(e){this.call.sendMetadata(e)}getDeadline(){return this.call.getDeadline()}getPath(){return this.call.getPath()}_write(e,t,n){try{const t=this.call.serializeMessage(e);if(!this.call.write(t))return void this.call.once("drain",n)}catch(e){e.code=l.Status.INTERNAL,this.emit("error",e)}n()}_final(e){this.call.sendStatus({code:l.Status.OK,details:"OK",metadata:this.trailingMetadata}),e(null)}end(e){return e&&(this.trailingMetadata=e),super.end()}}t.ServerWritableStreamImpl=x;class S extends i.Duplex{constructor(e,t,n,o,r){super({objectMode:!0}),this.call=e,this.metadata=t,this.serialize=n,this.deserialize=o,this.cancelled=!1,this.trailingMetadata=new c.Metadata,this.call.setupSurfaceCall(this),this.call.setupReadable(this,r),this.on("error",(e=>{this.call.sendError(e),this.end()}))}getPeer(){return this.call.getPeer()}sendMetadata(e){this.call.sendMetadata(e)}getDeadline(){return this.call.getDeadline()}getPath(){return this.call.getPath()}end(e){return e&&(this.trailingMetadata=e),super.end()}}t.ServerDuplexStreamImpl=S,S.prototype._read=P.prototype._read,S.prototype._write=x.prototype._write,S.prototype._final=x.prototype._final;class T extends o.EventEmitter{constructor(e,t,n){super(),this.stream=e,this.handler=t,this.options=n,this.cancelled=!1,this.deadlineTimer=null,this.statusSent=!1,this.deadline=1/0,this.wantTrailers=!1,this.metadataSent=!1,this.canPush=!1,this.isPushPending=!1,this.bufferedMessages=[],this.messagesToPush=[],this.maxSendMessageSize=l.DEFAULT_MAX_SEND_MESSAGE_LENGTH,this.maxReceiveMessageSize=l.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH,this.stream.once("error",(e=>{})),this.stream.once("close",(()=>{var e;h("Request to method "+(null===(e=this.handler)||void 0===e?void 0:e.path)+" stream closed with rstCode "+this.stream.rstCode),this.statusSent||(this.cancelled=!0,this.emit("cancelled","cancelled"),this.emit("streamEnd",!1),this.sendStatus({code:l.Status.CANCELLED,details:"Cancelled by client",metadata:null}))})),this.stream.on("drain",(()=>{this.emit("drain")})),"grpc.max_send_message_length"in n&&(this.maxSendMessageSize=n["grpc.max_send_message_length"]),"grpc.max_receive_message_length"in n&&(this.maxReceiveMessageSize=n["grpc.max_receive_message_length"])}checkCancelled(){return(this.stream.destroyed||this.stream.closed)&&(this.cancelled=!0),this.cancelled}getDecompressedMessage(e,t){return"deflate"===t?f(e.subarray(5)):"gzip"===t?g(e.subarray(5)):"identity"===t?e.subarray(5):Promise.reject({code:l.Status.UNIMPLEMENTED,details:`Received message compressed with unsupported encoding "${t}"`})}sendMetadata(e){if(this.checkCancelled())return;if(this.metadataSent)return;this.metadataSent=!0;const t=e?e.toHttp2Headers():null,n=Object.assign(Object.assign({},b),t);this.stream.respond(n,O)}receiveMetadata(e){const t=c.Metadata.fromHttp2Headers(e);u.isTracerEnabled(d)&&h("Request to "+this.handler.path+" received headers "+JSON.stringify(t.toJSON()));const n=t.get(m);if(n.length>0){const e=n[0].toString().match(y);if(null===e){const e=new Error("Invalid deadline");return e.code=l.Status.OUT_OF_RANGE,this.sendError(e),t}const o=+e[1]*v[e[2]]|0,r=new Date;this.deadline=r.setMilliseconds(r.getMilliseconds()+o),this.deadlineTimer=setTimeout(A,o,this),t.remove(m)}return t.remove(r.constants.HTTP2_HEADER_ACCEPT_ENCODING),t.remove(r.constants.HTTP2_HEADER_TE),t.remove(r.constants.HTTP2_HEADER_CONTENT_TYPE),t.remove("grpc-accept-encoding"),t}receiveUnaryMessage(e,t){const{stream:n}=this;let o=0;const r=this,i=[],a=this.maxReceiveMessageSize;function s(e){if(o+=e.byteLength,-1!==a&&o>a)return n.removeListener("data",s),n.removeListener("end",c),n.removeListener("error",c),void t({code:l.Status.RESOURCE_EXHAUSTED,details:`Received message larger than max (${o} vs. ${a})`});i.push(e)}function c(a){if(n.removeListener("data",s),n.removeListener("end",c),n.removeListener("error",c),void 0!==a)return void t({code:l.Status.INTERNAL,details:a.message});if(0===o)return void t({code:l.Status.INTERNAL,details:"received empty unary message"});r.emit("receiveMessage");const p=Buffer.concat(i,o),u=1===p.readUInt8(0)?e:"identity",d=r.getDecompressedMessage(p,u);Buffer.isBuffer(d)?r.safeDeserializeMessage(d,t):d.then((e=>r.safeDeserializeMessage(e,t)),(n=>t(n.code?n:{code:l.Status.INTERNAL,details:`Received "grpc-encoding" header "${e}" but ${e} decompression failed`})))}n.on("data",s),n.on("end",c),n.on("error",c)}safeDeserializeMessage(e,t){try{t(null,this.deserializeMessage(e))}catch(e){e.code=l.Status.INTERNAL,t(e)}}serializeMessage(e){const t=this.handler.serialize(e),n=t.byteLength,o=Buffer.allocUnsafe(n+5);return o.writeUInt8(0,0),o.writeUInt32BE(n,1),t.copy(o,5),o}deserializeMessage(e){return this.handler.deserialize(e)}async sendUnaryMessage(e,t,n,o){if(!this.checkCancelled()){if(void 0===n&&(n=null),e)return!Object.prototype.hasOwnProperty.call(e,"metadata")&&n&&(e.metadata=n),void this.sendError(e);try{const e=this.serializeMessage(t);this.write(e),this.sendStatus({code:l.Status.OK,details:"OK",metadata:n})}catch(e){e.code=l.Status.INTERNAL,this.sendError(e)}}}sendStatus(e){var t;this.emit("callEnd",e.code),this.emit("streamEnd",e.code===l.Status.OK),this.checkCancelled()||(h("Request to method "+(null===(t=this.handler)||void 0===t?void 0:t.path)+" ended with status code: "+l.Status[e.code]+" details: "+e.details),this.deadlineTimer&&clearTimeout(this.deadlineTimer),this.wantTrailers||(this.wantTrailers=!0,this.stream.once("wantTrailers",(()=>{var t;const n=Object.assign({"grpc-status":e.code,"grpc-message":encodeURI(e.details)},null===(t=e.metadata)||void 0===t?void 0:t.toHttp2Headers());this.stream.sendTrailers(n),this.statusSent=!0})),this.sendMetadata(),this.stream.end()))}sendError(e){const t={code:l.Status.UNKNOWN,details:"message"in e?e.message:"Unknown Error",metadata:"metadata"in e&&void 0!==e.metadata?e.metadata:null};"code"in e&&"number"==typeof e.code&&Number.isInteger(e.code)&&(t.code=e.code,"details"in e&&"string"==typeof e.details&&(t.details=e.details)),this.sendStatus(t)}write(e){if(!this.checkCancelled()){if(!(-1!==this.maxSendMessageSize&&e.length>this.maxSendMessageSize))return this.sendMetadata(),this.emit("sendMessage"),this.stream.write(e);this.sendError({code:l.Status.RESOURCE_EXHAUSTED,details:`Sent message larger than max (${e.length} vs. ${this.maxSendMessageSize})`})}}resume(){this.stream.resume()}setupSurfaceCall(e){this.once("cancelled",(t=>{e.cancelled=!0,e.emit("cancelled",t)})),this.once("callEnd",(t=>e.emit("callEnd",t)))}setupReadable(e,t){const n=new p.StreamDecoder;let o=!1,r=!1,i=!1;const a=()=>{i||!o||r||(i=!0,this.pushOrBufferMessage(e,null))};this.stream.on("data",(async o=>{const i=n.write(o);r=!0,this.stream.pause();for(const n of i){if(-1!==this.maxReceiveMessageSize&&n.length>this.maxReceiveMessageSize)return void this.sendError({code:l.Status.RESOURCE_EXHAUSTED,details:`Received message larger than max (${n.length} vs. ${this.maxReceiveMessageSize})`});this.emit("receiveMessage");const o=1===n.readUInt8(0)?t:"identity",r=await this.getDecompressedMessage(n,o);if(!r)return;this.pushOrBufferMessage(e,r)}r=!1,this.stream.resume(),a()})),this.stream.once("end",(()=>{o=!0,a()}))}consumeUnpushedMessages(e){for(this.canPush=!0;this.messagesToPush.length>0;){const t=this.messagesToPush.shift(),n=e.push(t);if(null===t||!1===n){this.canPush=!1;break}}return this.canPush}pushOrBufferMessage(e,t){this.isPushPending?this.bufferedMessages.push(t):this.pushMessage(e,t)}async pushMessage(e,t){if(null===t)return h("Received end of stream"),void(this.canPush?e.push(null):this.messagesToPush.push(null));h("Received message of length "+t.length),this.isPushPending=!0;try{const n=await this.deserializeMessage(t);this.canPush?e.push(n)||(this.canPush=!1,this.stream.pause()):this.messagesToPush.push(n)}catch(t){this.bufferedMessages.length=0,"code"in t&&"number"==typeof t.code&&Number.isInteger(t.code)&&t.code>=l.Status.OK&&t.code<=l.Status.UNAUTHENTICATED||(t.code=l.Status.INTERNAL),e.emit("error",t)}this.isPushPending=!1,this.bufferedMessages.length>0&&this.pushMessage(e,this.bufferedMessages.shift())}getPeer(){const e=this.stream.session.socket;return e.remoteAddress?e.remotePort?`${e.remoteAddress}:${e.remotePort}`:e.remoteAddress:"unknown"}getDeadline(){return this.deadline}getPath(){return this.handler.path}}function A(e){const t=new Error("Deadline exceeded");t.code=l.Status.DEADLINE_EXCEEDED,e.sendError(t),e.cancelled=!0,e.emit("cancelled","deadline")}t.Http2ServerCallStream=T},77654:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServerCredentials=void 0;const o=n(75393);class r{static createInsecure(){return new i}static createSsl(e,t,n=!1){if(null!==e&&!Buffer.isBuffer(e))throw new TypeError("rootCerts must be null or a Buffer");if(!Array.isArray(t))throw new TypeError("keyCertPairs must be an array");if("boolean"!=typeof n)throw new TypeError("checkClientCertificate must be a boolean");const r=[],i=[];for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Server=void 0;const o=n(85158),r=n(65328),i=n(29351),a=n(77654),s=n(17394),l=n(51051),c=n(87297),p=n(8084),u=n(68109),{HTTP2_HEADER_PATH:d}=o.constants;function g(){}function f(e){return{code:r.Status.UNIMPLEMENTED,details:`The server does not implement the method ${e}`}}t.Server=class{constructor(e){this.http2ServerList=[],this.handlers=new Map,this.sessions=new Map,this.started=!1,this.serverAddressString="null",this.channelzEnabled=!0,this.channelzTrace=new u.ChannelzTrace,this.callTracker=new u.ChannelzCallTracker,this.listenerChildrenTracker=new u.ChannelzChildrenTracker,this.sessionChildrenTracker=new u.ChannelzChildrenTracker,this.options=null!=e?e:{},0===this.options["grpc.enable_channelz"]&&(this.channelzEnabled=!1),this.channelzRef=u.registerChannelzServer((()=>this.getChannelzInfo()),this.channelzEnabled),this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO","Server created"),this.trace("Server constructed")}getChannelzInfo(){return{trace:this.channelzTrace,callTracker:this.callTracker,listenerChildren:this.listenerChildrenTracker.getChildLists(),sessionChildren:this.sessionChildrenTracker.getChildLists()}}getChannelzSessionInfoGetter(e){return()=>{var t,n,o;const r=this.sessions.get(e),i=e.socket,a=i.remoteAddress?c.stringToSubchannelAddress(i.remoteAddress,i.remotePort):null,s=i.localAddress?c.stringToSubchannelAddress(i.localAddress,i.localPort):null;let l;if(e.encrypted){const e=i,n=e.getCipher(),o=e.getCertificate(),r=e.getPeerCertificate();l={cipherSuiteStandardName:null!==(t=n.standardName)&&void 0!==t?t:null,cipherSuiteOtherName:n.standardName?null:n.name,localCertificate:o&&"raw"in o?o.raw:null,remoteCertificate:r&&"raw"in r?r.raw:null}}else l=null;return{remoteAddress:a,localAddress:s,security:l,remoteName:null,streamsStarted:r.streamTracker.callsStarted,streamsSucceeded:r.streamTracker.callsSucceeded,streamsFailed:r.streamTracker.callsFailed,messagesSent:r.messagesSent,messagesReceived:r.messagesReceived,keepAlivesSent:0,lastLocalStreamCreatedTimestamp:null,lastRemoteStreamCreatedTimestamp:r.streamTracker.lastCallStartedTimestamp,lastMessageSentTimestamp:r.lastMessageSentTimestamp,lastMessageReceivedTimestamp:r.lastMessageReceivedTimestamp,localFlowControlWindow:null!==(n=e.state.localWindowSize)&&void 0!==n?n:null,remoteFlowControlWindow:null!==(o=e.state.remoteWindowSize)&&void 0!==o?o:null}}}trace(e){l.trace(r.LogVerbosity.DEBUG,"server","("+this.channelzRef.id+") "+e)}addProtoService(){throw new Error("Not implemented. Use addService() instead")}addService(e,t){if(null===e||"object"!=typeof e||null===t||"object"!=typeof t)throw new Error("addService() requires two objects as arguments");const n=Object.keys(e);if(0===n.length)throw new Error("Cannot add an empty service to a server");n.forEach((n=>{const o=e[n];let r;r=o.requestStream?o.responseStream?"bidi":"clientStream":o.responseStream?"serverStream":"unary";let i,a=t[n];if(void 0===a&&"string"==typeof o.originalName&&(a=t[o.originalName]),i=void 0!==a?a.bind(t):function(e,t){const n=f(t);switch(e){case"unary":case"clientStream":return(e,t)=>{t(n,null)};case"serverStream":case"bidi":return e=>{e.emit("error",n)};default:throw new Error(`Invalid handlerType ${e}`)}}(r,n),!1===this.register(o.path,i,o.responseSerialize,o.requestDeserialize,r))throw new Error(`Method handler for ${o.path} already provided.`)}))}removeService(e){if(null===e||"object"!=typeof e)throw new Error("removeService() requires object as argument");Object.keys(e).forEach((t=>{const n=e[t];this.unregister(n.path)}))}bind(e,t){throw new Error("Not implemented. Use bindAsync() instead")}bindAsync(e,t,n){if(!0===this.started)throw new Error("server is already started");if("string"!=typeof e)throw new TypeError("port must be a string");if(null===t||!(t instanceof a.ServerCredentials))throw new TypeError("creds must be a ServerCredentials object");if("function"!=typeof n)throw new TypeError("callback must be a function");const i=p.parseUri(e);if(null===i)throw new Error(`Could not parse port "${e}"`);const d=s.mapUriDefaultScheme(i);if(null===d)throw new Error(`Could not get a default scheme for port "${e}"`);const f={maxSendHeaderBlockLength:Number.MAX_SAFE_INTEGER};"grpc-node.max_session_memory"in this.options?f.maxSessionMemory=this.options["grpc-node.max_session_memory"]:f.maxSessionMemory=Number.MAX_SAFE_INTEGER,"grpc.max_concurrent_streams"in this.options&&(f.settings={maxConcurrentStreams:this.options["grpc.max_concurrent_streams"]});const h=(e,t)=>{process.nextTick((()=>n(e,t)))},m=()=>{let e;if(t._isSecure()){const n=Object.assign(f,t._getSettings());e=o.createSecureServer(n),e.on("secureConnection",(e=>{e.on("error",(e=>{this.trace("An incoming TLS connection closed with error: "+e.message)}))}))}else e=o.createServer(f);return e.setTimeout(0,g),this._setupHandlers(e),e},y=(e,t,n)=>0===e.length?Promise.resolve({port:t,count:n}):Promise.all(e.map((e=>{let n;this.trace("Attempting to bind "+c.subchannelAddressToString(e)),n=c.isTcpSubchannelAddress(e)?{host:e.host,port:t}:e;const o=m();return new Promise(((r,i)=>{const a=t=>{this.trace("Failed to bind "+c.subchannelAddressToString(e)+" with error "+t.message),r(t)};o.once("error",a),o.listen(n,(()=>{const e=o.address();let n,i;n="string"==typeof e?{path:e}:{host:e.address,port:e.port},i=u.registerChannelzSocket(c.subchannelAddressToString(n),(()=>({localAddress:n,remoteAddress:null,security:null,remoteName:null,streamsStarted:0,streamsSucceeded:0,streamsFailed:0,messagesSent:0,messagesReceived:0,keepAlivesSent:0,lastLocalStreamCreatedTimestamp:null,lastRemoteStreamCreatedTimestamp:null,lastMessageSentTimestamp:null,lastMessageReceivedTimestamp:null,localFlowControlWindow:null,remoteFlowControlWindow:null})),this.channelzEnabled),this.channelzEnabled&&this.listenerChildrenTracker.refChild(i),this.http2ServerList.push({server:o,channelzRef:i}),this.trace("Successfully bound "+c.subchannelAddressToString(n)),r("port"in n?n.port:t),o.removeListener("error",a)}))}))}))).then((e=>{let o=0;for(const n of e)if("number"==typeof n&&(o+=1,n!==t))throw new Error("Invalid state: multiple port numbers added from single address");return{port:t,count:o+n}})),v=e=>{if(0===e.length)return Promise.resolve({port:0,count:0});const t=e[0],n=m();return new Promise(((o,r)=>{const i=n=>{this.trace("Failed to bind "+c.subchannelAddressToString(t)+" with error "+n.message),o(v(e.slice(1)))};n.once("error",i),n.listen(t,(()=>{const t=n.address(),r={host:t.address,port:t.port};let a;a=u.registerChannelzSocket(c.subchannelAddressToString(r),(()=>({localAddress:r,remoteAddress:null,security:null,remoteName:null,streamsStarted:0,streamsSucceeded:0,streamsFailed:0,messagesSent:0,messagesReceived:0,keepAlivesSent:0,lastLocalStreamCreatedTimestamp:null,lastRemoteStreamCreatedTimestamp:null,lastMessageSentTimestamp:null,lastMessageReceivedTimestamp:null,localFlowControlWindow:null,remoteFlowControlWindow:null})),this.channelzEnabled),this.channelzEnabled&&this.listenerChildrenTracker.refChild(a),this.http2ServerList.push({server:n,channelzRef:a}),this.trace("Successfully bound "+c.subchannelAddressToString(r)),o(y(e.slice(1),t.port,1)),n.removeListener("error",i)}))}))},b={onSuccessfulResolution:(t,n,o)=>{if(b.onSuccessfulResolution=()=>{},0===t.length)return void h(new Error(`No addresses resolved for port ${e}`),0);let i;i=c.isTcpSubchannelAddress(t[0])?0===t[0].port?v(t):y(t,t[0].port,0):y(t,1,0),i.then((e=>{if(0===e.count){const e=`No address added out of total ${t.length} resolved`;l.log(r.LogVerbosity.ERROR,e),h(new Error(e),0)}else e.count{const n=`No address added out of total ${t.length} resolved`;l.log(r.LogVerbosity.ERROR,n),h(new Error(n),0)}))},onError:e=>{h(new Error(e.details),0)}};s.createResolver(d,b,this.options).updateResolution()}forceShutdown(){for(const{server:e,channelzRef:t}of this.http2ServerList)e.listening&&e.close((()=>{this.channelzEnabled&&(this.listenerChildrenTracker.unrefChild(t),u.unregisterChannelzRef(t))}));this.started=!1,this.sessions.forEach(((e,t)=>{t.destroy(o.constants.NGHTTP2_CANCEL)})),this.sessions.clear(),this.channelzEnabled&&u.unregisterChannelzRef(this.channelzRef)}register(e,t,n,o,r){return!this.handlers.has(e)&&(this.handlers.set(e,{func:t,serialize:n,deserialize:o,type:r,path:e}),!0)}unregister(e){return this.handlers.delete(e)}start(){if(0===this.http2ServerList.length||this.http2ServerList.every((({server:e})=>!0!==e.listening)))throw new Error("server must be bound in order to start");if(!0===this.started)throw new Error("server is already started");this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO","Starting"),this.started=!0}tryShutdown(e){const t=t=>{this.channelzEnabled&&u.unregisterChannelzRef(this.channelzRef),e(t)};let n=0;function o(){n--,0===n&&t()}this.started=!1;for(const{server:e,channelzRef:t}of this.http2ServerList)e.listening&&(n++,e.close((()=>{this.channelzEnabled&&(this.listenerChildrenTracker.unrefChild(t),u.unregisterChannelzRef(t)),o()})));this.sessions.forEach(((e,t)=>{t.closed||(n+=1,t.close(o))})),0===n&&t()}addHttp2Port(){throw new Error("Not yet implemented")}getChannelzRef(){return this.channelzRef}_verifyContentType(e,t){const n=t[o.constants.HTTP2_HEADER_CONTENT_TYPE];return!("string"!=typeof n||!n.startsWith("application/grpc"))||(e.respond({[o.constants.HTTP2_HEADER_STATUS]:o.constants.HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE},{endStream:!0}),!1)}_retrieveHandler(e){const t=e[d];this.trace("Received call to method "+t+" at address "+this.serverAddressString);const n=this.handlers.get(t);if(void 0===n)throw this.trace("No handler registered for method "+t+". Sending UNIMPLEMENTED status."),f(t);return n}_respondWithError(e,t,n=null){const o=new i.Http2ServerCallStream(t,null,this.options);void 0===e.code&&(e.code=r.Status.INTERNAL),this.channelzEnabled&&(this.callTracker.addCallFailed(),null==n||n.streamTracker.addCallFailed()),o.sendError(e)}_channelzHandler(e,t){const n=this.sessions.get(e.session);if(this.callTracker.addCallStarted(),null==n||n.streamTracker.addCallStarted(),!this._verifyContentType(e,t))return this.callTracker.addCallFailed(),void(null==n||n.streamTracker.addCallFailed());let o;try{o=this._retrieveHandler(t)}catch(t){return void this._respondWithError(t,e,n)}const a=new i.Http2ServerCallStream(e,o,this.options);a.once("callEnd",(e=>{e===r.Status.OK?this.callTracker.addCallSucceeded():this.callTracker.addCallFailed()})),n&&(a.once("streamEnd",(e=>{e?n.streamTracker.addCallSucceeded():n.streamTracker.addCallFailed()})),a.on("sendMessage",(()=>{n.messagesSent+=1,n.lastMessageSentTimestamp=new Date})),a.on("receiveMessage",(()=>{n.messagesReceived+=1,n.lastMessageReceivedTimestamp=new Date}))),this._runHandlerForCall(a,o,t)||(this.callTracker.addCallFailed(),null==n||n.streamTracker.addCallFailed(),a.sendError({code:r.Status.INTERNAL,details:`Unknown handler type: ${o.type}`}))}_streamHandler(e,t){if(!0!==this._verifyContentType(e,t))return;let n;try{n=this._retrieveHandler(t)}catch(t){return void this._respondWithError(t,e,null)}const o=new i.Http2ServerCallStream(e,n,this.options);this._runHandlerForCall(o,n,t)||o.sendError({code:r.Status.INTERNAL,details:`Unknown handler type: ${n.type}`})}_runHandlerForCall(e,t,n){var o;const r=e.receiveMetadata(n),a=null!==(o=r.get("grpc-encoding")[0])&&void 0!==o?o:"identity";r.remove("grpc-encoding");const{type:s}=t;if("unary"===s)!function(e,t,n,o){e.receiveUnaryMessage(o,((o,r)=>{if(o)return void e.sendError(o);if(void 0===r||e.cancelled)return;const a=new i.ServerUnaryCallImpl(e,n,r);t.func(a,((t,n,o,r)=>{e.sendUnaryMessage(t,n,o,r)}))}))}(e,t,r,a);else if("clientStream"===s)!function(e,t,n,o){const r=new i.ServerReadableStreamImpl(e,n,t.deserialize,o);function a(t,n,o,i){r.destroy(),e.sendUnaryMessage(t,n,o,i)}e.cancelled||(r.on("error",a),t.func(r,a))}(e,t,r,a);else if("serverStream"===s)!function(e,t,n,o){e.receiveUnaryMessage(o,((o,r)=>{if(o)return void e.sendError(o);if(void 0===r||e.cancelled)return;const a=new i.ServerWritableStreamImpl(e,n,t.serialize,r);t.func(a)}))}(e,t,r,a);else{if("bidi"!==s)return!1;!function(e,t,n,o){const r=new i.ServerDuplexStreamImpl(e,n,t.serialize,t.deserialize,o);e.cancelled||t.func(r)}(e,t,r,a)}return!0}_setupHandlers(e){if(null===e)return;const t=e.address();let n="null";t&&(n="string"==typeof t?t:t.address+":"+t.port),this.serverAddressString=n;const o=this.channelzEnabled?this._channelzHandler:this._streamHandler;e.on("stream",o.bind(this)),e.on("session",(e=>{var t;if(!this.started)return void e.destroy();let n;n=u.registerChannelzSocket(null!==(t=e.socket.remoteAddress)&&void 0!==t?t:"unknown",this.getChannelzSessionInfoGetter(e),this.channelzEnabled);const o={ref:n,streamTracker:new u.ChannelzCallTracker,messagesSent:0,messagesReceived:0,lastMessageSentTimestamp:null,lastMessageReceivedTimestamp:null};this.sessions.set(e,o);const r=e.socket.remoteAddress;this.channelzEnabled&&(this.channelzTrace.addTrace("CT_INFO","Connection established by client "+r),this.sessionChildrenTracker.refChild(n)),e.on("close",(()=>{this.channelzEnabled&&(this.channelzTrace.addTrace("CT_INFO","Connection dropped by client "+r),this.sessionChildrenTracker.unrefChild(n),u.unregisterChannelzRef(n)),this.sessions.delete(e)}))}))}}},50687:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractAndSelectServiceConfig=t.validateServiceConfig=void 0;const o=n(22037),r=n(95477),i=/^\d+(\.\d{1,9})?s$/;function a(e){if(!("service"in e)||"string"!=typeof e.service)throw new Error("Invalid method config name: invalid service");const t={service:e.service};if("method"in e){if("string"!=typeof e.method)throw new Error("Invalid method config name: invalid method");t.method=e.method}return t}function s(e){var t;const n={name:[]};if(!("name"in e)||!Array.isArray(e.name))throw new Error("Invalid method config: invalid name array");for(const t of e.name)n.name.push(a(t));if("waitForReady"in e){if("boolean"!=typeof e.waitForReady)throw new Error("Invalid method config: invalid waitForReady");n.waitForReady=e.waitForReady}if("timeout"in e)if("object"==typeof e.timeout){if(!("seconds"in e.timeout)||"number"!=typeof e.timeout.seconds)throw new Error("Invalid method config: invalid timeout.seconds");if(!("nanos"in e.timeout)||"number"!=typeof e.timeout.nanos)throw new Error("Invalid method config: invalid timeout.nanos");n.timeout=e.timeout}else{if("string"!=typeof e.timeout||!i.test(e.timeout))throw new Error("Invalid method config: invalid timeout");{const o=e.timeout.substring(0,e.timeout.length-1).split(".");n.timeout={seconds:0|o[0],nanos:0|(null!==(t=o[1])&&void 0!==t?t:0)}}}if("maxRequestBytes"in e){if("number"!=typeof e.maxRequestBytes)throw new Error("Invalid method config: invalid maxRequestBytes");n.maxRequestBytes=e.maxRequestBytes}if("maxResponseBytes"in e){if("number"!=typeof e.maxResponseBytes)throw new Error("Invalid method config: invalid maxRequestBytes");n.maxResponseBytes=e.maxResponseBytes}return n}function l(e){const t={loadBalancingConfig:[],methodConfig:[]};if("loadBalancingPolicy"in e){if("string"!=typeof e.loadBalancingPolicy)throw new Error("Invalid service config: invalid loadBalancingPolicy");t.loadBalancingPolicy=e.loadBalancingPolicy}if("loadBalancingConfig"in e){if(!Array.isArray(e.loadBalancingConfig))throw new Error("Invalid service config: invalid loadBalancingConfig");for(const n of e.loadBalancingConfig)t.loadBalancingConfig.push(r.validateLoadBalancingConfig(n))}if("methodConfig"in e&&Array.isArray(e.methodConfig))for(const n of e.methodConfig)t.methodConfig.push(s(n));const n=[];for(const e of t.methodConfig)for(const t of e.name){for(const e of n)if(t.service===e.service&&t.method===e.method)throw new Error(`Invalid service config: duplicate name ${t.service}/${t.method}`);n.push(t)}return t}function c(e){if(!("serviceConfig"in e))throw new Error("Invalid service config choice: missing service config");const t={serviceConfig:l(e.serviceConfig)};if("clientLanguage"in e){if(!Array.isArray(e.clientLanguage))throw new Error("Invalid service config choice: invalid clientLanguage");t.clientLanguage=[];for(const n of e.clientLanguage){if("string"!=typeof n)throw new Error("Invalid service config choice: invalid clientLanguage");t.clientLanguage.push(n)}}if("clientHostname"in e){if(!Array.isArray(e.clientHostname))throw new Error("Invalid service config choice: invalid clientHostname");t.clientHostname=[];for(const n of e.clientHostname){if("string"!=typeof n)throw new Error("Invalid service config choice: invalid clientHostname");t.clientHostname.push(n)}}if("percentage"in e){if(!("number"==typeof e.percentage&&0<=e.percentage&&e.percentage<=100))throw new Error("Invalid service config choice: invalid percentage");t.percentage=e.percentage}const n=["clientLanguage","percentage","clientHostname","serviceConfig"];for(const t in e)if(!n.includes(t))throw new Error(`Invalid service config choice: unexpected field ${t}`);return t}function p(e,t){if(!Array.isArray(e))throw new Error("Invalid service config list");for(const n of e){const e=c(n);if(!("number"==typeof e.percentage&&t>e.percentage)){if(Array.isArray(e.clientHostname)){let t=!1;for(const n of e.clientHostname)n===o.hostname()&&(t=!0);if(!t)continue}if(Array.isArray(e.clientLanguage)){let t=!1;for(const n of e.clientLanguage)"node"===n&&(t=!0);if(!t)continue}return e.serviceConfig}}throw new Error("No matching service config found")}t.validateServiceConfig=l,t.extractAndSelectServiceConfig=function(e,t){for(const n of e)if(n.length>0&&n[0].startsWith("grpc_config=")){const e=n.join("").substring("grpc_config=".length);return p(JSON.parse(e),t)}return null}},69843:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBuilder=void 0,t.StatusBuilder=class{constructor(){this.code=null,this.details=null,this.metadata=null}withCode(e){return this.code=e,this}withDetails(e){return this.details=e,this}withMetadata(e){return this.metadata=e,this}build(){const e={};return null!==this.code&&(e.code=this.code),null!==this.details&&(e.details=this.details),null!==this.metadata&&(e.metadata=this.metadata),e}}},25766:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.StreamDecoder=void 0,function(e){e[e.NO_DATA=0]="NO_DATA",e[e.READING_SIZE=1]="READING_SIZE",e[e.READING_MESSAGE=2]="READING_MESSAGE"}(n||(n={})),t.StreamDecoder=class{constructor(){this.readState=n.NO_DATA,this.readCompressFlag=Buffer.alloc(1),this.readPartialSize=Buffer.alloc(4),this.readSizeRemaining=4,this.readMessageSize=0,this.readPartialMessage=[],this.readMessageRemaining=0}write(e){let t,o=0;const r=[];for(;o0)this.readState=n.READING_MESSAGE;else{const e=Buffer.concat([this.readCompressFlag,this.readPartialSize],5);this.readState=n.NO_DATA,r.push(e)}break;case n.READING_MESSAGE:if(t=Math.min(e.length-o,this.readMessageRemaining),this.readPartialMessage.push(e.slice(o,o+t)),this.readMessageRemaining-=t,o+=t,0===this.readMessageRemaining){const e=[this.readCompressFlag,this.readPartialSize].concat(this.readPartialMessage),t=Buffer.concat(e,this.readMessageSize+5);this.readState=n.NO_DATA,r.push(t)}break;default:throw new Error("Unexpected read state")}return r}}},87297:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringToSubchannelAddress=t.subchannelAddressToString=t.subchannelAddressEqual=t.isTcpSubchannelAddress=void 0;const o=n(41808);function r(e){return"port"in e}t.isTcpSubchannelAddress=r,t.subchannelAddressEqual=function(e,t){return r(e)?r(t)&&e.host===t.host&&e.port===t.port:!r(t)&&e.path===t.path},t.subchannelAddressToString=function(e){return r(e)?e.host+":"+e.port:e.path},t.stringToSubchannelAddress=function(e,t){return o.isIP(e)?{host:e,port:null!=t?t:443}:{path:e}}},75554:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseSubchannelWrapper=void 0,t.BaseSubchannelWrapper=class{constructor(e){this.child=e}getConnectivityState(){return this.child.getConnectivityState()}addConnectivityStateListener(e){this.child.addConnectivityStateListener(e)}removeConnectivityStateListener(e){this.child.removeConnectivityStateListener(e)}startConnecting(){this.child.startConnecting()}getAddress(){return this.child.getAddress()}ref(){this.child.ref()}unref(){this.child.unref()}getChannelzRef(){return this.child.getChannelzRef()}getRealSubchannel(){return this.child.getRealSubchannel()}}},38117:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSubchannelPool=t.SubchannelPool=void 0;const o=n(70713),r=n(89180),i=n(87297),a=n(8084);class s{constructor(){this.pool=Object.create(null),this.cleanupTimer=null}unrefUnusedSubchannels(){let e=!0;for(const t in this.pool){const n=this.pool[t].filter((e=>!e.subchannel.unrefIfOneRef()));n.length>0&&(e=!1),this.pool[t]=n}e&&null!==this.cleanupTimer&&(clearInterval(this.cleanupTimer),this.cleanupTimer=null)}ensureCleanupTask(){var e,t;null===this.cleanupTimer&&(this.cleanupTimer=setInterval((()=>{this.unrefUnusedSubchannels()}),1e4),null===(t=(e=this.cleanupTimer).unref)||void 0===t||t.call(e))}getOrCreateSubchannel(e,t,n,s){this.ensureCleanupTask();const l=a.uriToString(e);if(l in this.pool){const e=this.pool[l];for(const r of e)if(i.subchannelAddressEqual(t,r.subchannelAddress)&&o.channelOptionsEqual(n,r.channelArguments)&&s._equals(r.channelCredentials))return r.subchannel}const c=new r.Subchannel(e,t,n,s);return l in this.pool||(this.pool[l]=[]),this.pool[l].push({subchannelAddress:t,channelArguments:n,channelCredentials:s,subchannel:c}),c.ref(),c}}t.SubchannelPool=s;const l=new s;t.getSubchannelPool=function(e){return e?l:new s}},89180:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Subchannel=void 0;const o=n(85158),r=n(24404),i=n(89091),a=n(11257),s=n(17394),l=n(51051),c=n(65328),p=n(30914),u=n(41808),d=n(8084),g=n(87297),f=n(68109),h=n(14167).i8,m="subchannel",y=~(1<<31),{HTTP2_HEADER_AUTHORITY:v,HTTP2_HEADER_CONTENT_TYPE:b,HTTP2_HEADER_METHOD:O,HTTP2_HEADER_PATH:w,HTTP2_HEADER_TE:P,HTTP2_HEADER_USER_AGENT:x}=o.constants,S=Buffer.from("too_many_pings","ascii");t.Subchannel=class{constructor(e,t,n,o){this.channelTarget=e,this.subchannelAddress=t,this.options=n,this.credentials=o,this.connectivityState=i.ConnectivityState.IDLE,this.session=null,this.continueConnecting=!1,this.stateListeners=[],this.disconnectListeners=new Set,this.keepaliveTimeMs=y,this.keepaliveTimeoutMs=2e4,this.keepaliveWithoutCalls=!1,this.callRefcount=0,this.refcount=0,this.channelzEnabled=!0,this.callTracker=new f.ChannelzCallTracker,this.childrenTracker=new f.ChannelzChildrenTracker,this.channelzSocketRef=null,this.remoteName=null,this.streamTracker=new f.ChannelzCallTracker,this.keepalivesSent=0,this.messagesSent=0,this.messagesReceived=0,this.lastMessageSentTimestamp=null,this.lastMessageReceivedTimestamp=null,this.userAgent=[n["grpc.primary_user_agent"],`grpc-node-js/${h}`,n["grpc.secondary_user_agent"]].filter((e=>e)).join(" "),"grpc.keepalive_time_ms"in n&&(this.keepaliveTimeMs=n["grpc.keepalive_time_ms"]),"grpc.keepalive_timeout_ms"in n&&(this.keepaliveTimeoutMs=n["grpc.keepalive_timeout_ms"]),this.keepaliveWithoutCalls="grpc.keepalive_permit_without_calls"in n&&1===n["grpc.keepalive_permit_without_calls"],this.keepaliveIntervalId=setTimeout((()=>{}),0),clearTimeout(this.keepaliveIntervalId),this.keepaliveTimeoutId=setTimeout((()=>{}),0),clearTimeout(this.keepaliveTimeoutId);const r={initialDelay:n["grpc.initial_reconnect_backoff_ms"],maxDelay:n["grpc.max_reconnect_backoff_ms"]};this.backoffTimeout=new a.BackoffTimeout((()=>{this.handleBackoffTimer()}),r),this.subchannelAddressString=g.subchannelAddressToString(t),0===n["grpc.enable_channelz"]&&(this.channelzEnabled=!1),this.channelzTrace=new f.ChannelzTrace,this.channelzRef=f.registerChannelzSubchannel(this.subchannelAddressString,(()=>this.getChannelzInfo()),this.channelzEnabled),this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO","Subchannel created"),this.trace("Subchannel constructed with options "+JSON.stringify(n,void 0,2))}getChannelzInfo(){return{state:this.connectivityState,trace:this.channelzTrace,callTracker:this.callTracker,children:this.childrenTracker.getChildLists(),target:this.subchannelAddressString}}getChannelzSocketInfo(){var e,t,n;if(null===this.session)return null;const o=this.session.socket,r=o.remoteAddress?g.stringToSubchannelAddress(o.remoteAddress,o.remotePort):null,i=o.localAddress?g.stringToSubchannelAddress(o.localAddress,o.localPort):null;let a;if(this.session.encrypted){const t=o,n=t.getCipher(),r=t.getCertificate(),i=t.getPeerCertificate();a={cipherSuiteStandardName:null!==(e=n.standardName)&&void 0!==e?e:null,cipherSuiteOtherName:n.standardName?null:n.name,localCertificate:r&&"raw"in r?r.raw:null,remoteCertificate:i&&"raw"in i?i.raw:null}}else a=null;return{remoteAddress:r,localAddress:i,security:a,remoteName:this.remoteName,streamsStarted:this.streamTracker.callsStarted,streamsSucceeded:this.streamTracker.callsSucceeded,streamsFailed:this.streamTracker.callsFailed,messagesSent:this.messagesSent,messagesReceived:this.messagesReceived,keepAlivesSent:this.keepalivesSent,lastLocalStreamCreatedTimestamp:this.streamTracker.lastCallStartedTimestamp,lastRemoteStreamCreatedTimestamp:null,lastMessageSentTimestamp:this.lastMessageSentTimestamp,lastMessageReceivedTimestamp:this.lastMessageReceivedTimestamp,localFlowControlWindow:null!==(t=this.session.state.localWindowSize)&&void 0!==t?t:null,remoteFlowControlWindow:null!==(n=this.session.state.remoteWindowSize)&&void 0!==n?n:null}}resetChannelzSocketInfo(){this.channelzEnabled&&(this.channelzSocketRef&&(f.unregisterChannelzRef(this.channelzSocketRef),this.childrenTracker.unrefChild(this.channelzSocketRef),this.channelzSocketRef=null),this.remoteName=null,this.streamTracker=new f.ChannelzCallTracker,this.keepalivesSent=0,this.messagesSent=0,this.messagesReceived=0,this.lastMessageSentTimestamp=null,this.lastMessageReceivedTimestamp=null)}trace(e){l.trace(c.LogVerbosity.DEBUG,m,"("+this.channelzRef.id+") "+this.subchannelAddressString+" "+e)}refTrace(e){l.trace(c.LogVerbosity.DEBUG,"subchannel_refcount","("+this.channelzRef.id+") "+this.subchannelAddressString+" "+e)}flowControlTrace(e){l.trace(c.LogVerbosity.DEBUG,"subchannel_flowctrl","("+this.channelzRef.id+") "+this.subchannelAddressString+" "+e)}internalsTrace(e){l.trace(c.LogVerbosity.DEBUG,"subchannel_internals","("+this.channelzRef.id+") "+this.subchannelAddressString+" "+e)}keepaliveTrace(e){l.trace(c.LogVerbosity.DEBUG,"keepalive","("+this.channelzRef.id+") "+this.subchannelAddressString+" "+e)}handleBackoffTimer(){this.continueConnecting?this.transitionToState([i.ConnectivityState.TRANSIENT_FAILURE],i.ConnectivityState.CONNECTING):this.transitionToState([i.ConnectivityState.TRANSIENT_FAILURE],i.ConnectivityState.IDLE)}startBackoff(){this.backoffTimeout.runOnce()}stopBackoff(){this.backoffTimeout.stop(),this.backoffTimeout.reset()}sendPing(){var e,t;this.channelzEnabled&&(this.keepalivesSent+=1),this.keepaliveTrace("Sending ping with timeout "+this.keepaliveTimeoutMs+"ms"),this.keepaliveTimeoutId=setTimeout((()=>{this.keepaliveTrace("Ping timeout passed without response"),this.handleDisconnect()}),this.keepaliveTimeoutMs),null===(t=(e=this.keepaliveTimeoutId).unref)||void 0===t||t.call(e);try{this.session.ping(((e,t,n)=>{this.keepaliveTrace("Received ping response"),clearTimeout(this.keepaliveTimeoutId)}))}catch(e){this.transitionToState([i.ConnectivityState.READY],i.ConnectivityState.TRANSIENT_FAILURE)}}startKeepalivePings(){var e,t;this.keepaliveIntervalId=setInterval((()=>{this.sendPing()}),this.keepaliveTimeMs),null===(t=(e=this.keepaliveIntervalId).unref)||void 0===t||t.call(e)}stopKeepalivePings(){clearInterval(this.keepaliveIntervalId),clearTimeout(this.keepaliveTimeoutId)}createSession(e){var t,n,a;e.realTarget?(this.remoteName=d.uriToString(e.realTarget),this.trace("creating HTTP/2 session through proxy to "+e.realTarget)):(this.remoteName=null,this.trace("creating HTTP/2 session"));const p=s.getDefaultAuthority(null!==(t=e.realTarget)&&void 0!==t?t:this.channelTarget);let g=this.credentials._getConnectionOptions()||{};g.maxSendHeaderBlockLength=Number.MAX_SAFE_INTEGER,"grpc-node.max_session_memory"in this.options?g.maxSessionMemory=this.options["grpc-node.max_session_memory"]:g.maxSessionMemory=Number.MAX_SAFE_INTEGER;let h="http://";if("secureContext"in g){if(h="https://",this.options["grpc.ssl_target_name_override"]){const e=this.options["grpc.ssl_target_name_override"];g.checkServerIdentity=(t,n)=>r.checkServerIdentity(e,n),g.servername=e}else{const e=null!==(a=null===(n=d.splitHostPort(p))||void 0===n?void 0:n.host)&&void 0!==a?a:"localhost";g.servername=e}e.socket&&(g.createConnection=(t,n)=>e.socket)}else g.createConnection=(t,n)=>e.socket?e.socket:u.connect(this.subchannelAddress);g=Object.assign(Object.assign({},g),this.subchannelAddress);const v=o.connect(h+p,g);this.session=v,this.channelzSocketRef=f.registerChannelzSocket(this.subchannelAddressString,(()=>this.getChannelzSocketInfo()),this.channelzEnabled),this.channelzEnabled&&this.childrenTracker.refChild(this.channelzSocketRef),v.unref(),v.once("connect",(()=>{this.session===v&&this.transitionToState([i.ConnectivityState.CONNECTING],i.ConnectivityState.READY)})),v.once("close",(()=>{this.session===v&&(this.trace("connection closed"),this.transitionToState([i.ConnectivityState.CONNECTING],i.ConnectivityState.TRANSIENT_FAILURE),this.transitionToState([i.ConnectivityState.READY],i.ConnectivityState.IDLE))})),v.once("goaway",((e,t,n)=>{this.session===v&&(e===o.constants.NGHTTP2_ENHANCE_YOUR_CALM&&n.equals(S)&&(this.keepaliveTimeMs=Math.min(2*this.keepaliveTimeMs,y),l.log(c.LogVerbosity.ERROR,`Connection to ${d.uriToString(this.channelTarget)} at ${this.subchannelAddressString} rejected by server because of excess pings. Increasing ping interval to ${this.keepaliveTimeMs} ms`)),this.trace("connection closed by GOAWAY with code "+e),this.transitionToState([i.ConnectivityState.CONNECTING,i.ConnectivityState.READY],i.ConnectivityState.IDLE))})),v.once("error",(e=>{this.trace("connection closed with error "+e.message)})),l.isTracerEnabled(m)&&(v.on("remoteSettings",(e=>{this.trace("new settings received"+(this.session!==v?" on the old connection":"")+": "+JSON.stringify(e))})),v.on("localSettings",(e=>{this.trace("local settings acknowledged by remote"+(this.session!==v?" on the old connection":"")+": "+JSON.stringify(e))})))}startConnectingInternal(){var e,t;const n=this.credentials._getConnectionOptions()||{};if("secureContext"in n)if(n.ALPNProtocols=["h2"],this.options["grpc.ssl_target_name_override"]){const e=this.options["grpc.ssl_target_name_override"];n.checkServerIdentity=(t,n)=>r.checkServerIdentity(e,n),n.servername=e}else if("grpc.http_connect_target"in this.options){const o=s.getDefaultAuthority(null!==(e=d.parseUri(this.options["grpc.http_connect_target"]))&&void 0!==e?e:{path:"localhost"}),r=d.splitHostPort(o);n.servername=null!==(t=null==r?void 0:r.host)&&void 0!==t?t:o}p.getProxiedConnection(this.subchannelAddress,this.options,n).then((e=>{this.createSession(e)}),(e=>{this.transitionToState([i.ConnectivityState.CONNECTING],i.ConnectivityState.TRANSIENT_FAILURE)}))}handleDisconnect(){this.transitionToState([i.ConnectivityState.READY],i.ConnectivityState.TRANSIENT_FAILURE);for(const e of this.disconnectListeners.values())e()}transitionToState(e,t){if(-1===e.indexOf(this.connectivityState))return!1;this.trace(i.ConnectivityState[this.connectivityState]+" -> "+i.ConnectivityState[t]),this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO",i.ConnectivityState[this.connectivityState]+" -> "+i.ConnectivityState[t]);const n=this.connectivityState;switch(this.connectivityState=t,t){case i.ConnectivityState.READY:this.stopBackoff();const e=this.session;e.socket.once("close",(()=>{this.session===e&&this.handleDisconnect()})),this.keepaliveWithoutCalls&&this.startKeepalivePings();break;case i.ConnectivityState.CONNECTING:this.startBackoff(),this.startConnectingInternal(),this.continueConnecting=!1;break;case i.ConnectivityState.TRANSIENT_FAILURE:this.session&&this.session.close(),this.session=null,this.resetChannelzSocketInfo(),this.stopKeepalivePings(),this.backoffTimeout.isRunning()||process.nextTick((()=>{this.handleBackoffTimer()}));break;case i.ConnectivityState.IDLE:this.session&&this.session.close(),this.session=null,this.resetChannelzSocketInfo(),this.stopKeepalivePings();break;default:throw new Error(`Invalid state: unknown ConnectivityState ${t}`)}for(const e of[...this.stateListeners])e(this,n,t);return!0}checkBothRefcounts(){0===this.callRefcount&&0===this.refcount&&(this.channelzEnabled&&this.channelzTrace.addTrace("CT_INFO","Shutting down"),this.transitionToState([i.ConnectivityState.CONNECTING,i.ConnectivityState.READY],i.ConnectivityState.IDLE),this.channelzEnabled&&f.unregisterChannelzRef(this.channelzRef))}callRef(){this.refTrace("callRefcount "+this.callRefcount+" -> "+(this.callRefcount+1)),0===this.callRefcount&&(this.session&&this.session.ref(),this.backoffTimeout.ref(),this.keepaliveWithoutCalls||this.startKeepalivePings()),this.callRefcount+=1}callUnref(){this.refTrace("callRefcount "+this.callRefcount+" -> "+(this.callRefcount-1)),this.callRefcount-=1,0===this.callRefcount&&(this.session&&this.session.unref(),this.backoffTimeout.unref(),this.keepaliveWithoutCalls||clearInterval(this.keepaliveIntervalId),this.checkBothRefcounts())}ref(){this.refTrace("refcount "+this.refcount+" -> "+(this.refcount+1)),this.refcount+=1}unref(){this.refTrace("refcount "+this.refcount+" -> "+(this.refcount-1)),this.refcount-=1,this.checkBothRefcounts()}unrefIfOneRef(){return 1===this.refcount&&(this.unref(),!0)}startCallStream(e,t,n){const o=e.toHttp2Headers();let r;o[v]=t.getHost(),o[x]=this.userAgent,o[b]="application/grpc",o[O]="POST",o[w]=t.getMethod(),o[P]="trailers";try{r=this.session.request(o)}catch(e){throw this.transitionToState([i.ConnectivityState.READY],i.ConnectivityState.TRANSIENT_FAILURE),e}let a="";for(const e of Object.keys(o))a+="\t\t"+e+": "+o[e]+"\n";l.trace(c.LogVerbosity.DEBUG,"call_stream","Starting stream ["+t.getCallNumber()+"] on subchannel ("+this.channelzRef.id+") "+this.subchannelAddressString+" with headers\n"+a),this.flowControlTrace("local window size: "+this.session.state.localWindowSize+" remote window size: "+this.session.state.remoteWindowSize);const s=this.session;let p;this.internalsTrace("session.closed="+s.closed+" session.destroyed="+s.destroyed+" session.socket.destroyed="+s.socket.destroyed),this.channelzEnabled?(this.callTracker.addCallStarted(),t.addStatusWatcher((e=>{e.code===c.Status.OK?this.callTracker.addCallSucceeded():this.callTracker.addCallFailed()})),this.streamTracker.addCallStarted(),t.addStreamEndWatcher((e=>{s===this.session&&(e?this.streamTracker.addCallSucceeded():this.streamTracker.addCallFailed())})),p={addMessageSent:()=>{this.messagesSent+=1,this.lastMessageSentTimestamp=new Date},addMessageReceived:()=>{this.messagesReceived+=1}}):p={addMessageSent:()=>{},addMessageReceived:()=>{}},t.attachHttp2Stream(r,this,n,p)}startConnecting(){this.transitionToState([i.ConnectivityState.IDLE],i.ConnectivityState.CONNECTING)||this.connectivityState===i.ConnectivityState.TRANSIENT_FAILURE&&(this.continueConnecting=!0)}getConnectivityState(){return this.connectivityState}addConnectivityStateListener(e){this.stateListeners.push(e)}removeConnectivityStateListener(e){const t=this.stateListeners.indexOf(e);t>-1&&this.stateListeners.splice(t,1)}addDisconnectListener(e){this.disconnectListeners.add(e)}removeDisconnectListener(e){this.disconnectListeners.delete(e)}resetBackoff(){this.backoffTimeout.reset(),this.transitionToState([i.ConnectivityState.TRANSIENT_FAILURE],i.ConnectivityState.CONNECTING)}getAddress(){return this.subchannelAddressString}getChannelzRef(){return this.channelzRef}getRealSubchannel(){return this}}},75393:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultRootsData=t.CIPHER_SUITES=void 0;const o=n(57147);t.CIPHER_SUITES=process.env.GRPC_SSL_CIPHER_SUITES;const r=process.env.GRPC_DEFAULT_SSL_ROOTS_FILE_PATH;let i=null;t.getDefaultRootsData=function(){return r?(null===i&&(i=o.readFileSync(r)),i):null}},8084:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uriToString=t.splitHostPort=t.parseUri=void 0;const n=/^(?:([A-Za-z0-9+.-]+):)?(?:\/\/([^/]*)\/)?(.+)$/;t.parseUri=function(e){const t=n.exec(e);return null===t?null:{scheme:t[1],authority:t[2],path:t[3]}};const o=/^\d+$/;t.splitHostPort=function(e){if(e.startsWith("[")){const t=e.indexOf("]");if(-1===t)return null;const n=e.substring(1,t);if(-1===n.indexOf(":"))return null;if(e.length>t+1){if(":"===e[t+1]){const r=e.substring(t+2);return o.test(r)?{host:n,port:+r}:null}return null}return{host:n}}{const t=e.split(":");return 2===t.length?o.test(t[1])?{host:t[0],port:+t[1]}:null:{host:e}}},t.uriToString=function(e){let t="";return void 0!==e.scheme&&(t+=e.scheme+":"),void 0!==e.authority&&(t+="//"+e.authority+"/"),t+=e.path,t}},91779:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadFileDescriptorSetFromObject=t.loadFileDescriptorSetFromBuffer=t.fromJSON=t.loadSync=t.load=t.isAnyExtension=t.Long=void 0;const o=n(61012),r=n(1747),i=n(37589),a=n(76232),s=n(35954);t.Long=s,t.isAnyExtension=function(e){return"@type"in e&&"string"==typeof e["@type"]};const l={longs:String,enums:String,bytes:String,defaults:!0,oneofs:!0,json:!0};function c(e,t){const n=(o=t,i=e.name,""===o?i:o+"."+i);var o,i;return function(e){return e instanceof r.Service||e instanceof r.Type||e instanceof r.Enum}(e)?[[n,e]]:function(e){return e instanceof r.Namespace||e instanceof r.Root}(e)&&void 0!==e.nested?Object.keys(e.nested).map((t=>c(e.nested[t],n))).reduce(((e,t)=>e.concat(t)),[]):[]}function p(e,t){return function(n){return e.toObject(e.decode(n),t)}}function u(e){return function(t){if(Array.isArray(t))throw new Error(`Failed to serialize message: expected object with ${e.name} structure, got array instead`);const n=e.fromObject(t);return e.encode(n).finish()}}function d(e,t,n,r){const i=e.resolvedRequestType,a=e.resolvedResponseType;return{path:"/"+t+"/"+e.name,requestStream:!!e.requestStream,responseStream:!!e.responseStream,requestSerialize:u(i),requestDeserialize:p(i,n),responseSerialize:u(a),responseDeserialize:p(a,n),originalName:o(e.name),requestType:g(i,r),responseType:g(a,r)}}function g(e,t){const n=e.toDescriptor("proto3");return{format:"Protocol Buffer 3 DescriptorProto",type:n.$type.toObject(n,l),fileDescriptorProtos:t}}function f(e,t,n,o){if(e instanceof r.Service)return function(e,t,n,o){const r={};for(const i of e.methodsArray)r[i.name]=d(i,t,n,o);return r}(e,t,n,o);if(e instanceof r.Type)return g(e,o);if(e instanceof r.Enum)return function(e,t){const n=e.toDescriptor("proto3");return{format:"Protocol Buffer 3 EnumDescriptorProto",type:n.$type.toObject(n,l),fileDescriptorProtos:t}}(e,o);throw new Error("Type mismatch in reflection object handling")}function h(e,t){const n={};e.resolveAll();const o=e.toDescriptor("proto3").file.map((e=>Buffer.from(i.FileDescriptorProto.encode(e).finish())));for(const[r,i]of c(e,""))n[r]=f(i,r,t,o);return n}function m(e,t){t=t||{};const n=r.Root.fromDescriptor(e);return n.resolveAll(),h(n,t)}t.load=function(e,t){return(0,a.loadProtosWithOptions)(e,t).then((e=>h(e,t)))},t.loadSync=function(e,t){return h((0,a.loadProtosWithOptionsSync)(e,t),t)},t.fromJSON=function(e,t){t=t||{};const n=r.Root.fromJSON(e);return n.resolveAll(),h(n,t)},t.loadFileDescriptorSetFromBuffer=function(e,t){return m(i.FileDescriptorSet.decode(e),t)},t.loadFileDescriptorSetFromObject=function(e,t){return m(i.FileDescriptorSet.fromObject(e),t)},(0,a.addCommonProtos)()},76232:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addCommonProtos=t.loadProtosWithOptionsSync=t.loadProtosWithOptions=void 0;const o=n(57147),r=n(71017),i=n(1747);function a(e,t){const n=e.resolvePath;e.resolvePath=(e,i)=>{if(r.isAbsolute(i))return i;for(const e of t){const t=r.join(e,i);try{return o.accessSync(t,o.constants.R_OK),t}catch(e){continue}}return process.emitWarning(`${i} not found in any of the include paths ${t}`),n(e,i)}}t.loadProtosWithOptions=async function(e,t){const n=new i.Root;if((t=t||{}).includeDirs){if(!Array.isArray(t.includeDirs))return Promise.reject(new Error("The includeDirs option must be an array"));a(n,t.includeDirs)}const o=await n.load(e,t);return o.resolveAll(),o},t.loadProtosWithOptionsSync=function(e,t){const n=new i.Root;if((t=t||{}).includeDirs){if(!Array.isArray(t.includeDirs))throw new Error("The includeDirs option must be an array");a(n,t.includeDirs)}const o=n.loadSync(e,t);return o.resolveAll(),o},t.addCommonProtos=function(){const e=n(71903),t=n(32186),o=n(37887),r=n(20743);i.common("api",e.nested.google.nested.protobuf.nested),i.common("descriptor",t.nested.google.nested.protobuf.nested),i.common("source_context",o.nested.google.nested.protobuf.nested),i.common("type",r.nested.google.nested.protobuf.nested)}},37187:(e,t,n)=>{var o=n(53637),r=n(63477),i=n(51514),a=n(80356),s=n(19365),l=n(56365),c=n(78273),p=n(87521),u=n(87525),d=n(25454),g=n(4426),f=n(93156),h=n(46007),m=n(27440),y=n(22481),v=n(282),b=n(88987),O=n(79534),w=n(96301),P=n(68783),x=n(40047),S=n(90124),T=n(68627),A=n(56894),E=n(75887),j=n(28090),k=n(60959),_=n(26795),C=n(52722),I=function(){this.basePath="https://server.api.mailchimp.com/3.0".replace(/\/+$/,""),this.config={apiKey:"",accessToken:"",server:"invalid-server"},this.defaultHeaders={},this.timeout=12e4,this.cache=!0,this.enableCookies=!1,"undefined"==typeof window&&(this.agent=new o.agent),this.accountExport=new i(this),this.accountExports=new a(this),this.activityFeed=new s(this),this.authorizedApps=new l(this),this.automations=new c(this),this.batchWebhooks=new p(this),this.batches=new u(this),this.campaignFolders=new d(this),this.campaigns=new g(this),this.connectedSites=new f(this),this.conversations=new h(this),this.customerJourneys=new m(this),this.ecommerce=new y(this),this.facebookAds=new v(this),this.fileManager=new b(this),this.landingPages=new O(this),this.lists=new w(this),this.ping=new P(this),this.reporting=new x(this),this.reports=new S(this),this.root=new T(this),this.searchCampaigns=new A(this),this.searchMembers=new E(this),this.Surveys=new j(this),this.templateFolders=new k(this),this.templates=new _(this),this.verifiedDomains=new C(this)};I.prototype.setConfig=function(e={}){this.config=e},I.prototype.paramToString=function(e){return null==e||null==e?"":e instanceof Date?e.toJSON():e.toString()},I.prototype.buildUrl=function(e,t){e.match(/^\//)||(e="/"+e);var n=this.basePath+e,o=this;return n=n.replace(/\{([\w-]+)\}/g,(function(e,n){var r;return r=t.hasOwnProperty(n)?o.paramToString(t[n]):e,encodeURIComponent(r)})),void 0!==this.config.server&&(n=n.replace("server",this.config.server)),n},I.prototype.isJsonMime=function(e){return Boolean(null!=e&&e.match(/^application\/json(;.*)?$/i))},I.prototype.jsonPreferredMime=function(e){for(var t=0;t{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.getAccountExportsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'exportId' when calling ");var n={export_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/account-exports/{export_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAccountExports=function(e,t){return this.getAccountExportsWithHttpInfo(e,t).then((function(e){return e.data}))}}},80356:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.listAccountExportsWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/account-exports","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.listAccountExports=function(e){return this.listAccountExportsWithHttpInfo(e).then((function(e){return e.data}))},this.createAccountExportWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/account-exports","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createAccountExport=function(e){return this.createAccountExportWithHttpInfo(e).then((function(e){return e.data}))}}},19365:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.getChimpChatterWithHttpInfo=function(e){var t={count:((e=e||{}).count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/activity-feed/chimp-chatter","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getChimpChatter=function(e){return this.getChimpChatterWithHttpInfo(e).then((function(e){return e.data}))}}},56365:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/authorized-apps","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'appId' when calling ");var n={app_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/authorized-apps/{app_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(e,t){return this.getWithHttpInfo(e,t).then((function(e){return e.data}))}}},78273:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.archiveWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");var t={workflow_id:e};return this.apiClient.callApi("/automations/{workflow_id}/actions/archive","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.archive=function(e){return this.archiveWithHttpInfo(e).then((function(e){return e.data}))},this.deleteWorkflowEmailWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'workflowEmailId' when calling ");var n={workflow_id:e,workflow_email_id:t};return this.apiClient.callApi("/automations/{workflow_id}/emails/{workflow_email_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteWorkflowEmail=function(e,t){return this.deleteWorkflowEmailWithHttpInfo(e,t).then((function(e){return e.data}))},this.listWithHttpInfo=function(e){var t={count:((e=e||{}).count,e.count),offset:(e.offset,e.offset),fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),before_create_time:e.beforeCreateTime?e.beforeCreateTime:e.before_create_time,since_create_time:e.sinceCreateTime?e.sinceCreateTime:e.since_create_time,before_start_time:e.beforeStartTime?e.beforeStartTime:e.before_start_time,since_start_time:e.sinceStartTime?e.sinceStartTime:e.since_start_time,status:(e.status,e.status)};return this.apiClient.callApi("/automations","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");var n={workflow_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/automations/{workflow_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(e,t){return this.getWithHttpInfo(e,t).then((function(e){return e.data}))},this.listAllWorkflowEmailsWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");var t={workflow_id:e};return this.apiClient.callApi("/automations/{workflow_id}/emails","GET",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.listAllWorkflowEmails=function(e){return this.listAllWorkflowEmailsWithHttpInfo(e).then((function(e){return e.data}))},this.getWorkflowEmailWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'workflowEmailId' when calling ");var n={workflow_id:e,workflow_email_id:t};return this.apiClient.callApi("/automations/{workflow_id}/emails/{workflow_email_id}","GET",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getWorkflowEmail=function(e,t){return this.getWorkflowEmailWithHttpInfo(e,t).then((function(e){return e.data}))},this.getWorkflowEmailSubscriberQueueWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'workflowEmailId' when calling ");var n={workflow_id:e,workflow_email_id:t};return this.apiClient.callApi("/automations/{workflow_id}/emails/{workflow_email_id}/queue","GET",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getWorkflowEmailSubscriberQueue=function(e,t){return this.getWorkflowEmailSubscriberQueueWithHttpInfo(e,t).then((function(e){return e.data}))},this.getWorkflowEmailSubscriberWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'workflowEmailId' when calling ");if(null==n)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={workflow_id:e,workflow_email_id:t,subscriber_hash:n};return this.apiClient.callApi("/automations/{workflow_id}/emails/{workflow_email_id}/queue/{subscriber_hash}","GET",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getWorkflowEmailSubscriber=function(e,t,n){return this.getWorkflowEmailSubscriberWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.listWorkflowEmailSubscribersRemovedWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");var t={workflow_id:e};return this.apiClient.callApi("/automations/{workflow_id}/removed-subscribers","GET",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.listWorkflowEmailSubscribersRemoved=function(e){return this.listWorkflowEmailSubscribersRemovedWithHttpInfo(e).then((function(e){return e.data}))},this.getRemovedWorkflowEmailSubscriberWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var n={workflow_id:e,subscriber_hash:t};return this.apiClient.callApi("/automations/{workflow_id}/removed-subscribers/{subscriber_hash}","GET",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getRemovedWorkflowEmailSubscriber=function(e,t){return this.getRemovedWorkflowEmailSubscriberWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateWorkflowEmailWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'workflowEmailId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={workflow_id:e,workflow_email_id:t};return this.apiClient.callApi("/automations/{workflow_id}/emails/{workflow_email_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateWorkflowEmail=function(e,t,n){return this.updateWorkflowEmailWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.createWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/automations","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.create=function(e){return this.createWithHttpInfo(e).then((function(e){return e.data}))},this.pauseAllEmailsWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");var t={workflow_id:e};return this.apiClient.callApi("/automations/{workflow_id}/actions/pause-all-emails","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.pauseAllEmails=function(e){return this.pauseAllEmailsWithHttpInfo(e).then((function(e){return e.data}))},this.startAllEmailsWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");var t={workflow_id:e};return this.apiClient.callApi("/automations/{workflow_id}/actions/start-all-emails","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.startAllEmails=function(e){return this.startAllEmailsWithHttpInfo(e).then((function(e){return e.data}))},this.pauseWorkflowEmailWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'workflowEmailId' when calling ");var n={workflow_id:e,workflow_email_id:t};return this.apiClient.callApi("/automations/{workflow_id}/emails/{workflow_email_id}/actions/pause","POST",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.pauseWorkflowEmail=function(e,t){return this.pauseWorkflowEmailWithHttpInfo(e,t).then((function(e){return e.data}))},this.startWorkflowEmailWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'workflowEmailId' when calling ");var n={workflow_id:e,workflow_email_id:t};return this.apiClient.callApi("/automations/{workflow_id}/emails/{workflow_email_id}/actions/start","POST",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.startWorkflowEmail=function(e,t){return this.startWorkflowEmailWithHttpInfo(e,t).then((function(e){return e.data}))},this.addWorkflowEmailSubscriberWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'workflowEmailId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={workflow_id:e,workflow_email_id:t};return this.apiClient.callApi("/automations/{workflow_id}/emails/{workflow_email_id}/queue","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addWorkflowEmailSubscriber=function(e,t,n){return this.addWorkflowEmailSubscriberWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.removeWorkflowEmailSubscriberWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'workflowId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={workflow_id:e};return this.apiClient.callApi("/automations/{workflow_id}/removed-subscribers","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.removeWorkflowEmailSubscriber=function(e,t){return this.removeWorkflowEmailSubscriberWithHttpInfo(e,t).then((function(e){return e.data}))}}},87521:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.removeWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'batchWebhookId' when calling ");var t={batch_webhook_id:e};return this.apiClient.callApi("/batch-webhooks/{batch_webhook_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.remove=function(e){return this.removeWithHttpInfo(e).then((function(e){return e.data}))},this.getWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'batchWebhookId' when calling ");var n={batch_webhook_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/batch-webhooks/{batch_webhook_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(e,t){return this.getWithHttpInfo(e,t).then((function(e){return e.data}))},this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/batch-webhooks","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.updateWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'batchWebhookId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={batch_webhook_id:e};return this.apiClient.callApi("/batch-webhooks/{batch_webhook_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.update=function(e,t){return this.updateWithHttpInfo(e,t).then((function(e){return e.data}))},this.createWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/batch-webhooks","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.create=function(e){return this.createWithHttpInfo(e).then((function(e){return e.data}))}}},87525:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.deleteRequestWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'batchId' when calling ");var t={batch_id:e};return this.apiClient.callApi("/batches/{batch_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteRequest=function(e){return this.deleteRequestWithHttpInfo(e).then((function(e){return e.data}))},this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/batches","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.statusWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'batchId' when calling ");var n={batch_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/batches/{batch_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.status=function(e,t){return this.statusWithHttpInfo(e,t).then((function(e){return e.data}))},this.startWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/batches","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.start=function(e){return this.startWithHttpInfo(e).then((function(e){return e.data}))}}},25454:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.removeWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'folderId' when calling ");var t={folder_id:e};return this.apiClient.callApi("/campaign-folders/{folder_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.remove=function(e){return this.removeWithHttpInfo(e).then((function(e){return e.data}))},this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/campaign-folders","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'folderId' when calling ");var n={folder_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/campaign-folders/{folder_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(e,t){return this.getWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'folderId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={folder_id:e};return this.apiClient.callApi("/campaign-folders/{folder_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.update=function(e,t){return this.updateWithHttpInfo(e,t).then((function(e){return e.data}))},this.createWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/campaign-folders","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.create=function(e){return this.createWithHttpInfo(e).then((function(e){return e.data}))}}},4426:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.removeWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var t={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.remove=function(e){return this.removeWithHttpInfo(e).then((function(e){return e.data}))},this.deleteFeedbackMessageWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'feedbackId' when calling ");var n={campaign_id:e,feedback_id:t};return this.apiClient.callApi("/campaigns/{campaign_id}/feedback/{feedback_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteFeedbackMessage=function(e,t){return this.deleteFeedbackMessageWithHttpInfo(e,t).then((function(e){return e.data}))},this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),type:(e.type,e.type),status:(e.status,e.status),before_send_time:e.beforeSendTime?e.beforeSendTime:e.before_send_time,since_send_time:e.sinceSendTime?e.sinceSendTime:e.since_send_time,before_create_time:e.beforeCreateTime?e.beforeCreateTime:e.before_create_time,since_create_time:e.sinceCreateTime?e.sinceCreateTime:e.since_create_time,list_id:e.listId?e.listId:e.list_id,folder_id:e.folderId?e.folderId:e.folder_id,member_id:e.memberId?e.memberId:e.member_id,sort_field:e.sortField?e.sortField:e.sort_field,sort_dir:e.sortDir?e.sortDir:e.sort_dir};return this.apiClient.callApi("/campaigns","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/campaigns/{campaign_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(e,t){return this.getWithHttpInfo(e,t).then((function(e){return e.data}))},this.getContentWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/campaigns/{campaign_id}/content","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getContent=function(e,t){return this.getContentWithHttpInfo(e,t).then((function(e){return e.data}))},this.getFeedbackWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/campaigns/{campaign_id}/feedback","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getFeedback=function(e,t){return this.getFeedbackWithHttpInfo(e,t).then((function(e){return e.data}))},this.getFeedbackMessageWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'feedbackId' when calling ");var o={campaign_id:e,feedback_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/campaigns/{campaign_id}/feedback/{feedback_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getFeedbackMessage=function(e,t,n){return this.getFeedbackMessageWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getSendChecklistWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/campaigns/{campaign_id}/send-checklist","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSendChecklist=function(e,t){return this.getSendChecklistWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.update=function(e,t){return this.updateWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateFeedbackMessageWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'feedbackId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={campaign_id:e,feedback_id:t};return this.apiClient.callApi("/campaigns/{campaign_id}/feedback/{feedback_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateFeedbackMessage=function(e,t,n){return this.updateFeedbackMessageWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.createWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/campaigns","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.create=function(e){return this.createWithHttpInfo(e).then((function(e){return e.data}))},this.cancelSendWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var t={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/cancel-send","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.cancelSend=function(e){return this.cancelSendWithHttpInfo(e).then((function(e){return e.data}))},this.createResendWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var t={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/create-resend","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createResend=function(e){return this.createResendWithHttpInfo(e).then((function(e){return e.data}))},this.pauseWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var t={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/pause","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.pause=function(e){return this.pauseWithHttpInfo(e).then((function(e){return e.data}))},this.replicateWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var t={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/replicate","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.replicate=function(e){return this.replicateWithHttpInfo(e).then((function(e){return e.data}))},this.resumeWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var t={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/resume","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.resume=function(e){return this.resumeWithHttpInfo(e).then((function(e){return e.data}))},this.scheduleWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/schedule","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.schedule=function(e,t){return this.scheduleWithHttpInfo(e,t).then((function(e){return e.data}))},this.sendWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var t={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/send","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.send=function(e){return this.sendWithHttpInfo(e).then((function(e){return e.data}))},this.sendTestEmailWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/test","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.sendTestEmail=function(e,t){return this.sendTestEmailWithHttpInfo(e,t).then((function(e){return e.data}))},this.unscheduleWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var t={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/actions/unschedule","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.unschedule=function(e){return this.unscheduleWithHttpInfo(e).then((function(e){return e.data}))},this.addFeedbackWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/feedback","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addFeedback=function(e,t){return this.addFeedbackWithHttpInfo(e,t).then((function(e){return e.data}))},this.setContentWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={campaign_id:e};return this.apiClient.callApi("/campaigns/{campaign_id}/content","PUT",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.setContent=function(e,t){return this.setContentWithHttpInfo(e,t).then((function(e){return e.data}))}}},93156:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.removeWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'connectedSiteId' when calling ");var t={connected_site_id:e};return this.apiClient.callApi("/connected-sites/{connected_site_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.remove=function(e){return this.removeWithHttpInfo(e).then((function(e){return e.data}))},this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/connected-sites","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'connectedSiteId' when calling ");var n={connected_site_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/connected-sites/{connected_site_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(e,t){return this.getWithHttpInfo(e,t).then((function(e){return e.data}))},this.createWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/connected-sites","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.create=function(e){return this.createWithHttpInfo(e).then((function(e){return e.data}))},this.verifyScriptInstallationWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'connectedSiteId' when calling ");var t={connected_site_id:e};return this.apiClient.callApi("/connected-sites/{connected_site_id}/actions/verify-script-installation","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.verifyScriptInstallation=function(e){return this.verifyScriptInstallationWithHttpInfo(e).then((function(e){return e.data}))}}},46007:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),has_unread_messages:e.hasUnreadMessages?e.hasUnreadMessages:e.has_unread_messages,list_id:e.listId?e.listId:e.list_id,campaign_id:e.campaignId?e.campaignId:e.campaign_id};return this.apiClient.callApi("/conversations","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'conversationId' when calling ");var n={conversation_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/conversations/{conversation_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(e,t){return this.getWithHttpInfo(e,t).then((function(e){return e.data}))},this.getConversationMessagesWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'conversationId' when calling ");var n={conversation_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),is_read:t.isRead?t.isRead:t.is_read,before_timestamp:t.beforeTimestamp?t.beforeTimestamp:t.before_timestamp,since_timestamp:t.sinceTimestamp?t.sinceTimestamp:t.since_timestamp};return this.apiClient.callApi("/conversations/{conversation_id}/messages","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getConversationMessages=function(e,t){return this.getConversationMessagesWithHttpInfo(e,t).then((function(e){return e.data}))},this.getConversationMessageWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'conversationId' when calling ");if(null==t)throw new Error("Missing the required parameter 'messageId' when calling ");var o={conversation_id:e,message_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/conversations/{conversation_id}/messages/{message_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getConversationMessage=function(e,t,n){return this.getConversationMessageWithHttpInfo(e,t,n).then((function(e){return e.data}))}}},27440:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.triggerWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'journeyId' when calling ");if(null==t)throw new Error("Missing the required parameter 'stepId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={journey_id:e,step_id:t};return this.apiClient.callApi("/customer-journeys/journeys/{journey_id}/steps/{step_id}/actions/trigger","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.trigger=function(e,t,n){return this.triggerWithHttpInfo(e,t,n).then((function(e){return e.data}))}}},22481:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.deleteStoreWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");var t={store_id:e};return this.apiClient.callApi("/ecommerce/stores/{store_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteStore=function(e){return this.deleteStoreWithHttpInfo(e).then((function(e){return e.data}))},this.deleteStoreCartWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'cartId' when calling ");var n={store_id:e,cart_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts/{cart_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteStoreCart=function(e,t){return this.deleteStoreCartWithHttpInfo(e,t).then((function(e){return e.data}))},this.deleteCartLineItemWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'cartId' when calling ");if(null==n)throw new Error("Missing the required parameter 'lineId' when calling ");var o={store_id:e,cart_id:t,line_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id}","DELETE",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteCartLineItem=function(e,t,n){return this.deleteCartLineItemWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deleteStoreCustomerWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'customerId' when calling ");var n={store_id:e,customer_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/customers/{customer_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteStoreCustomer=function(e,t){return this.deleteStoreCustomerWithHttpInfo(e,t).then((function(e){return e.data}))},this.deleteOrderWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'orderId' when calling ");var n={store_id:e,order_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders/{order_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteOrder=function(e,t){return this.deleteOrderWithHttpInfo(e,t).then((function(e){return e.data}))},this.deleteOrderLineItemWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'orderId' when calling ");if(null==n)throw new Error("Missing the required parameter 'lineId' when calling ");var o={store_id:e,order_id:t,line_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders/{order_id}/lines/{line_id}","DELETE",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteOrderLineItem=function(e,t,n){return this.deleteOrderLineItemWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deleteStoreProductWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");var n={store_id:e,product_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteStoreProduct=function(e,t){return this.deleteStoreProductWithHttpInfo(e,t).then((function(e){return e.data}))},this.deleteProductImageWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'imageId' when calling ");var o={store_id:e,product_id:t,image_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/images/{image_id}","DELETE",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteProductImage=function(e,t,n){return this.deleteProductImageWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deleteProductVariantWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'variantId' when calling ");var o={store_id:e,product_id:t,variant_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}","DELETE",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteProductVariant=function(e,t,n){return this.deleteProductVariantWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deletePromoCodeWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'promoRuleId' when calling ");if(null==n)throw new Error("Missing the required parameter 'promoCodeId' when calling ");var o={store_id:e,promo_rule_id:t,promo_code_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id}","DELETE",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deletePromoCode=function(e,t,n){return this.deletePromoCodeWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deletePromoRuleWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'promoRuleId' when calling ");var n={store_id:e,promo_rule_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deletePromoRule=function(e,t){return this.deletePromoRuleWithHttpInfo(e,t).then((function(e){return e.data}))},this.ordersWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),campaign_id:e.campaignId?e.campaignId:e.campaign_id,outreach_id:e.outreachId?e.outreachId:e.outreach_id,customer_id:e.customerId?e.customerId:e.customer_id,has_outreach:e.hasOutreach?e.hasOutreach:e.has_outreach};return this.apiClient.callApi("/ecommerce/orders","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.orders=function(e){return this.ordersWithHttpInfo(e).then((function(e){return e.data}))},this.storesWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/ecommerce/stores","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.stores=function(e){return this.storesWithHttpInfo(e).then((function(e){return e.data}))},this.getStoreWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");var n={store_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getStore=function(e,t){return this.getStoreWithHttpInfo(e,t).then((function(e){return e.data}))},this.getStoreCartsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");var n={store_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset)};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getStoreCarts=function(e,t){return this.getStoreCartsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getStoreCartWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'cartId' when calling ");var o={store_id:e,cart_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts/{cart_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getStoreCart=function(e,t,n){return this.getStoreCartWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getAllCartLineItemsWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'cartId' when calling ");var o={store_id:e,cart_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts/{cart_id}/lines","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAllCartLineItems=function(e,t,n){return this.getAllCartLineItemsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getCartLineItemWithHttpInfo=function(e,t,n,o){if(o=o||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'cartId' when calling ");if(null==n)throw new Error("Missing the required parameter 'lineId' when calling ");var r={store_id:e,cart_id:t,line_id:n},i={fields:this.apiClient.buildCollectionParam((o.fields,o.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(o.excludeFields?o.excludeFields:o.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id}","GET",r,i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCartLineItem=function(e,t,n,o){return this.getCartLineItemWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.getAllStoreCustomersWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");var n={store_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),email_address:t.emailAddress?t.emailAddress:t.email_address};return this.apiClient.callApi("/ecommerce/stores/{store_id}/customers","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAllStoreCustomers=function(e,t){return this.getAllStoreCustomersWithHttpInfo(e,t).then((function(e){return e.data}))},this.getStoreCustomerWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'customerId' when calling ");var o={store_id:e,customer_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/customers/{customer_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getStoreCustomer=function(e,t,n){return this.getStoreCustomerWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getStoreOrdersWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");var n={store_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),customer_id:t.customerId?t.customerId:t.customer_id,has_outreach:t.hasOutreach?t.hasOutreach:t.has_outreach,campaign_id:t.campaignId?t.campaignId:t.campaign_id,outreach_id:t.outreachId?t.outreachId:t.outreach_id};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getStoreOrders=function(e,t){return this.getStoreOrdersWithHttpInfo(e,t).then((function(e){return e.data}))},this.getOrderWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'orderId' when calling ");var o={store_id:e,order_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders/{order_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getOrder=function(e,t,n){return this.getOrderWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getAllOrderLineItemsWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'orderId' when calling ");var o={store_id:e,order_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders/{order_id}/lines","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAllOrderLineItems=function(e,t,n){return this.getAllOrderLineItemsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getOrderLineItemWithHttpInfo=function(e,t,n,o){if(o=o||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'orderId' when calling ");if(null==n)throw new Error("Missing the required parameter 'lineId' when calling ");var r={store_id:e,order_id:t,line_id:n},i={fields:this.apiClient.buildCollectionParam((o.fields,o.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(o.excludeFields?o.excludeFields:o.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders/{order_id}/lines/{line_id}","GET",r,i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getOrderLineItem=function(e,t,n,o){return this.getOrderLineItemWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.getAllStoreProductsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");var n={store_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset)};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAllStoreProducts=function(e,t){return this.getAllStoreProductsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getStoreProductWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");var o={store_id:e,product_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getStoreProduct=function(e,t,n){return this.getStoreProductWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getProductImagesWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");var o={store_id:e,product_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/images","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getProductImages=function(e,t,n){return this.getProductImagesWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getProductImageWithHttpInfo=function(e,t,n,o){if(o=o||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'imageId' when calling ");var r={store_id:e,product_id:t,image_id:n},i={fields:this.apiClient.buildCollectionParam((o.fields,o.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(o.excludeFields?o.excludeFields:o.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/images/{image_id}","GET",r,i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getProductImage=function(e,t,n,o){return this.getProductImageWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.getProductVariantsWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");var o={store_id:e,product_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/variants","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getProductVariants=function(e,t,n){return this.getProductVariantsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getProductVariantWithHttpInfo=function(e,t,n,o){if(o=o||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'variantId' when calling ");var r={store_id:e,product_id:t,variant_id:n},i={fields:this.apiClient.buildCollectionParam((o.fields,o.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(o.excludeFields?o.excludeFields:o.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}","GET",r,i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getProductVariant=function(e,t,n,o){return this.getProductVariantWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.getPromoCodesWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'promoRuleId' when calling ");if(null==t)throw new Error("Missing the required parameter 'storeId' when calling ");var o={promo_rule_id:e,store_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getPromoCodes=function(e,t,n){return this.getPromoCodesWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getPromoCodeWithHttpInfo=function(e,t,n,o){if(o=o||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'promoRuleId' when calling ");if(null==n)throw new Error("Missing the required parameter 'promoCodeId' when calling ");var r={store_id:e,promo_rule_id:t,promo_code_id:n},i={fields:this.apiClient.buildCollectionParam((o.fields,o.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(o.excludeFields?o.excludeFields:o.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id}","GET",r,i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getPromoCode=function(e,t,n,o){return this.getPromoCodeWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.listPromoRulesWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");var n={store_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset)};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.listPromoRules=function(e,t){return this.listPromoRulesWithHttpInfo(e,t).then((function(e){return e.data}))},this.getPromoRuleWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'promoRuleId' when calling ");var o={store_id:e,promo_rule_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getPromoRule=function(e,t,n){return this.getPromoRuleWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateStoreWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={store_id:e};return this.apiClient.callApi("/ecommerce/stores/{store_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateStore=function(e,t){return this.updateStoreWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateStoreCartWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'cartId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,cart_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts/{cart_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateStoreCart=function(e,t,n){return this.updateStoreCartWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateCartLineItemWithHttpInfo=function(e,t,n,o){var r=o;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'cartId' when calling ");if(null==n)throw new Error("Missing the required parameter 'lineId' when calling ");if(null==o)throw new Error("Missing the required parameter 'body' when calling ");var i={store_id:e,cart_id:t,line_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id}","PATCH",i,{},{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateCartLineItem=function(e,t,n,o){return this.updateCartLineItemWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.updateStoreCustomerWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'customerId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,customer_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/customers/{customer_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateStoreCustomer=function(e,t,n){return this.updateStoreCustomerWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateOrderWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'orderId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,order_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders/{order_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateOrder=function(e,t,n){return this.updateOrderWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateOrderLineItemWithHttpInfo=function(e,t,n,o){var r=o;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'orderId' when calling ");if(null==n)throw new Error("Missing the required parameter 'lineId' when calling ");if(null==o)throw new Error("Missing the required parameter 'body' when calling ");var i={store_id:e,order_id:t,line_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders/{order_id}/lines/{line_id}","PATCH",i,{},{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateOrderLineItem=function(e,t,n,o){return this.updateOrderLineItemWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.updateStoreProductWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,product_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateStoreProduct=function(e,t,n){return this.updateStoreProductWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateProductImageWithHttpInfo=function(e,t,n,o){var r=o;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'imageId' when calling ");if(null==o)throw new Error("Missing the required parameter 'body' when calling ");var i={store_id:e,product_id:t,image_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/images/{image_id}","PATCH",i,{},{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateProductImage=function(e,t,n,o){return this.updateProductImageWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.updateProductVariantWithHttpInfo=function(e,t,n,o){var r=o;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'variantId' when calling ");if(null==o)throw new Error("Missing the required parameter 'body' when calling ");var i={store_id:e,product_id:t,variant_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}","PATCH",i,{},{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateProductVariant=function(e,t,n,o){return this.updateProductVariantWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.updatePromoCodeWithHttpInfo=function(e,t,n,o){var r=o;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'promoRuleId' when calling ");if(null==n)throw new Error("Missing the required parameter 'promoCodeId' when calling ");if(null==o)throw new Error("Missing the required parameter 'body' when calling ");var i={store_id:e,promo_rule_id:t,promo_code_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id}","PATCH",i,{},{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updatePromoCode=function(e,t,n,o){return this.updatePromoCodeWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.updatePromoRuleWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'promoRuleId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,promo_rule_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updatePromoRule=function(e,t,n){return this.updatePromoRuleWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addStoreWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/ecommerce/stores","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addStore=function(e){return this.addStoreWithHttpInfo(e).then((function(e){return e.data}))},this.addStoreCartWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={store_id:e};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addStoreCart=function(e,t){return this.addStoreCartWithHttpInfo(e,t).then((function(e){return e.data}))},this.addCartLineItemWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'cartId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,cart_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/carts/{cart_id}/lines","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addCartLineItem=function(e,t,n){return this.addCartLineItemWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addStoreCustomerWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={store_id:e};return this.apiClient.callApi("/ecommerce/stores/{store_id}/customers","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addStoreCustomer=function(e,t){return this.addStoreCustomerWithHttpInfo(e,t).then((function(e){return e.data}))},this.addStoreOrderWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={store_id:e};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addStoreOrder=function(e,t){return this.addStoreOrderWithHttpInfo(e,t).then((function(e){return e.data}))},this.addOrderLineItemWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'orderId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,order_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/orders/{order_id}/lines","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addOrderLineItem=function(e,t,n){return this.addOrderLineItemWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addStoreProductWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={store_id:e};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addStoreProduct=function(e,t){return this.addStoreProductWithHttpInfo(e,t).then((function(e){return e.data}))},this.addProductImageWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,product_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/images","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addProductImage=function(e,t,n){return this.addProductImageWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addProductVariantsWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,product_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/variants","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addProductVariants=function(e,t,n){return this.addProductVariantsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addPromoCodeWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'promoRuleId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,promo_rule_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addPromoCode=function(e,t,n){return this.addPromoCodeWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addPromoRulesWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={store_id:e};return this.apiClient.callApi("/ecommerce/stores/{store_id}/promo-rules","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addPromoRules=function(e,t){return this.addPromoRulesWithHttpInfo(e,t).then((function(e){return e.data}))},this.setStoreCustomerWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'customerId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={store_id:e,customer_id:t};return this.apiClient.callApi("/ecommerce/stores/{store_id}/customers/{customer_id}","PUT",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.setStoreCustomer=function(e,t,n){return this.setStoreCustomerWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addProductVariantWithHttpInfo=function(e,t,n,o){var r=o;if(null==e)throw new Error("Missing the required parameter 'storeId' when calling ");if(null==t)throw new Error("Missing the required parameter 'productId' when calling ");if(null==n)throw new Error("Missing the required parameter 'variantId' when calling ");if(null==o)throw new Error("Missing the required parameter 'body' when calling ");var i={store_id:e,product_id:t,variant_id:n};return this.apiClient.callApi("/ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}","PUT",i,{},{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addProductVariant=function(e,t,n,o){return this.addProductVariantWithHttpInfo(e,t,n,o).then((function(e){return e.data}))}}},282:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),sort_field:e.sortField?e.sortField:e.sort_field,sort_dir:e.sortDir?e.sortDir:e.sort_dir};return this.apiClient.callApi("/facebook-ads","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getAdWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");var n={outreach_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/facebook-ads/{outreach_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAd=function(e,t){return this.getAdWithHttpInfo(e,t).then((function(e){return e.data}))}}},88987:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.deleteFileWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'fileId' when calling ");var t={file_id:e};return this.apiClient.callApi("/file-manager/files/{file_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteFile=function(e){return this.deleteFileWithHttpInfo(e).then((function(e){return e.data}))},this.deleteFolderWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'folderId' when calling ");var t={folder_id:e};return this.apiClient.callApi("/file-manager/folders/{folder_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteFolder=function(e){return this.deleteFolderWithHttpInfo(e).then((function(e){return e.data}))},this.filesWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),type:(e.type,e.type),created_by:e.createdBy?e.createdBy:e.created_by,before_created_at:e.beforeCreatedAt?e.beforeCreatedAt:e.before_created_at,since_created_at:e.sinceCreatedAt?e.sinceCreatedAt:e.since_created_at,sort_field:e.sortField?e.sortField:e.sort_field,sort_dir:e.sortDir?e.sortDir:e.sort_dir};return this.apiClient.callApi("/file-manager/files","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.files=function(e){return this.filesWithHttpInfo(e).then((function(e){return e.data}))},this.getFileWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'fileId' when calling ");var n={file_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/file-manager/files/{file_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getFile=function(e,t){return this.getFileWithHttpInfo(e,t).then((function(e){return e.data}))},this.listFoldersWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),created_by:e.createdBy?e.createdBy:e.created_by,before_created_at:e.beforeCreatedAt?e.beforeCreatedAt:e.before_created_at,since_created_at:e.sinceCreatedAt?e.sinceCreatedAt:e.since_created_at};return this.apiClient.callApi("/file-manager/folders","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.listFolders=function(e){return this.listFoldersWithHttpInfo(e).then((function(e){return e.data}))},this.getFolderWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'folderId' when calling ");var n={folder_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/file-manager/folders/{folder_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getFolder=function(e,t){return this.getFolderWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateFileWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'fileId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={file_id:e};return this.apiClient.callApi("/file-manager/files/{file_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateFile=function(e,t){return this.updateFileWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateFolderWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'folderId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={folder_id:e};return this.apiClient.callApi("/file-manager/folders/{folder_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateFolder=function(e,t){return this.updateFolderWithHttpInfo(e,t).then((function(e){return e.data}))},this.uploadWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/file-manager/files","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.upload=function(e){return this.uploadWithHttpInfo(e).then((function(e){return e.data}))},this.createFolderWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/file-manager/folders","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createFolder=function(e){return this.createFolderWithHttpInfo(e).then((function(e){return e.data}))}}},79534:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.deletePageWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'pageId' when calling ");var t={page_id:e};return this.apiClient.callApi("/landing-pages/{page_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deletePage=function(e){return this.deletePageWithHttpInfo(e).then((function(e){return e.data}))},this.getAllWithHttpInfo=function(e){var t={sort_dir:(e=e||{}).sortDir?e.sortDir:e.sort_dir,sort_field:e.sortField?e.sortField:e.sort_field,fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count)};return this.apiClient.callApi("/landing-pages","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAll=function(e){return this.getAllWithHttpInfo(e).then((function(e){return e.data}))},this.getPageWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'pageId' when calling ");var n={page_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/landing-pages/{page_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getPage=function(e,t){return this.getPageWithHttpInfo(e,t).then((function(e){return e.data}))},this.getPageContentWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'pageId' when calling ");var n={page_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/landing-pages/{page_id}/content","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getPageContent=function(e,t){return this.getPageContentWithHttpInfo(e,t).then((function(e){return e.data}))},this.updatePageWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'pageId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={page_id:e};return this.apiClient.callApi("/landing-pages/{page_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updatePage=function(e,t){return this.updatePageWithHttpInfo(e,t).then((function(e){return e.data}))},this.createWithHttpInfo=function(e,t){t=t||{};var n=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");var o={use_default_list:t.useDefaultList?t.useDefaultList:t.use_default_list};return this.apiClient.callApi("/landing-pages","POST",{},o,{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.create=function(e,t){return this.createWithHttpInfo(e,t).then((function(e){return e.data}))},this.publishPageWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'pageId' when calling ");var t={page_id:e};return this.apiClient.callApi("/landing-pages/{page_id}/actions/publish","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.publishPage=function(e){return this.publishPageWithHttpInfo(e).then((function(e){return e.data}))},this.unpublishPageWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'pageId' when calling ");var t={page_id:e};return this.apiClient.callApi("/landing-pages/{page_id}/actions/unpublish","POST",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.unpublishPage=function(e){return this.unpublishPageWithHttpInfo(e).then((function(e){return e.data}))}}},96301:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.deleteListWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");var t={list_id:e};return this.apiClient.callApi("/lists/{list_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteList=function(e){return this.deleteListWithHttpInfo(e).then((function(e){return e.data}))},this.deleteInterestCategoryWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'interestCategoryId' when calling ");var n={list_id:e,interest_category_id:t};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteInterestCategory=function(e,t){return this.deleteInterestCategoryWithHttpInfo(e,t).then((function(e){return e.data}))},this.deleteInterestCategoryInterestWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'interestCategoryId' when calling ");if(null==n)throw new Error("Missing the required parameter 'interestId' when calling ");var o={list_id:e,interest_category_id:t,interest_id:n};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}","DELETE",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteInterestCategoryInterest=function(e,t,n){return this.deleteInterestCategoryInterestWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deleteListMemberWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var n={list_id:e,subscriber_hash:t};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteListMember=function(e,t){return this.deleteListMemberWithHttpInfo(e,t).then((function(e){return e.data}))},this.deleteListMemberNoteWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");if(null==n)throw new Error("Missing the required parameter 'noteId' when calling ");var o={list_id:e,subscriber_hash:t,note_id:n};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/notes/{note_id}","DELETE",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteListMemberNote=function(e,t,n){return this.deleteListMemberNoteWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deleteListMergeFieldWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'mergeId' when calling ");var n={list_id:e,merge_id:t};return this.apiClient.callApi("/lists/{list_id}/merge-fields/{merge_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteListMergeField=function(e,t){return this.deleteListMergeFieldWithHttpInfo(e,t).then((function(e){return e.data}))},this.deleteSegmentWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'segmentId' when calling ");var n={list_id:e,segment_id:t};return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteSegment=function(e,t){return this.deleteSegmentWithHttpInfo(e,t).then((function(e){return e.data}))},this.removeSegmentMemberWithHttpInfo=function(e,t,n){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'segmentId' when calling ");if(null==n)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={list_id:e,segment_id:t,subscriber_hash:n};return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}/members/{subscriber_hash}","DELETE",o,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.removeSegmentMember=function(e,t,n){return this.removeSegmentMemberWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deleteListWebhookWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'webhookId' when calling ");var n={list_id:e,webhook_id:t};return this.apiClient.callApi("/lists/{list_id}/webhooks/{webhook_id}","DELETE",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteListWebhook=function(e,t){return this.deleteListWebhookWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListMemberTagsWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={list_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/tags","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberTags=function(e,t,n){return this.getListMemberTagsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getAllListsWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),before_date_created:e.beforeDateCreated?e.beforeDateCreated:e.before_date_created,since_date_created:e.sinceDateCreated?e.sinceDateCreated:e.since_date_created,before_campaign_last_sent:e.beforeCampaignLastSent?e.beforeCampaignLastSent:e.before_campaign_last_sent,since_campaign_last_sent:e.sinceCampaignLastSent?e.sinceCampaignLastSent:e.since_campaign_last_sent,email:(e.email,e.email),sort_field:e.sortField?e.sortField:e.sort_field,sort_dir:e.sortDir?e.sortDir:e.sort_dir,has_ecommerce_store:e.hasEcommerceStore?e.hasEcommerceStore:e.has_ecommerce_store,include_total_contacts:e.includeTotalContacts?e.includeTotalContacts:e.include_total_contacts};return this.apiClient.callApi("/lists","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAllLists=function(e){return this.getAllListsWithHttpInfo(e).then((function(e){return e.data}))},this.getListWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),include_total_contacts:t.includeTotalContacts?t.includeTotalContacts:t.include_total_contacts};return this.apiClient.callApi("/lists/{list_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getList=function(e,t){return this.getListWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListAbuseReportsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset)};return this.apiClient.callApi("/lists/{list_id}/abuse-reports","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListAbuseReports=function(e,t){return this.getListAbuseReportsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListAbuseReportDetailsWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'reportId' when calling ");var o={list_id:e,report_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/lists/{list_id}/abuse-reports/{report_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListAbuseReportDetails=function(e,t,n){return this.getListAbuseReportDetailsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListRecentActivityWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={count:(t.count,t.count),offset:(t.offset,t.offset),fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/activity","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListRecentActivity=function(e,t){return this.getListRecentActivityWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListClientsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/clients","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListClients=function(e,t){return this.getListClientsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListGrowthHistoryWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),sort_field:t.sortField?t.sortField:t.sort_field,sort_dir:t.sortDir?t.sortDir:t.sort_dir};return this.apiClient.callApi("/lists/{list_id}/growth-history","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListGrowthHistory=function(e,t){return this.getListGrowthHistoryWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListGrowthHistoryByMonthWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'month' when calling ");var o={list_id:e,month:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/growth-history/{month}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListGrowthHistoryByMonth=function(e,t,n){return this.getListGrowthHistoryByMonthWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListInterestCategoriesWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),type:(t.type,t.type)};return this.apiClient.callApi("/lists/{list_id}/interest-categories","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListInterestCategories=function(e,t){return this.getListInterestCategoriesWithHttpInfo(e,t).then((function(e){return e.data}))},this.getInterestCategoryWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'interestCategoryId' when calling ");var o={list_id:e,interest_category_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getInterestCategory=function(e,t,n){return this.getInterestCategoryWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.listInterestCategoryInterestsWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'interestCategoryId' when calling ");var o={list_id:e,interest_category_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}/interests","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.listInterestCategoryInterests=function(e,t,n){return this.listInterestCategoryInterestsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getInterestCategoryInterestWithHttpInfo=function(e,t,n,o){if(o=o||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'interestCategoryId' when calling ");if(null==n)throw new Error("Missing the required parameter 'interestId' when calling ");var r={list_id:e,interest_category_id:t,interest_id:n},i={fields:this.apiClient.buildCollectionParam((o.fields,o.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(o.excludeFields?o.excludeFields:o.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}","GET",r,i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getInterestCategoryInterest=function(e,t,n,o){return this.getInterestCategoryInterestWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.getListLocationsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/locations","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListLocations=function(e,t){return this.getListLocationsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListMembersInfoWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),email_type:t.emailType?t.emailType:t.email_type,status:(t.status,t.status),since_timestamp_opt:t.sinceTimestampOpt?t.sinceTimestampOpt:t.since_timestamp_opt,before_timestamp_opt:t.beforeTimestampOpt?t.beforeTimestampOpt:t.before_timestamp_opt,since_last_changed:t.sinceLastChanged?t.sinceLastChanged:t.since_last_changed,before_last_changed:t.beforeLastChanged?t.beforeLastChanged:t.before_last_changed,unique_email_id:t.uniqueEmailId?t.uniqueEmailId:t.unique_email_id,vip_only:t.vipOnly?t.vipOnly:t.vip_only,interest_category_id:t.interestCategoryId?t.interestCategoryId:t.interest_category_id,interest_ids:t.interestIds?t.interestIds:t.interest_ids,interest_match:t.interestMatch?t.interestMatch:t.interest_match,sort_field:t.sortField?t.sortField:t.sort_field,sort_dir:t.sortDir?t.sortDir:t.sort_dir,since_last_campaign:t.sinceLastCampaign?t.sinceLastCampaign:t.since_last_campaign,unsubscribed_since:t.unsubscribedSince?t.unsubscribedSince:t.unsubscribed_since};return this.apiClient.callApi("/lists/{list_id}/members","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMembersInfo=function(e,t){return this.getListMembersInfoWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListMemberWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={list_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMember=function(e,t,n){return this.getListMemberWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListMemberActivityWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={list_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),action:this.apiClient.buildCollectionParam((n.action,n.action),"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/activity","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberActivity=function(e,t,n){return this.getListMemberActivityWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListMemberActivityFeedWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={list_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset),activity_filters:this.apiClient.buildCollectionParam(n.activityFilters?n.activityFilters:n.activity_filters,"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/activity-feed","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberActivityFeed=function(e,t,n){return this.getListMemberActivityFeedWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListMemberEventsWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={list_id:e,subscriber_hash:t},r={count:(n.count,n.count),offset:(n.offset,n.offset),fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/events","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberEvents=function(e,t,n){return this.getListMemberEventsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListMemberGoalsWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={list_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/goals","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberGoals=function(e,t,n){return this.getListMemberGoalsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListMemberNotesWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={list_id:e,subscriber_hash:t},r={sort_field:n.sortField?n.sortField:n.sort_field,sort_dir:n.sortDir?n.sortDir:n.sort_dir,fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/notes","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberNotes=function(e,t,n){return this.getListMemberNotesWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListMemberNoteWithHttpInfo=function(e,t,n,o){if(o=o||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");if(null==n)throw new Error("Missing the required parameter 'noteId' when calling ");var r={list_id:e,subscriber_hash:t,note_id:n},i={fields:this.apiClient.buildCollectionParam((o.fields,o.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(o.excludeFields?o.excludeFields:o.exclude_fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/notes/{note_id}","GET",r,i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberNote=function(e,t,n,o){return this.getListMemberNoteWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.getListMergeFieldsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),type:(t.type,t.type),required:(t.required,t.required)};return this.apiClient.callApi("/lists/{list_id}/merge-fields","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMergeFields=function(e,t){return this.getListMergeFieldsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListMergeFieldWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'mergeId' when calling ");var o={list_id:e,merge_id:t},r={exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv")};return this.apiClient.callApi("/lists/{list_id}/merge-fields/{merge_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMergeField=function(e,t,n){return this.getListMergeFieldWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getSegmentWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'segmentId' when calling ");var o={list_id:e,segment_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),include_cleaned:n.includeCleaned?n.includeCleaned:n.include_cleaned,include_transactional:n.includeTransactional?n.includeTransactional:n.include_transactional,include_unsubscribed:n.includeUnsubscribed?n.includeUnsubscribed:n.include_unsubscribed};return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSegment=function(e,t,n){return this.getSegmentWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getSegmentMembersListWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'segmentId' when calling ");var o={list_id:e,segment_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset),include_cleaned:n.includeCleaned?n.includeCleaned:n.include_cleaned,include_transactional:n.includeTransactional?n.includeTransactional:n.include_transactional,include_unsubscribed:n.includeUnsubscribed?n.includeUnsubscribed:n.include_unsubscribed};return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}/members","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSegmentMembersList=function(e,t,n){return this.getSegmentMembersListWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getListSignupFormsWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");var t={list_id:e};return this.apiClient.callApi("/lists/{list_id}/signup-forms","GET",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListSignupForms=function(e){return this.getListSignupFormsWithHttpInfo(e).then((function(e){return e.data}))},this.getAllSurveysForListWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");var t={list_id:e};return this.apiClient.callApi("/lists/{list_id}/surveys","GET",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAllSurveysForList=function(e){return this.getAllSurveysForListWithHttpInfo(e).then((function(e){return e.data}))},this.getSurveyWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'surveyId' when calling ");var n={list_id:e,survey_id:t};return this.apiClient.callApi("/lists/{list_id}/surveys/{survey_id}","GET",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSurvey=function(e,t){return this.getSurveyWithHttpInfo(e,t).then((function(e){return e.data}))},this.getListWebhooksWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");var t={list_id:e};return this.apiClient.callApi("/lists/{list_id}/webhooks","GET",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListWebhooks=function(e){return this.getListWebhooksWithHttpInfo(e).then((function(e){return e.data}))},this.getListWebhookWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'webhookId' when calling ");var n={list_id:e,webhook_id:t};return this.apiClient.callApi("/lists/{list_id}/webhooks/{webhook_id}","GET",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListWebhook=function(e,t){return this.getListWebhookWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateListWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={list_id:e};return this.apiClient.callApi("/lists/{list_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateList=function(e,t){return this.updateListWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateInterestCategoryWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'interestCategoryId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,interest_category_id:t};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateInterestCategory=function(e,t,n){return this.updateInterestCategoryWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateInterestCategoryInterestWithHttpInfo=function(e,t,n,o){var r=o;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'interestCategoryId' when calling ");if(null==n)throw new Error("Missing the required parameter 'interestId' when calling ");if(null==o)throw new Error("Missing the required parameter 'body' when calling ");var i={list_id:e,interest_category_id:t,interest_id:n};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}","PATCH",i,{},{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateInterestCategoryInterest=function(e,t,n,o){return this.updateInterestCategoryInterestWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.updateListMemberWithHttpInfo=function(e,t,n,o){o=o||{};var r=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var i={list_id:e,subscriber_hash:t},a={skip_merge_validation:o.skipMergeValidation?o.skipMergeValidation:o.skip_merge_validation};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}","PATCH",i,a,{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListMember=function(e,t,n,o){return this.updateListMemberWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.updateListMemberNoteWithHttpInfo=function(e,t,n,o){var r=o;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");if(null==n)throw new Error("Missing the required parameter 'noteId' when calling ");if(null==o)throw new Error("Missing the required parameter 'body' when calling ");var i={list_id:e,subscriber_hash:t,note_id:n};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/notes/{note_id}","PATCH",i,{},{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListMemberNote=function(e,t,n,o){return this.updateListMemberNoteWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.updateListMergeFieldWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'mergeId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,merge_id:t};return this.apiClient.callApi("/lists/{list_id}/merge-fields/{merge_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListMergeField=function(e,t,n){return this.updateListMergeFieldWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateSegmentWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'segmentId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,segment_id:t};return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateSegment=function(e,t,n){return this.updateSegmentWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateListWebhookWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'webhookId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,webhook_id:t};return this.apiClient.callApi("/lists/{list_id}/webhooks/{webhook_id}","PATCH",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListWebhook=function(e,t,n){return this.updateListWebhookWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.createListMemberEventWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,subscriber_hash:t};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/events","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createListMemberEvent=function(e,t,n){return this.createListMemberEventWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateListMemberTagsWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,subscriber_hash:t};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/tags","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListMemberTags=function(e,t,n){return this.updateListMemberTagsWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.createListWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createList=function(e){return this.createListWithHttpInfo(e).then((function(e){return e.data}))},this.batchListMembersWithHttpInfo=function(e,t,n){n=n||{};var o=t;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e},i={skip_merge_validation:n.skipMergeValidation?n.skipMergeValidation:n.skip_merge_validation,skip_duplicate_check:n.skipDuplicateCheck?n.skipDuplicateCheck:n.skip_duplicate_check};return this.apiClient.callApi("/lists/{list_id}","POST",r,i,{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.batchListMembers=function(e,t,n){return this.batchListMembersWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.createListInterestCategoryWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={list_id:e};return this.apiClient.callApi("/lists/{list_id}/interest-categories","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createListInterestCategory=function(e,t){return this.createListInterestCategoryWithHttpInfo(e,t).then((function(e){return e.data}))},this.createInterestCategoryInterestWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'interestCategoryId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,interest_category_id:t};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}/interests","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createInterestCategoryInterest=function(e,t,n){return this.createInterestCategoryInterestWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addListMemberWithHttpInfo=function(e,t,n){n=n||{};var o=t;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e},i={skip_merge_validation:n.skipMergeValidation?n.skipMergeValidation:n.skip_merge_validation};return this.apiClient.callApi("/lists/{list_id}/members","POST",r,i,{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addListMember=function(e,t,n){return this.addListMemberWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.deleteListMemberPermanentWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var n={list_id:e,subscriber_hash:t};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/actions/delete-permanent","POST",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteListMemberPermanent=function(e,t){return this.deleteListMemberPermanentWithHttpInfo(e,t).then((function(e){return e.data}))},this.createListMemberNoteWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,subscriber_hash:t};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/notes","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createListMemberNote=function(e,t,n){return this.createListMemberNoteWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.addListMergeFieldWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={list_id:e};return this.apiClient.callApi("/lists/{list_id}/merge-fields","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addListMergeField=function(e,t){return this.addListMergeFieldWithHttpInfo(e,t).then((function(e){return e.data}))},this.createSegmentWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={list_id:e};return this.apiClient.callApi("/lists/{list_id}/segments","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createSegment=function(e,t){return this.createSegmentWithHttpInfo(e,t).then((function(e){return e.data}))},this.batchSegmentMembersWithHttpInfo=function(e,t,n){var o=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");if(null==t)throw new Error("Missing the required parameter 'listId' when calling ");if(null==n)throw new Error("Missing the required parameter 'segmentId' when calling ");var r={list_id:t,segment_id:n};return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.batchSegmentMembers=function(e,t,n){return this.batchSegmentMembersWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.createSegmentMemberWithHttpInfo=function(e,t,n){var o=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'segmentId' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var r={list_id:e,segment_id:t};return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}/members","POST",r,{},{},{},o,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createSegmentMember=function(e,t,n){return this.createSegmentMemberWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.updateListSignupFormWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={list_id:e};return this.apiClient.callApi("/lists/{list_id}/signup-forms","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListSignupForm=function(e,t){return this.updateListSignupFormWithHttpInfo(e,t).then((function(e){return e.data}))},this.createListWebhookWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={list_id:e};return this.apiClient.callApi("/lists/{list_id}/webhooks","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createListWebhook=function(e,t){return this.createListWebhookWithHttpInfo(e,t).then((function(e){return e.data}))},this.listSegmentsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),type:(t.type,t.type),since_created_at:t.sinceCreatedAt?t.sinceCreatedAt:t.since_created_at,before_created_at:t.beforeCreatedAt?t.beforeCreatedAt:t.before_created_at,include_cleaned:t.includeCleaned?t.includeCleaned:t.include_cleaned,include_transactional:t.includeTransactional?t.includeTransactional:t.include_transactional,include_unsubscribed:t.includeUnsubscribed?t.includeUnsubscribed:t.include_unsubscribed,since_updated_at:t.sinceUpdatedAt?t.sinceUpdatedAt:t.since_updated_at,before_updated_at:t.beforeUpdatedAt?t.beforeUpdatedAt:t.before_updated_at};return this.apiClient.callApi("/lists/{list_id}/segments","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.listSegments=function(e,t){return this.listSegmentsWithHttpInfo(e,t).then((function(e){return e.data}))},this.setListMemberWithHttpInfo=function(e,t,n,o){o=o||{};var r=n;if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");if(null==n)throw new Error("Missing the required parameter 'body' when calling ");var i={list_id:e,subscriber_hash:t},a={skip_merge_validation:o.skipMergeValidation?o.skipMergeValidation:o.skip_merge_validation};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}","PUT",i,a,{},{},r,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.setListMember=function(e,t,n,o){return this.setListMemberWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.tagSearchWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'listId' when calling ");var n={list_id:e},o={name:(t.name,t.name)};return this.apiClient.callApi("/lists/{list_id}/tag-search","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.tagSearch=function(e,t){return this.tagSearchWithHttpInfo(e,t).then((function(e){return e.data}))}}},68783:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.getWithHttpInfo=function(){return this.apiClient.callApi("/ping","GET",{},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(){return this.getWithHttpInfo().then((function(e){return e.data}))}}},40047:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.getFacebookAdsReportAllWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),sort_field:e.sortField?e.sortField:e.sort_field,sort_dir:e.sortDir?e.sortDir:e.sort_dir};return this.apiClient.callApi("/reporting/facebook-ads","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getFacebookAdsReportAll=function(e){return this.getFacebookAdsReportAllWithHttpInfo(e).then((function(e){return e.data}))},this.getFacebookAdReportWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");var n={outreach_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reporting/facebook-ads/{outreach_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getFacebookAdReport=function(e,t){return this.getFacebookAdReportWithHttpInfo(e,t).then((function(e){return e.data}))},this.getFacebookAdProductActivityReportWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");var n={outreach_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),sort_field:t.sortField?t.sortField:t.sort_field};return this.apiClient.callApi("/reporting/facebook-ads/{outreach_id}/ecommerce-product-activity","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getFacebookAdProductActivityReport=function(e,t){return this.getFacebookAdProductActivityReportWithHttpInfo(e,t).then((function(e){return e.data}))},this.getLandingPageReportsAllWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/reporting/landing-pages","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getLandingPageReportsAll=function(e){return this.getLandingPageReportsAllWithHttpInfo(e).then((function(e){return e.data}))},this.getLandingPageReportWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");var n={outreach_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reporting/landing-pages/{outreach_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getLandingPageReport=function(e,t){return this.getLandingPageReportWithHttpInfo(e,t).then((function(e){return e.data}))},this.getSurveyReportsAllWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/reporting/surveys","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSurveyReportsAll=function(e){return this.getSurveyReportsAllWithHttpInfo(e).then((function(e){return e.data}))},this.getSurveyReportWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");var n={outreach_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reporting/surveys/{outreach_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSurveyReport=function(e,t){return this.getSurveyReportWithHttpInfo(e,t).then((function(e){return e.data}))},this.getSurveyQuestionReportsAllWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");var n={outreach_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reporting/surveys/{outreach_id}/questions","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSurveyQuestionReportsAll=function(e,t){return this.getSurveyQuestionReportsAllWithHttpInfo(e,t).then((function(e){return e.data}))},this.getSurveyQuestionReportWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");if(null==t)throw new Error("Missing the required parameter 'questionId' when calling ");var o={outreach_id:e,question_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/reporting/surveys/{outreach_id}/questions/{question_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSurveyQuestionReport=function(e,t,n){return this.getSurveyQuestionReportWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getSurveyQuestionAnswersWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");if(null==t)throw new Error("Missing the required parameter 'questionId' when calling ");var o={outreach_id:e,question_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),respondent_familiarity_is:n.respondentFamiliarityIs?n.respondentFamiliarityIs:n.respondent_familiarity_is};return this.apiClient.callApi("/reporting/surveys/{outreach_id}/questions/{question_id}/answers","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSurveyQuestionAnswers=function(e,t,n){return this.getSurveyQuestionAnswersWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getSurveyResponsesAllWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");var n={outreach_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),answered_question:t.answeredQuestion?t.answeredQuestion:t.answered_question,chose_answer:t.choseAnswer?t.choseAnswer:t.chose_answer,respondent_familiarity_is:t.respondentFamiliarityIs?t.respondentFamiliarityIs:t.respondent_familiarity_is};return this.apiClient.callApi("/reporting/surveys/{outreach_id}/responses","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSurveyResponsesAll=function(e,t){return this.getSurveyResponsesAllWithHttpInfo(e,t).then((function(e){return e.data}))},this.getSurveyResponseWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'outreachId' when calling ");if(null==t)throw new Error("Missing the required parameter 'responseId' when calling ");var n={outreach_id:e,response_id:t};return this.apiClient.callApi("/reporting/surveys/{outreach_id}/responses/{response_id}","GET",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSurveyResponse=function(e,t){return this.getSurveyResponseWithHttpInfo(e,t).then((function(e){return e.data}))}}},90124:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.getAllCampaignReportsWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),type:(e.type,e.type),before_send_time:e.beforeSendTime?e.beforeSendTime:e.before_send_time,since_send_time:e.sinceSendTime?e.sinceSendTime:e.since_send_time};return this.apiClient.callApi("/reports","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAllCampaignReports=function(e){return this.getAllCampaignReportsWithHttpInfo(e).then((function(e){return e.data}))},this.getCampaignReportWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignReport=function(e,t){return this.getCampaignReportWithHttpInfo(e,t).then((function(e){return e.data}))},this.getCampaignAbuseReportsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/abuse-reports","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignAbuseReports=function(e,t){return this.getCampaignAbuseReportsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getCampaignAbuseReportWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'reportId' when calling ");var o={campaign_id:e,report_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/abuse-reports/{report_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignAbuseReport=function(e,t,n){return this.getCampaignAbuseReportWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getCampaignAdviceWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/advice","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignAdvice=function(e,t){return this.getCampaignAdviceWithHttpInfo(e,t).then((function(e){return e.data}))},this.getCampaignClickDetailsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset)};return this.apiClient.callApi("/reports/{campaign_id}/click-details","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignClickDetails=function(e,t){return this.getCampaignClickDetailsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getCampaignClickDetailsForLinkWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'linkId' when calling ");var o={campaign_id:e,link_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/click-details/{link_id}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignClickDetailsForLink=function(e,t,n){return this.getCampaignClickDetailsForLinkWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getSubscribersInfoWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'linkId' when calling ");var o={campaign_id:e,link_id:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),count:(n.count,n.count),offset:(n.offset,n.offset)};return this.apiClient.callApi("/reports/{campaign_id}/click-details/{link_id}/members","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSubscribersInfo=function(e,t,n){return this.getSubscribersInfoWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getSubscriberInfoWithHttpInfo=function(e,t,n,o){if(o=o||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'linkId' when calling ");if(null==n)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var r={campaign_id:e,link_id:t,subscriber_hash:n},i={fields:this.apiClient.buildCollectionParam((o.fields,o.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(o.excludeFields?o.excludeFields:o.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/click-details/{link_id}/members/{subscriber_hash}","GET",r,i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSubscriberInfo=function(e,t,n,o){return this.getSubscriberInfoWithHttpInfo(e,t,n,o).then((function(e){return e.data}))},this.getDomainPerformanceForCampaignWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/domain-performance","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getDomainPerformanceForCampaign=function(e,t){return this.getDomainPerformanceForCampaignWithHttpInfo(e,t).then((function(e){return e.data}))},this.getEcommerceProductActivityForCampaignWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),sort_field:t.sortField?t.sortField:t.sort_field};return this.apiClient.callApi("/reports/{campaign_id}/ecommerce-product-activity","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getEcommerceProductActivityForCampaign=function(e,t){return this.getEcommerceProductActivityForCampaignWithHttpInfo(e,t).then((function(e){return e.data}))},this.getEepurlActivityForCampaignWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/eepurl","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getEepurlActivityForCampaign=function(e,t){return this.getEepurlActivityForCampaignWithHttpInfo(e,t).then((function(e){return e.data}))},this.getEmailActivityForCampaignWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),since:(t.since,t.since)};return this.apiClient.callApi("/reports/{campaign_id}/email-activity","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getEmailActivityForCampaign=function(e,t){return this.getEmailActivityForCampaignWithHttpInfo(e,t).then((function(e){return e.data}))},this.getEmailActivityForSubscriberWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={campaign_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv"),since:(n.since,n.since)};return this.apiClient.callApi("/reports/{campaign_id}/email-activity/{subscriber_hash}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getEmailActivityForSubscriber=function(e,t,n){return this.getEmailActivityForSubscriberWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getLocationsForCampaignWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset)};return this.apiClient.callApi("/reports/{campaign_id}/locations","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getLocationsForCampaign=function(e,t){return this.getLocationsForCampaignWithHttpInfo(e,t).then((function(e){return e.data}))},this.getCampaignOpenDetailsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset),since:(t.since,t.since)};return this.apiClient.callApi("/reports/{campaign_id}/open-details","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignOpenDetails=function(e,t){return this.getCampaignOpenDetailsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getSubscriberInfoForOpenedCampaignWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={campaign_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/open-details/{subscriber_hash}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSubscriberInfoForOpenedCampaign=function(e,t,n){return this.getSubscriberInfoForOpenedCampaignWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getCampaignRecipientsWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset)};return this.apiClient.callApi("/reports/{campaign_id}/sent-to","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignRecipients=function(e,t){return this.getCampaignRecipientsWithHttpInfo(e,t).then((function(e){return e.data}))},this.getCampaignRecipientWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={campaign_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/sent-to/{subscriber_hash}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getCampaignRecipient=function(e,t,n){return this.getCampaignRecipientWithHttpInfo(e,t,n).then((function(e){return e.data}))},this.getSubReportsForCampaignWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/sub-reports","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSubReportsForCampaign=function(e,t){return this.getSubReportsForCampaignWithHttpInfo(e,t).then((function(e){return e.data}))},this.getUnsubscribedListForCampaignWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");var n={campaign_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),count:(t.count,t.count),offset:(t.offset,t.offset)};return this.apiClient.callApi("/reports/{campaign_id}/unsubscribed","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getUnsubscribedListForCampaign=function(e,t){return this.getUnsubscribedListForCampaignWithHttpInfo(e,t).then((function(e){return e.data}))},this.getUnsubscribedListMemberWithHttpInfo=function(e,t,n){if(n=n||{},null==e)throw new Error("Missing the required parameter 'campaignId' when calling ");if(null==t)throw new Error("Missing the required parameter 'subscriberHash' when calling ");var o={campaign_id:e,subscriber_hash:t},r={fields:this.apiClient.buildCollectionParam((n.fields,n.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields?n.excludeFields:n.exclude_fields,"csv")};return this.apiClient.callApi("/reports/{campaign_id}/unsubscribed/{subscriber_hash}","GET",o,r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getUnsubscribedListMember=function(e,t,n){return this.getUnsubscribedListMemberWithHttpInfo(e,t,n).then((function(e){return e.data}))}}},68627:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.getRootWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv")};return this.apiClient.callApi("/","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getRoot=function(e){return this.getRootWithHttpInfo(e).then((function(e){return e.data}))}}},56894:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.searchWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'query' when calling ");var n={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),query:e};return this.apiClient.callApi("/search-campaigns","GET",{},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.search=function(e,t){return this.searchWithHttpInfo(e,t).then((function(e){return e.data}))}}},75887:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.searchWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'query' when calling ");var n={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv"),query:e,list_id:t.listId?t.listId:t.list_id};return this.apiClient.callApi("/search-members","GET",{},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.search=function(e,t){return this.searchWithHttpInfo(e,t).then((function(e){return e.data}))}}},28090:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.publishSurveyWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'surveyId' when calling ");var n={list_id:e,survey_id:t};return this.apiClient.callApi("/lists/{list_id}/surveys/{survey_id}/actions/publish","POST",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.publishSurvey=function(e,t){return this.publishSurveyWithHttpInfo(e,t).then((function(e){return e.data}))},this.unpublishSurveyWithHttpInfo=function(e,t){if(null==e)throw new Error("Missing the required parameter 'listId' when calling ");if(null==t)throw new Error("Missing the required parameter 'surveyId' when calling ");var n={list_id:e,survey_id:t};return this.apiClient.callApi("/lists/{list_id}/surveys/{survey_id}/actions/unpublish","POST",n,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.unpublishSurvey=function(e,t){return this.unpublishSurveyWithHttpInfo(e,t).then((function(e){return e.data}))}}},60959:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.removeWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'folderId' when calling ");var t={folder_id:e};return this.apiClient.callApi("/template-folders/{folder_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.remove=function(e){return this.removeWithHttpInfo(e).then((function(e){return e.data}))},this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset)};return this.apiClient.callApi("/template-folders","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'folderId' when calling ");var n={folder_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/template-folders/{folder_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.get=function(e,t){return this.getWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'folderId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={folder_id:e};return this.apiClient.callApi("/template-folders/{folder_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.update=function(e,t){return this.updateWithHttpInfo(e,t).then((function(e){return e.data}))},this.createWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/template-folders","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.create=function(e){return this.createWithHttpInfo(e).then((function(e){return e.data}))}}},26795:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.deleteTemplateWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'templateId' when calling ");var t={template_id:e};return this.apiClient.callApi("/templates/{template_id}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteTemplate=function(e){return this.deleteTemplateWithHttpInfo(e).then((function(e){return e.data}))},this.listWithHttpInfo=function(e){e=e||{};var t={fields:this.apiClient.buildCollectionParam((e.fields,e.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields?e.excludeFields:e.exclude_fields,"csv"),count:(e.count,e.count),offset:(e.offset,e.offset),created_by:e.createdBy?e.createdBy:e.created_by,since_date_created:e.sinceDateCreated?e.sinceDateCreated:e.since_date_created,before_date_created:e.beforeDateCreated?e.beforeDateCreated:e.before_date_created,type:(e.type,e.type),category:(e.category,e.category),folder_id:e.folderId?e.folderId:e.folder_id,sort_field:e.sortField?e.sortField:e.sort_field,sort_dir:e.sortDir?e.sortDir:e.sort_dir};return this.apiClient.callApi("/templates","GET",{},t,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.list=function(e){return this.listWithHttpInfo(e).then((function(e){return e.data}))},this.getTemplateWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'templateId' when calling ");var n={template_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/templates/{template_id}","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getTemplate=function(e,t){return this.getTemplateWithHttpInfo(e,t).then((function(e){return e.data}))},this.getDefaultContentForTemplateWithHttpInfo=function(e,t){if(t=t||{},null==e)throw new Error("Missing the required parameter 'templateId' when calling ");var n={template_id:e},o={fields:this.apiClient.buildCollectionParam((t.fields,t.fields),"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields?t.excludeFields:t.exclude_fields,"csv")};return this.apiClient.callApi("/templates/{template_id}/default-content","GET",n,o,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getDefaultContentForTemplate=function(e,t){return this.getDefaultContentForTemplateWithHttpInfo(e,t).then((function(e){return e.data}))},this.updateTemplateWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'templateId' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={template_id:e};return this.apiClient.callApi("/templates/{template_id}","PATCH",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateTemplate=function(e,t){return this.updateTemplateWithHttpInfo(e,t).then((function(e){return e.data}))},this.createWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/templates","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.create=function(e){return this.createWithHttpInfo(e).then((function(e){return e.data}))}}},52722:(e,t,n)=>{var o=n(37187);e.exports=function(e){this.apiClient=e||o.instance,this.createVerifiedDomainWithHttpInfo=function(e){var t=e;if(null==e)throw new Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/verified-domains","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createVerifiedDomain=function(e){return this.createVerifiedDomainWithHttpInfo(e).then((function(e){return e.data}))},this.deleteDomainWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'domainName' when calling ");var t={domain_name:e};return this.apiClient.callApi("/verified-domains/{domain_name}","DELETE",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteDomain=function(e){return this.deleteDomainWithHttpInfo(e).then((function(e){return e.data}))},this.getDomainWithHttpInfo=function(e){if(null==e)throw new Error("Missing the required parameter 'domainName' when calling ");var t={domain_name:e};return this.apiClient.callApi("/verified-domains/{domain_name}","GET",t,{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getDomain=function(e){return this.getDomainWithHttpInfo(e).then((function(e){return e.data}))},this.getVerifiedDomainsAllWithHttpInfo=function(){return this.apiClient.callApi("/verified-domains","GET",{},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getVerifiedDomainsAll=function(){return this.getVerifiedDomainsAllWithHttpInfo().then((function(e){return e.data}))},this.submitDomainVerificationWithHttpInfo=function(e,t){var n=t;if(null==e)throw new Error("Missing the required parameter 'domainName' when calling ");if(null==t)throw new Error("Missing the required parameter 'body' when calling ");var o={domain_name:e};return this.apiClient.callApi("/verified-domains/{domain_name}/actions/verify","POST",o,{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.submitDomainVerification=function(e,t){return this.submitDomainVerificationWithHttpInfo(e,t).then((function(e){return e.data}))}}},96757:(e,t,n)=>{var o=n(37187);e.exports=o.instance},1461:e=>{"use strict";e.exports=function(e,t){for(var n=new Array(arguments.length-1),o=0,r=2,i=!0;r{"use strict";var n=t;n.length=function(e){var t=e.length;if(!t)return 0;for(var n=0;--t%4>1&&"="===e.charAt(t);)++n;return Math.ceil(3*e.length)/4-n};for(var o=new Array(64),r=new Array(123),i=0;i<64;)r[o[i]=i<26?i+65:i<52?i+71:i<62?i-4:i-59|43]=i++;n.encode=function(e,t,n){for(var r,i=null,a=[],s=0,l=0;t>2],r=(3&c)<<4,l=1;break;case 1:a[s++]=o[r|c>>4],r=(15&c)<<2,l=2;break;case 2:a[s++]=o[r|c>>6],a[s++]=o[63&c],l=0}s>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,a)),s=0)}return l&&(a[s++]=o[r],a[s++]=61,1===l&&(a[s++]=61)),i?(s&&i.push(String.fromCharCode.apply(String,a.slice(0,s))),i.join("")):String.fromCharCode.apply(String,a.slice(0,s))};var a="invalid encoding";n.decode=function(e,t,n){for(var o,i=n,s=0,l=0;l1)break;if(void 0===(c=r[c]))throw Error(a);switch(s){case 0:o=c,s=1;break;case 1:t[n++]=o<<2|(48&c)>>4,o=c,s=2;break;case 2:t[n++]=(15&o)<<4|(60&c)>>2,o=c,s=3;break;case 3:t[n++]=(3&o)<<6|c,s=0}}if(1===s)throw Error(a);return n-i},n.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}},44879:e=>{"use strict";function t(e,n){"string"==typeof e&&(n=e,e=void 0);var o=[];function r(e){if("string"!=typeof e){var n=i();if(t.verbose&&console.log("codegen: "+n),n="return "+n,e){for(var a=Object.keys(e),s=new Array(a.length+1),l=new Array(a.length),c=0;c{"use strict";function t(){this._listeners={}}e.exports=t,t.prototype.on=function(e,t,n){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:n||this}),this},t.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var n=this._listeners[e],o=0;o{"use strict";e.exports=i;var o=n(1461),r=n(14813)("fs");function i(e,t,n){return"function"==typeof t?(n=t,t={}):t||(t={}),n?!t.xhr&&r&&r.readFile?r.readFile(e,(function(o,r){return o&&"undefined"!=typeof XMLHttpRequest?i.xhr(e,t,n):o?n(o):n(null,t.binary?r:r.toString("utf8"))})):i.xhr(e,t,n):o(i,this,e,t)}i.xhr=function(e,t,n){var o=new XMLHttpRequest;o.onreadystatechange=function(){if(4===o.readyState){if(0!==o.status&&200!==o.status)return n(Error("status "+o.status));if(t.binary){var e=o.response;if(!e){e=[];for(var r=0;r{"use strict";function t(e){return"undefined"!=typeof Float32Array?function(){var t=new Float32Array([-0]),n=new Uint8Array(t.buffer),o=128===n[3];function r(e,o,r){t[0]=e,o[r]=n[0],o[r+1]=n[1],o[r+2]=n[2],o[r+3]=n[3]}function i(e,o,r){t[0]=e,o[r]=n[3],o[r+1]=n[2],o[r+2]=n[1],o[r+3]=n[0]}function a(e,o){return n[0]=e[o],n[1]=e[o+1],n[2]=e[o+2],n[3]=e[o+3],t[0]}function s(e,o){return n[3]=e[o],n[2]=e[o+1],n[1]=e[o+2],n[0]=e[o+3],t[0]}e.writeFloatLE=o?r:i,e.writeFloatBE=o?i:r,e.readFloatLE=o?a:s,e.readFloatBE=o?s:a}():function(){function t(e,t,n,o){var r=t<0?1:0;if(r&&(t=-t),0===t)e(1/t>0?0:2147483648,n,o);else if(isNaN(t))e(2143289344,n,o);else if(t>34028234663852886e22)e((r<<31|2139095040)>>>0,n,o);else if(t<11754943508222875e-54)e((r<<31|Math.round(t/1401298464324817e-60))>>>0,n,o);else{var i=Math.floor(Math.log(t)/Math.LN2);e((r<<31|i+127<<23|8388607&Math.round(t*Math.pow(2,-i)*8388608))>>>0,n,o)}}function a(e,t,n){var o=e(t,n),r=2*(o>>31)+1,i=o>>>23&255,a=8388607&o;return 255===i?a?NaN:r*(1/0):0===i?1401298464324817e-60*r*a:r*Math.pow(2,i-150)*(a+8388608)}e.writeFloatLE=t.bind(null,n),e.writeFloatBE=t.bind(null,o),e.readFloatLE=a.bind(null,r),e.readFloatBE=a.bind(null,i)}(),"undefined"!=typeof Float64Array?function(){var t=new Float64Array([-0]),n=new Uint8Array(t.buffer),o=128===n[7];function r(e,o,r){t[0]=e,o[r]=n[0],o[r+1]=n[1],o[r+2]=n[2],o[r+3]=n[3],o[r+4]=n[4],o[r+5]=n[5],o[r+6]=n[6],o[r+7]=n[7]}function i(e,o,r){t[0]=e,o[r]=n[7],o[r+1]=n[6],o[r+2]=n[5],o[r+3]=n[4],o[r+4]=n[3],o[r+5]=n[2],o[r+6]=n[1],o[r+7]=n[0]}function a(e,o){return n[0]=e[o],n[1]=e[o+1],n[2]=e[o+2],n[3]=e[o+3],n[4]=e[o+4],n[5]=e[o+5],n[6]=e[o+6],n[7]=e[o+7],t[0]}function s(e,o){return n[7]=e[o],n[6]=e[o+1],n[5]=e[o+2],n[4]=e[o+3],n[3]=e[o+4],n[2]=e[o+5],n[1]=e[o+6],n[0]=e[o+7],t[0]}e.writeDoubleLE=o?r:i,e.writeDoubleBE=o?i:r,e.readDoubleLE=o?a:s,e.readDoubleBE=o?s:a}():function(){function t(e,t,n,o,r,i){var a=o<0?1:0;if(a&&(o=-o),0===o)e(0,r,i+t),e(1/o>0?0:2147483648,r,i+n);else if(isNaN(o))e(0,r,i+t),e(2146959360,r,i+n);else if(o>17976931348623157e292)e(0,r,i+t),e((a<<31|2146435072)>>>0,r,i+n);else{var s;if(o<22250738585072014e-324)e((s=o/5e-324)>>>0,r,i+t),e((a<<31|s/4294967296)>>>0,r,i+n);else{var l=Math.floor(Math.log(o)/Math.LN2);1024===l&&(l=1023),e(4503599627370496*(s=o*Math.pow(2,-l))>>>0,r,i+t),e((a<<31|l+1023<<20|1048576*s&1048575)>>>0,r,i+n)}}}function a(e,t,n,o,r){var i=e(o,r+t),a=e(o,r+n),s=2*(a>>31)+1,l=a>>>20&2047,c=4294967296*(1048575&a)+i;return 2047===l?c?NaN:s*(1/0):0===l?5e-324*s*c:s*Math.pow(2,l-1075)*(c+4503599627370496)}e.writeDoubleLE=t.bind(null,n,0,4),e.writeDoubleBE=t.bind(null,o,4,0),e.readDoubleLE=a.bind(null,r,0,4),e.readDoubleBE=a.bind(null,i,4,0)}(),e}function n(e,t,n){t[n]=255&e,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}function o(e,t,n){t[n]=e>>>24,t[n+1]=e>>>16&255,t[n+2]=e>>>8&255,t[n+3]=255&e}function r(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function i(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=t(t)},14813:module=>{"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},83323:(e,t)=>{"use strict";var n=t,o=n.isAbsolute=function(e){return/^(?:\/|\w+:)/.test(e)},r=n.normalize=function(e){var t=(e=e.replace(/\\/g,"/").replace(/\/{2,}/g,"/")).split("/"),n=o(e),r="";n&&(r=t.shift()+"/");for(var i=0;i0&&".."!==t[i-1]?t.splice(--i,2):n?t.splice(i,1):++i:"."===t[i]?t.splice(i,1):++i;return r+t.join("/")};n.resolve=function(e,t,n){return n||(t=r(t)),o(t)?t:(n||(e=r(e)),(e=e.replace(/(?:\/|^)[^/]+$/,"")).length?r(e+"/"+t):t)}},68964:e=>{"use strict";e.exports=function(e,t,n){var o=n||8192,r=o>>>1,i=null,a=o;return function(n){if(n<1||n>r)return e(n);a+n>o&&(i=e(o),a=0);var s=t.call(i,a,a+=n);return 7&a&&(a=1+(7|a)),s}}},88413:(e,t)=>{"use strict";var n=t;n.length=function(e){for(var t=0,n=0,o=0;o191&&o<224?i[a++]=(31&o)<<6|63&e[t++]:o>239&&o<365?(o=((7&o)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,i[a++]=55296+(o>>10),i[a++]=56320+(1023&o)):i[a++]=(15&o)<<12|(63&e[t++])<<6|63&e[t++],a>8191&&((r||(r=[])).push(String.fromCharCode.apply(String,i)),a=0);return r?(a&&r.push(String.fromCharCode.apply(String,i.slice(0,a))),r.join("")):String.fromCharCode.apply(String,i.slice(0,a))},n.write=function(e,t,n){for(var o,r,i=n,a=0;a>6|192,t[n++]=63&o|128):55296==(64512&o)&&56320==(64512&(r=e.charCodeAt(a+1)))?(o=65536+((1023&o)<<10)+(1023&r),++a,t[n++]=o>>18|240,t[n++]=o>>12&63|128,t[n++]=o>>6&63|128,t[n++]=63&o|128):(t[n++]=o>>12|224,t[n++]=o>>6&63|128,t[n++]=63&o|128);return n-i}},3635:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeCompiler=t.TypeCompilerUnknownTypeError=t.Property=t.TypeCheck=void 0;const o=n(91162),r=n(1990),i=n(19859),a=n(71804),s=n(33917),l=n(41127),c=n(470);class p{constructor(e,t,n,o){this.schema=e,this.references=t,this.checkFunc=n,this.code=o}Code(){return this.code}Errors(e){return o.ValueErrors.Errors(this.schema,this.references,e)}Check(e){return this.checkFunc(e)}}var u;t.TypeCheck=p,function(e){function t(e){return 36===e}function n(e){return 95===e}function o(e){return e>=48&&e<=57}function r(e){return e>=65&&e<=90||e>=97&&e<=122}e.Check=function(e){if(0===e.length)return!1;{const o=e.charCodeAt(0);if(!(t(o)||n(o)||r(o)))return!1}for(let i=1;i ${o}))`,t(e.minItems)&&(yield`(${n}.length >= ${e.minItems})`),t(e.maxItems)&&(yield`(${n}.length <= ${e.maxItems})`),!0===e.uniqueItems&&(yield`((function() { const set = new Set(); for(const element of ${n}) { const hashed = hash(element); if(set.has(hashed)) { return false } else { set.add(hashed) } } return true })())`)}(p,a);case"Boolean":return yield*function*(e,t){yield`(typeof ${t} === 'boolean')`}(0,a);case"Constructor":return yield*function*(e,t){yield*n(e.returns,`${t}.prototype`)}(p,a);case"Date":return yield*function*(e,n){yield`(${n} instanceof Date)`,t(e.exclusiveMinimumTimestamp)&&(yield`(${n}.getTime() > ${e.exclusiveMinimumTimestamp})`),t(e.exclusiveMaximumTimestamp)&&(yield`(${n}.getTime() < ${e.exclusiveMaximumTimestamp})`),t(e.minimumTimestamp)&&(yield`(${n}.getTime() >= ${e.minimumTimestamp})`),t(e.maximumTimestamp)&&(yield`(${n}.getTime() <= ${e.maximumTimestamp})`)}(p,a);case"Function":return yield*function*(e,t){yield`(typeof ${t} === 'function')`}(0,a);case"Integer":return yield*function*(e,n){yield`(typeof ${n} === 'number' && Number.isInteger(${n}))`,t(e.multipleOf)&&(yield`(${n} % ${e.multipleOf} === 0)`),t(e.exclusiveMinimum)&&(yield`(${n} > ${e.exclusiveMinimum})`),t(e.exclusiveMaximum)&&(yield`(${n} < ${e.exclusiveMaximum})`),t(e.minimum)&&(yield`(${n} >= ${e.minimum})`),t(e.maximum)&&(yield`(${n} <= ${e.maximum})`)}(p,a);case"Literal":return yield*function*(e,t){"number"==typeof e.const||"boolean"==typeof e.const?yield`(${t} === ${e.const})`:yield`(${t} === '${e.const}')`}(p,a);case"Never":return yield*function*(e,t){yield"(false)"}();case"Null":case"Void":return yield*function*(e,t){yield`(${t} === null)`}(0,a);case"Number":return yield*function*(e,n){r.TypeSystem.AllowNaN?yield`(typeof ${n} === 'number')`:yield`(typeof ${n} === 'number' && !isNaN(${n}))`,t(e.multipleOf)&&(yield`(${n} % ${e.multipleOf} === 0)`),t(e.exclusiveMinimum)&&(yield`(${n} > ${e.exclusiveMinimum})`),t(e.exclusiveMaximum)&&(yield`(${n} < ${e.exclusiveMaximum})`),t(e.minimum)&&(yield`(${n} >= ${e.minimum})`),t(e.maximum)&&(yield`(${n} <= ${e.maximum})`)}(p,a);case"Object":return yield*function*(e,o){r.TypeSystem.AllowArrayObjects?yield`(typeof ${o} === 'object' && ${o} !== null)`:yield`(typeof ${o} === 'object' && ${o} !== null && !Array.isArray(${o}))`,t(e.minProperties)&&(yield`(Object.getOwnPropertyNames(${o}).length >= ${e.minProperties})`),t(e.maxProperties)&&(yield`(Object.getOwnPropertyNames(${o}).length <= ${e.maxProperties})`);const a=globalThis.Object.getOwnPropertyNames(e.properties);if(!1===e.additionalProperties)if(e.required&&e.required.length===a.length)yield`(Object.getOwnPropertyNames(${o}).length === ${a.length})`;else{const e=`[${a.map((e=>`'${e}'`)).join(", ")}]`;yield`(Object.getOwnPropertyNames(${o}).every(key => ${e}.includes(key)))`}if(i.TypeGuard.TSchema(e.additionalProperties)){const t=m(e.additionalProperties,"value[key]"),n=`[${a.map((e=>`'${e}'`)).join(", ")}]`;yield`(Object.getOwnPropertyNames(${o}).every(key => ${n}.includes(key) || ${t}))`}for(const t of a){const r=u.Check(t)?`${o}.${t}`:`${o}['${t}']`,i=e.properties[t];if(e.required&&e.required.includes(t))yield*n(i,r);else{const e=m(i,r);yield`(${r} === undefined ? true : (${e}))`}}}(p,a);case"Promise":return yield*function*(e,t){yield`(typeof value === 'object' && typeof ${t}.then === 'function')`}(0,a);case"Record":return yield*function*(e,t){r.TypeSystem.AllowArrayObjects?yield`(typeof ${t} === 'object' && ${t} !== null && !(${t} instanceof Date))`:yield`(typeof ${t} === 'object' && ${t} !== null && !(${t} instanceof Date) && !Array.isArray(${t}))`;const[n,o]=globalThis.Object.entries(e.patternProperties)[0],i=b(`new RegExp(/${n}/)`);yield`(Object.getOwnPropertyNames(${t}).every(key => ${i}.test(key)))`;const a=m(o,"value");yield`(Object.values(${t}).every(value => ${a}))`}(p,a);case"Ref":return yield*function*(e,t){if(f.has(e.$ref))return yield`(${y(e.$ref)}(${t}))`;if(!o.has(e.$ref))throw Error(`TypeCompiler.Ref: Cannot de-reference schema with $id '${e.$ref}'`);const r=o.get(e.$ref);yield*n(r,t)}(p,a);case"Self":return yield*function*(e,t){const n=y(e.$ref);yield`(${n}(${t}))`}(p,a);case"String":return yield*function*(e,n){if(yield`(typeof ${n} === 'string')`,t(e.minLength)&&(yield`(${n}.length >= ${e.minLength})`),t(e.maxLength)&&(yield`(${n}.length <= ${e.maxLength})`),void 0!==e.pattern){const t=b(`new RegExp(/${e.pattern}/);`);yield`(${t}.test(${n}))`}void 0!==e.format&&(yield`(format('${e.format}', ${n}))`)}(p,a);case"Tuple":return yield*function*(e,t){if(yield`(Array.isArray(${t}))`,void 0===e.items)return yield`(${t}.length === 0)`;yield`(${t}.length === ${e.maxItems})`;for(let n=0;nm(e,t)));yield`(${n.join(" || ")})`}(p,a);case"Uint8Array":return yield*function*(e,n){yield`(${n} instanceof Uint8Array)`,t(e.maxByteLength)&&(yield`(${n}.length <= ${e.maxByteLength})`),t(e.minByteLength)&&(yield`(${n}.length >= ${e.minByteLength})`)}(p,a);default:if(!s.Custom.Has(p[c.Kind]))throw new d(e);return yield*function*(e,t){const n=`schema_key_${h.size}`;h.set(n,e),yield`(custom('${e[c.Kind]}', '${n}', ${t}))`}(p,a)}}const o=new Map,g=new Set,f=new Set,h=new Map;function m(e,t){return`(${[...n(e,t)].join(" && ")})`}function y(e){return`check_${e.replace(/-/g,"_")}`}function v(e,t,o){return`function ${e}(value) {\n return (\n${[...n(t,o)].map((e=>` ${e}`)).join(" &&\n")}\n )\n}`}function b(e){const t=`local_${g.size}`;return g.add(`const ${t} = ${e}`),t}e.Compile=function(e,t=[]){i.TypeGuard.Assert(e,t);const n=function(e,t=[]){o.clear(),g.clear(),f.clear(),h.clear(),function(e=[]){for(const t of e){if(!t.$id)throw new Error("TypeCompiler: Referenced schemas must specify an $id.");if(o.has(t.$id))throw new Error(`TypeCompiler: Duplicate schema $id found for '${t.$id}'`);o.set(t.$id,t)}}(t);const n=v("check",e,"value");return`${[...g.values()].join("\n")}\nreturn ${n}`}(e,t),r=new Map(h),c=globalThis.Function("custom","format","hash",n)(((e,t,n)=>{if(!s.Custom.Has(e)||!r.has(t))return!1;const o=r.get(t);return s.Custom.Get(e)(o,n)}),((e,t)=>!!a.Format.Has(e)&&a.Format.Get(e)(t)),(e=>l.ValueHash.Create(e)));return new p(e,t,c,n)}}(t.TypeCompiler||(t.TypeCompiler={}))},64741:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.ValueErrorType=void 0;var i=n(91162);Object.defineProperty(t,"ValueErrorType",{enumerable:!0,get:function(){return i.ValueErrorType}}),r(n(3635),t)},10935:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Custom=void 0,function(e){const t=new Map;e.Clear=function(){return t.clear()},e.Has=function(e){return t.has(e)},e.Set=function(e,n){t.set(e,n)},e.Get=function(e){return t.get(e)}}(t.Custom||(t.Custom={}))},33917:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(10935),t)},69508:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueErrors=t.ValueErrorsUnknownTypeError=t.ValueErrorType=void 0;const o=n(470),r=n(1990),i=n(71804),a=n(33917),s=n(41127);var l;!function(e){e[e.Array=0]="Array",e[e.ArrayMinItems=1]="ArrayMinItems",e[e.ArrayMaxItems=2]="ArrayMaxItems",e[e.ArrayUniqueItems=3]="ArrayUniqueItems",e[e.Boolean=4]="Boolean",e[e.Date=5]="Date",e[e.DateExclusiveMinimumTimestamp=6]="DateExclusiveMinimumTimestamp",e[e.DateExclusiveMaximumTimestamp=7]="DateExclusiveMaximumTimestamp",e[e.DateMinimumTimestamp=8]="DateMinimumTimestamp",e[e.DateMaximumTimestamp=9]="DateMaximumTimestamp",e[e.Function=10]="Function",e[e.Integer=11]="Integer",e[e.IntegerMultipleOf=12]="IntegerMultipleOf",e[e.IntegerExclusiveMinimum=13]="IntegerExclusiveMinimum",e[e.IntegerExclusiveMaximum=14]="IntegerExclusiveMaximum",e[e.IntegerMinimum=15]="IntegerMinimum",e[e.IntegerMaximum=16]="IntegerMaximum",e[e.Literal=17]="Literal",e[e.Never=18]="Never",e[e.Null=19]="Null",e[e.Number=20]="Number",e[e.NumberMultipleOf=21]="NumberMultipleOf",e[e.NumberExclusiveMinimum=22]="NumberExclusiveMinimum",e[e.NumberExclusiveMaximum=23]="NumberExclusiveMaximum",e[e.NumberMinumum=24]="NumberMinumum",e[e.NumberMaximum=25]="NumberMaximum",e[e.Object=26]="Object",e[e.ObjectMinProperties=27]="ObjectMinProperties",e[e.ObjectMaxProperties=28]="ObjectMaxProperties",e[e.ObjectAdditionalProperties=29]="ObjectAdditionalProperties",e[e.ObjectRequiredProperties=30]="ObjectRequiredProperties",e[e.Promise=31]="Promise",e[e.RecordKeyNumeric=32]="RecordKeyNumeric",e[e.RecordKeyString=33]="RecordKeyString",e[e.String=34]="String",e[e.StringMinLength=35]="StringMinLength",e[e.StringMaxLength=36]="StringMaxLength",e[e.StringPattern=37]="StringPattern",e[e.StringFormatUnknown=38]="StringFormatUnknown",e[e.StringFormat=39]="StringFormat",e[e.TupleZeroLength=40]="TupleZeroLength",e[e.TupleLength=41]="TupleLength",e[e.Undefined=42]="Undefined",e[e.Union=43]="Union",e[e.Uint8Array=44]="Uint8Array",e[e.Uint8ArrayMinByteLength=45]="Uint8ArrayMinByteLength",e[e.Uint8ArrayMaxByteLength=46]="Uint8ArrayMaxByteLength",e[e.Void=47]="Void",e[e.Custom=48]="Custom"}(l=t.ValueErrorType||(t.ValueErrorType={}));class c extends Error{constructor(e){super("ValueErrors: Unknown type"),this.schema=e}}t.ValueErrorsUnknownTypeError=c,function(e){function t(e){return"number"==typeof e&&!isNaN(e)}function*n(e,p,u,d){const g=void 0===e.$id?p:[e,...p],f=e;switch(f[o.Kind]){case"Any":case"Unknown":return yield*function*(e,t,n,o){}();case"Array":return yield*function*(e,o,r,i){if(!globalThis.Array.isArray(i))return yield{type:l.Array,schema:e,path:r,value:i,message:"Expected array"};!t(e.minItems)||i.length>=e.minItems||(yield{type:l.ArrayMinItems,schema:e,path:r,value:i,message:`Expected array length to be greater or equal to ${e.minItems}`}),!t(e.maxItems)||i.length<=e.maxItems||(yield{type:l.ArrayMinItems,schema:e,path:r,value:i,message:`Expected array length to be less or equal to ${e.maxItems}`}),!0!==e.uniqueItems||function(){const e=new Set;for(const t of i){const n=s.ValueHash.Create(t);if(e.has(n))return!1;e.add(n)}return!0}()||(yield{type:l.ArrayUniqueItems,schema:e,path:r,value:i,message:"Expected array elements to be unique"});for(let t=0;te.exclusiveMinimumTimestamp||(yield{type:l.DateExclusiveMinimumTimestamp,schema:e,path:o,value:r,message:`Expected Date timestamp to be greater than ${e.exclusiveMinimum}`}),!t(e.exclusiveMaximumTimestamp)||r.getTime()=e.minimumTimestamp||(yield{type:l.DateMinimumTimestamp,schema:e,path:o,value:r,message:`Expected Date timestamp to be greater or equal to ${e.minimum}`}),!t(e.maximumTimestamp)||r.getTime()<=e.maximumTimestamp||(yield{type:l.DateMaximumTimestamp,schema:e,path:o,value:r,message:`Expected Date timestamp to be less or equal to ${e.maximum}`})}(f,0,u,d);case"Function":return yield*function*(e,t,n,o){if("function"!=typeof o)return yield{type:l.Function,schema:e,path:n,value:o,message:"Expected function"}}(f,0,u,d);case"Integer":return yield*function*(e,n,o,r){if("number"!=typeof r||!globalThis.Number.isInteger(r))return yield{type:l.Integer,schema:e,path:o,value:r,message:"Expected integer"};t(e.multipleOf)&&r%e.multipleOf!=0&&(yield{type:l.IntegerMultipleOf,schema:e,path:o,value:r,message:`Expected integer to be a multiple of ${e.multipleOf}`}),!t(e.exclusiveMinimum)||r>e.exclusiveMinimum||(yield{type:l.IntegerExclusiveMinimum,schema:e,path:o,value:r,message:`Expected integer to be greater than ${e.exclusiveMinimum}`}),!t(e.exclusiveMaximum)||r=e.minimum||(yield{type:l.IntegerMinimum,schema:e,path:o,value:r,message:`Expected integer to be greater or equal to ${e.minimum}`}),!t(e.maximum)||r<=e.maximum||(yield{type:l.IntegerMaximum,schema:e,path:o,value:r,message:`Expected integer to be less or equal to ${e.maximum}`})}(f,0,u,d);case"Literal":return yield*function*(e,t,n,o){if(o!==e.const){const t="string"==typeof e.const?`'${e.const}'`:e.const;return yield{type:l.Literal,schema:e,path:n,value:o,message:`Expected ${t}`}}}(f,0,u,d);case"Never":return yield*function*(e,t,n,o){yield{type:l.Never,schema:e,path:n,value:o,message:"Value cannot be validated"}}(f,0,u,d);case"Null":return yield*function*(e,t,n,o){if(null!==o)return yield{type:l.Null,schema:e,path:n,value:o,message:"Expected null"}}(f,0,u,d);case"Number":return yield*function*(e,n,o,i){if(r.TypeSystem.AllowNaN){if("number"!=typeof i)return yield{type:l.Number,schema:e,path:o,value:i,message:"Expected number"}}else if("number"!=typeof i||isNaN(i))return yield{type:l.Number,schema:e,path:o,value:i,message:"Expected number"};t(e.multipleOf)&&i%e.multipleOf!=0&&(yield{type:l.NumberMultipleOf,schema:e,path:o,value:i,message:`Expected number to be a multiple of ${e.multipleOf}`}),!t(e.exclusiveMinimum)||i>e.exclusiveMinimum||(yield{type:l.NumberExclusiveMinimum,schema:e,path:o,value:i,message:`Expected number to be greater than ${e.exclusiveMinimum}`}),!t(e.exclusiveMaximum)||i=e.minimum||(yield{type:l.NumberMaximum,schema:e,path:o,value:i,message:`Expected number to be greater or equal to ${e.minimum}`}),!t(e.maximum)||i<=e.maximum||(yield{type:l.NumberMinumum,schema:e,path:o,value:i,message:`Expected number to be less or equal to ${e.maximum}`})}(f,0,u,d);case"Object":return yield*function*(e,o,i,a){if(r.TypeSystem.AllowArrayObjects){if("object"!=typeof a||null===a)return yield{type:l.Object,schema:e,path:i,value:a,message:"Expected object"}}else if("object"!=typeof a||null===a||globalThis.Array.isArray(a))return yield{type:l.Object,schema:e,path:i,value:a,message:"Expected object"};!t(e.minProperties)||globalThis.Object.getOwnPropertyNames(a).length>=e.minProperties||(yield{type:l.ObjectMinProperties,schema:e,path:i,value:a,message:`Expected object to have at least ${e.minProperties} properties`}),!t(e.maxProperties)||globalThis.Object.getOwnPropertyNames(a).length<=e.maxProperties||(yield{type:l.ObjectMaxProperties,schema:e,path:i,value:a,message:`Expected object to have less than ${e.minProperties} properties`});const s=globalThis.Object.getOwnPropertyNames(e.properties);if(!1===e.additionalProperties)for(const t of globalThis.Object.getOwnPropertyNames(a))s.includes(t)||(yield{type:l.ObjectAdditionalProperties,schema:e,path:`${i}/${t}`,value:a[t],message:"Unexpected property"});if(e.required&&e.required.length>0){const t=globalThis.Object.getOwnPropertyNames(a);for(const n of e.required)t.includes(n)||(yield{type:l.ObjectRequiredProperties,schema:e.properties[n],path:`${i}/${n}`,value:void 0,message:"Expected required property"})}if("object"==typeof e.additionalProperties)for(const t of globalThis.Object.getOwnPropertyNames(a))s.includes(t)||(yield*n(e.additionalProperties,o,`${i}/${t}`,a[t]));for(const t of s){const r=e.properties[t];(e.required&&e.required.includes(t)||void 0!==a[t])&&(yield*n(r,o,`${i}/${t}`,a[t]))}}(f,g,u,d);case"Promise":return yield*function*(e,t,n,o){"object"==typeof o&&"function"==typeof o.then||(yield{type:l.Promise,schema:e,path:n,value:o,message:"Expected Promise"})}(f,0,u,d);case"Record":return yield*function*(e,t,o,i){if(r.TypeSystem.AllowArrayObjects){if("object"!=typeof i||null===i||i instanceof globalThis.Date)return yield{type:l.Object,schema:e,path:o,value:i,message:"Expected object"}}else if("object"!=typeof i||null===i||i instanceof globalThis.Date||globalThis.Array.isArray(i))return yield{type:l.Object,schema:e,path:o,value:i,message:"Expected object"};const[a,s]=globalThis.Object.entries(e.patternProperties)[0],c=new RegExp(a);if(!globalThis.Object.getOwnPropertyNames(i).every((e=>c.test(e)))){const t="^(0|[1-9][0-9]*)$"===a,n=t?l.RecordKeyNumeric:l.RecordKeyString,r=t?"Expected all object property keys to be numeric":"Expected all object property keys to be strings";return yield{type:n,schema:e,path:o,value:i,message:r}}for(const[e,r]of globalThis.Object.entries(i))yield*n(s,t,`${o}/${e}`,r)}(f,g,u,d);case"Ref":return yield*function*(e,t,o,r){const i=t.find((t=>t.$id===e.$ref));if(void 0===i)throw new Error(`ValueErrors.Ref: Cannot find schema with $id '${e.$ref}'.`);yield*n(i,t,o,r)}(f,g,u,d);case"Self":return yield*function*(e,t,o,r){const i=t.find((t=>t.$id===e.$ref));if(void 0===i)throw new Error(`ValueErrors.Self: Cannot find schema with $id '${e.$ref}'.`);yield*n(i,t,o,r)}(f,g,u,d);case"String":return yield*function*(e,n,o,r){if("string"!=typeof r)return yield{type:l.String,schema:e,path:o,value:r,message:"Expected string"};!t(e.minLength)||r.length>=e.minLength||(yield{type:l.StringMinLength,schema:e,path:o,value:r,message:`Expected string length greater or equal to ${e.minLength}`}),!t(e.maxLength)||r.length<=e.maxLength||(yield{type:l.StringMaxLength,schema:e,path:o,value:r,message:`Expected string length less or equal to ${e.maxLength}`}),void 0!==e.pattern&&(new RegExp(e.pattern).test(r)||(yield{type:l.StringPattern,schema:e,path:o,value:r,message:`Expected string to match pattern ${e.pattern}`})),void 0!==e.format&&(i.Format.Has(e.format)?i.Format.Get(e.format)(r)||(yield{type:l.StringFormat,schema:e,path:o,value:r,message:`Expected string to match format '${e.format}'`}):yield{type:l.StringFormatUnknown,schema:e,path:o,value:r,message:`Unknown string format '${e.format}'`})}(f,0,u,d);case"Tuple":return yield*function*(e,t,o,r){if(!globalThis.Array.isArray(r))return yield{type:l.Array,schema:e,path:o,value:r,message:"Expected Array"};if(void 0===e.items&&0!==r.length)return yield{type:l.TupleZeroLength,schema:e,path:o,value:r,message:"Expected tuple to have 0 elements"};if(r.length!==e.maxItems&&(yield{type:l.TupleLength,schema:e,path:o,value:r,message:`Expected tuple to have ${e.maxItems} elements`}),e.items)for(let i=0;i0&&(yield{type:l.Union,schema:e,path:o,value:r,message:"Expected value of union"})}(f,g,u,d);case"Uint8Array":return yield*function*(e,n,o,r){if(!(r instanceof globalThis.Uint8Array))return yield{type:l.Uint8Array,schema:e,path:o,value:r,message:"Expected Uint8Array"};!t(e.maxByteLength)||r.length<=e.maxByteLength||(yield{type:l.Uint8ArrayMaxByteLength,schema:e,path:o,value:r,message:`Expected Uint8Array to have a byte length less or equal to ${e.maxByteLength}`}),!t(e.minByteLength)||r.length>=e.minByteLength||(yield{type:l.Uint8ArrayMinByteLength,schema:e,path:o,value:r,message:`Expected Uint8Array to have a byte length greater or equal to ${e.maxByteLength}`})}(f,0,u,d);case"Void":return yield*function*(e,t,n,o){if(null!==o)return yield{type:l.Void,schema:e,path:n,value:o,message:"Expected null"}}(f,0,u,d);default:if(!a.Custom.Has(f[o.Kind]))throw new c(e);return yield*function*(e,t,n,r){if(!a.Custom.Get(e[o.Kind])(e,r))return yield{type:l.Custom,schema:e,path:n,value:r,message:`Expected kind ${e[o.Kind]}`}}(f,0,u,d)}}e.Errors=function*(e,t,o){yield*n(e,t,"",o)}}(t.ValueErrors||(t.ValueErrors={}))},91162:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(69508),t)},80367:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Format=void 0,function(e){const t=new Map;e.Clear=function(){return t.clear()},e.Has=function(e){return t.has(e)},e.Set=function(e,n){t.set(e,n)},e.Get=function(e){return t.get(e)}}(t.Format||(t.Format={}))},71804:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(80367),t)},53793:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeGuard=t.TypeGuardUnknownTypeError=void 0;const o=n(33917),r=n(470);class i extends Error{constructor(e){super("TypeGuard: Unknown type"),this.schema=e}}t.TypeGuardUnknownTypeError=i,function(e){function t(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function n(e){return"object"==typeof e&&null!==e&&Array.isArray(e)}function a(e){try{return new RegExp(e),!0}catch{return!1}}function s(e){if("string"!=typeof e)return!1;for(let t=0;t=7&&n<=13||27===n||127===n)return!1}return!0}function l(e){return"string"==typeof e}function c(e){return"number"==typeof e&&!isNaN(e)}function p(e){return"boolean"==typeof e}function u(e){return void 0===e||void 0!==e&&c(e)}function d(e){return void 0===e||void 0!==e&&p(e)}function g(e){return void 0===e||void 0!==e&&l(e)}function f(e){return t(e)&&"Any"===e[r.Kind]&&g(e.$id)}function h(e){return t(e)&&"Array"===e[r.Kind]&&"array"===e.type&&g(e.$id)&&M(e.items)&&u(e.minItems)&&u(e.maxItems)&&d(e.uniqueItems)}function m(e){return t(e)&&"Boolean"===e[r.Kind]&&"boolean"===e.type&&g(e.$id)}function y(e){if(!(t(e)&&"Constructor"===e[r.Kind]&&"object"===e.type&&"Constructor"===e.instanceOf&&g(e.$id)&&n(e.parameters)&&M(e.returns)))return!1;for(const t of e.parameters)if(!M(t))return!1;return!0}function v(e){return t(e)&&"Date"===e[r.Kind]&&"object"===e.type&&"Date"===e.instanceOf&&g(e.$id)&&u(e.minimumTimestamp)&&u(e.maximumTimestamp)&&u(e.exclusiveMinimumTimestamp)&&u(e.exclusiveMaximumTimestamp)}function b(e){if(!(t(e)&&"Function"===e[r.Kind]&&"object"===e.type&&"Function"===e.instanceOf&&g(e.$id)&&n(e.parameters)&&M(e.returns)))return!1;for(const t of e.parameters)if(!M(t))return!1;return!0}function O(e){return t(e)&&"Integer"===e[r.Kind]&&"integer"===e.type&&g(e.$id)&&u(e.multipleOf)&&u(e.minimum)&&u(e.maximum)&&u(e.exclusiveMinimum)&&u(e.exclusiveMaximum)}function w(e){return t(e)&&"Literal"===e[r.Kind]&&g(e.$id)&&(l(e.const)||c(e.const)||p(e.const))}function P(e){return t(e)&&"Never"===e[r.Kind]&&n(e.allOf)&&2===e.allOf.length&&t(e.allOf[0])&&l(e.allOf[0].type)&&"boolean"===e.allOf[0].type&&!1===e.allOf[0].const&&t(e.allOf[1])&&l(e.allOf[1].type)&&"boolean"===e.allOf[1].type&&!0===e.allOf[1].const}function x(e){return t(e)&&"Null"===e[r.Kind]&&"null"===e.type&&g(e.$id)}function S(e){return t(e)&&"Number"===e[r.Kind]&&"number"===e.type&&g(e.$id)&&u(e.multipleOf)&&u(e.minimum)&&u(e.maximum)&&u(e.exclusiveMinimum)&&u(e.exclusiveMaximum)}function T(e){if(!(t(e)&&"Object"===e[r.Kind]&&"object"===e.type&&g(e.$id)&&t(e.properties)&&(d(e.additionalProperties)||(n=e.additionalProperties,void 0===n||M(n)))&&u(e.minProperties)&&u(e.maxProperties)))return!1;var n;for(const[t,n]of Object.entries(e.properties)){if(!s(t))return!1;if(!M(n))return!1}return!0}function A(e){return t(e)&&"Promise"===e[r.Kind]&&"object"===e.type&&"Promise"===e.instanceOf&&g(e.$id)&&M(e.item)}function E(e){if(!(t(e)&&"Record"===e[r.Kind]&&"object"===e.type&&g(e.$id)&&!1===e.additionalProperties&&t(e.patternProperties)))return!1;const n=Object.keys(e.patternProperties);return 1===n.length&&!!a(n[0])&&!!M(e.patternProperties[n[0]])}function j(e){return t(e)&&"Self"===e[r.Kind]&&g(e.$id)&&l(e.$ref)}function k(e){return t(e)&&"Ref"===e[r.Kind]&&g(e.$id)&&l(e.$ref)}function _(e){return t(e)&&"String"===e[r.Kind]&&"string"===e.type&&g(e.$id)&&u(e.minLength)&&u(e.maxLength)&&(void 0===(n=e.pattern)||void 0!==n&&l(n)&&s(n)&&a(n))&&function(e){return void 0===e||void 0!==e&&l(e)&&s(e)}(e.format);var n}function C(e){if(!(t(e)&&"Tuple"===e[r.Kind]&&"array"===e.type&&g(e.$id)&&c(e.minItems)&&c(e.maxItems)&&e.minItems===e.maxItems))return!1;if(void 0===e.items&&void 0===e.additionalItems&&0===e.minItems)return!0;if(!n(e.items))return!1;for(const t of e.items)if(!M(t))return!1;return!0}function I(e){return t(e)&&"Undefined"===e[r.Kind]&&"null"===e.type&&"Undefined"===e.typeOf&&g(e.$id)}function R(e){if(!(t(e)&&"Union"===e[r.Kind]&&n(e.anyOf)&&g(e.$id)))return!1;for(const t of e.anyOf)if(!M(t))return!1;return!0}function N(e){return t(e)&&"Uint8Array"===e[r.Kind]&&"object"===e.type&&g(e.$id)&&"Uint8Array"===e.instanceOf&&u(e.minByteLength)&&u(e.maxByteLength)}function D(e){return t(e)&&"Unknown"===e[r.Kind]&&g(e.$id)}function L(e){return t(e)&&"Void"===e[r.Kind]&&"null"===e.type&&"Void"===e.typeOf&&g(e.$id)}function B(e){return t(e)&&l(e[r.Kind])&&o.Custom.Has(e[r.Kind])}function M(e){return f(e)||h(e)||m(e)||y(e)||v(e)||b(e)||O(e)||w(e)||P(e)||x(e)||S(e)||T(e)||A(e)||E(e)||j(e)||k(e)||_(e)||C(e)||I(e)||R(e)||N(e)||D(e)||L(e)||B(e)}e.TAny=f,e.TArray=h,e.TBoolean=m,e.TConstructor=y,e.TDate=v,e.TFunction=b,e.TInteger=O,e.TLiteral=w,e.TNever=P,e.TNull=x,e.TNumber=S,e.TObject=T,e.TPromise=A,e.TRecord=E,e.TSelf=j,e.TRef=k,e.TString=_,e.TTuple=C,e.TUndefined=I,e.TUnion=R,e.TUint8Array=N,e.TUnknown=D,e.TVoid=L,e.TUserDefined=B,e.TSchema=M,e.Assert=function(e,t=[]){if(!M(e))throw new i(e);for(const e of t)if(!M(e))throw new i(e)}}(t.TypeGuard||(t.TypeGuard={}))},19859:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(53793),t)},29721:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueHash=t.ValueHashError=void 0;class n extends Error{constructor(e){super("Hash: Unable to hash value"),this.value=e}}t.ValueHashError=n,function(e){let t;!function(e){e[e.Undefined=0]="Undefined",e[e.Null=1]="Null",e[e.Boolean=2]="Boolean",e[e.Number=3]="Number",e[e.String=4]="String",e[e.Object=5]="Object",e[e.Array=6]="Array",e[e.Date=7]="Date",e[e.Uint8Array=8]="Uint8Array"}(t||(t={}));let o=globalThis.BigInt("14695981039346656037");const[r,i]=[globalThis.BigInt("1099511628211"),globalThis.BigInt("2")**globalThis.BigInt("64")],a=globalThis.Array.from({length:256}).map(((e,t)=>globalThis.BigInt(t))),s=new globalThis.Float64Array(1),l=new globalThis.DataView(s.buffer),c=new globalThis.Uint8Array(s.buffer);function p(e){return e instanceof globalThis.Date}function u(e){return e instanceof globalThis.Uint8Array}function d(e){return globalThis.Array.isArray(e)}function g(e){if(d(e))!function(e){f(t.Array);for(const t of e)g(t)}(e);else if(function(e){return"boolean"==typeof e}(e))!function(e){f(t.Boolean),f(e?1:0)}(e);else if(p(e))!function(e){f(t.Date),g(e.getTime())}(e);else if(function(e){return null===e}(e))f(t.Null);else if(function(e){return"number"==typeof e}(e))!function(e){f(t.Number),l.setFloat64(0,e);for(const e of c)f(e)}(e);else if(function(e){return"object"==typeof e&&null!==e&&!d(e)&&!p(e)&&!u(e)}(e))!function(e){f(t.Object);for(const t of globalThis.Object.keys(e).sort())g(t),g(e[t])}(e);else if(function(e){return"string"==typeof e}(e))!function(e){f(t.String);for(let t=0;t{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TypeSystem=void 0,(n=t.TypeSystem||(t.TypeSystem={})).AllowArrayObjects=!1,n.AllowNaN=!1},470:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Type=t.TypeBuilder=t.Modifier=t.Hint=t.Kind=void 0,t.Kind=Symbol.for("TypeBox.Kind"),t.Hint=Symbol.for("TypeBox.Hint"),t.Modifier=Symbol.for("TypeBox.Modifier");let n=0;class o{ReadonlyOptional(e){return{[t.Modifier]:"ReadonlyOptional",...e}}Readonly(e){return{[t.Modifier]:"Readonly",...e}}Optional(e){return{[t.Modifier]:"Optional",...e}}Any(e={}){return this.Create({...e,[t.Kind]:"Any"})}Array(e,n={}){return this.Create({...n,[t.Kind]:"Array",type:"array",items:e})}Boolean(e={}){return this.Create({...e,[t.Kind]:"Boolean",type:"boolean"})}ConstructorParameters(e,t={}){return this.Tuple([...e.parameters],{...t})}Constructor(e,n,o={}){if("Tuple"===e[t.Kind]){const r=void 0===e.items?[]:e.items;return this.Create({...o,[t.Kind]:"Constructor",type:"object",instanceOf:"Constructor",parameters:r,returns:n})}if(globalThis.Array.isArray(e))return this.Create({...o,[t.Kind]:"Constructor",type:"object",instanceOf:"Constructor",parameters:e,returns:n});throw new Error("TypeBuilder.Constructor: Invalid parameters")}Date(e={}){return this.Create({...e,[t.Kind]:"Date",type:"object",instanceOf:"Date"})}Enum(e,n={}){const o=Object.keys(e).filter((e=>isNaN(e))).map((t=>e[t])).map((e=>"string"==typeof e?{[t.Kind]:"Literal",type:"string",const:e}:{[t.Kind]:"Literal",type:"number",const:e}));return this.Create({...n,[t.Kind]:"Union",[t.Hint]:"Enum",anyOf:o})}Function(e,n,o={}){if("Tuple"===e[t.Kind]){const r=void 0===e.items?[]:e.items;return this.Create({...o,[t.Kind]:"Function",type:"object",instanceOf:"Function",parameters:r,returns:n})}if(globalThis.Array.isArray(e))return this.Create({...o,[t.Kind]:"Function",type:"object",instanceOf:"Function",parameters:e,returns:n});throw new Error("TypeBuilder.Function: Invalid parameters")}InstanceType(e,t={}){return{...t,...this.Clone(e.returns)}}Integer(e={}){return this.Create({...e,[t.Kind]:"Integer",type:"integer"})}Intersect(e,n={}){const o=e=>e[t.Modifier]&&"Optional"===e[t.Modifier]||"ReadonlyOptional"===e[t.Modifier],[r,i]=[new Set,new Set];for(const t of e)for(const[e,n]of Object.entries(t.properties))o(n)&&i.add(e);for(const t of e)for(const e of Object.keys(t.properties))i.has(e)||r.add(e);const a={};for(const n of e)for(const[e,o]of Object.entries(n.properties))a[e]=void 0===a[e]?o:{[t.Kind]:"Union",anyOf:[a[e],{...o}]};return r.size>0?this.Create({...n,[t.Kind]:"Object",type:"object",properties:a,required:[...r]}):this.Create({...n,[t.Kind]:"Object",type:"object",properties:a})}KeyOf(e,n={}){const o=Object.keys(e.properties).map((e=>this.Create({...n,[t.Kind]:"Literal",type:"string",const:e})));return this.Create({...n,[t.Kind]:"Union",[t.Hint]:"KeyOf",anyOf:o})}Literal(e,n={}){return this.Create({...n,[t.Kind]:"Literal",const:e,type:typeof e})}Never(e={}){return this.Create({...e,[t.Kind]:"Never",allOf:[{type:"boolean",const:!1},{type:"boolean",const:!0}]})}Null(e={}){return this.Create({...e,[t.Kind]:"Null",type:"null"})}Number(e={}){return this.Create({...e,[t.Kind]:"Number",type:"number"})}Object(e,n={}){const o=Object.keys(e),r=o.filter((n=>{const o=e[n][t.Modifier];return o&&("Optional"===o||"ReadonlyOptional"===o)})),i=o.filter((e=>!r.includes(e)));return i.length>0?this.Create({...n,[t.Kind]:"Object",type:"object",properties:e,required:i}):this.Create({...n,[t.Kind]:"Object",type:"object",properties:e})}Omit(e,n,o={}){const r="Union"===n[t.Kind]?n.anyOf.map((e=>e.const)):n,i={...this.Clone(e),...o,[t.Hint]:"Omit"};i.required&&(i.required=i.required.filter((e=>!r.includes(e))),0===i.required.length&&delete i.required);for(const e of Object.keys(i.properties))r.includes(e)&&delete i.properties[e];return this.Create(i)}Parameters(e,n={}){return t.Type.Tuple(e.parameters,{...n})}Partial(e,n={}){const o={...this.Clone(e),...n,[t.Hint]:"Partial"};delete o.required;for(const e of Object.keys(o.properties)){const n=o.properties[e];switch(n[t.Modifier]){case"ReadonlyOptional":case"Readonly":n[t.Modifier]="ReadonlyOptional";break;default:n[t.Modifier]="Optional"}}return this.Create(o)}Pick(e,n,o={}){const r="Union"===n[t.Kind]?n.anyOf.map((e=>e.const)):n,i={...this.Clone(e),...o,[t.Hint]:"Pick"};i.required&&(i.required=i.required.filter((e=>r.includes(e))),0===i.required.length&&delete i.required);for(const e of Object.keys(i.properties))r.includes(e)||delete i.properties[e];return this.Create(i)}Promise(e,n={}){return this.Create({...n,[t.Kind]:"Promise",type:"object",instanceOf:"Promise",item:e})}Record(e,n,o={}){if("Union"===e[t.Kind])return this.Object(e.anyOf.reduce(((e,t)=>({...e,[t.const]:n})),{}),{...o,[t.Hint]:"Record"});const r=["Integer","Number"].includes(e[t.Kind])?"^(0|[1-9][0-9]*)$":"String"===e[t.Kind]&&e.pattern?e.pattern:"^.*$";return this.Create({...o,[t.Kind]:"Record",type:"object",patternProperties:{[r]:n},additionalProperties:!1})}Recursive(e,o={}){void 0===o.$id&&(o.$id="T"+n++);const r=e({[t.Kind]:"Self",$ref:`${o.$id}`});return r.$id=o.$id,this.Create({...o,...r})}Ref(e,n={}){if(void 0===e.$id)throw Error("TypeBuilder.Ref: Referenced schema must specify an $id");return this.Create({...n,[t.Kind]:"Ref",$ref:e.$id})}RegEx(e,n={}){return this.Create({...n,[t.Kind]:"String",type:"string",pattern:e.source})}Required(e,n={}){const o={...this.Clone(e),...n,[t.Hint]:"Required"};o.required=Object.keys(o.properties);for(const e of Object.keys(o.properties)){const n=o.properties[e];switch(n[t.Modifier]){case"ReadonlyOptional":case"Readonly":n[t.Modifier]="Readonly";break;default:delete n[t.Modifier]}}return this.Create(o)}ReturnType(e,t={}){return{...t,...this.Clone(e.returns)}}Strict(e){return JSON.parse(JSON.stringify(e))}String(e={}){return this.Create({...e,[t.Kind]:"String",type:"string"})}Tuple(e,n={}){const o=e.length,r=e.length,i=e.length>0?{...n,[t.Kind]:"Tuple",type:"array",items:e,additionalItems:!1,minItems:o,maxItems:r}:{...n,[t.Kind]:"Tuple",type:"array",minItems:o,maxItems:r};return this.Create(i)}Undefined(e={}){return this.Create({...e,[t.Kind]:"Undefined",type:"null",typeOf:"Undefined"})}Union(e,n={}){return 0===e.length?t.Type.Never({...n}):this.Create({...n,[t.Kind]:"Union",anyOf:e})}Uint8Array(e={}){return this.Create({...e,[t.Kind]:"Uint8Array",type:"object",instanceOf:"Uint8Array"})}Unknown(e={}){return this.Create({...e,[t.Kind]:"Unknown"})}Unsafe(e={}){return this.Create({...e,[t.Kind]:e[t.Kind]||"Unsafe"})}Void(e={}){return this.Create({...e,[t.Kind]:"Void",type:"null",typeOf:"Void"})}Create(e){return e}Clone(e){return"object"!=typeof(t=e)||null===t||Array.isArray(t)?(e=>"object"==typeof e&&null!==e&&Array.isArray(e))(e)?e.map((e=>this.Clone(e))):e:Object.keys(e).reduce(((t,n)=>({...t,[n]:this.Clone(e[n])})),Object.getOwnPropertySymbols(e).reduce(((t,n)=>({...t,[n]:this.Clone(e[n])})),{}));var t}}t.TypeBuilder=o,t.Type=new o},3209:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(34659);class r extends o.EventTarget{constructor(){throw super(),new TypeError("AbortSignal cannot be constructed directly")}get aborted(){const e=i.get(this);if("boolean"!=typeof e)throw new TypeError("Expected 'this' to be an 'AbortSignal' object, but got "+(null===this?"null":typeof this));return e}}o.defineEventAttribute(r.prototype,"abort");const i=new WeakMap;Object.defineProperties(r.prototype,{aborted:{enumerable:!0}}),"function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(r.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});class a{constructor(){s.set(this,function(){const e=Object.create(r.prototype);return o.EventTarget.call(e),i.set(e,!1),e}())}get signal(){return l(this)}abort(){var e;e=l(this),!1===i.get(e)&&(i.set(e,!0),e.dispatchEvent({type:"abort"}))}}const s=new WeakMap;function l(e){const t=s.get(e);if(null==t)throw new TypeError("Expected 'this' to be an 'AbortController' object, but got "+(null===e?"null":typeof e));return t}Object.defineProperties(a.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}}),"function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(a.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"}),t.AbortController=a,t.AbortSignal=r,t.default=a,e.exports=a,e.exports.AbortController=e.exports.default=a,e.exports.AbortSignal=r},28214:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const r=n(82361),i=o(n(71053)),a=o(n(14142)),s=i.default("agent-base");function l(){const{stack:e}=new Error;return"string"==typeof e&&e.split("\n").some((e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:")))}function c(e,t){return new c.Agent(e,t)}!function(e){class t extends r.EventEmitter{constructor(e,t){super();let n=t;"function"==typeof e?this.callback=e:e&&(n=e),this.timeout=null,n&&"number"==typeof n.timeout&&(this.timeout=n.timeout),this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){return"number"==typeof this.explicitDefaultPort?this.explicitDefaultPort:l()?443:80}set defaultPort(e){this.explicitDefaultPort=e}get protocol(){return"string"==typeof this.explicitProtocol?this.explicitProtocol:l()?"https:":"http:"}set protocol(e){this.explicitProtocol=e}callback(e,t,n){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(e,t){const n=Object.assign({},t);"boolean"!=typeof n.secureEndpoint&&(n.secureEndpoint=l()),null==n.host&&(n.host="localhost"),null==n.port&&(n.port=n.secureEndpoint?443:80),null==n.protocol&&(n.protocol=n.secureEndpoint?"https:":"http:"),n.host&&n.path&&delete n.path,delete n.agent,delete n.hostname,delete n._defaultAgent,delete n.defaultPort,delete n.createConnection,e._last=!0,e.shouldKeepAlive=!1;let o=!1,r=null;const i=n.timeout||this.timeout,c=t=>{e._hadError||(e.emit("error",t),e._hadError=!0)},p=()=>{r=null,o=!0;const e=new Error(`A "socket" was not created for HTTP request before ${i}ms`);e.code="ETIMEOUT",c(e)},u=e=>{o||(null!==r&&(clearTimeout(r),r=null),c(e))},d=t=>{if(o)return;if(null!=r&&(clearTimeout(r),r=null),i=t,Boolean(i)&&"function"==typeof i.addRequest)return s("Callback returned another Agent instance %o",t.constructor.name),void t.addRequest(e,n);var i;if(t)return t.once("free",(()=>{this.freeSocket(t,n)})),void e.onSocket(t);const a=new Error(`no Duplex stream was returned to agent-base for \`${e.method} ${e.path}\``);c(a)};if("function"==typeof this.callback){this.promisifiedCallback||(this.callback.length>=3?(s("Converting legacy callback function to promise"),this.promisifiedCallback=a.default(this.callback)):this.promisifiedCallback=this.callback),"number"==typeof i&&i>0&&(r=setTimeout(p,i)),"port"in n&&"number"!=typeof n.port&&(n.port=Number(n.port));try{s("Resolving socket for %o request: %o",n.protocol,`${e.method} ${e.path}`),Promise.resolve(this.promisifiedCallback(e,n)).then(d,u)}catch(e){Promise.reject(e).catch(u)}}else c(new Error("`callback` is not defined"))}freeSocket(e,t){s("Freeing socket %o %o",e.constructor.name,t),e.destroy()}destroy(){s("Destroying agent %o",this.constructor.name)}}e.Agent=t,e.prototype=e.Agent.prototype}(c||(c={})),e.exports=c},14142:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n){return new Promise(((o,r)=>{e.call(this,t,n,((e,t)=>{e?r(e):o(t)}))}))}}},27858:e=>{"use strict";e.exports=e=>null==e?[]:Array.isArray(e)?e:"string"==typeof e?[e]:"function"==typeof e[Symbol.iterator]?[...e]:[e]},62720:(e,t,n)=>{e.exports={parallel:n(61286),serial:n(74694),serialOrdered:n(87458)}},34653:e=>{function t(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}e.exports=function(e){Object.keys(e.jobs).forEach(t.bind(e)),e.jobs={}}},5209:(e,t,n)=>{var o=n(45623);e.exports=function(e){var t=!1;return o((function(){t=!0})),function(n,r){t?e(n,r):o((function(){e(n,r)}))}}},45623:e=>{e.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}},28773:(e,t,n)=>{var o=n(5209),r=n(34653);e.exports=function(e,t,n,i){var a=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[a]=function(e,t,n,r){return 2==e.length?e(n,o(r)):e(n,t,o(r))}(t,a,e[a],(function(e,t){a in n.jobs&&(delete n.jobs[a],e?r(n):n.results[a]=t,i(e,n.results))}))}},67630:e=>{e.exports=function(e,t){var n=!Array.isArray(e),o={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&o.keyedList.sort(n?t:function(n,o){return t(e[n],e[o])}),o}},45067:(e,t,n)=>{var o=n(34653),r=n(5209);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,o(this),r(e)(null,this.results))}},61286:(e,t,n)=>{var o=n(28773),r=n(67630),i=n(45067);e.exports=function(e,t,n){for(var a=r(e);a.index<(a.keyedList||e).length;)o(e,t,a,(function(e,t){e?n(e,t):0!==Object.keys(a.jobs).length||n(null,a.results)})),a.index++;return i.bind(a,n)}},74694:(e,t,n)=>{var o=n(87458);e.exports=function(e,t,n){return o(e,t,null,n)}},87458:(e,t,n)=>{var o=n(28773),r=n(67630),i=n(45067);function a(e,t){return et?1:0}e.exports=function(e,t,n,a){var s=r(e,n);return o(e,t,s,(function n(r,i){r?a(r,i):(s.index++,s.index<(s.keyedList||e).length?o(e,t,s,n):a(null,s.results))})),i.bind(s,a)},e.exports.ascending=a,e.exports.descending=function(e,t){return-1*a(e,t)}},41354:(e,t,n)=>{e.exports=n(28062)},65783:(e,t,n)=>{"use strict";var o=n(17201),r=n(81587),i=n(9337),a=n(8020),s=n(13685),l=n(95687),c=n(72679).http,p=n(72679).https,u=n(57310),d=n(59796),g=n(94534).version,f=n(36588),h=n(9329),m=n(94415),y=n(64692),v=/https:?/;function b(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var o=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+o}e.beforeRedirect=function(e){e.headers.host=e.host,b(e,t,e.href)}}e.exports=function(e){return new Promise((function(t,n){var O;function w(){e.cancelToken&&e.cancelToken.unsubscribe(O),e.signal&&e.signal.removeEventListener("abort",O)}var P=function(e){w(),t(e)},x=!1,S=function(e){w(),x=!0,n(e)},T=e.data,A=e.headers,E={};if(Object.keys(A).forEach((function(e){E[e.toLowerCase()]=e})),"user-agent"in E?A[E["user-agent"]]||delete A[E["user-agent"]]:A["User-Agent"]="axios/"+g,T&&!o.isStream(T)){if(Buffer.isBuffer(T));else if(o.isArrayBuffer(T))T=Buffer.from(new Uint8Array(T));else{if(!o.isString(T))return S(f("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));T=Buffer.from(T,"utf-8")}if(e.maxBodyLength>-1&&T.length>e.maxBodyLength)return S(f("Request body larger than maxBodyLength limit",e));E["content-length"]||(A["Content-Length"]=T.length)}var j=void 0;e.auth&&(j=(e.auth.username||"")+":"+(e.auth.password||""));var k=i(e.baseURL,e.url),_=u.parse(k),C=_.protocol||"http:";if(!j&&_.auth){var I=_.auth.split(":");j=(I[0]||"")+":"+(I[1]||"")}j&&E.authorization&&delete A[E.authorization];var R=v.test(C),N=R?e.httpsAgent:e.httpAgent;try{a(_.path,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){var D=new Error(t.message);D.config=e,D.url=e.url,D.exists=!0,S(D)}var L={path:a(_.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:A,agent:N,agents:{http:e.httpAgent,https:e.httpsAgent},auth:j};e.socketPath?L.socketPath=e.socketPath:(L.hostname=_.hostname,L.port=_.port);var B,M=e.proxy;if(!M&&!1!==M){var F=C.slice(0,-1)+"_proxy",U=process.env[F]||process.env[F.toUpperCase()];if(U){var q=u.parse(U),V=process.env.no_proxy||process.env.NO_PROXY,H=!0;if(V&&(H=!V.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||"."===e[0]&&_.hostname.substr(_.hostname.length-e.length)===e||_.hostname===e)}))),H&&(M={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var G=q.auth.split(":");M.auth={username:G[0],password:G[1]}}}}M&&(L.headers.host=_.hostname+(_.port?":"+_.port:""),b(L,M,C+"//"+_.hostname+(_.port?":"+_.port:"")+L.path));var W=R&&(!M||v.test(M.protocol));e.transport?B=e.transport:0===e.maxRedirects?B=W?l:s:(e.maxRedirects&&(L.maxRedirects=e.maxRedirects),B=W?p:c),e.maxBodyLength>-1&&(L.maxBodyLength=e.maxBodyLength),e.insecureHTTPParser&&(L.insecureHTTPParser=e.insecureHTTPParser);var z=B.request(L,(function(t){if(!z.aborted){var n=t,i=t.req||z;if(204!==t.statusCode&&"HEAD"!==i.method&&!1!==e.decompress)switch(t.headers["content-encoding"]){case"gzip":case"compress":case"deflate":n=n.pipe(d.createUnzip()),delete t.headers["content-encoding"]}var a={status:t.statusCode,statusText:t.statusMessage,headers:t.headers,config:e,request:i};if("stream"===e.responseType)a.data=n,r(P,S,a);else{var s=[],l=0;n.on("data",(function(t){s.push(t),l+=t.length,e.maxContentLength>-1&&l>e.maxContentLength&&(x=!0,n.destroy(),S(f("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,i)))})),n.on("aborted",(function(){x||(n.destroy(),S(f("error request aborted",e,"ERR_REQUEST_ABORTED",i)))})),n.on("error",(function(t){z.aborted||S(h(t,e,null,i))})),n.on("end",(function(){try{var t=1===s.length?s[0]:Buffer.concat(s);"arraybuffer"!==e.responseType&&(t=t.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(t=o.stripBOM(t))),a.data=t}catch(t){S(h(t,e,t.code,a.request,a))}r(P,S,a)}))}}}));if(z.on("error",(function(t){z.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==t.code||S(h(t,e,null,z))})),z.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){var J=parseInt(e.timeout,10);if(isNaN(J))return void S(f("error trying to parse `config.timeout` to int",e,"ERR_PARSE_TIMEOUT",z));z.setTimeout(J,(function(){z.abort();var t;t=e.timeoutErrorMessage?e.timeoutErrorMessage:"timeout of "+e.timeout+"ms exceeded";var n=e.transitional||m;S(f(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",z))}))}(e.cancelToken||e.signal)&&(O=function(e){z.aborted||(z.abort(),S(!e||e&&e.type?new y("canceled"):e))},e.cancelToken&&e.cancelToken.subscribe(O),e.signal&&(e.signal.aborted?O():e.signal.addEventListener("abort",O))),o.isStream(T)?T.on("error",(function(t){S(h(t,e,null,z))})).pipe(z):z.end(T)}))}},22581:(e,t,n)=>{"use strict";var o=n(17201),r=n(81587),i=n(90069),a=n(8020),s=n(9337),l=n(81767),c=n(83848),p=n(36588),u=n(94415),d=n(64692);e.exports=function(e){return new Promise((function(t,n){var g,f=e.data,h=e.headers,m=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(g),e.signal&&e.signal.removeEventListener("abort",g)}o.isFormData(f)&&delete h["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",O=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(b+":"+O)}var w=s(e.baseURL,e.url);function P(){if(v){var o="getAllResponseHeaders"in v?l(v.getAllResponseHeaders()):null,i={data:m&&"text"!==m&&"json"!==m?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:o,config:e,request:v};r((function(e){t(e),y()}),(function(e){n(e),y()}),i),v=null}}if(v.open(e.method.toUpperCase(),a(w,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=P:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(P)},v.onabort=function(){v&&(n(p("Request aborted",e,"ECONNABORTED",v)),v=null)},v.onerror=function(){n(p("Network Error",e,null,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",o=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(p(t,e,o.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},o.isStandardBrowserEnv()){var x=(e.withCredentials||c(w))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;x&&(h[e.xsrfHeaderName]=x)}"setRequestHeader"in v&&o.forEach(h,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete h[t]:v.setRequestHeader(t,e)})),o.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),m&&"json"!==m&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(g=function(e){v&&(n(!e||e&&e.type?new d("canceled"):e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(g),e.signal&&(e.signal.aborted?g():e.signal.addEventListener("abort",g))),f||(f=null),v.send(f)}))}},28062:(e,t,n)=>{"use strict";var o=n(17201),r=n(37087),i=n(68727),a=n(10659),s=function e(t){var n=new i(t),s=r(i.prototype.request,n);return o.extend(s,i.prototype,n),o.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(19314));s.Axios=i,s.Cancel=n(64692),s.CancelToken=n(97398),s.isCancel=n(17162),s.VERSION=n(94534).version,s.all=function(e){return Promise.all(e)},s.spread=n(82459),s.isAxiosError=n(90034),e.exports=s,e.exports.default=s},64692:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},97398:(e,t,n)=>{"use strict";var o=n(64692);function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,o=n._listeners.length;for(t=0;t{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},68727:(e,t,n)=>{"use strict";var o=n(17201),r=n(8020),i=n(33649),a=n(43088),s=n(10659),l=n(85881),c=l.validators;function p(e){this.defaults=e,this.interceptors={request:new i,response:new i}}p.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&l.assertOptions(n,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var o=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));var i,p=[];if(this.interceptors.response.forEach((function(e){p.push(e.fulfilled,e.rejected)})),!r){var u=[a,void 0];for(Array.prototype.unshift.apply(u,o),u=u.concat(p),i=Promise.resolve(t);u.length;)i=i.then(u.shift(),u.shift());return i}for(var d=t;o.length;){var g=o.shift(),f=o.shift();try{d=g(d)}catch(e){f(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;p.length;)i=i.then(p.shift(),p.shift());return i},p.prototype.getUri=function(e){return e=s(this.defaults,e),r(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],(function(e){p.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),o.forEach(["post","put","patch"],(function(e){p.prototype[e]=function(t,n,o){return this.request(s(o||{},{method:e,url:t,data:n}))}})),e.exports=p},33649:(e,t,n)=>{"use strict";var o=n(17201);function r(){this.handlers=[]}r.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){o.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=r},9337:(e,t,n)=>{"use strict";var o=n(21569),r=n(5905);e.exports=function(e,t){return e&&!o(t)?r(e,t):t}},36588:(e,t,n)=>{"use strict";var o=n(9329);e.exports=function(e,t,n,r,i){var a=new Error(e);return o(a,t,n,r,i)}},43088:(e,t,n)=>{"use strict";var o=n(17201),r=n(93),i=n(17162),a=n(19314),s=n(64692);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=r.call(e,e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),o.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=r.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=r.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},9329:e=>{"use strict";e.exports=function(e,t,n,o,r){return e.config=t,n&&(e.code=n),e.request=o,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},10659:(e,t,n)=>{"use strict";var o=n(17201);e.exports=function(e,t){t=t||{};var n={};function r(e,t){return o.isPlainObject(e)&&o.isPlainObject(t)?o.merge(e,t):o.isPlainObject(t)?o.merge({},t):o.isArray(t)?t.slice():t}function i(n){return o.isUndefined(t[n])?o.isUndefined(e[n])?void 0:r(void 0,e[n]):r(e[n],t[n])}function a(e){if(!o.isUndefined(t[e]))return r(void 0,t[e])}function s(n){return o.isUndefined(t[n])?o.isUndefined(e[n])?void 0:r(void 0,e[n]):r(void 0,t[n])}function l(n){return n in t?r(e[n],t[n]):n in e?r(void 0,e[n]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return o.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,r=t(e);o.isUndefined(r)&&t!==l||(n[e]=r)})),n}},81587:(e,t,n)=>{"use strict";var o=n(36588);e.exports=function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(o("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},93:(e,t,n)=>{"use strict";var o=n(17201),r=n(19314);e.exports=function(e,t,n){var i=this||r;return o.forEach(n,(function(n){e=n.call(i,e,t)})),e}},19314:(e,t,n)=>{"use strict";var o=n(17201),r=n(91962),i=n(9329),a=n(94415),s={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,p={transitional:a,adapter:("undefined"!=typeof XMLHttpRequest?c=n(22581):"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(c=n(65783)),c),transformRequest:[function(e,t){return r(t,"Accept"),r(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),function(e,t,n){if(o.isString(e))try{return(0,JSON.parse)(e),o.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||p.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||r&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){p.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){p.headers[e]=o.merge(s)})),e.exports=p},94415:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},94534:e=>{e.exports={version:"0.26.1"}},37087:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),o=0;o{"use strict";var o=n(17201);function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(o.isURLSearchParams(t))i=t.toString();else{var a=[];o.forEach(t,(function(e,t){null!=e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,(function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},5905:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},90069:(e,t,n)=>{"use strict";var o=n(17201);e.exports=o.isStandardBrowserEnv()?{write:function(e,t,n,r,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),o.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),o.isString(r)&&s.push("path="+r),o.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},21569:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},90034:(e,t,n)=>{"use strict";var o=n(17201);e.exports=function(e){return o.isObject(e)&&!0===e.isAxiosError}},83848:(e,t,n)=>{"use strict";var o=n(17201);e.exports=o.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var o=e;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=o.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},91962:(e,t,n)=>{"use strict";var o=n(17201);e.exports=function(e,t){o.forEach(e,(function(n,o){o!==t&&o.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[o])}))}},81767:(e,t,n)=>{"use strict";var o=n(17201),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(o.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=o.trim(e.substr(0,i)).toLowerCase(),n=o.trim(e.substr(i+1)),t){if(a[t]&&r.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},82459:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},85881:(e,t,n)=>{"use strict";var o=n(94534).version,r={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){r[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={};r.transitional=function(e,t,n){function r(e,t){return"[Axios v"+o+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,a){if(!1===e)throw new Error(r(o," has been removed"+(t?" in "+t:"")));return t&&!i[o]&&(i[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,a)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var o=Object.keys(e),r=o.length;r-- >0;){var i=o[r],a=t[i];if(a){var s=e[i],l=void 0===s||a(s,i,e);if(!0!==l)throw new TypeError("option "+i+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:r}},17201:(e,t,n)=>{"use strict";var o=n(37087),r=Object.prototype.toString;function i(e){return Array.isArray(e)}function a(e){return void 0===e}function s(e){return"[object ArrayBuffer]"===r.call(e)}function l(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==r.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function p(e){return"[object Function]"===r.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,o=e.length;n{"use strict";t.byteLength=function(e){var t=l(e),n=t[0],o=t[1];return 3*(n+o)/4-o},t.toByteArray=function(e){var t,n,i=l(e),a=i[0],s=i[1],c=new r(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),p=0,u=s>0?a-4:a;for(n=0;n>16&255,c[p++]=t>>8&255,c[p++]=255&t;return 2===s&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,c[p++]=255&t),1===s&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,c[p++]=t>>8&255,c[p++]=255&t),c},t.fromByteArray=function(e){for(var t,o=e.length,r=o%3,i=[],a=16383,s=0,l=o-r;sl?l:s+a));return 1===r?(t=e[o-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===r&&(t=(e[o-2]<<8)+e[o-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),i.join("")};for(var n=[],o=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,o){for(var r,i,a=[],s=t;s>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},32980:function(e,t,n){var o;!function(r){"use strict";var i,a=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,s=Math.ceil,l=Math.floor,c="[BigNumber Error] ",p=c+"Number primitive has more than 15 significant digits: ",u=1e14,d=14,g=9007199254740991,f=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],h=1e7,m=1e9;function y(e){var t=0|e;return e>0||e===t?t:t-1}function v(e){for(var t,n,o=1,r=e.length,i=e[0]+"";oc^n?1:-1;for(s=(l=r.length)<(c=i.length)?l:c,a=0;ai[a]^n?1:-1;return l==c?0:l>c^n?1:-1}function O(e,t,n,o){if(en||e!==l(e))throw Error(c+(o||"Argument")+("number"==typeof e?en?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function w(e){var t=e.c.length-1;return y(e.e/d)==t&&e.c[t]%2!=0}function P(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function x(e,t,n){var o,r;if(t<0){for(r=n+".";++t;r+=n);e=r+e}else if(++t>(o=e.length)){for(r=n,t-=o;--t;r+=n);e+=r}else tB?y.c=y.e=null:e.e=10;u/=10,c++);return void(c>B?y.c=y.e=null:(y.e=c,y.c=[e]))}m=String(e)}else{if(!a.test(m=String(e)))return r(y,m,f);y.s=45==m.charCodeAt(0)?(m=m.slice(1),-1):1}(c=m.indexOf("."))>-1&&(m=m.replace(".","")),(u=m.search(/e/i))>0?(c<0&&(c=u),c+=+m.slice(u+1),m=m.substring(0,u)):c<0&&(c=m.length)}else{if(O(t,2,V.length,"Base"),10==t&&H)return Y(y=new G(e),I+y.e+1,R);if(m=String(e),f="number"==typeof e){if(0*e!=0)return r(y,m,f,t);if(y.s=1/e<0?(m=m.slice(1),-1):1,G.DEBUG&&m.replace(/^0\.0*|\./,"").length>15)throw Error(p+e)}else y.s=45===m.charCodeAt(0)?(m=m.slice(1),-1):1;for(n=V.slice(0,t),c=u=0,h=m.length;uc){c=h;continue}}else if(!s&&(m==m.toUpperCase()&&(m=m.toLowerCase())||m==m.toLowerCase()&&(m=m.toUpperCase()))){s=!0,u=-1,c=0;continue}return r(y,String(e),f,t)}f=!1,(c=(m=o(m,t,10,y.s)).indexOf("."))>-1?m=m.replace(".",""):c=m.length}for(u=0;48===m.charCodeAt(u);u++);for(h=m.length;48===m.charCodeAt(--h););if(m=m.slice(u,++h)){if(h-=u,f&&G.DEBUG&&h>15&&(e>g||e!==l(e)))throw Error(p+y.s*e);if((c=c-u-1)>B)y.c=y.e=null;else if(c=D)?P(l,a):x(l,a,"0");else if(i=(e=Y(new G(e),t,n)).e,s=(l=v(e.c)).length,1==o||2==o&&(t<=i||i<=N)){for(;ss){if(--t>0)for(l+=".";t--;l+="0");}else if((t+=i-s)>0)for(i+1==s&&(l+=".");t--;l+="0");return e.s<0&&r?"-"+l:l}function z(e,t){for(var n,o=1,r=new G(e[0]);o=10;r/=10,o++);return(n=o+n*d-1)>B?e.c=e.e=null:n=10;c/=10,r++);if((i=t-r)<0)i+=d,a=t,h=(p=m[g=0])/y[r-a-1]%10|0;else if((g=s((i+1)/d))>=m.length){if(!o)break e;for(;m.length<=g;m.push(0));p=h=0,r=1,a=(i%=d)-d+1}else{for(p=c=m[g],r=1;c>=10;c/=10,r++);h=(a=(i%=d)-d+r)<0?0:p/y[r-a-1]%10|0}if(o=o||t<0||null!=m[g+1]||(a<0?p:p%y[r-a-1]),o=n<4?(h||o)&&(0==n||n==(e.s<0?3:2)):h>5||5==h&&(4==n||o||6==n&&(i>0?a>0?p/y[r-a]:0:m[g-1])%10&1||n==(e.s<0?8:7)),t<1||!m[0])return m.length=0,o?(t-=e.e+1,m[0]=y[(d-t%d)%d],e.e=-t||0):m[0]=e.e=0,e;if(0==i?(m.length=g,c=1,g--):(m.length=g+1,c=y[d-i],m[g]=a>0?l(p/y[r-a]%y[a])*c:0),o)for(;;){if(0==g){for(i=1,a=m[0];a>=10;a/=10,i++);for(a=m[0]+=c,c=1;a>=10;a/=10,c++);i!=c&&(e.e++,m[0]==u&&(m[0]=1));break}if(m[g]+=c,m[g]!=u)break;m[g--]=0,c=1}for(i=m.length;0===m[--i];m.pop());}e.e>B?e.c=e.e=null:e.e=D?P(t,n):x(t,n,"0"),e.s<0?"-"+t:t)}return G.clone=e,G.ROUND_UP=0,G.ROUND_DOWN=1,G.ROUND_CEIL=2,G.ROUND_FLOOR=3,G.ROUND_HALF_UP=4,G.ROUND_HALF_DOWN=5,G.ROUND_HALF_EVEN=6,G.ROUND_HALF_CEIL=7,G.ROUND_HALF_FLOOR=8,G.EUCLID=9,G.config=G.set=function(e){var t,n;if(null!=e){if("object"!=typeof e)throw Error(c+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(O(n=e[t],0,m,t),I=n),e.hasOwnProperty(t="ROUNDING_MODE")&&(O(n=e[t],0,8,t),R=n),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((n=e[t])&&n.pop?(O(n[0],-m,0,t),O(n[1],0,m,t),N=n[0],D=n[1]):(O(n,-m,m,t),N=-(D=n<0?-n:n))),e.hasOwnProperty(t="RANGE"))if((n=e[t])&&n.pop)O(n[0],-m,-1,t),O(n[1],1,m,t),L=n[0],B=n[1];else{if(O(n,-m,m,t),!n)throw Error(c+t+" cannot be zero: "+n);L=-(B=n<0?-n:n)}if(e.hasOwnProperty(t="CRYPTO")){if((n=e[t])!==!!n)throw Error(c+t+" not true or false: "+n);if(n){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw M=!n,Error(c+"crypto unavailable");M=n}else M=n}if(e.hasOwnProperty(t="MODULO_MODE")&&(O(n=e[t],0,9,t),F=n),e.hasOwnProperty(t="POW_PRECISION")&&(O(n=e[t],0,m,t),U=n),e.hasOwnProperty(t="FORMAT")){if("object"!=typeof(n=e[t]))throw Error(c+t+" not an object: "+n);q=n}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(n=e[t])||/^.?$|[+\-.\s]|(.).*\1/.test(n))throw Error(c+t+" invalid: "+n);H="0123456789"==n.slice(0,10),V=n}}return{DECIMAL_PLACES:I,ROUNDING_MODE:R,EXPONENTIAL_AT:[N,D],RANGE:[L,B],CRYPTO:M,MODULO_MODE:F,POW_PRECISION:U,FORMAT:q,ALPHABET:V}},G.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!G.DEBUG)return!0;var t,n,o=e.c,r=e.e,i=e.s;e:if("[object Array]"=={}.toString.call(o)){if((1===i||-1===i)&&r>=-m&&r<=m&&r===l(r)){if(0===o[0]){if(0===r&&1===o.length)return!0;break e}if((t=(r+1)%d)<1&&(t+=d),String(o[0]).length==t){for(t=0;t=u||n!==l(n))break e;if(0!==n)return!0}}}else if(null===o&&null===r&&(null===i||1===i||-1===i))return!0;throw Error(c+"Invalid BigNumber: "+e)},G.maximum=G.max=function(){return z(arguments,_.lt)},G.minimum=G.min=function(){return z(arguments,_.gt)},G.random=(i=9007199254740992,S=Math.random()*i&2097151?function(){return l(Math.random()*i)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(e){var t,n,o,r,i,a=0,p=[],u=new G(C);if(null==e?e=I:O(e,0,m),r=s(e/d),M)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(r*=2));a>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),t[a]=n[0],t[a+1]=n[1]):(p.push(i%1e14),a+=2);a=r/2}else{if(!crypto.randomBytes)throw M=!1,Error(c+"crypto unavailable");for(t=crypto.randomBytes(r*=7);a=9e15?crypto.randomBytes(7).copy(t,a):(p.push(i%1e14),a+=7);a=r/7}if(!M)for(;a=10;i/=10,a++);an-1&&(null==a[r+1]&&(a[r+1]=0),a[r+1]+=a[r]/n|0,a[r]%=n)}return a.reverse()}return function(o,r,i,a,s){var l,c,p,u,d,g,f,h,m=o.indexOf("."),y=I,b=R;for(m>=0&&(u=U,U=0,o=o.replace(".",""),g=(h=new G(r)).pow(o.length-m),U=u,h.c=t(x(v(g.c),g.e,"0"),10,i,e),h.e=h.c.length),p=u=(f=t(o,r,i,s?(l=V,e):(l=e,V))).length;0==f[--u];f.pop());if(!f[0])return l.charAt(0);if(m<0?--p:(g.c=f,g.e=p,g.s=a,f=(g=n(g,h,y,b,i)).c,d=g.r,p=g.e),m=f[c=p+y+1],u=i/2,d=d||c<0||null!=f[c+1],d=b<4?(null!=m||d)&&(0==b||b==(g.s<0?3:2)):m>u||m==u&&(4==b||d||6==b&&1&f[c-1]||b==(g.s<0?8:7)),c<1||!f[0])o=d?x(l.charAt(1),-y,l.charAt(0)):l.charAt(0);else{if(f.length=c,d)for(--i;++f[--c]>i;)f[c]=0,c||(++p,f=[1].concat(f));for(u=f.length;!f[--u];);for(m=0,o="";m<=u;o+=l.charAt(f[m++]));o=x(o,p,l.charAt(0))}return o}}(),n=function(){function e(e,t,n){var o,r,i,a,s=0,l=e.length,c=t%h,p=t/h|0;for(e=e.slice();l--;)s=((r=c*(i=e[l]%h)+(o=p*i+(a=e[l]/h|0)*c)%h*h+s)/n|0)+(o/h|0)+p*a,e[l]=r%n;return s&&(e=[s].concat(e)),e}function t(e,t,n,o){var r,i;if(n!=o)i=n>o?1:-1;else for(r=i=0;rt[r]?1:-1;break}return i}function n(e,t,n,o){for(var r=0;n--;)e[n]-=r,r=e[n]1;e.splice(0,1));}return function(o,r,i,a,s){var c,p,g,f,h,m,v,b,O,w,P,x,S,T,A,E,j,k=o.s==r.s?1:-1,_=o.c,C=r.c;if(!(_&&_[0]&&C&&C[0]))return new G(o.s&&r.s&&(_?!C||_[0]!=C[0]:C)?_&&0==_[0]||!C?0*k:k/0:NaN);for(O=(b=new G(k)).c=[],k=i+(p=o.e-r.e)+1,s||(s=u,p=y(o.e/d)-y(r.e/d),k=k/d|0),g=0;C[g]==(_[g]||0);g++);if(C[g]>(_[g]||0)&&p--,k<0)O.push(1),f=!0;else{for(T=_.length,E=C.length,g=0,k+=2,(h=l(s/(C[0]+1)))>1&&(C=e(C,h,s),_=e(_,h,s),E=C.length,T=_.length),S=E,P=(w=_.slice(0,E)).length;P=s/2&&A++;do{if(h=0,(c=t(C,w,E,P))<0){if(x=w[0],E!=P&&(x=x*s+(w[1]||0)),(h=l(x/A))>1)for(h>=s&&(h=s-1),v=(m=e(C,h,s)).length,P=w.length;1==t(m,w,v,P);)h--,n(m,E=10;k/=10,g++);Y(b,i+(b.e=g+p*d-1)+1,a,f)}else b.e=p,b.r=+f;return b}}(),T=/^(-?)0([xbo])(?=\w[\w.]*$)/i,A=/^([^.]+)\.$/,E=/^\.([^.]+)$/,j=/^-?(Infinity|NaN)$/,k=/^\s*\+(?=[\w.])|^\s+|\s+$/g,r=function(e,t,n,o){var r,i=n?t:t.replace(k,"");if(j.test(i))e.s=isNaN(i)?null:i<0?-1:1;else{if(!n&&(i=i.replace(T,(function(e,t,n){return r="x"==(n=n.toLowerCase())?16:"b"==n?2:8,o&&o!=r?e:t})),o&&(r=o,i=i.replace(A,"$1").replace(E,"0.$1")),t!=i))return new G(i,r);if(G.DEBUG)throw Error(c+"Not a"+(o?" base "+o:"")+" number: "+t);e.s=null}e.c=e.e=null},_.absoluteValue=_.abs=function(){var e=new G(this);return e.s<0&&(e.s=1),e},_.comparedTo=function(e,t){return b(this,new G(e,t))},_.decimalPlaces=_.dp=function(e,t){var n,o,r,i=this;if(null!=e)return O(e,0,m),null==t?t=R:O(t,0,8),Y(new G(i),e+i.e+1,t);if(!(n=i.c))return null;if(o=((r=n.length-1)-y(this.e/d))*d,r=n[r])for(;r%10==0;r/=10,o--);return o<0&&(o=0),o},_.dividedBy=_.div=function(e,t){return n(this,new G(e,t),I,R)},_.dividedToIntegerBy=_.idiv=function(e,t){return n(this,new G(e,t),0,1)},_.exponentiatedBy=_.pow=function(e,t){var n,o,r,i,a,p,u,g,f=this;if((e=new G(e)).c&&!e.isInteger())throw Error(c+"Exponent not an integer: "+K(e));if(null!=t&&(t=new G(t)),a=e.e>14,!f.c||!f.c[0]||1==f.c[0]&&!f.e&&1==f.c.length||!e.c||!e.c[0])return g=new G(Math.pow(+K(f),a?e.s*(2-w(e)):+K(e))),t?g.mod(t):g;if(p=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new G(NaN);(o=!p&&f.isInteger()&&t.isInteger())&&(f=f.mod(t))}else{if(e.e>9&&(f.e>0||f.e<-1||(0==f.e?f.c[0]>1||a&&f.c[1]>=24e7:f.c[0]<8e13||a&&f.c[0]<=9999975e7)))return i=f.s<0&&w(e)?-0:0,f.e>-1&&(i=1/i),new G(p?1/i:i);U&&(i=s(U/d+2))}for(a?(n=new G(.5),p&&(e.s=1),u=w(e)):u=(r=Math.abs(+K(e)))%2,g=new G(C);;){if(u){if(!(g=g.times(f)).c)break;i?g.c.length>i&&(g.c.length=i):o&&(g=g.mod(t))}if(r){if(0===(r=l(r/2)))break;u=r%2}else if(Y(e=e.times(n),e.e+1,1),e.e>14)u=w(e);else{if(0==(r=+K(e)))break;u=r%2}f=f.times(f),i?f.c&&f.c.length>i&&(f.c.length=i):o&&(f=f.mod(t))}return o?g:(p&&(g=C.div(g)),t?g.mod(t):i?Y(g,U,R,void 0):g)},_.integerValue=function(e){var t=new G(this);return null==e?e=R:O(e,0,8),Y(t,t.e+1,e)},_.isEqualTo=_.eq=function(e,t){return 0===b(this,new G(e,t))},_.isFinite=function(){return!!this.c},_.isGreaterThan=_.gt=function(e,t){return b(this,new G(e,t))>0},_.isGreaterThanOrEqualTo=_.gte=function(e,t){return 1===(t=b(this,new G(e,t)))||0===t},_.isInteger=function(){return!!this.c&&y(this.e/d)>this.c.length-2},_.isLessThan=_.lt=function(e,t){return b(this,new G(e,t))<0},_.isLessThanOrEqualTo=_.lte=function(e,t){return-1===(t=b(this,new G(e,t)))||0===t},_.isNaN=function(){return!this.s},_.isNegative=function(){return this.s<0},_.isPositive=function(){return this.s>0},_.isZero=function(){return!!this.c&&0==this.c[0]},_.minus=function(e,t){var n,o,r,i,a=this,s=a.s;if(t=(e=new G(e,t)).s,!s||!t)return new G(NaN);if(s!=t)return e.s=-t,a.plus(e);var l=a.e/d,c=e.e/d,p=a.c,g=e.c;if(!l||!c){if(!p||!g)return p?(e.s=-t,e):new G(g?a:NaN);if(!p[0]||!g[0])return g[0]?(e.s=-t,e):new G(p[0]?a:3==R?-0:0)}if(l=y(l),c=y(c),p=p.slice(),s=l-c){for((i=s<0)?(s=-s,r=p):(c=l,r=g),r.reverse(),t=s;t--;r.push(0));r.reverse()}else for(o=(i=(s=p.length)<(t=g.length))?s:t,s=t=0;t0)for(;t--;p[n++]=0);for(t=u-1;o>s;){if(p[--o]=0;){for(n=0,f=x[r]%O,m=x[r]/O|0,i=r+(a=l);i>r;)n=((c=f*(c=P[--a]%O)+(s=m*c+(p=P[a]/O|0)*f)%O*O+v[i]+n)/b|0)+(s/O|0)+m*p,v[i--]=c%b;v[i]=n}return n?++o:v.splice(0,1),J(e,v,o)},_.negated=function(){var e=new G(this);return e.s=-e.s||null,e},_.plus=function(e,t){var n,o=this,r=o.s;if(t=(e=new G(e,t)).s,!r||!t)return new G(NaN);if(r!=t)return e.s=-t,o.minus(e);var i=o.e/d,a=e.e/d,s=o.c,l=e.c;if(!i||!a){if(!s||!l)return new G(r/0);if(!s[0]||!l[0])return l[0]?e:new G(s[0]?o:0*r)}if(i=y(i),a=y(a),s=s.slice(),r=i-a){for(r>0?(a=i,n=l):(r=-r,n=s),n.reverse();r--;n.push(0));n.reverse()}for((r=s.length)-(t=l.length)<0&&(n=l,l=s,s=n,t=r),r=0;t;)r=(s[--t]=s[t]+l[t]+r)/u|0,s[t]=u===s[t]?0:s[t]%u;return r&&(s=[r].concat(s),++a),J(e,s,a)},_.precision=_.sd=function(e,t){var n,o,r,i=this;if(null!=e&&e!==!!e)return O(e,1,m),null==t?t=R:O(t,0,8),Y(new G(i),e,t);if(!(n=i.c))return null;if(o=(r=n.length-1)*d+1,r=n[r]){for(;r%10==0;r/=10,o--);for(r=n[0];r>=10;r/=10,o++);}return e&&i.e+1>o&&(o=i.e+1),o},_.shiftedBy=function(e){return O(e,-9007199254740991,g),this.times("1e"+e)},_.squareRoot=_.sqrt=function(){var e,t,o,r,i,a=this,s=a.c,l=a.s,c=a.e,p=I+4,u=new G("0.5");if(1!==l||!s||!s[0])return new G(!l||l<0&&(!s||s[0])?NaN:s?a:1/0);if(0==(l=Math.sqrt(+K(a)))||l==1/0?(((t=v(s)).length+c)%2==0&&(t+="0"),l=Math.sqrt(+t),c=y((c+1)/2)-(c<0||c%2),o=new G(t=l==1/0?"5e"+c:(t=l.toExponential()).slice(0,t.indexOf("e")+1)+c)):o=new G(l+""),o.c[0])for((l=(c=o.e)+p)<3&&(l=0);;)if(i=o,o=u.times(i.plus(n(a,i,p,1))),v(i.c).slice(0,l)===(t=v(o.c)).slice(0,l)){if(o.e0&&h>0){for(i=h%s||s,u=f.substr(0,i);i0&&(u+=p+f.slice(i)),g&&(u="-"+u)}o=d?u+(n.decimalSeparator||"")+((l=+n.fractionGroupSize)?d.replace(new RegExp("\\d{"+l+"}\\B","g"),"$&"+(n.fractionGroupSeparator||"")):d):u}return(n.prefix||"")+o+(n.suffix||"")},_.toFraction=function(e){var t,o,r,i,a,s,l,p,u,g,h,m,y=this,b=y.c;if(null!=e&&(!(l=new G(e)).isInteger()&&(l.c||1!==l.s)||l.lt(C)))throw Error(c+"Argument "+(l.isInteger()?"out of range: ":"not an integer: ")+K(l));if(!b)return new G(y);for(t=new G(C),u=o=new G(C),r=p=new G(C),m=v(b),a=t.e=m.length-y.e-1,t.c[0]=f[(s=a%d)<0?d+s:s],e=!e||l.comparedTo(t)>0?a>0?t:u:l,s=B,B=1/0,l=new G(m),p.c[0]=0;g=n(l,t,0,1),1!=(i=o.plus(g.times(r))).comparedTo(e);)o=r,r=i,u=p.plus(g.times(i=u)),p=i,t=l.minus(g.times(i=t)),l=i;return i=n(e.minus(o),r,0,1),p=p.plus(i.times(u)),o=o.plus(i.times(r)),p.s=u.s=y.s,h=n(u,r,a*=2,R).minus(y).abs().comparedTo(n(p,o,a,R).minus(y).abs())<1?[u,r]:[p,o],B=s,h},_.toNumber=function(){return+K(this)},_.toPrecision=function(e,t){return null!=e&&O(e,1,m),W(this,e,t,2)},_.toString=function(e){var t,n=this,r=n.s,i=n.e;return null===i?r?(t="Infinity",r<0&&(t="-"+t)):t="NaN":(null==e?t=i<=N||i>=D?P(v(n.c),i):x(v(n.c),i,"0"):10===e&&H?t=x(v((n=Y(new G(n),I+i+1,R)).c),n.e,"0"):(O(e,2,V.length,"Base"),t=o(x(v(n.c),i,"0"),10,e,r,!0)),r<0&&n.c[0]&&(t="-"+t)),t},_.valueOf=_.toJSON=function(){return K(this)},_._isBigNumber=!0,null!=t&&G.set(t),G}(),i.default=i.BigNumber=i,void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()},84650:(e,t,n)=>{"use strict";var o=n(14300).Buffer,r=n(14300).SlowBuffer;function i(e,t){if(!o.isBuffer(e)||!o.isBuffer(t))return!1;if(e.length!==t.length)return!1;for(var n=0,r=0;r{"use strict";var o=n(28487),r=n(25592),i=r(o("String.prototype.indexOf"));e.exports=function(e,t){var n=o(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?r(n):n}},25592:(e,t,n)=>{"use strict";var o=n(22698),r=n(28487),i=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||o.call(a,i),l=r("%Object.getOwnPropertyDescriptor%",!0),c=r("%Object.defineProperty%",!0),p=r("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(o,a,arguments);if(l&&c){var n=l(t,"length");n.configurable&&c(t,"length",{value:1+p(0,e.length-(arguments.length-1))})}return t};var u=function(){return s(o,i,arguments)};c?c(e.exports,"apply",{value:u}):e.exports.apply=u},14598:(e,t,n)=>{var o=n(73837),r=n(12781).Stream,i=n(65239);function a(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}e.exports=a,o.inherits(a,r),a.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},a.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},a.prototype.append=function(e){if(a.isStreamLike(e)){if(!(e instanceof i)){var t=i.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},a.prototype.pipe=function(e,t){return r.prototype.pipe.call(this,e,t),this.resume(),e},a.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},a.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){a.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},a.prototype._pipeNext=function(e){if(this._currentStream=e,a.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},a.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},a.prototype.write=function(e){this.emit("data",e)},a.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},a.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},a.prototype.end=function(){this._reset(),this.emit("end")},a.prototype.destroy=function(){this._reset(),this.emit("close")},a.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},a.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},a.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},a.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},86418:(e,t)=>{!function(){"use strict";function e(t,n,o,r){return this instanceof e?(this.domain=t||void 0,this.path=n||"/",this.secure=!!o,this.script=!!r,this):new e(t,n,o,r)}function n(e,t,o){return e instanceof n?e:this instanceof n?(this.name=null,this.value=null,this.expiration_date=1/0,this.path=String(o||"/"),this.explicit_path=!1,this.domain=t||null,this.explicit_domain=!1,this.secure=!1,this.noscript=!1,e&&this.parse(e,t,o),this):new n(e,t,o)}e.All=Object.freeze(Object.create(null)),t.Qr=e,n.prototype.toString=function(){var e=[this.name+"="+this.value];return this.expiration_date!==1/0&&e.push("expires="+new Date(this.expiration_date).toGMTString()),this.domain&&e.push("domain="+this.domain),this.path&&e.push("path="+this.path),this.secure&&e.push("secure"),this.noscript&&e.push("httponly"),e.join("; ")},n.prototype.toValueString=function(){return this.name+"="+this.value};var o=/[:](?=\s*[a-zA-Z0-9_\-]+\s*[=])/g;function r(){var e,t;return this instanceof r?(e=Object.create(null),this.setCookie=function(o,r,i){var a,s;if(a=(o=new n(o,r,i)).expiration_date<=Date.now(),void 0!==e[o.name]){for(t=e[o.name],s=0;s=t&&e<=n},a=function(e,t,n){return-1===e.search(/[^\d-,\/*]/)&&e.split(",").every((function(e){var r=e.split("/");if(e.trim().endsWith("/"))return!1;if(r.length>2)return!1;var a=r[0],s=r[1];return function(e,t,n){var r=e.split("-");switch(r.length){case 1:return function(e){return"*"===e}(e)||i(o(e),t,n);case 2:var a=r.map((function(e){return o(e)})),s=a[0],l=a[1];return s<=l&&i(s,t,n)&&i(l,t,n);default:return!1}}(a,t,n)&&function(e){return void 0===e||-1===e.search(/[^\d]/)&&o(e)>0}(s)}))},s={jan:"1",feb:"2",mar:"3",apr:"4",may:"5",jun:"6",jul:"7",aug:"8",sep:"9",oct:"10",nov:"11",dec:"12"},l={sun:"0",mon:"1",tue:"2",wed:"3",thu:"4",fri:"5",sat:"6"},c={alias:!1,seconds:!1,allowBlankDay:!1,allowSevenAsSunday:!1};t.isValidCron=function(e,t){t=n(n({},c),t);var o=function(e){return e.trim().split(/\s+/)}(e);if(o.length>(t.seconds?6:5)||o.length<5)return!1;var i=[];if(6===o.length){var p=o.shift();p&&i.push(function(e){return a(e,0,59)}(p))}var u=o[0],d=o[1],g=o[2],f=o[3],h=o[4];return i.push(function(e){return a(e,0,59)}(u)),i.push(function(e){return a(e,0,23)}(d)),i.push(function(e,t){return t&&r(e)||a(e,1,31)}(g,t.allowBlankDay)),i.push(function(e,t){if(-1!==e.search(/\/[a-zA-Z]/))return!1;if(t){var n=e.toLowerCase().replace(/[a-z]{3}/g,(function(e){return void 0===s[e]?e:s[e]}));return a(n,1,12)}return a(e,1,12)}(f,t.alias)),i.push(function(e,t,n,o){if(n&&r(e))return!0;if(!n&&r(e))return!1;if(-1!==e.search(/\/[a-zA-Z]/))return!1;if(t){var i=e.toLowerCase().replace(/[a-z]{3}/g,(function(e){return void 0===l[e]?e:l[e]}));return a(i,0,o?7:6)}return a(e,0,o?7:6)}(h,t.alias,t.allowBlankDay,t.allowSevenAsSunday)),i.push(function(e,t,n){return!(n&&r(e)&&r(t))}(g,h,t.allowBlankDay)),i.every(Boolean)}},64929:(e,t,n)=>{"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":o(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var o=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(o++,"%c"===e&&(r=o))})),t.splice(r,0,n)}},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(97350)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},97350:(e,t,n)=>{"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n{"use strict";"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(64929):e.exports=n(70935)},70935:(e,t,n)=>{"use strict";var o=n(76224),r=n(73837);t.init=function(e){e.inspectOpts={};for(var n=Object.keys(t.inspectOpts),o=0;o=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((function(e){return/^debug_/i.test(e)})).reduce((function(e,t){var n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,t){return t.toUpperCase()})),o=process.env[t];return o=!!/^(yes|on|true|enabled)$/i.test(o)||!/^(no|off|false|disabled)$/i.test(o)&&("null"===o?null:Number(o)),e[n]=o,e}),{}),e.exports=n(97350)(t);var a=e.exports.formatters;a.o=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},a.O=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts)}},57302:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(o++,"%c"===e&&(r=o))})),t.splice(r,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(23065)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},23065:(e,t,n)=>{e.exports=function(e){function t(e){let n,r,i,a=null;function s(...e){if(!s.enabled)return;const o=s,r=Number(new Date),i=r-(n||r);o.diff=i,o.prev=n,o.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,r)=>{if("%%"===n)return"%";a++;const i=t.formatters[r];if("function"==typeof i){const t=e[a];n=i.call(o,t),e.splice(a,1),a--}return n})),t.formatArgs.call(o,e),(o.log||t.log).apply(o,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=o,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(r!==t.namespaces&&(r=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function o(e,n){const o=t(this.namespace+(void 0===n?":":n)+e);return o.log=this.log,o}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const o=("string"==typeof e?e:"").split(/[\s,]+/),r=o.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(57302):e.exports=n(3236)},3236:(e,t,n)=>{const o=n(76224),r=n(73837);t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let o=0;o{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=n(94985);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let o=process.env[t];return o=!!/^(yes|on|true|enabled)$/i.test(o)||!/^(no|off|false|disabled)$/i.test(o)&&("null"===o?null:Number(o)),e[n]=o,e}),{}),e.exports=n(23065)(t);const{formatters:i}=e.exports;i.o=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},i.O=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts)}},65239:(e,t,n)=>{var o=n(12781).Stream,r=n(73837);function i(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=i,r.inherits(i,o),i.create=function(e,t){var n=new this;for(var o in t=t||{})n[o]=t[o];n.source=e;var r=e.emit;return e.emit=function(){return n._handleEmit(arguments),r.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(i.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),i.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},i.prototype.resume=function(){this._released||this.release(),this.source.resume()},i.prototype.pause=function(){this.source.pause()},i.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},i.prototype.pipe=function(){var e=o.prototype.pipe.apply(this,arguments);return this.resume(),e},i.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},i.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}},29266:(e,t,n)=>{var o=n(74282),r=n(59806),i=n(44236),a=n(64801),s=Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from([0]):new Buffer([0]),l=function(e,t){e._corked?e.once("uncork",t):t()},c=function(e,t){return function(n){n?function(e,t){e._autoDestroy&&e.destroy(t)}(e,"premature close"===n.message?null:n):t&&!e._ended&&e.end()}},p=function(){},u=function(e,t,n){if(!(this instanceof u))return new u(e,t,n);o.Duplex.call(this,n),this._writable=null,this._readable=null,this._readable2=null,this._autoDestroy=!n||!1!==n.autoDestroy,this._forwardDestroy=!n||!1!==n.destroy,this._forwardEnd=!n||!1!==n.end,this._corked=1,this._ondrain=null,this._drained=!1,this._forwarding=!1,this._unwrite=null,this._unread=null,this._ended=!1,this.destroyed=!1,e&&this.setWritable(e),t&&this.setReadable(t)};i(u,o.Duplex),u.obj=function(e,t,n){return n||(n={}),n.objectMode=!0,n.highWaterMark=16,new u(e,t,n)},u.prototype.cork=function(){1==++this._corked&&this.emit("cork")},u.prototype.uncork=function(){this._corked&&0==--this._corked&&this.emit("uncork")},u.prototype.setWritable=function(e){if(this._unwrite&&this._unwrite(),this.destroyed)e&&e.destroy&&e.destroy();else if(null!==e&&!1!==e){var t=this,n=r(e,{writable:!0,readable:!1},c(this,this._forwardEnd)),o=function(){var e=t._ondrain;t._ondrain=null,e&&e()};this._unwrite&&process.nextTick(o),this._writable=e,this._writable.on("drain",o),this._unwrite=function(){t._writable.removeListener("drain",o),n()},this.uncork()}else this.end()},u.prototype.setReadable=function(e){if(this._unread&&this._unread(),this.destroyed)e&&e.destroy&&e.destroy();else{if(null===e||!1===e)return this.push(null),void this.resume();var t,n=this,i=r(e,{writable:!1,readable:!0},c(this)),a=function(){n._forward()},s=function(){n.push(null)};this._drained=!0,this._readable=e,this._readable2=e._readableState?e:(t=e,new o.Readable({objectMode:!0,highWaterMark:16}).wrap(t)),this._readable2.on("readable",a),this._readable2.on("end",s),this._unread=function(){n._readable2.removeListener("readable",a),n._readable2.removeListener("end",s),i()},this._forward()}},u.prototype._read=function(){this._drained=!0,this._forward()},u.prototype._forward=function(){if(!this._forwarding&&this._readable2&&this._drained){var e;for(this._forwarding=!0;this._drained&&null!==(e=a(this._readable2));)this.destroyed||(this._drained=this.push(e));this._forwarding=!1}},u.prototype.destroy=function(e,t){if(t||(t=p),this.destroyed)return t(null);this.destroyed=!0;var n=this;process.nextTick((function(){n._destroy(e),t(null)}))},u.prototype._destroy=function(e){if(e){var t=this._ondrain;this._ondrain=null,t?t(e):this.emit("error",e)}this._forwardDestroy&&(this._readable&&this._readable.destroy&&this._readable.destroy(),this._writable&&this._writable.destroy&&this._writable.destroy()),this.emit("close")},u.prototype._write=function(e,t,n){if(!this.destroyed)return this._corked?l(this,this._write.bind(this,e,t,n)):e===s?this._finish(n):this._writable?void(!1===this._writable.write(e)?this._ondrain=n:this.destroyed||n()):n()},u.prototype._finish=function(e){var t=this;this.emit("preend"),l(this,(function(){var n,o;o=function(){!1===t._writableState.prefinished&&(t._writableState.prefinished=!0),t.emit("prefinish"),l(t,e)},(n=t._forwardEnd&&t._writable)?n._writableState&&n._writableState.finished?o():n._writableState?n.end(o):(n.end(),o()):o()}))},u.prototype.end=function(e,t,n){return"function"==typeof e?this.end(null,null,e):"function"==typeof t?this.end(e,null,t):(this._ended=!0,e&&this.write(e),this._writableState.ending||this._writableState.destroyed||this.write(s),o.Writable.prototype.end.call(this,n))},e.exports=u},27356:(e,t,n)=>{"use strict";var o=n(21607).Buffer,r=n(29267);function i(e){if(o.isBuffer(e))return e;if("string"==typeof e)return o.from(e,"base64");throw new TypeError("ECDSA signature must be a Base64 string or a Buffer")}function a(e,t,n){for(var o=0;t+o=128&&--o,o}e.exports={derToJose:function(e,t){e=i(e);var n=r(t),a=n+1,s=e.length,l=0;if(48!==e[l++])throw new Error('Could not find expected "seq"');var c=e[l++];if(129===c&&(c=e[l++]),s-l{"use strict";function t(e){return(e/8|0)+(e%8==0?0:1)}var n={ES256:t(256),ES384:t(384),ES512:t(521)};e.exports=function(e){var t=n[e];if(t)return t;throw new Error('Unknown algorithm "'+e+'"')}},59806:(e,t,n)=>{var o=n(36219),r=function(){},i=function(e,t,n){if("function"==typeof t)return i(e,null,t);t||(t={}),n=o(n||r);var a=e._writableState,s=e._readableState,l=t.readable||!1!==t.readable&&e.readable,c=t.writable||!1!==t.writable&&e.writable,p=!1,u=function(){e.writable||d()},d=function(){c=!1,l||n.call(e)},g=function(){l=!1,c||n.call(e)},f=function(t){n.call(e,t?new Error("exited with error code: "+t):null)},h=function(t){n.call(e,t)},m=function(){process.nextTick(y)},y=function(){if(!p)return(!l||s&&s.ended&&!s.destroyed)&&(!c||a&&a.ended&&!a.destroyed)?void 0:n.call(e,new Error("premature close"))},v=function(){e.req.on("finish",d)};return function(e){return e.setHeader&&"function"==typeof e.abort}(e)?(e.on("complete",d),e.on("abort",m),e.req?v():e.on("request",v)):c&&!a&&(e.on("end",u),e.on("close",u)),function(e){return e.stdio&&Array.isArray(e.stdio)&&3===e.stdio.length}(e)&&e.on("exit",f),e.on("end",g),e.on("finish",d),!1!==t.error&&e.on("error",h),e.on("close",m),function(){p=!0,e.removeListener("complete",d),e.removeListener("abort",m),e.removeListener("request",v),e.req&&e.req.removeListener("finish",d),e.removeListener("end",u),e.removeListener("close",u),e.removeListener("finish",d),e.removeListener("exit",f),e.removeListener("end",g),e.removeListener("error",h),e.removeListener("close",m)}};e.exports=i},34659:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=new WeakMap,o=new WeakMap;function r(e){const t=n.get(e);return console.assert(null!=t,"'this' is expected an Event object, but got",e),t}function i(e){null==e.passiveListener?e.event.cancelable&&(e.canceled=!0,"function"==typeof e.event.preventDefault&&e.event.preventDefault()):"undefined"!=typeof console&&"function"==typeof console.error&&console.error("Unable to preventDefault inside passive event listener invocation.",e.passiveListener)}function a(e,t){n.set(this,{eventTarget:e,event:t,eventPhase:2,currentTarget:e,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:t.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});const o=Object.keys(t);for(let e=0;e0){const e=new Array(arguments.length);for(let t=0;t{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,o=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var o,r=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!i)return!1;for(o in e);return void 0===o||t.call(e,o)},s=function(e,t){o&&"__proto__"===t.name?o(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(r)return r(e,n).value}return e[n]};e.exports=function e(){var t,n,o,r,c,p,u=arguments[0],d=1,g=arguments.length,f=!1;for("boolean"==typeof u&&(f=u,u=arguments[1]||{},d=2),(null==u||"object"!=typeof u&&"function"!=typeof u)&&(u={});d=n-1){var s=o.subarray(0,i);if(r.push(String.fromCharCode.apply(null,s)),!a)return r.join("");e=e.subarray(t),t=0,i=0}var l=e[t++];if(0==(128&l))o[i++]=l;else if(192==(224&l)){var c=63&e[t++];o[i++]=(31&l)<<6|c}else if(224==(240&l)){c=63&e[t++];var p=63&e[t++];o[i++]=(31&l)<<12|c<<6|p}else if(240==(248&l)){var u=(7&l)<<18|(c=63&e[t++])<<12|(p=63&e[t++])<<6|63&e[t++];u>65535&&(u-=65536,o[i++]=u>>>10&1023|55296,u=56320|1023&u),o[i++]=u}}}var n="Failed to ",o=function(e,t,o){if(e)throw new Error("".concat(n).concat(t,": the '").concat(o,"' option is unsupported."))},r="function"==typeof Buffer&&Buffer.from,i=r?function(e){return Buffer.from(e)}:function(e){for(var t=0,n=e.length,o=0,r=Math.max(32,n+(n>>>1)+7),i=new Uint8Array(r>>>3<<3);t=55296&&a<=56319){if(t=55296&&a<=56319)continue}if(o+4>i.length){r+=8,r=(r*=1+t/e.length*2)>>>3<<3;var l=new Uint8Array(r);l.set(i),i=l}if(0!=(4294967168&a)){if(0==(4294965248&a))i[o++]=a>>>6&31|192;else if(0==(4294901760&a))i[o++]=a>>>12&15|224,i[o++]=a>>>6&63|128;else{if(0!=(4292870144&a))continue;i[o++]=a>>>18&7|240,i[o++]=a>>>12&63|128,i[o++]=a>>>6&63|128}i[o++]=63&a|128}else i[o++]=a}return i.slice?i.slice(0,o):i.subarray(0,o)};function a(){this.encoding="utf-8"}a.prototype.encode=function(e,t){return o(t&&t.stream,"encode","stream"),i(e)};var s=!r&&"function"==typeof Blob&&"function"==typeof URL&&"function"==typeof URL.createObjectURL,l=["utf-8","utf8","unicode-1-1-utf-8"],c=t;r?c=function(e,t){return(e instanceof Buffer?e:Buffer.from(e.buffer,e.byteOffset,e.byteLength)).toString(t)}:s&&(c=function(e){try{return function(e){var t;try{var n=new Blob([e],{type:"text/plain;charset=UTF-8"});t=URL.createObjectURL(n);var o=new XMLHttpRequest;return o.open("GET",t,!1),o.send(),o.responseText}finally{t&&URL.revokeObjectURL(t)}}(e)}catch(n){return t(e)}});var p="construct 'TextDecoder'",u="".concat(n," ").concat(p,": the ");function d(e,t){if(o(t&&t.fatal,p,"fatal"),e=e||"utf-8",!(r?Buffer.isEncoding(e):-1!==l.indexOf(e.toLowerCase())))throw new RangeError("".concat(u," encoding label provided ('").concat(e,"') is invalid."));this.encoding=e,this.fatal=!1,this.ignoreBOM=!1}d.prototype.decode=function(e,t){var n;return o(t&&t.stream,"decode","stream"),n=e instanceof Uint8Array?e:e.buffer instanceof ArrayBuffer?new Uint8Array(e.buffer):new Uint8Array(e),c(n,this.encoding)},e.TextEncoder=e.TextEncoder||a,e.TextDecoder=e.TextDecoder||d}("undefined"!=typeof window?window:"undefined"!=typeof global?global:this)},32002:(e,t,n)=>{var o;e.exports=function(){if(!o){try{o=n(71053)("follow-redirects")}catch(e){}"function"!=typeof o&&(o=function(){})}o.apply(null,arguments)}},72679:(e,t,n)=>{var o=n(57310),r=o.URL,i=n(13685),a=n(95687),s=n(12781).Writable,l=n(39491),c=n(32002),p=["abort","aborted","connect","error","socket","timeout"],u=Object.create(null);p.forEach((function(e){u[e]=function(t,n,o){this._redirectable.emit(e,t,n,o)}}));var d=P("ERR_INVALID_URL","Invalid URL",TypeError),g=P("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),f=P("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),h=P("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),m=P("ERR_STREAM_WRITE_AFTER_END","write after end");function y(e,t){s.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){n._processResponse(e)},this._performRequest()}function v(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(i){var a=i+":",s=n[a]=e[i],p=t[i]=Object.create(s);Object.defineProperties(p,{request:{value:function(e,i,s){if(S(e)){var p;try{p=O(new r(e))}catch(t){p=o.parse(e)}if(!S(p.protocol))throw new d({input:e});e=p}else r&&e instanceof r?e=O(e):(s=i,i=e,e={protocol:a});return T(i)&&(s=i,i=null),(i=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,i)).nativeProtocols=n,S(i.host)||S(i.hostname)||(i.hostname="::1"),l.equal(i.protocol,a,"protocol mismatch"),c("options",i),new y(i,s)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var o=p.request(e,t,n);return o.end(),o},configurable:!0,enumerable:!0,writable:!0}})})),t}function b(){}function O(e){var t={protocol:e.protocol,hostname:e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,hash:e.hash,search:e.search,pathname:e.pathname,path:e.pathname+e.search,href:e.href};return""!==e.port&&(t.port=Number(e.port)),t}function w(e,t){var n;for(var o in t)e.test(o)&&(n=t[o],delete t[o]);return null==n?void 0:String(n).trim()}function P(e,t,n){function o(n){Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return o.prototype=new(n||Error),o.prototype.constructor=o,o.prototype.name="Error ["+e+"]",o}function x(e){for(var t of p)e.removeListener(t,u[t]);e.on("error",b),e.abort()}function S(e){return"string"==typeof e||e instanceof String}function T(e){return"function"==typeof e}y.prototype=Object.create(s.prototype),y.prototype.abort=function(){x(this._currentRequest),this.emit("abort")},y.prototype.write=function(e,t,n){if(this._ending)throw new m;if(!(S(e)||"object"==typeof(o=e)&&"length"in o))throw new TypeError("data should be a string, Buffer or Uint8Array");var o;T(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new h),this.abort()):n&&n()},y.prototype.end=function(e,t,n){if(T(e)?(n=e,e=t=null):T(t)&&(n=t,t=null),e){var o=this,r=this._currentRequest;this.write(e,t,(function(){o._ended=!0,r.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},y.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},y.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},y.prototype.setTimeout=function(e,t){var n=this;function o(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function r(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),i()}),e),o(t)}function i(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",i),n.removeListener("error",i),n.removeListener("response",i),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",r)}return t&&this.on("timeout",t),this.socket?r(this.socket):this._currentRequest.once("socket",r),this.on("socket",o),this.on("abort",i),this.on("error",i),this.on("response",i),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){y.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(y.prototype,e,{get:function(){return this._currentRequest[e]}})})),y.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},y.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(t){if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var r=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var i of(r._redirectable=this,p))r.on(i,u[i]);if(this._currentUrl=/^\//.test(this._options.path)?o.format(this._options):this._options.path,this._isRedirect){var a=0,s=this,l=this._requestBodyBuffers;!function e(t){if(r===s._currentRequest)if(t)s.emit("error",t);else if(a=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(x(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)this.emit("error",new f);else{var r,i=this._options.beforeRedirect;i&&(r=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var a=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],w(/^content-/i,this._options.headers));var s,p=w(/^host$/i,this._options.headers),u=o.parse(this._currentUrl),d=p||u.host,h=/^\w+:/.test(n)?this._currentUrl:o.format(Object.assign(u,{host:d}));try{s=o.resolve(h,n)}catch(e){return void this.emit("error",new g({cause:e}))}c("redirecting to",s),this._isRedirect=!0;var m=o.parse(s);if(Object.assign(this._options,m),(m.protocol!==u.protocol&&"https:"!==m.protocol||m.host!==d&&!function(e,t){l(S(e)&&S(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(m.host,d))&&w(/^(?:authorization|cookie)$/i,this._options.headers),T(i)){var y={headers:e.headers,statusCode:t},v={url:h,method:a,headers:r};try{i(this._options,y,v)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){this.emit("error",new g({cause:e}))}}},e.exports=v({http:i,https:a}),e.exports.wrap=v},90504:(e,t,n)=>{var o=n(14598),r=n(73837),i=n(71017),a=n(13685),s=n(95687),l=n(57310).parse,c=n(57147),p=n(69335),u=n(62720),d=n(91117);function g(e){if(!(this instanceof g))return new g;for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],o.call(this),e=e||{})this[t]=e[t]}e.exports=g,r.inherits(g,o),g.LINE_BREAK="\r\n",g.DEFAULT_CONTENT_TYPE="application/octet-stream",g.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var i=o.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),r.isArray(t))this._error(new Error("Arrays are not supported."));else{var a=this._multiPartHeader(e,t,n),s=this._multiPartFooter();i(a),i(t),i(s),this._trackLength(a,t,n)}},g.prototype._trackLength=function(e,t,n){var o=0;null!=n.knownLength?o+=+n.knownLength:Buffer.isBuffer(t)?o=t.length:"string"==typeof t&&(o=Buffer.byteLength(t)),this._valueLength+=o,this._overheadLength+=Buffer.byteLength(e)+g.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion"))&&(n.knownLength||this._valuesToMeasure.push(t))},g.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):c.stat(e.path,(function(n,o){var r;n?t(n):(r=o.size-(e.start?e.start:0),t(null,r))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(n){e.pause(),t(null,+n.headers["content-length"])})),e.resume()):t("Unknown stream")},g.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var o,r=this._getContentDisposition(t,n),i=this._getContentType(t,n),a="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(r||[]),"Content-Type":[].concat(i||[])};for(var l in"object"==typeof n.header&&d(s,n.header),s)s.hasOwnProperty(l)&&null!=(o=s[l])&&(Array.isArray(o)||(o=[o]),o.length&&(a+=l+": "+o.join("; ")+g.LINE_BREAK));return"--"+this.getBoundary()+g.LINE_BREAK+a+g.LINE_BREAK},g.prototype._getContentDisposition=function(e,t){var n,o;return"string"==typeof t.filepath?n=i.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=i.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=i.basename(e.client._httpMessage.path||"")),n&&(o='filename="'+n+'"'),o},g.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=p.lookup(e.name)),!n&&e.path&&(n=p.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=p.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=g.DEFAULT_CONTENT_TYPE),n},g.prototype._multiPartFooter=function(){return function(e){var t=g.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},g.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+g.LINE_BREAK},g.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},g.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},g.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,o=this._streams.length;n{e.exports=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}},87534:(e,t,n)=>{var o=n(14598),r=n(73837),i=n(71017),a=n(13685),s=n(95687),l=n(57310).parse,c=n(57147),p=n(12781).Stream,u=n(69335),d=n(62720),g=n(39049);function f(e){if(!(this instanceof f))return new f(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],o.call(this),e=e||{})this[t]=e[t]}e.exports=f,r.inherits(f,o),f.LINE_BREAK="\r\n",f.DEFAULT_CONTENT_TYPE="application/octet-stream",f.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var i=o.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),r.isArray(t))this._error(new Error("Arrays are not supported."));else{var a=this._multiPartHeader(e,t,n),s=this._multiPartFooter();i(a),i(t),i(s),this._trackLength(a,t,n)}},f.prototype._trackLength=function(e,t,n){var o=0;null!=n.knownLength?o+=+n.knownLength:Buffer.isBuffer(t)?o=t.length:"string"==typeof t&&(o=Buffer.byteLength(t)),this._valueLength+=o,this._overheadLength+=Buffer.byteLength(e)+f.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof p)&&(n.knownLength||this._valuesToMeasure.push(t))},f.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):c.stat(e.path,(function(n,o){var r;n?t(n):(r=o.size-(e.start?e.start:0),t(null,r))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(n){e.pause(),t(null,+n.headers["content-length"])})),e.resume()):t("Unknown stream")},f.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var o,r=this._getContentDisposition(t,n),i=this._getContentType(t,n),a="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(r||[]),"Content-Type":[].concat(i||[])};for(var l in"object"==typeof n.header&&g(s,n.header),s)s.hasOwnProperty(l)&&null!=(o=s[l])&&(Array.isArray(o)||(o=[o]),o.length&&(a+=l+": "+o.join("; ")+f.LINE_BREAK));return"--"+this.getBoundary()+f.LINE_BREAK+a+f.LINE_BREAK},f.prototype._getContentDisposition=function(e,t){var n,o;return"string"==typeof t.filepath?n=i.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=i.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=i.basename(e.client._httpMessage.path||"")),n&&(o='filename="'+n+'"'),o},f.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=u.lookup(e.name)),!n&&e.path&&(n=u.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=u.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=f.DEFAULT_CONTENT_TYPE),n},f.prototype._multiPartFooter=function(){return function(e){var t=f.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},f.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+f.LINE_BREAK},f.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},f.prototype.setBoundary=function(e){this._boundary=e},f.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},f.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,o=this._streams.length;n{e.exports=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}},56692:(e,t,n)=>{global.GENTLY&&GENTLY.hijack(n(68350));var o=n(73837),r=n(57147),i=n(82361).EventEmitter,a=n(6113);function s(e){for(var t in i.call(this),this.size=0,this.path=null,this.name=null,this.type=null,this.hash=null,this.lastModifiedDate=null,this._writeStream=null,e)this[t]=e[t];"string"==typeof this.hash?this.hash=a.createHash(e.hash):this.hash=null}e.exports=s,o.inherits(s,i),s.prototype.open=function(){this._writeStream=new r.WriteStream(this.path)},s.prototype.toJSON=function(){var e={size:this.size,path:this.path,name:this.name,type:this.type,mtime:this.lastModifiedDate,length:this.length,filename:this.filename,mime:this.mime};return this.hash&&""!=this.hash&&(e.hash=this.hash),e},s.prototype.write=function(e,t){var n=this;if(n.hash&&n.hash.update(e),this._writeStream.closed)return t();this._writeStream.write(e,(function(){n.lastModifiedDate=new Date,n.size+=e.length,n.emit("progress",n.size),t()}))},s.prototype.end=function(e){var t=this;t.hash&&(t.hash=t.hash.digest("hex")),this._writeStream.end((function(){t.emit("end"),e()}))}},43573:(e,t,n)=>{global.GENTLY&&GENTLY.hijack(n(68350));var o=n(6113),r=n(57147),i=n(73837),a=n(71017),s=n(56692),l=n(65820).MultipartParser,c=n(44788).l,p=n(12014).h,u=n(4340).c,d=n(71576).StringDecoder,g=n(82361).EventEmitter,f=n(12781).Stream,h=n(22037);function m(e){return this instanceof m?(g.call(this),e=e||{},this.error=null,this.ended=!1,this.maxFields=e.maxFields||1e3,this.maxFieldsSize=e.maxFieldsSize||20971520,this.maxFileSize=e.maxFileSize||209715200,this.keepExtensions=e.keepExtensions||!1,this.uploadDir=e.uploadDir||h.tmpdir&&h.tmpdir()||h.tmpDir(),this.encoding=e.encoding||"utf-8",this.headers=null,this.type=null,this.hash=e.hash||!1,this.multiples=e.multiples||!1,this.bytesReceived=null,this.bytesExpected=null,this._parser=null,this._flushing=0,this._fieldsSize=0,this._fileSize=0,this.openedFiles=[],this):new m(e)}i.inherits(m,g),t.c=m,m.prototype.parse=function(e,t){if(this.pause=function(){try{e.pause()}catch(e){return this.ended||this._error(e),!1}return!0},this.resume=function(){try{e.resume()}catch(e){return this.ended||this._error(e),!1}return!0},t){var n={},o={};this.on("field",(function(e,t){n[e]=t})).on("file",(function(e,t){this.multiples&&o[e]?(Array.isArray(o[e])||(o[e]=[o[e]]),o[e].push(t)):o[e]=t})).on("error",(function(e){t(e,n,o)})).on("end",(function(){t(null,n,o)}))}this.writeHeaders(e.headers);var r=this;return e.on("error",(function(e){r._error(e)})).on("aborted",(function(){r.emit("aborted"),r._error(new Error("Request aborted"))})).on("data",(function(e){r.write(e)})).on("end",(function(){if(!r.error){var e=r._parser.end();e&&r._error(e)}})),this},m.prototype.writeHeaders=function(e){this.headers=e,this._parseContentLength(),this._parseContentType()},m.prototype.write=function(e){if(!this.error)if(this._parser){if("function"==typeof this._parser.write){this.bytesReceived+=e.length,this.emit("progress",this.bytesReceived,this.bytesExpected);var t=this._parser.write(e);return t!==e.length&&this._error(new Error("parser error, "+t+" of "+e.length+" bytes parsed")),t}this._error(new Error("did not expect data"))}else this._error(new Error("uninitialized parser"))},m.prototype.pause=function(){return!1},m.prototype.resume=function(){return!1},m.prototype.onPart=function(e){this.handlePart(e)},m.prototype.handlePart=function(e){var t=this;if(void 0===e.filename){var n="",o=new d(this.encoding);return e.on("data",(function(e){t._fieldsSize+=e.length,t._fieldsSize>t.maxFieldsSize?t._error(new Error("maxFieldsSize exceeded, received "+t._fieldsSize+" bytes of field data")):n+=o.write(e)})),void e.on("end",(function(){t.emit("field",e.name,n)}))}this._flushing++;var r=new s({path:this._uploadPath(e.filename),name:e.filename,type:e.mime,hash:t.hash});this.emit("fileBegin",e.name,r),r.open(),this.openedFiles.push(r),e.on("data",(function(e){t._fileSize+=e.length,t._fileSize>t.maxFileSize?t._error(new Error("maxFileSize exceeded, received "+t._fileSize+" bytes of file data")):0!=e.length&&(t.pause(),r.write(e,(function(){t.resume()})))})),e.on("end",(function(){r.end((function(){t._flushing--,t.emit("file",e.name,r),t._maybeEnd()}))}))},m.prototype._parseContentType=function(){if(0!==this.bytesExpected)if(this.headers["content-type"])if(this.headers["content-type"].match(/octet-stream/i))this._initOctetStream();else if(this.headers["content-type"].match(/urlencoded/i))this._initUrlencoded();else if(this.headers["content-type"].match(/multipart/i)){var e=this.headers["content-type"].match(/boundary=(?:"([^"]+)"|([^;]+))/i);e?this._initMultipart(e[1]||e[2]):this._error(new Error("bad content-type header, no multipart boundary"))}else this.headers["content-type"].match(/json/i)?this._initJSONencoded():this._error(new Error("bad content-type header, unknown content-type: "+this.headers["content-type"]));else this._error(new Error("bad content-type header, no content-type"));else this._parser=function(e){return{end:function(){return e.ended=!0,e._maybeEnd(),null}}}(this)},m.prototype._error=function(e){this.error||this.ended||(this.error=e,this.emit("error",e),Array.isArray(this.openedFiles)&&this.openedFiles.forEach((function(e){e._writeStream.on("error",(function(){})).destroy(),setTimeout(r.unlink,0,e.path,(function(e){}))})))},m.prototype._parseContentLength=function(){this.bytesReceived=0,this.headers["content-length"]?this.bytesExpected=parseInt(this.headers["content-length"],10):void 0===this.headers["transfer-encoding"]&&(this.bytesExpected=0),null!==this.bytesExpected&&this.emit("progress",this.bytesReceived,this.bytesExpected)},m.prototype._newParser=function(){return new l},m.prototype._initMultipart=function(e){this.type="multipart";var t,n,o,r=new l,i=this;r.initWithBoundary(e),r.onPartBegin=function(){(o=new f).readable=!0,o.headers={},o.name=null,o.filename=null,o.mime=null,o.transferEncoding="binary",o.transferBuffer="",t="",n=""},r.onHeaderField=function(e,n,o){t+=e.toString(i.encoding,n,o)},r.onHeaderValue=function(e,t,o){n+=e.toString(i.encoding,t,o)},r.onHeaderEnd=function(){t=t.toLowerCase(),o.headers[t]=n;var e=n.match(/\bname=("([^"]*)"|([^\(\)<>@,;:\\"\/\[\]\?=\{\}\s\t/]+))/i);"content-disposition"==t?(e&&(o.name=e[2]||e[3]||""),o.filename=i._fileName(n)):"content-type"==t?o.mime=n:"content-transfer-encoding"==t&&(o.transferEncoding=n.toLowerCase()),t="",n=""},r.onHeadersEnd=function(){switch(o.transferEncoding){case"binary":case"7bit":case"8bit":r.onPartData=function(e,t,n){o.emit("data",e.slice(t,n))},r.onPartEnd=function(){o.emit("end")};break;case"base64":r.onPartData=function(e,t,n){o.transferBuffer+=e.slice(t,n).toString("ascii");var r=4*parseInt(o.transferBuffer.length/4,10);o.emit("data",new Buffer(o.transferBuffer.substring(0,r),"base64")),o.transferBuffer=o.transferBuffer.substring(r)},r.onPartEnd=function(){o.emit("data",new Buffer(o.transferBuffer,"base64")),o.emit("end")};break;default:return i._error(new Error("unknown transfer-encoding"))}i.onPart(o)},r.onEnd=function(){i.ended=!0,i._maybeEnd()},this._parser=r},m.prototype._fileName=function(e){var t=e.match(/\bfilename=("(.*?)"|([^\(\)<>@,;:\\"\/\[\]\?=\{\}\s\t/]+))($|;\s)/i);if(t){var n=t[2]||t[3]||"",o=n.substr(n.lastIndexOf("\\")+1);return(o=o.replace(/%22/g,'"')).replace(/&#([\d]{4});/g,(function(e,t){return String.fromCharCode(t)}))}},m.prototype._initUrlencoded=function(){this.type="urlencoded";var e=new c(this.maxFields),t=this;e.onField=function(e,n){t.emit("field",e,n)},e.onEnd=function(){t.ended=!0,t._maybeEnd()},this._parser=e},m.prototype._initOctetStream=function(){this.type="octet-stream";var e=this.headers["x-file-name"],t=this.headers["content-type"],n=new s({path:this._uploadPath(e),name:e,type:t});this.emit("fileBegin",e,n),n.open(),this.openedFiles.push(n),this._flushing++;var o=this;o._parser=new p;var r=0;o._parser.on("data",(function(e){o.pause(),r++,n.write(e,(function(){r--,o.resume(),o.ended&&o._parser.emit("doneWritingFile")}))})),o._parser.on("end",(function(){o._flushing--,o.ended=!0;var e=function(){n.end((function(){o.emit("file","file",n),o._maybeEnd()}))};0===r?e():o._parser.once("doneWritingFile",e)}))},m.prototype._initJSONencoded=function(){this.type="json";var e=new u(this),t=this;e.onField=function(e,n){t.emit("field",e,n)},e.onEnd=function(){t.ended=!0,t._maybeEnd()},this._parser=e},m.prototype._uploadPath=function(e){var t="upload_"+o.randomBytes(16).toString("hex");if(this.keepExtensions){var n=a.extname(e);t+=n=n.replace(/(\.[a-z0-9]+).*/i,"$1")}return a.join(this.uploadDir,t)},m.prototype._maybeEnd=function(){!this.ended||this._flushing||this.error||this.emit("end")}},46425:(e,t,n)=>{var o=n(43573).c;o.IncomingForm=o,e.exports=o},4340:(e,t,n)=>{global.GENTLY&&GENTLY.hijack(n(68350));var o=n(14300).Buffer;function r(e){this.parent=e,this.chunks=[],this.bytesWritten=0}t.c=r,r.prototype.write=function(e){return this.bytesWritten+=e.length,this.chunks.push(e),e.length},r.prototype.end=function(){try{var e=JSON.parse(o.concat(this.chunks));for(var t in e)this.onField(t,e[t])}catch(e){this.parent.emit("error",e)}this.data=null,this.onEnd()}},65820:(e,t,n)=>{var o=n(14300).Buffer,r=0,i={PARSER_UNINITIALIZED:r++,START:r++,START_BOUNDARY:r++,HEADER_FIELD_START:r++,HEADER_FIELD:r++,HEADER_VALUE_START:r++,HEADER_VALUE:r++,HEADER_VALUE_ALMOST_DONE:r++,HEADERS_ALMOST_DONE:r++,PART_DATA_START:r++,PART_DATA:r++,PART_END:r++,END:r++},a=1,s=a,l=a*=2,c=function(e){return 32|e};for(r in i)t[r]=i[r];function p(){this.boundary=null,this.boundaryChars=null,this.lookbehind=null,this.state=i.PARSER_UNINITIALIZED,this.index=null,this.flags=0}t.MultipartParser=p,p.stateToString=function(e){for(var t in i)if(i[t]===e)return t},p.prototype.initWithBoundary=function(e){this.boundary=new o(e.length+4),this.boundary.write("\r\n--",0),this.boundary.write(e,4),this.lookbehind=new o(this.boundary.length+8),this.state=i.START,this.boundaryChars={};for(var t=0;t122)return r;break;case i.HEADER_VALUE_START:if(32==t)break;O("headerValue"),d=i.HEADER_VALUE;case i.HEADER_VALUE:13==t&&(P("headerValue",!0),w("headerEnd"),d=i.HEADER_VALUE_ALMOST_DONE);break;case i.HEADER_VALUE_ALMOST_DONE:if(10!=t)return r;d=i.HEADER_FIELD_START;break;case i.HEADERS_ALMOST_DONE:if(10!=t)return r;w("headersEnd"),d=i.PART_DATA_START;break;case i.PART_DATA_START:d=i.PART_DATA,O("partData");case i.PART_DATA:if(p=u,0===u){for(r+=v;r0?f[u-1]=t:p>0&&(w("partData",f,0,p),p=0,O("partData"),r--);break;case i.END:break;default:return r}return P("headerField"),P("headerValue"),P("partData"),this.index=u,this.state=d,this.flags=g,a},p.prototype.end=function(){var e=function(e,t){var n="on"+t.substr(0,1).toUpperCase()+t.substr(1);n in e&&e[n]()};if(this.state==i.HEADER_FIELD_START&&0===this.index||this.state==i.PART_DATA&&this.index==this.boundary.length)e(this,"partEnd"),e(this,"end");else if(this.state!=i.END)return new Error("MultipartParser.end(): stream ended unexpectedly: "+this.explain())},p.prototype.explain=function(){return"state = "+p.stateToString(this.state)}},12014:(e,t,n)=>{var o=n(82361).EventEmitter;function r(e){if(!(this instanceof r))return new r(e);o.call(this)}n(73837).inherits(r,o),t.h=r,r.prototype.write=function(e){return this.emit("data",e),e.length},r.prototype.end=function(){this.emit("end")}},44788:(e,t,n)=>{global.GENTLY&&GENTLY.hijack(n(68350));var o=n(63477);function r(e){this.maxKeys=e,this.buffer=""}t.l=r,r.prototype.write=function(e){return this.buffer+=e.toString("ascii"),e.length},r.prototype.end=function(){var e=o.parse(this.buffer,"&","=",{maxKeys:this.maxKeys});for(var t in e)this.onField(t,e[t]);this.buffer="",this.onEnd()}},68350:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=68350,e.exports=t},59748:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,r="[object Function]";e.exports=function(e){var i=this;if("function"!=typeof i||o.call(i)!==r)throw new TypeError(t+i);for(var a,s=n.call(arguments,1),l=function(){if(this instanceof a){var t=i.apply(this,s.concat(n.call(arguments)));return Object(t)===t?t:this}return i.apply(e,s.concat(n.call(arguments)))},c=Math.max(0,i.length-s.length),p=[],u=0;u{"use strict";var o=n(59748);e.exports=Function.prototype.bind||o},38156:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GaxiosError=void 0;class n extends Error{constructor(e,t,n){super(e),this.response=n,this.config=t,this.code=n.status.toString()}}t.GaxiosError=n},6446:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Gaxios=void 0;const r=o(n(93405)),i=n(95687),a=o(n(54250)),s=o(n(63477)),l=o(n(57983)),c=n(57310),p=n(38156),u=n(68524),d="undefined"!=typeof window&&window&&window.fetch?window.fetch:a.default;function g(e,t){return!!f(e,t)}function f(e,t){t=t.toLowerCase();for(const n of Object.keys((null==e?void 0:e.headers)||{}))if(t===n.toLowerCase())return e.headers[n]}let h;function m(){var e,t,o,r;const i=(null===(e=null===process||void 0===process?void 0:process.env)||void 0===e?void 0:e.HTTPS_PROXY)||(null===(t=null===process||void 0===process?void 0:process.env)||void 0===t?void 0:t.https_proxy)||(null===(o=null===process||void 0===process?void 0:process.env)||void 0===o?void 0:o.HTTP_PROXY)||(null===(r=null===process||void 0===process?void 0:process.env)||void 0===r?void 0:r.http_proxy);return i&&(h=n(54792)),i}m(),t.Gaxios=class{constructor(e){this.agentCache=new Map,this.defaults=e||{}}async request(e={}){return e=this.validateOpts(e),this._request(e)}async _defaultAdapter(e){const t=e.fetchImplementation||d,n=await t(e.url,e),o=await this.getResponseData(e,n);return this.translateResponse(e,n,o)}async _request(e={}){try{let t;if(t=e.adapter?await e.adapter(e,this._defaultAdapter.bind(this)):await this._defaultAdapter(e),!e.validateStatus(t.status))throw new p.GaxiosError(`Request failed with status code ${t.status}`,e,t);return t}catch(t){const n=t;n.config=e;const{shouldRetry:o,config:r}=await(0,u.getRetryConfig)(n);if(o&&r)return n.config.retryConfig.currentRetryAttempt=r.retryConfig.currentRetryAttempt,this._request(n.config);throw n}}async getResponseData(e,t){switch(e.responseType){case"stream":return t.body;case"json":{let e=await t.text();try{e=JSON.parse(e)}catch(e){}return e}case"arraybuffer":return t.arrayBuffer();case"blob":return t.blob();default:return t.text()}}validateOpts(e){const t=(0,r.default)(!0,{},this.defaults,e);if(!t.url)throw new Error("URL is required.");const n=t.baseUrl||t.baseURL;if(n&&(t.url=n+t.url),t.paramsSerializer=t.paramsSerializer||this.paramsSerializer,t.params&&Object.keys(t.params).length>0){let e=t.paramsSerializer(t.params);e.startsWith("?")&&(e=e.slice(1));const n=t.url.includes("?")?"&":"?";t.url=t.url+n+e}if("number"==typeof e.maxContentLength&&(t.size=e.maxContentLength),"number"==typeof e.maxRedirects&&(t.follow=e.maxRedirects),t.headers=t.headers||{},t.data){const e="undefined"!=typeof FormData&&(null==t?void 0:t.data)instanceof FormData;l.default.readable(t.data)?t.body=t.data:"undefined"!=typeof Buffer&&Buffer.isBuffer(t.data)?(t.body=t.data,g(t,"Content-Type")||(t.headers["Content-Type"]="application/json")):"object"==typeof t.data?e||("application/x-www-form-urlencoded"===f(t,"content-type")?t.body=t.paramsSerializer(t.data):(g(t,"Content-Type")||(t.headers["Content-Type"]="application/json"),t.body=JSON.stringify(t.data))):t.body=t.data}t.validateStatus=t.validateStatus||this.validateStatus,t.responseType=t.responseType||"json",t.headers.Accept||"json"!==t.responseType||(t.headers.Accept="application/json"),t.method=t.method||"GET";const o=function(e){var t;const n=null!==(t=process.env.NO_PROXY)&&void 0!==t?t:process.env.no_proxy;if(!n)return!1;const o=n.split(","),r=new c.URL(e);return!!o.find((e=>e.startsWith("*.")||e.startsWith(".")?(e=e.replace(/^\*\./,"."),r.hostname.endsWith(e)):e===r.origin||e===r.hostname))}(t.url)?void 0:m();if(o)if(this.agentCache.has(o))t.agent=this.agentCache.get(o);else{if(t.cert&&t.key){const e=new c.URL(o);t.agent=new h({port:e.port,host:e.host,protocol:e.protocol,cert:t.cert,key:t.key})}else t.agent=new h(o);this.agentCache.set(o,t.agent)}else t.cert&&t.key&&(this.agentCache.has(t.key)?t.agent=this.agentCache.get(t.key):(t.agent=new i.Agent({cert:t.cert,key:t.key}),this.agentCache.set(t.key,t.agent)));return t}validateStatus(e){return e>=200&&e<300}paramsSerializer(e){return s.default.stringify(e)}translateResponse(e,t,n){const o={};return t.headers.forEach(((e,t)=>{o[t]=e})),{config:e,data:n,headers:o,status:t.status,statusText:t.statusText,request:{responseURL:t.url}}}}},3830:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.request=t.instance=t.Gaxios=t.GaxiosError=void 0;const o=n(6446);Object.defineProperty(t,"Gaxios",{enumerable:!0,get:function(){return o.Gaxios}});var r=n(38156);Object.defineProperty(t,"GaxiosError",{enumerable:!0,get:function(){return r.GaxiosError}}),t.instance=new o.Gaxios,t.request=async function(e){return t.instance.request(e)}},68524:(e,t)=>{"use strict";function n(e){const t=o(e);if("AbortError"===e.name)return!1;if(!t||0===t.retry)return!1;if(!e.response&&(t.currentRetryAttempt||0)>=t.noResponseRetries)return!1;if(!e.config.method||t.httpMethodsToRetry.indexOf(e.config.method.toUpperCase())<0)return!1;if(e.response&&e.response.status){let n=!1;for(const[o,r]of t.statusCodesToRetry){const t=e.response.status;if(t>=o&&t<=r){n=!0;break}}if(!n)return!1}return t.currentRetryAttempt=t.currentRetryAttempt||0,!(t.currentRetryAttempt>=t.retry)}function o(e){if(e&&e.config&&e.config.retryConfig)return e.config.retryConfig}Object.defineProperty(t,"__esModule",{value:!0}),t.getRetryConfig=void 0,t.getRetryConfig=async function(e){var t;let r=o(e);if(!e||!e.config||!r&&!e.config.retry)return{shouldRetry:!1};r=r||{},r.currentRetryAttempt=r.currentRetryAttempt||0,r.retry=void 0===r.retry||null===r.retry?3:r.retry,r.httpMethodsToRetry=r.httpMethodsToRetry||["GET","HEAD","PUT","OPTIONS","DELETE"],r.noResponseRetries=void 0===r.noResponseRetries||null===r.noResponseRetries?2:r.noResponseRetries,r.statusCodesToRetry=r.statusCodesToRetry||[[100,199],[429,429],[500,599]],e.config.retryConfig=r;const i=r.shouldRetry||n;if(!await i(e))return{shouldRetry:!1,config:e.config};const a=(r.currentRetryAttempt?0:null!==(t=r.retryDelay)&&void 0!==t?t:100)+(Math.pow(2,r.currentRetryAttempt)-1)/2*1e3;e.config.retryConfig.currentRetryAttempt+=1;const s=new Promise((e=>{setTimeout(e,a)}));return r.onRetryAttempt&&r.onRetryAttempt(e),await s,{shouldRetry:!0,config:e.config}}},39335:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectGCPResidency=t.isGoogleComputeEngine=t.isGoogleComputeEngineMACAddress=t.isGoogleComputeEngineLinux=t.isGoogleCloudServerless=t.GCE_LINUX_BIOS_PATHS=void 0;const o=n(57147),r=n(22037);t.GCE_LINUX_BIOS_PATHS={BIOS_DATE:"/sys/class/dmi/id/bios_date",BIOS_VENDOR:"/sys/class/dmi/id/bios_vendor"};const i=/^42:01/;function a(){return!!(process.env.CLOUD_RUN_JOB||process.env.FUNCTION_NAME||process.env.K_SERVICE)}function s(){if("linux"!==(0,r.platform)())return!1;try{(0,o.statSync)(t.GCE_LINUX_BIOS_PATHS.BIOS_DATE);const e=(0,o.readFileSync)(t.GCE_LINUX_BIOS_PATHS.BIOS_VENDOR,"utf8");return/Google/.test(e)}catch(e){return!1}}function l(){const e=(0,r.networkInterfaces)();for(const t of Object.values(e))if(t)for(const{mac:e}of t)if(i.test(e))return!0;return!1}function c(){return s()||l()}t.isGoogleCloudServerless=a,t.isGoogleComputeEngineLinux=s,t.isGoogleComputeEngineMACAddress=l,t.isGoogleComputeEngine=c,t.detectGCPResidency=function(){return a()||c()}},64338:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.requestTimeout=t.setGCPResidency=t.gcpResidencyCache=t.resetIsAvailableCache=t.isAvailable=t.project=t.instance=t.HEADERS=t.HEADER_VALUE=t.HEADER_NAME=t.SECONDARY_HOST_ADDRESS=t.HOST_ADDRESS=t.BASE_PATH=void 0;const i=n(3830),a=n(93342),s=n(39335);function l(e){return e||(e=process.env.GCE_METADATA_IP||process.env.GCE_METADATA_HOST||t.HOST_ADDRESS),/^https?:\/\//.test(e)||(e=`http://${e}`),new URL(t.BASE_PATH,e).href}async function c(e,n,o=3,r=!1){"string"==typeof(n=n||{})&&(n={property:n});let s="";"object"==typeof n&&n.property&&(s="/"+n.property),function(e){Object.keys(e).forEach((e=>{switch(e){case"params":case"property":case"headers":break;case"qs":throw new Error("'qs' is not a valid configuration option. Please use 'params' instead.");default:throw new Error(`'${e}' is not a valid configuration option.`)}}))}(n);try{const c=r?p:i.request,u=await c({url:`${l()}/${e}${s}`,headers:Object.assign({},t.HEADERS,n.headers),retryConfig:{noResponseRetries:o},params:n.params,responseType:"text",timeout:d()});if(u.headers[t.HEADER_NAME.toLowerCase()]!==t.HEADER_VALUE)throw new Error(`Invalid response from metadata service: incorrect ${t.HEADER_NAME} header.`);if(!u.data)throw new Error("Invalid response from the metadata service");if("string"==typeof u.data)try{return a.parse(u.data)}catch(e){}return u.data}catch(e){const t=e;throw t.response&&200!==t.response.status&&(t.message=`Unsuccessful response status code. ${t.message}`),e}}async function p(e){const n={...e,url:e.url.replace(l(),l(t.SECONDARY_HOST_ADDRESS))};let o=!1;const r=(0,i.request)(e).then((e=>(o=!0,e))).catch((e=>{if(o)return a;throw o=!0,e})),a=(0,i.request)(n).then((e=>(o=!0,e))).catch((e=>{if(o)return r;throw o=!0,e}));return Promise.race([r,a])}let u;function d(){return null===t.gcpResidencyCache&&(t.gcpResidencyCache=(0,s.detectGCPResidency)()),t.gcpResidencyCache?0:3e3}t.BASE_PATH="/computeMetadata/v1",t.HOST_ADDRESS="http://169.254.169.254",t.SECONDARY_HOST_ADDRESS="http://metadata.google.internal.",t.HEADER_NAME="Metadata-Flavor",t.HEADER_VALUE="Google",t.HEADERS=Object.freeze({[t.HEADER_NAME]:t.HEADER_VALUE}),t.instance=function(e){return c("instance",e)},t.project=function(e){return c("project",e)},t.isAvailable=async function(){try{return void 0===u&&(u=c("instance",void 0,process.env.DETECT_GCP_RETRIES?Number(process.env.DETECT_GCP_RETRIES):0,!(process.env.GCE_METADATA_IP||process.env.GCE_METADATA_HOST))),await u,!0}catch(e){const t=e;if(process.env.DEBUG_AUTH&&console.info(t),"request-timeout"===t.type)return!1;if(t.response&&404===t.response.status)return!1;if(!(t.response&&404===t.response.status||t.code&&["EHOSTDOWN","EHOSTUNREACH","ENETUNREACH","ENOENT","ENOTFOUND","ECONNREFUSED"].includes(t.code))){let e="UNKNOWN";t.code&&(e=t.code),process.emitWarning(`received unexpected error = ${t.message} code = ${e}`,"MetadataLookupWarning")}return!1}},t.resetIsAvailableCache=function(){u=void 0},t.gcpResidencyCache=null,t.setGCPResidency=function(e=null){t.gcpResidencyCache=null!==e?e:(0,s.detectGCPResidency)()},t.requestTimeout=d,r(n(39335),t)},28487:(e,t,n)=>{"use strict";var o,r=SyntaxError,i=Function,a=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var c=function(){throw new a},p=l?function(){try{return c}catch(e){try{return l(arguments,"callee").get}catch(e){return c}}}():c,u=n(72770)(),d=Object.getPrototypeOf||function(e){return e.__proto__},g={},f="undefined"==typeof Uint8Array?o:d(Uint8Array),h={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":u?d([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":g,"%AsyncGenerator%":g,"%AsyncGeneratorFunction%":g,"%AsyncIteratorPrototype%":g,"%Atomics%":"undefined"==typeof Atomics?o:Atomics,"%BigInt%":"undefined"==typeof BigInt?o:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?o:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?o:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?o:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?o:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":g,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?d(d([][Symbol.iterator]())):o,"%JSON%":"object"==typeof JSON?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u?d((new Map)[Symbol.iterator]()):o,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?o:Promise,"%Proxy%":"undefined"==typeof Proxy?o:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?o:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?o:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u?d((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?d(""[Symbol.iterator]()):o,"%Symbol%":u?Symbol:o,"%SyntaxError%":r,"%ThrowTypeError%":p,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?o:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?o:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?o:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?o:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?o:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?o:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?o:WeakSet},m=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var o=e("%AsyncGeneratorFunction%");o&&(n=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var r=e("%AsyncGenerator%");r&&(n=d(r.prototype))}return h[t]=n,n},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=n(22698),b=n(22786),O=v.call(Function.call,Array.prototype.concat),w=v.call(Function.apply,Array.prototype.splice),P=v.call(Function.call,String.prototype.replace),x=v.call(Function.call,String.prototype.slice),S=v.call(Function.call,RegExp.prototype.exec),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g,E=function(e){var t=x(e,0,1),n=x(e,-1);if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var o=[];return P(e,T,(function(e,t,n,r){o[o.length]=n?P(r,A,"$1"):t||e})),o},j=function(e,t){var n,o=e;if(b(y,o)&&(o="%"+(n=y[o])[0]+"%"),b(h,o)){var i=h[o];if(i===g&&(i=m(o)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:i}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===S(/^%?[^%]*%?$/,e))throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=E(e),o=n.length>0?n[0]:"",i=j("%"+o+"%",t),s=i.name,c=i.value,p=!1,u=i.alias;u&&(o=u[0],w(n,O([0,1],u)));for(var d=1,g=!0;d=n.length){var v=l(c,f);c=(g=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:c[f]}else g=b(c,f),c=c[f];g&&!p&&(h[s]=c)}}return c}},78478:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthClient=void 0;const o=n(82361),r=n(66484);class i extends o.EventEmitter{constructor(){super(...arguments),this.transporter=new r.DefaultTransporter,this.credentials={},this.eagerRefreshThresholdMillis=3e5,this.forceRefreshOnFailure=!1}setCredentials(e){this.credentials=e}addSharedMetadataHeaders(e){return!e["x-goog-user-project"]&&this.quotaProjectId&&(e["x-goog-user-project"]=this.quotaProjectId),e}}t.AuthClient=i},30011:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwsClient=void 0;const o=n(14815),r=n(36045);class i extends r.BaseExternalAccountClient{constructor(e,t){super(e,t),this.environmentId=e.credential_source.environment_id,this.regionUrl=e.credential_source.region_url,this.securityCredentialsUrl=e.credential_source.url,this.regionalCredVerificationUrl=e.credential_source.regional_cred_verification_url,this.imdsV2SessionTokenUrl=e.credential_source.imdsv2_session_token_url,this.awsRequestSigner=null,this.region="",this.validateEnvironmentId(),this.validateMetadataServerURLs()}validateEnvironmentId(){var e;const t=null===(e=this.environmentId)||void 0===e?void 0:e.match(/^(aws)(\d+)$/);if(!t||!this.regionalCredVerificationUrl)throw new Error('No valid AWS "credential_source" provided');if(1!==parseInt(t[2],10))throw new Error(`aws version "${t[2]}" is not supported in the current build.`)}validateMetadataServerURLs(){this.validateMetadataURL(this.regionUrl,"region_url"),this.validateMetadataURL(this.securityCredentialsUrl,"url"),this.validateMetadataURL(this.imdsV2SessionTokenUrl,"imdsv2_session_token_url")}validateMetadataURL(e,t){if(!e)return;const n=new URL(e);if(n.hostname!==i.AWS_EC2_METADATA_IPV4_ADDRESS&&n.hostname!==`[${i.AWS_EC2_METADATA_IPV6_ADDRESS}]`)throw new RangeError(`Invalid host "${n.hostname}" for "${t}". Expecting ${i.AWS_EC2_METADATA_IPV4_ADDRESS} or ${i.AWS_EC2_METADATA_IPV6_ADDRESS}.`)}async retrieveSubjectToken(){if(!this.awsRequestSigner){const e={};this.imdsV2SessionTokenUrl&&(e["x-aws-ec2-metadata-token"]=await this.getImdsV2SessionToken()),this.region=await this.getAwsRegion(e),this.awsRequestSigner=new o.AwsRequestSigner((async()=>{if(process.env.AWS_ACCESS_KEY_ID&&process.env.AWS_SECRET_ACCESS_KEY)return{accessKeyId:process.env.AWS_ACCESS_KEY_ID,secretAccessKey:process.env.AWS_SECRET_ACCESS_KEY,token:process.env.AWS_SESSION_TOKEN};const t=await this.getAwsRoleName(e),n=await this.getAwsSecurityCredentials(t,e);return{accessKeyId:n.AccessKeyId,secretAccessKey:n.SecretAccessKey,token:n.Token}}),this.region)}const e=await this.awsRequestSigner.getRequestOptions({url:this.regionalCredVerificationUrl.replace("{region}",this.region),method:"POST"}),t=[],n=Object.assign({"x-goog-cloud-target-resource":this.audience},e.headers);for(const e in n)t.push({key:e,value:n[e]});return encodeURIComponent(JSON.stringify({url:e.url,method:e.method,headers:t}))}async getImdsV2SessionToken(){const e={url:this.imdsV2SessionTokenUrl,method:"PUT",responseType:"text",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"300"}};return(await this.transporter.request(e)).data}async getAwsRegion(e){if(process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION)return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION;if(!this.regionUrl)throw new Error('Unable to determine AWS region due to missing "options.credential_source.region_url"');const t={url:this.regionUrl,method:"GET",responseType:"text",headers:e},n=await this.transporter.request(t);return n.data.substr(0,n.data.length-1)}async getAwsRoleName(e){if(!this.securityCredentialsUrl)throw new Error('Unable to determine AWS role name due to missing "options.credential_source.url"');const t={url:this.securityCredentialsUrl,method:"GET",responseType:"text",headers:e};return(await this.transporter.request(t)).data}async getAwsSecurityCredentials(e,t){return(await this.transporter.request({url:`${this.securityCredentialsUrl}/${e}`,responseType:"json",headers:t})).data}}t.AwsClient=i,i.AWS_EC2_METADATA_IPV4_ADDRESS="169.254.169.254",i.AWS_EC2_METADATA_IPV6_ADDRESS="fd00:ec2::254"},14815:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwsRequestSigner=void 0;const o=n(57489),r="AWS4-HMAC-SHA256";async function i(e,t,n){return await e.signWithHmacSha256(t,n)}t.AwsRequestSigner=class{constructor(e,t){this.getCredentials=e,this.region=t,this.crypto=(0,o.createCrypto)()}async getRequestOptions(e){if(!e.url)throw new Error('"url" is required in "amzOptions"');const t="object"==typeof e.data?JSON.stringify(e.data):e.data,n=e.url,a=e.method||"GET",s=e.body||t,l=e.headers,c=await this.getCredentials(),p=new URL(n),u=await async function(e){const t=e.additionalAmzHeaders||{},n=e.requestPayload||"",a=e.host.split(".")[0],s=new Date,l=s.toISOString().replace(/[-:]/g,"").replace(/\.[0-9]+/,""),c=s.toISOString().replace(/[-]/g,"").replace(/T.*/,""),p={};Object.keys(t).forEach((e=>{p[e.toLowerCase()]=t[e]})),e.securityCredentials.token&&(p["x-amz-security-token"]=e.securityCredentials.token);const u=Object.assign({host:e.host},p.date?{}:{"x-amz-date":l},p);let d="";const g=Object.keys(u).sort();g.forEach((e=>{d+=`${e}:${u[e]}\n`}));const f=g.join(";"),h=await e.crypto.sha256DigestHex(n),m=`${e.method}\n${e.canonicalUri}\n${e.canonicalQuerystring}\n${d}\n${f}\n${h}`,y=`${c}/${e.region}/${a}/aws4_request`,v=`${r}\n${l}\n${y}\n`+await e.crypto.sha256DigestHex(m),b=await async function(e,t,n,o,r){const a=await i(e,`AWS4${t}`,n),s=await i(e,a,o),l=await i(e,s,r);return await i(e,l,"aws4_request")}(e.crypto,e.securityCredentials.secretAccessKey,c,e.region,a),O=await i(e.crypto,b,v),w=`${r} Credential=${e.securityCredentials.accessKeyId}/${y}, SignedHeaders=${f}, Signature=${(0,o.fromArrayBufferToHex)(O)}`;return{amzDate:p.date?void 0:l,authorizationHeader:w,canonicalQuerystring:e.canonicalQuerystring}}({crypto:this.crypto,host:p.host,canonicalUri:p.pathname,canonicalQuerystring:p.search.substr(1),method:a,region:this.region,securityCredentials:c,requestPayload:s,additionalAmzHeaders:l}),d=Object.assign(u.amzDate?{"x-amz-date":u.amzDate}:{},{Authorization:u.authorizationHeader,host:p.host},l||{});c.token&&Object.assign(d,{"x-amz-security-token":c.token});const g={url:n,method:a,headers:d};return void 0!==s&&(g.body=s),g}}},36045:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseExternalAccountClient=t.CLOUD_RESOURCE_MANAGER=t.EXTERNAL_ACCOUNT_TYPE=t.EXPIRATION_TIME_OFFSET=void 0;const o=n(12781),r=n(78478),i=n(46185),a="https://www.googleapis.com/auth/cloud-platform",s="\\.googleapis\\.com$",l="[^\\.\\s\\/\\\\]+";t.EXPIRATION_TIME_OFFSET=3e5,t.EXTERNAL_ACCOUNT_TYPE="external_account",t.CLOUD_RESOURCE_MANAGER="https://cloudresourcemanager.googleapis.com/v1/projects/";class c extends r.AuthClient{constructor(e,n){var o,r;if(super(),e.type!==t.EXTERNAL_ACCOUNT_TYPE)throw new Error(`Expected "${t.EXTERNAL_ACCOUNT_TYPE}" type but received "${e.type}"`);if(this.clientAuth=e.client_id?{confidentialClientType:"basic",clientId:e.client_id,clientSecret:e.client_secret}:void 0,!this.validateGoogleAPIsUrl("sts",e.token_url))throw new Error(`"${e.token_url}" is not a valid token url.`);this.stsCredential=new i.StsCredentials(e.token_url,this.clientAuth),this.scopes=[a],this.cachedAccessToken=null,this.audience=e.audience,this.subjectTokenType=e.subject_token_type,this.quotaProjectId=e.quota_project_id,this.workforcePoolUserProject=e.workforce_pool_user_project;const s=new RegExp("//iam.googleapis.com/locations/[^/]+/workforcePools/[^/]+/providers/.+");if(this.workforcePoolUserProject&&!this.audience.match(s))throw new Error("workforcePoolUserProject should not be set for non-workforce pool credentials.");if(void 0!==e.service_account_impersonation_url&&!this.validateGoogleAPIsUrl("iamcredentials",e.service_account_impersonation_url))throw new Error(`"${e.service_account_impersonation_url}" is not a valid service account impersonation url.`);this.serviceAccountImpersonationUrl=e.service_account_impersonation_url,this.serviceAccountImpersonationLifetime=null!==(r=null===(o=e.service_account_impersonation)||void 0===o?void 0:o.token_lifetime_seconds)&&void 0!==r?r:3600,"number"!=typeof(null==n?void 0:n.eagerRefreshThresholdMillis)?this.eagerRefreshThresholdMillis=t.EXPIRATION_TIME_OFFSET:this.eagerRefreshThresholdMillis=n.eagerRefreshThresholdMillis,this.forceRefreshOnFailure=!!(null==n?void 0:n.forceRefreshOnFailure),this.projectId=null,this.projectNumber=this.getProjectNumber(this.audience)}getServiceAccountEmail(){var e;if(this.serviceAccountImpersonationUrl){const t=/serviceAccounts\/(?[^:]+):generateAccessToken$/.exec(this.serviceAccountImpersonationUrl);return(null===(e=null==t?void 0:t.groups)||void 0===e?void 0:e.email)||null}return null}setCredentials(e){super.setCredentials(e),this.cachedAccessToken=e}async getAccessToken(){return this.cachedAccessToken&&!this.isExpired(this.cachedAccessToken)||await this.refreshAccessTokenAsync(),{token:this.cachedAccessToken.access_token,res:this.cachedAccessToken.res}}async getRequestHeaders(){const e={Authorization:`Bearer ${(await this.getAccessToken()).token}`};return this.addSharedMetadataHeaders(e)}request(e,t){if(!t)return this.requestAsync(e);this.requestAsync(e).then((e=>t(null,e)),(e=>t(e,e.response)))}async getProjectId(){const e=this.projectNumber||this.workforcePoolUserProject;if(this.projectId)return this.projectId;if(e){const n=await this.getRequestHeaders(),o=await this.transporter.request({headers:n,url:`${t.CLOUD_RESOURCE_MANAGER}${e}`,responseType:"json"});return this.projectId=o.data.projectId,this.projectId}return null}async requestAsync(e,t=!1){let n;try{const t=await this.getRequestHeaders();e.headers=e.headers||{},t&&t["x-goog-user-project"]&&(e.headers["x-goog-user-project"]=t["x-goog-user-project"]),t&&t.Authorization&&(e.headers.Authorization=t.Authorization),n=await this.transporter.request(e)}catch(n){const r=n.response;if(r){const n=r.status,i=r.config.data instanceof o.Readable;if(!t&&(401===n||403===n)&&!i&&this.forceRefreshOnFailure)return await this.refreshAccessTokenAsync(),await this.requestAsync(e,!0)}throw n}return n}async refreshAccessTokenAsync(){const e=await this.retrieveSubjectToken(),t={grantType:"urn:ietf:params:oauth:grant-type:token-exchange",audience:this.audience,requestedTokenType:"urn:ietf:params:oauth:token-type:access_token",subjectToken:e,subjectTokenType:this.subjectTokenType,scope:this.serviceAccountImpersonationUrl?[a]:this.getScopesArray()},n=!this.clientAuth&&this.workforcePoolUserProject?{userProject:this.workforcePoolUserProject}:void 0,o=await this.stsCredential.exchangeToken(t,void 0,n);return this.serviceAccountImpersonationUrl?this.cachedAccessToken=await this.getImpersonatedAccessToken(o.access_token):o.expires_in?this.cachedAccessToken={access_token:o.access_token,expiry_date:(new Date).getTime()+1e3*o.expires_in,res:o.res}:this.cachedAccessToken={access_token:o.access_token,res:o.res},this.credentials={},Object.assign(this.credentials,this.cachedAccessToken),delete this.credentials.res,this.emit("tokens",{refresh_token:null,expiry_date:this.cachedAccessToken.expiry_date,access_token:this.cachedAccessToken.access_token,token_type:"Bearer",id_token:null}),this.cachedAccessToken}getProjectNumber(e){const t=e.match(/\/projects\/([^/]+)/);return t?t[1]:null}async getImpersonatedAccessToken(e){const t={url:this.serviceAccountImpersonationUrl,method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${e}`},data:{scope:this.getScopesArray(),lifetime:this.serviceAccountImpersonationLifetime+"s"},responseType:"json"},n=await this.transporter.request(t),o=n.data;return{access_token:o.accessToken,expiry_date:new Date(o.expireTime).getTime(),res:n}}isExpired(e){const t=(new Date).getTime();return!!e.expiry_date&&t>=e.expiry_date-this.eagerRefreshThresholdMillis}getScopesArray(){return"string"==typeof this.scopes?[this.scopes]:void 0===this.scopes?[a]:this.scopes}validateGoogleAPIsUrl(e,t){let n;try{n=new URL(t)}catch(e){return!1}const o=n.hostname;if("https:"!==n.protocol)return!1;const r=[new RegExp("^"+l+"\\."+e+s),new RegExp("^"+e+s),new RegExp("^"+e+"\\."+l+s),new RegExp("^"+l+"\\-"+e+s),new RegExp("^"+e+"\\-"+l+"\\.p"+s)];for(const e of r)if(o.match(e))return!0;return!1}}t.BaseExternalAccountClient=c},80349:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Compute=void 0;const o=n(27858),r=n(3830),i=n(64338),a=n(7057);class s extends a.OAuth2Client{constructor(e={}){super(e),this.credentials={expiry_date:1,refresh_token:"compute-placeholder"},this.serviceAccountEmail=e.serviceAccountEmail||"default",this.scopes=o(e.scopes)}async refreshTokenNoCache(e){const t=`service-accounts/${this.serviceAccountEmail}/token`;let n;try{const e={property:t};this.scopes.length>0&&(e.params={scopes:this.scopes.join(",")}),n=await i.instance(e)}catch(e){throw e instanceof r.GaxiosError&&(e.message=`Could not refresh access token: ${e.message}`,this.wrapError(e)),e}const o=n;return n&&n.expires_in&&(o.expiry_date=(new Date).getTime()+1e3*n.expires_in,delete o.expires_in),this.emit("tokens",o),{tokens:o,res:null}}async fetchIdToken(e){const t=`service-accounts/${this.serviceAccountEmail}/identity?format=full&audience=${e}`;let n;try{const e={property:t};n=await i.instance(e)}catch(e){throw e instanceof Error&&(e.message=`Could not fetch ID token: ${e.message}`),e}return n}wrapError(e){const t=e.response;t&&t.status&&(e.code=t.status.toString(),403===t.status?e.message="A Forbidden error was returned while attempting to retrieve an access token for the Compute Engine built-in service account. This may be because the Compute Engine instance does not have the correct permission scopes specified: "+e.message:404===t.status&&(e.message="A Not Found error was returned while attempting to retrieve an accesstoken for the Compute Engine built-in service account. This may be because the Compute Engine instance does not have any permission scopes specified: "+e.message))}}t.Compute=s},75620:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DownscopedClient=t.EXPIRATION_TIME_OFFSET=t.MAX_ACCESS_BOUNDARY_RULES_COUNT=void 0;const o=n(12781),r=n(78478),i=n(46185);t.MAX_ACCESS_BOUNDARY_RULES_COUNT=10,t.EXPIRATION_TIME_OFFSET=3e5;class a extends r.AuthClient{constructor(e,n,o,r){if(super(),this.authClient=e,this.credentialAccessBoundary=n,0===n.accessBoundary.accessBoundaryRules.length)throw new Error("At least one access boundary rule needs to be defined.");if(n.accessBoundary.accessBoundaryRules.length>t.MAX_ACCESS_BOUNDARY_RULES_COUNT)throw new Error(`The provided access boundary has more than ${t.MAX_ACCESS_BOUNDARY_RULES_COUNT} access boundary rules.`);for(const e of n.accessBoundary.accessBoundaryRules)if(0===e.availablePermissions.length)throw new Error("At least one permission should be defined in access boundary rules.");this.stsCredential=new i.StsCredentials("https://sts.googleapis.com/v1/token"),this.cachedDownscopedAccessToken=null,"number"!=typeof(null==o?void 0:o.eagerRefreshThresholdMillis)?this.eagerRefreshThresholdMillis=t.EXPIRATION_TIME_OFFSET:this.eagerRefreshThresholdMillis=o.eagerRefreshThresholdMillis,this.forceRefreshOnFailure=!!(null==o?void 0:o.forceRefreshOnFailure),this.quotaProjectId=r}setCredentials(e){if(!e.expiry_date)throw new Error("The access token expiry_date field is missing in the provided credentials.");super.setCredentials(e),this.cachedDownscopedAccessToken=e}async getAccessToken(){return this.cachedDownscopedAccessToken&&!this.isExpired(this.cachedDownscopedAccessToken)||await this.refreshAccessTokenAsync(),{token:this.cachedDownscopedAccessToken.access_token,expirationTime:this.cachedDownscopedAccessToken.expiry_date,res:this.cachedDownscopedAccessToken.res}}async getRequestHeaders(){const e={Authorization:`Bearer ${(await this.getAccessToken()).token}`};return this.addSharedMetadataHeaders(e)}request(e,t){if(!t)return this.requestAsync(e);this.requestAsync(e).then((e=>t(null,e)),(e=>t(e,e.response)))}async requestAsync(e,t=!1){let n;try{const t=await this.getRequestHeaders();e.headers=e.headers||{},t&&t["x-goog-user-project"]&&(e.headers["x-goog-user-project"]=t["x-goog-user-project"]),t&&t.Authorization&&(e.headers.Authorization=t.Authorization),n=await this.transporter.request(e)}catch(n){const r=n.response;if(r){const n=r.status,i=r.config.data instanceof o.Readable;if(!t&&(401===n||403===n)&&!i&&this.forceRefreshOnFailure)return await this.refreshAccessTokenAsync(),await this.requestAsync(e,!0)}throw n}return n}async refreshAccessTokenAsync(){var e;const t={grantType:"urn:ietf:params:oauth:grant-type:token-exchange",requestedTokenType:"urn:ietf:params:oauth:token-type:access_token",subjectToken:(await this.authClient.getAccessToken()).token,subjectTokenType:"urn:ietf:params:oauth:token-type:access_token"},n=await this.stsCredential.exchangeToken(t,void 0,this.credentialAccessBoundary),o=(null===(e=this.authClient.credentials)||void 0===e?void 0:e.expiry_date)||null,r=n.expires_in?(new Date).getTime()+1e3*n.expires_in:o;return this.cachedDownscopedAccessToken={access_token:n.access_token,expiry_date:r,res:n.res},this.credentials={},Object.assign(this.credentials,this.cachedDownscopedAccessToken),delete this.credentials.res,this.emit("tokens",{refresh_token:null,expiry_date:this.cachedDownscopedAccessToken.expiry_date,access_token:this.cachedDownscopedAccessToken.access_token,token_type:"Bearer",id_token:null}),this.cachedDownscopedAccessToken}isExpired(e){const t=(new Date).getTime();return!!e.expiry_date&&t>=e.expiry_date-this.eagerRefreshThresholdMillis}}t.DownscopedClient=a},48103:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEnv=t.clear=t.GCPEnv=void 0;const o=n(64338);var r;let i;!function(e){e.APP_ENGINE="APP_ENGINE",e.KUBERNETES_ENGINE="KUBERNETES_ENGINE",e.CLOUD_FUNCTIONS="CLOUD_FUNCTIONS",e.COMPUTE_ENGINE="COMPUTE_ENGINE",e.CLOUD_RUN="CLOUD_RUN",e.NONE="NONE"}(r=t.GCPEnv||(t.GCPEnv={})),t.clear=function(){i=void 0},t.getEnv=async function(){return i||(i=async function(){let e=r.NONE;return e=process.env.GAE_SERVICE||process.env.GAE_MODULE_NAME?r.APP_ENGINE:process.env.FUNCTION_NAME||process.env.FUNCTION_TARGET?r.CLOUD_FUNCTIONS:await async function(){return o.isAvailable()}()?await async function(){try{return await o.instance("attributes/cluster-name"),!0}catch(e){return!1}}()?r.KUBERNETES_ENGINE:process.env.K_CONFIGURATION?r.CLOUD_RUN:r.COMPUTE_ENGINE:r.NONE,e}(),i)}},11331:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidSubjectTokenError=t.InvalidMessageFieldError=t.InvalidCodeFieldError=t.InvalidTokenTypeFieldError=t.InvalidExpirationTimeFieldError=t.InvalidSuccessFieldError=t.InvalidVersionFieldError=t.ExecutableResponseError=t.ExecutableResponse=void 0;const n="urn:ietf:params:oauth:token-type:saml2",o="urn:ietf:params:oauth:token-type:id_token",r="urn:ietf:params:oauth:token-type:jwt";t.ExecutableResponse=class{constructor(e){if(!e.version)throw new a("Executable response must contain a 'version' field.");if(void 0===e.success)throw new s("Executable response must contain a 'success' field.");if(this.version=e.version,this.success=e.success,this.success){if(this.expirationTime=e.expiration_time,this.tokenType=e.token_type,this.tokenType!==n&&this.tokenType!==o&&this.tokenType!==r)throw new l(`Executable response must contain a 'token_type' field when successful and it must be one of ${o}, ${r}, or ${n}.`);if(this.tokenType===n){if(!e.saml_response)throw new u(`Executable response must contain a 'saml_response' field when token_type=${n}.`);this.subjectToken=e.saml_response}else{if(!e.id_token)throw new u(`Executable response must contain a 'id_token' field when token_type=${o} or ${r}.`);this.subjectToken=e.id_token}}else{if(!e.code)throw new c("Executable response must contain a 'code' field when unsuccessful.");if(!e.message)throw new p("Executable response must contain a 'message' field when unsuccessful.");this.errorCode=e.code,this.errorMessage=e.message}}isValid(){return!this.isExpired()&&this.success}isExpired(){return void 0!==this.expirationTime&&this.expirationTime{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExternalAccountClient=void 0;const o=n(36045),r=n(60695),i=n(30011),a=n(45001);t.ExternalAccountClient=class{constructor(){throw new Error("ExternalAccountClients should be initialized via: ExternalAccountClient.fromJSON(), directly via explicit constructors, eg. new AwsClient(options), new IdentityPoolClient(options), newPluggableAuthClientOptions, or via new GoogleAuth(options).getClient()")}static fromJSON(e,t){var n,s;return e&&e.type===o.EXTERNAL_ACCOUNT_TYPE?(null===(n=e.credential_source)||void 0===n?void 0:n.environment_id)?new i.AwsClient(e,t):(null===(s=e.credential_source)||void 0===s?void 0:s.executable)?new a.PluggableAuthClient(e,t):new r.IdentityPoolClient(e,t):null}}},53576:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAuth=t.CLOUD_SDK_CLIENT_ID=void 0;const o=n(32081),r=n(57147),i=n(64338),a=n(22037),s=n(71017),l=n(57489),c=n(66484),p=n(80349),u=n(73729),d=n(48103),g=n(14342),f=n(3625),h=n(88060),m=n(30228),y=n(36045);t.CLOUD_SDK_CLIENT_ID="764086051850-6qr4p6gpi6hn506pt8ejuq83di341hur.apps.googleusercontent.com";const v="Unable to detect a Project Id in the current environment. \nTo learn more about authentication and Google APIs, visit: \nhttps://cloud.google.com/docs/authentication/getting-started";class b{constructor(e){this.checkIsGCE=void 0,this.jsonContent=null,this.cachedCredential=null,e=e||{},this._cachedProjectId=e.projectId||null,this.cachedCredential=e.authClient||null,this.keyFilename=e.keyFilename||e.keyFile,this.scopes=e.scopes,this.jsonContent=e.credentials||null,this.clientOptions=e.clientOptions}get isGCE(){return this.checkIsGCE}setGapicJWTValues(e){e.defaultServicePath=this.defaultServicePath,e.useJWTAccessWithScope=this.useJWTAccessWithScope,e.defaultScopes=this.defaultScopes}getProjectId(e){if(!e)return this.getProjectIdAsync();this.getProjectIdAsync().then((t=>e(null,t)),e)}async getProjectIdOptional(){try{return await this.getProjectId()}catch(e){if(e instanceof Error&&e.message===v)return null;throw e}}async findAndCacheProjectId(){let e=null;if(e||(e=await this.getProductionProjectId()),e||(e=await this.getFileProjectId()),e||(e=await this.getDefaultServiceProjectId()),e||(e=await this.getGCEProjectId()),e||(e=await this.getExternalAccountClientProjectId()),e)return this._cachedProjectId=e,e;throw new Error(v)}async getProjectIdAsync(){return this._cachedProjectId?this._cachedProjectId:(this._findProjectIdPromise||(this._findProjectIdPromise=this.findAndCacheProjectId()),this._findProjectIdPromise)}getAnyScopes(){return this.scopes||this.defaultScopes}getApplicationDefault(e={},t){let n;if("function"==typeof e?t=e:n=e,!t)return this.getApplicationDefaultAsync(n);this.getApplicationDefaultAsync(n).then((e=>t(null,e.credential,e.projectId)),t)}async getApplicationDefaultAsync(e={}){if(this.cachedCredential)return await this.prepareAndCacheADC(this.cachedCredential);const t=process.env.GOOGLE_CLOUD_QUOTA_PROJECT;let n,o;if(n=await this._tryGetApplicationCredentialsFromEnvironmentVariable(e),n)return n instanceof g.JWT?n.scopes=this.scopes:n instanceof y.BaseExternalAccountClient&&(n.scopes=this.getAnyScopes()),await this.prepareAndCacheADC(n,t);if(n=await this._tryGetApplicationCredentialsFromWellKnownFile(e),n)return n instanceof g.JWT?n.scopes=this.scopes:n instanceof y.BaseExternalAccountClient&&(n.scopes=this.getAnyScopes()),await this.prepareAndCacheADC(n,t);try{o=await this._checkIsGCE()}catch(e){throw e instanceof Error&&(e.message=`Unexpected error determining execution environment: ${e.message}`),e}if(!o)throw new Error("Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information.");return e.scopes=this.getAnyScopes(),await this.prepareAndCacheADC(new p.Compute(e),t)}async prepareAndCacheADC(e,t){const n=await this.getProjectIdOptional();return t&&(e.quotaProjectId=t),this.cachedCredential=e,{credential:e,projectId:n}}async _checkIsGCE(){return void 0===this.checkIsGCE&&(this.checkIsGCE=await i.isAvailable()),this.checkIsGCE}async _tryGetApplicationCredentialsFromEnvironmentVariable(e){const t=process.env.GOOGLE_APPLICATION_CREDENTIALS||process.env.google_application_credentials;if(!t||0===t.length)return null;try{return this._getApplicationCredentialsFromFilePath(t,e)}catch(e){throw e instanceof Error&&(e.message=`Unable to read the credential file specified by the GOOGLE_APPLICATION_CREDENTIALS environment variable: ${e.message}`),e}}async _tryGetApplicationCredentialsFromWellKnownFile(e){let t=null;if(this._isWindows())t=process.env.APPDATA;else{const e=process.env.HOME;e&&(t=s.join(e,".config"))}return t&&(t=s.join(t,"gcloud","application_default_credentials.json"),r.existsSync(t)||(t=null)),t?await this._getApplicationCredentialsFromFilePath(t,e):null}async _getApplicationCredentialsFromFilePath(e,t={}){if(!e||0===e.length)throw new Error("The file path is invalid.");try{if(e=r.realpathSync(e),!r.lstatSync(e).isFile())throw new Error}catch(t){throw t instanceof Error&&(t.message=`The file at ${e} does not exist, or it is not a file. ${t.message}`),t}const n=r.createReadStream(e);return this.fromStream(n,t)}fromImpersonatedJSON(e){var t,n,o,r;if(!e)throw new Error("Must pass in a JSON object containing an impersonated refresh token");if(e.type!==h.IMPERSONATED_ACCOUNT_TYPE)throw new Error(`The incoming JSON object does not have the "${h.IMPERSONATED_ACCOUNT_TYPE}" type`);if(!e.source_credentials)throw new Error("The incoming JSON object does not contain a source_credentials field");if(!e.service_account_impersonation_url)throw new Error("The incoming JSON object does not contain a service_account_impersonation_url field");const i=new f.UserRefreshClient(e.source_credentials.client_id,e.source_credentials.client_secret,e.source_credentials.refresh_token),a=null===(n=null===(t=/(?[^/]+):generateAccessToken$/.exec(e.service_account_impersonation_url))||void 0===t?void 0:t.groups)||void 0===n?void 0:n.target;if(!a)throw new RangeError(`Cannot extract target principal from ${e.service_account_impersonation_url}`);const s=null!==(o=this.getAnyScopes())&&void 0!==o?o:[];return new h.Impersonated({delegates:null!==(r=e.delegates)&&void 0!==r?r:[],sourceClient:i,targetPrincipal:a,targetScopes:Array.isArray(s)?s:[s]})}fromJSON(e,t){let n;if(!e)throw new Error("Must pass in a JSON object containing the Google auth settings.");return t=t||{},"authorized_user"===e.type?(n=new f.UserRefreshClient(t),n.fromJSON(e)):e.type===h.IMPERSONATED_ACCOUNT_TYPE?n=this.fromImpersonatedJSON(e):e.type===y.EXTERNAL_ACCOUNT_TYPE?(n=m.ExternalAccountClient.fromJSON(e,t),n.scopes=this.getAnyScopes()):(t.scopes=this.scopes,n=new g.JWT(t),this.setGapicJWTValues(n),n.fromJSON(e)),n}_cacheClientFromJSON(e,t){let n;return t=t||{},"authorized_user"===e.type?(n=new f.UserRefreshClient(t),n.fromJSON(e)):e.type===h.IMPERSONATED_ACCOUNT_TYPE?n=this.fromImpersonatedJSON(e):e.type===y.EXTERNAL_ACCOUNT_TYPE?(n=m.ExternalAccountClient.fromJSON(e,t),n.scopes=this.getAnyScopes()):(t.scopes=this.scopes,n=new g.JWT(t),this.setGapicJWTValues(n),n.fromJSON(e)),this.jsonContent=e,this.cachedCredential=n,n}fromStream(e,t={},n){let o={};if("function"==typeof t?n=t:o=t,!n)return this.fromStreamAsync(e,o);this.fromStreamAsync(e,o).then((e=>n(null,e)),n)}fromStreamAsync(e,t){return new Promise(((n,o)=>{if(!e)throw new Error("Must pass in a stream containing the Google auth settings.");let r="";e.setEncoding("utf8").on("error",o).on("data",(e=>r+=e)).on("end",(()=>{try{try{const e=JSON.parse(r),o=this._cacheClientFromJSON(e,t);return n(o)}catch(e){if(!this.keyFilename)throw e;const t=new g.JWT({...this.clientOptions,keyFile:this.keyFilename});return this.cachedCredential=t,this.setGapicJWTValues(t),n(t)}}catch(e){return o(e)}}))}))}fromAPIKey(e,t){t=t||{};const n=new g.JWT(t);return n.fromAPIKey(e),n}_isWindows(){const e=a.platform();return!!(e&&e.length>=3&&"win"===e.substring(0,3).toLowerCase())}async getDefaultServiceProjectId(){return new Promise((e=>{(0,o.exec)("gcloud config config-helper --format json",((t,n)=>{if(!t&&n)try{const t=JSON.parse(n).configuration.properties.core.project;return void e(t)}catch(e){}e(null)}))}))}getProductionProjectId(){return process.env.GCLOUD_PROJECT||process.env.GOOGLE_CLOUD_PROJECT||process.env.gcloud_project||process.env.google_cloud_project}async getFileProjectId(){if(this.cachedCredential)return this.cachedCredential.projectId;if(this.keyFilename){const e=await this.getClient();if(e&&e.projectId)return e.projectId}const e=await this._tryGetApplicationCredentialsFromEnvironmentVariable();return e?e.projectId:null}async getExternalAccountClientProjectId(){if(!this.jsonContent||this.jsonContent.type!==y.EXTERNAL_ACCOUNT_TYPE)return null;const e=await this.getClient();return await e.getProjectId()}async getGCEProjectId(){try{return await i.project("project-id")}catch(e){return null}}getCredentials(e){if(!e)return this.getCredentialsAsync();this.getCredentialsAsync().then((t=>e(null,t)),e)}async getCredentialsAsync(){const e=await this.getClient();if(e instanceof y.BaseExternalAccountClient){const t=e.getServiceAccountEmail();if(t)return{client_email:t}}if(this.jsonContent)return{client_email:this.jsonContent.client_email,private_key:this.jsonContent.private_key};if(!await this._checkIsGCE())throw new Error("Unknown error.");const t=await i.instance({property:"service-accounts/",params:{recursive:"true"}});if(!t||!t.default||!t.default.email)throw new Error("Failure from metadata server.");return{client_email:t.default.email}}async getClient(){if(!this.cachedCredential)if(this.jsonContent)this._cacheClientFromJSON(this.jsonContent,this.clientOptions);else if(this.keyFilename){const e=s.resolve(this.keyFilename),t=r.createReadStream(e);await this.fromStreamAsync(t,this.clientOptions)}else await this.getApplicationDefaultAsync(this.clientOptions);return this.cachedCredential}async getIdTokenClient(e){const t=await this.getClient();if(!("fetchIdToken"in t))throw new Error("Cannot fetch ID token in this environment, use GCE or set the GOOGLE_APPLICATION_CREDENTIALS environment variable to a service account credentials JSON file.");return new u.IdTokenClient({targetAudience:e,idTokenProvider:t})}async getAccessToken(){const e=await this.getClient();return(await e.getAccessToken()).token}async getRequestHeaders(e){return(await this.getClient()).getRequestHeaders(e)}async authorizeRequest(e){const t=(e=e||{}).url||e.uri,n=await this.getClient(),o=await n.getRequestHeaders(t);return e.headers=Object.assign(e.headers||{},o),e}async request(e){return(await this.getClient()).request(e)}getEnv(){return(0,d.getEnv)()}async sign(e){const t=await this.getClient(),n=(0,l.createCrypto)();if(t instanceof g.JWT&&t.key)return await n.sign(t.key,e);const o=await this.getCredentials();if(!o.client_email)throw new Error("Cannot sign data without `client_email`.");return this.signBlob(n,o.client_email,e)}async signBlob(e,t,n){const o=`https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/${t}:signBlob`;return(await this.request({method:"POST",url:o,data:{payload:e.encodeBase64StringUtf8(n)}})).data.signedBlob}}t.GoogleAuth=b,b.DefaultTransporter=c.DefaultTransporter},88691:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IAMAuth=void 0,t.IAMAuth=class{constructor(e,t){this.selector=e,this.token=t,this.selector=e,this.token=t}getRequestHeaders(){return{"x-goog-iam-authority-selector":this.selector,"x-goog-iam-authorization-token":this.token}}}},60695:(e,t,n)=>{"use strict";var o,r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.IdentityPoolClient=void 0;const a=n(57147),s=n(73837),l=n(36045),c=(0,s.promisify)(null!==(o=a.readFile)&&void 0!==o?o:()=>{}),p=(0,s.promisify)(null!==(r=a.realpath)&&void 0!==r?r:()=>{}),u=(0,s.promisify)(null!==(i=a.lstat)&&void 0!==i?i:()=>{});class d extends l.BaseExternalAccountClient{constructor(e,t){var n,o;if(super(e,t),this.file=e.credential_source.file,this.url=e.credential_source.url,this.headers=e.credential_source.headers,!this.file&&!this.url)throw new Error('No valid Identity Pool "credential_source" provided');if(this.formatType=(null===(n=e.credential_source.format)||void 0===n?void 0:n.type)||"text",this.formatSubjectTokenFieldName=null===(o=e.credential_source.format)||void 0===o?void 0:o.subject_token_field_name,"json"!==this.formatType&&"text"!==this.formatType)throw new Error(`Invalid credential_source format "${this.formatType}"`);if("json"===this.formatType&&!this.formatSubjectTokenFieldName)throw new Error("Missing subject_token_field_name for JSON credential_source format")}async retrieveSubjectToken(){return this.file?await this.getTokenFromFile(this.file,this.formatType,this.formatSubjectTokenFieldName):await this.getTokenFromUrl(this.url,this.formatType,this.formatSubjectTokenFieldName,this.headers)}async getTokenFromFile(e,t,n){try{if(e=await p(e),!(await u(e)).isFile())throw new Error}catch(t){throw t instanceof Error&&(t.message=`The file at ${e} does not exist, or it is not a file. ${t.message}`),t}let o;const r=await c(e,{encoding:"utf8"});if("text"===t?o=r:"json"===t&&n&&(o=JSON.parse(r)[n]),!o)throw new Error("Unable to parse the subject_token from the credential_source file");return o}async getTokenFromUrl(e,t,n,o){const r={url:e,method:"GET",headers:o,responseType:t};let i;if("text"===t?i=(await this.transporter.request(r)).data:"json"===t&&n&&(i=(await this.transporter.request(r)).data[n]),!i)throw new Error("Unable to parse the subject_token from the credential_source URL");return i}}t.IdentityPoolClient=d},73729:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IdTokenClient=void 0;const o=n(7057);class r extends o.OAuth2Client{constructor(e){super(),this.targetAudience=e.targetAudience,this.idTokenProvider=e.idTokenProvider}async getRequestMetadataAsync(e){if(!this.credentials.id_token||(this.credentials.expiry_date||0){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Impersonated=t.IMPERSONATED_ACCOUNT_TYPE=void 0;const o=n(7057),r=n(3830);t.IMPERSONATED_ACCOUNT_TYPE="impersonated_service_account";class i extends o.OAuth2Client{constructor(e={}){var t,n,r,i,a,s;super(e),this.credentials={expiry_date:1,refresh_token:"impersonated-placeholder"},this.sourceClient=null!==(t=e.sourceClient)&&void 0!==t?t:new o.OAuth2Client,this.targetPrincipal=null!==(n=e.targetPrincipal)&&void 0!==n?n:"",this.delegates=null!==(r=e.delegates)&&void 0!==r?r:[],this.targetScopes=null!==(i=e.targetScopes)&&void 0!==i?i:[],this.lifetime=null!==(a=e.lifetime)&&void 0!==a?a:3600,this.endpoint=null!==(s=e.endpoint)&&void 0!==s?s:"https://iamcredentials.googleapis.com"}async refreshToken(e){var t,n,o,i,a,s;try{await this.sourceClient.getAccessToken();const e="projects/-/serviceAccounts/"+this.targetPrincipal,t=`${this.endpoint}/v1/${e}:generateAccessToken`,n={delegates:this.delegates,scope:this.targetScopes,lifetime:this.lifetime+"s"},o=await this.sourceClient.request({url:t,data:n,method:"POST"}),r=o.data;return this.credentials.access_token=r.accessToken,this.credentials.expiry_date=Date.parse(r.expireTime),{tokens:this.credentials,res:o}}catch(e){if(!(e instanceof Error))throw e;let l=0,c="";throw e instanceof r.GaxiosError&&(l=null===(o=null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.error)||void 0===o?void 0:o.status,c=null===(s=null===(a=null===(i=null==e?void 0:e.response)||void 0===i?void 0:i.data)||void 0===a?void 0:a.error)||void 0===s?void 0:s.message),l&&c?(e.message=`${l}: unable to impersonate: ${c}`,e):(e.message=`unable to impersonate: ${e}`,e)}}async fetchIdToken(e,t){var n;await this.sourceClient.getAccessToken();const o=`projects/-/serviceAccounts/${this.targetPrincipal}`,r=`${this.endpoint}/v1/${o}:generateIdToken`,i={delegates:this.delegates,audience:e,includeEmail:null===(n=null==t?void 0:t.includeEmail)||void 0===n||n};return(await this.sourceClient.request({url:r,data:i,method:"POST"})).data.token}}t.Impersonated=i},48333:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JWTAccess=void 0;const o=n(36291),r=n(29416),i={alg:"RS256",typ:"JWT"};class a{constructor(e,t,n,o){this.cache=new r({max:500,maxAge:36e5}),this.email=e,this.key=t,this.keyId=n,this.eagerRefreshThresholdMillis=null!=o?o:3e5}getCachedKey(e,t){let n=e;if(t&&Array.isArray(t)&&t.length?n=e?`${e}_${t.join("_")}`:`${t.join("_")}`:"string"==typeof t&&(n=e?`${e}_${t}`:t),!n)throw Error("Scopes or url must be provided");return n}getRequestHeaders(e,t,n){const r=this.getCachedKey(e,n),s=this.cache.get(r),l=Date.now();if(s&&s.expiration-l>this.eagerRefreshThresholdMillis)return s.headers;const c=Math.floor(Date.now()/1e3),p=a.getExpirationTime(c);let u;if(Array.isArray(n)&&(n=n.join(" ")),u=n?{iss:this.email,sub:this.email,scope:n,exp:p,iat:c}:{iss:this.email,sub:this.email,aud:e,exp:p,iat:c},t)for(const e in u)if(t[e])throw new Error(`The '${e}' property is not allowed when passing additionalClaims. This claim is included in the JWT by default.`);const d=this.keyId?{...i,kid:this.keyId}:i,g=Object.assign(u,t),f={Authorization:`Bearer ${o.sign({header:d,payload:g,secret:this.key})}`};return this.cache.set(r,{expiration:1e3*p,headers:f}),f}static getExpirationTime(e){return e+3600}fromJSON(e){if(!e)throw new Error("Must pass in a JSON object containing the service account auth settings.");if(!e.client_email)throw new Error("The incoming JSON object does not contain a client_email field");if(!e.private_key)throw new Error("The incoming JSON object does not contain a private_key field");this.email=e.client_email,this.key=e.private_key,this.keyId=e.private_key_id,this.projectId=e.project_id}fromStream(e,t){if(!t)return this.fromStreamAsync(e);this.fromStreamAsync(e).then((()=>t()),t)}fromStreamAsync(e){return new Promise(((t,n)=>{e||n(new Error("Must pass in a stream containing the service account auth settings."));let o="";e.setEncoding("utf8").on("data",(e=>o+=e)).on("error",n).on("end",(()=>{try{const e=JSON.parse(o);this.fromJSON(e),t()}catch(e){n(e)}}))}))}}t.JWTAccess=a},14342:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JWT=void 0;const o=n(67494),r=n(48333),i=n(7057);class a extends i.OAuth2Client{constructor(e,t,n,o,r,i){const a=e&&"object"==typeof e?e:{email:e,keyFile:t,key:n,keyId:i,scopes:o,subject:r};super({eagerRefreshThresholdMillis:a.eagerRefreshThresholdMillis,forceRefreshOnFailure:a.forceRefreshOnFailure}),this.email=a.email,this.keyFile=a.keyFile,this.key=a.key,this.keyId=a.keyId,this.scopes=a.scopes,this.subject=a.subject,this.additionalClaims=a.additionalClaims,this.credentials={refresh_token:"jwt-placeholder",expiry_date:1}}createScoped(e){return new a({email:this.email,keyFile:this.keyFile,key:this.key,keyId:this.keyId,scopes:e,subject:this.subject,additionalClaims:this.additionalClaims})}async getRequestMetadataAsync(e){e=this.defaultServicePath?`https://${this.defaultServicePath}/`:e;const t=!this.hasUserScopes()&&e||this.useJWTAccessWithScope&&this.hasAnyScopes();if(!this.apiKey&&t){if(this.additionalClaims&&this.additionalClaims.target_audience){const{tokens:e}=await this.refreshToken();return{headers:this.addSharedMetadataHeaders({Authorization:`Bearer ${e.id_token}`})}}{let t;this.access||(this.access=new r.JWTAccess(this.email,this.key,this.keyId,this.eagerRefreshThresholdMillis)),this.hasUserScopes()?t=this.scopes:e||(t=this.defaultScopes);const n=await this.access.getRequestHeaders(null!=e?e:void 0,this.additionalClaims,this.useJWTAccessWithScope?t:void 0);return{headers:this.addSharedMetadataHeaders(n)}}}return this.hasAnyScopes()||this.apiKey?super.getRequestMetadataAsync(e):{headers:{}}}async fetchIdToken(e){const t=new o.GoogleToken({iss:this.email,sub:this.subject,scope:this.scopes||this.defaultScopes,keyFile:this.keyFile,key:this.key,additionalClaims:{target_audience:e},transporter:this.transporter});if(await t.getToken({forceRefresh:!0}),!t.idToken)throw new Error("Unknown error: Failed to fetch ID token");return t.idToken}hasUserScopes(){return!!this.scopes&&this.scopes.length>0}hasAnyScopes(){return!!(this.scopes&&this.scopes.length>0)||!!(this.defaultScopes&&this.defaultScopes.length>0)}authorize(e){if(!e)return this.authorizeAsync();this.authorizeAsync().then((t=>e(null,t)),e)}async authorizeAsync(){const e=await this.refreshToken();if(!e)throw new Error("No result returned");return this.credentials=e.tokens,this.credentials.refresh_token="jwt-placeholder",this.key=this.gtoken.key,this.email=this.gtoken.iss,e.tokens}async refreshTokenNoCache(e){const t=this.createGToken(),n={access_token:(await t.getToken({forceRefresh:this.isTokenExpiring()})).access_token,token_type:"Bearer",expiry_date:t.expiresAt,id_token:t.idToken};return this.emit("tokens",n),{res:null,tokens:n}}createGToken(){return this.gtoken||(this.gtoken=new o.GoogleToken({iss:this.email,sub:this.subject,scope:this.scopes||this.defaultScopes,keyFile:this.keyFile,key:this.key,additionalClaims:this.additionalClaims,transporter:this.transporter})),this.gtoken}fromJSON(e){if(!e)throw new Error("Must pass in a JSON object containing the service account auth settings.");if(!e.client_email)throw new Error("The incoming JSON object does not contain a client_email field");if(!e.private_key)throw new Error("The incoming JSON object does not contain a private_key field");this.email=e.client_email,this.key=e.private_key,this.keyId=e.private_key_id,this.projectId=e.project_id,this.quotaProjectId=e.quota_project_id}fromStream(e,t){if(!t)return this.fromStreamAsync(e);this.fromStreamAsync(e).then((()=>t()),t)}fromStreamAsync(e){return new Promise(((t,n)=>{if(!e)throw new Error("Must pass in a stream containing the service account auth settings.");let o="";e.setEncoding("utf8").on("error",n).on("data",(e=>o+=e)).on("end",(()=>{try{const e=JSON.parse(o);this.fromJSON(e),t()}catch(e){n(e)}}))}))}fromAPIKey(e){if("string"!=typeof e)throw new Error("Must provide an API Key string.");this.apiKey=e}async getCredentials(){if(this.key)return{private_key:this.key,client_email:this.email};if(this.keyFile){const e=this.createGToken(),t=await e.getCredentials(this.keyFile);return{private_key:t.privateKey,client_email:t.clientEmail}}throw new Error("A key or a keyFile must be provided to getCredentials.")}}t.JWT=a},1984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoginTicket=void 0,t.LoginTicket=class{constructor(e,t){this.envelope=e,this.payload=t}getEnvelope(){return this.envelope}getPayload(){return this.payload}getUserId(){const e=this.getPayload();return e&&e.sub?e.sub:null}getAttributes(){return{envelope:this.getEnvelope(),payload:this.getPayload()}}}},7057:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OAuth2Client=t.CertificateFormat=t.CodeChallengeMethod=void 0;const o=n(3830),r=n(63477),i=n(12781),a=n(27356),s=n(57489),l=n(78478),c=n(1984);var p,u;(u=t.CodeChallengeMethod||(t.CodeChallengeMethod={})).Plain="plain",u.S256="S256",function(e){e.PEM="PEM",e.JWK="JWK"}(p=t.CertificateFormat||(t.CertificateFormat={}));class d extends l.AuthClient{constructor(e,t,n){super(),this.certificateCache={},this.certificateExpiry=null,this.certificateCacheFormat=p.PEM,this.refreshTokenPromises=new Map;const o=e&&"object"==typeof e?e:{clientId:e,clientSecret:t,redirectUri:n};this._clientId=o.clientId,this._clientSecret=o.clientSecret,this.redirectUri=o.redirectUri,this.eagerRefreshThresholdMillis=o.eagerRefreshThresholdMillis||3e5,this.forceRefreshOnFailure=!!o.forceRefreshOnFailure}generateAuthUrl(e={}){if(e.code_challenge_method&&!e.code_challenge)throw new Error("If a code_challenge_method is provided, code_challenge must be included.");return e.response_type=e.response_type||"code",e.client_id=e.client_id||this._clientId,e.redirect_uri=e.redirect_uri||this.redirectUri,Array.isArray(e.scope)&&(e.scope=e.scope.join(" ")),d.GOOGLE_OAUTH2_AUTH_BASE_URL_+"?"+r.stringify(e)}generateCodeVerifier(){throw new Error("generateCodeVerifier is removed, please use generateCodeVerifierAsync instead.")}async generateCodeVerifierAsync(){const e=(0,s.createCrypto)(),t=e.randomBytesBase64(96).replace(/\+/g,"~").replace(/=/g,"_").replace(/\//g,"-");return{codeVerifier:t,codeChallenge:(await e.sha256DigestBase64(t)).split("=")[0].replace(/\+/g,"-").replace(/\//g,"_")}}getToken(e,t){const n="string"==typeof e?{code:e}:e;if(!t)return this.getTokenAsync(n);this.getTokenAsync(n).then((e=>t(null,e.tokens,e.res)),(e=>t(e,null,e.response)))}async getTokenAsync(e){const t=d.GOOGLE_OAUTH2_TOKEN_URL_,n={code:e.code,client_id:e.client_id||this._clientId,client_secret:this._clientSecret,redirect_uri:e.redirect_uri||this.redirectUri,grant_type:"authorization_code",code_verifier:e.codeVerifier},o=await this.transporter.request({method:"POST",url:t,data:r.stringify(n),headers:{"Content-Type":"application/x-www-form-urlencoded"}}),i=o.data;return o.data&&o.data.expires_in&&(i.expiry_date=(new Date).getTime()+1e3*o.data.expires_in,delete i.expires_in),this.emit("tokens",i),{tokens:i,res:o}}async refreshToken(e){if(!e)return this.refreshTokenNoCache(e);if(this.refreshTokenPromises.has(e))return this.refreshTokenPromises.get(e);const t=this.refreshTokenNoCache(e).then((t=>(this.refreshTokenPromises.delete(e),t)),(t=>{throw this.refreshTokenPromises.delete(e),t}));return this.refreshTokenPromises.set(e,t),t}async refreshTokenNoCache(e){var t;if(!e)throw new Error("No refresh token is set.");const n=d.GOOGLE_OAUTH2_TOKEN_URL_,i={refresh_token:e,client_id:this._clientId,client_secret:this._clientSecret,grant_type:"refresh_token"};let a;try{a=await this.transporter.request({method:"POST",url:n,data:r.stringify(i),headers:{"Content-Type":"application/x-www-form-urlencoded"}})}catch(e){throw e instanceof o.GaxiosError&&"invalid_grant"===e.message&&(null===(t=e.response)||void 0===t?void 0:t.data)&&/ReAuth/i.test(e.response.data.error_description)&&(e.message=JSON.stringify(e.response.data)),e}const s=a.data;return a.data&&a.data.expires_in&&(s.expiry_date=(new Date).getTime()+1e3*a.data.expires_in,delete s.expires_in),this.emit("tokens",s),{tokens:s,res:a}}refreshAccessToken(e){if(!e)return this.refreshAccessTokenAsync();this.refreshAccessTokenAsync().then((t=>e(null,t.credentials,t.res)),e)}async refreshAccessTokenAsync(){const e=await this.refreshToken(this.credentials.refresh_token),t=e.tokens;return t.refresh_token=this.credentials.refresh_token,this.credentials=t,{credentials:this.credentials,res:e.res}}getAccessToken(e){if(!e)return this.getAccessTokenAsync();this.getAccessTokenAsync().then((t=>e(null,t.token,t.res)),e)}async getAccessTokenAsync(){if(!this.credentials.access_token||this.isTokenExpiring()){if(!this.credentials.refresh_token){if(!this.refreshHandler)throw new Error("No refresh token or refresh handler callback is set.");{const e=await this.processAndValidateRefreshHandler();if(null==e?void 0:e.access_token)return this.setCredentials(e),{token:this.credentials.access_token}}}const e=await this.refreshAccessTokenAsync();if(!e.credentials||e.credentials&&!e.credentials.access_token)throw new Error("Could not refresh access token.");return{token:e.credentials.access_token,res:e.res}}return{token:this.credentials.access_token}}async getRequestHeaders(e){return(await this.getRequestMetadataAsync(e)).headers}async getRequestMetadataAsync(e){const t=this.credentials;if(!(t.access_token||t.refresh_token||this.apiKey||this.refreshHandler))throw new Error("No access, refresh token, API key or refresh handler callback is set.");if(t.access_token&&!this.isTokenExpiring()){t.token_type=t.token_type||"Bearer";const e={Authorization:t.token_type+" "+t.access_token};return{headers:this.addSharedMetadataHeaders(e)}}if(this.refreshHandler){const e=await this.processAndValidateRefreshHandler();if(null==e?void 0:e.access_token){this.setCredentials(e);const t={Authorization:"Bearer "+this.credentials.access_token};return{headers:this.addSharedMetadataHeaders(t)}}}if(this.apiKey)return{headers:{"X-Goog-Api-Key":this.apiKey}};let n=null,o=null;try{n=await this.refreshToken(t.refresh_token),o=n.tokens}catch(e){const t=e;throw!t.response||403!==t.response.status&&404!==t.response.status||(t.message=`Could not refresh access token: ${t.message}`),t}const r=this.credentials;r.token_type=r.token_type||"Bearer",o.refresh_token=r.refresh_token,this.credentials=o;const i={Authorization:r.token_type+" "+o.access_token};return{headers:this.addSharedMetadataHeaders(i),res:n.res}}static getRevokeTokenUrl(e){const t=r.stringify({token:e});return`${d.GOOGLE_OAUTH2_REVOKE_URL_}?${t}`}revokeToken(e,t){const n={url:d.getRevokeTokenUrl(e),method:"POST"};if(!t)return this.transporter.request(n);this.transporter.request(n).then((e=>t(null,e)),t)}revokeCredentials(e){if(!e)return this.revokeCredentialsAsync();this.revokeCredentialsAsync().then((t=>e(null,t)),e)}async revokeCredentialsAsync(){const e=this.credentials.access_token;if(this.credentials={},e)return this.revokeToken(e);throw new Error("No access token to revoke.")}request(e,t){if(!t)return this.requestAsync(e);this.requestAsync(e).then((e=>t(null,e)),(e=>t(e,e.response)))}async requestAsync(e,t=!1){let n;try{const t=await this.getRequestMetadataAsync(e.url);e.headers=e.headers||{},t.headers&&t.headers["x-goog-user-project"]&&(e.headers["x-goog-user-project"]=t.headers["x-goog-user-project"]),t.headers&&t.headers.Authorization&&(e.headers.Authorization=t.headers.Authorization),this.apiKey&&(e.headers["X-Goog-Api-Key"]=this.apiKey),n=await this.transporter.request(e)}catch(n){const o=n.response;if(o){const n=o.status,r=this.credentials&&this.credentials.access_token&&this.credentials.refresh_token&&(!this.credentials.expiry_date||this.forceRefreshOnFailure),a=this.credentials&&this.credentials.access_token&&!this.credentials.refresh_token&&(!this.credentials.expiry_date||this.forceRefreshOnFailure)&&this.refreshHandler,s=o.config.data instanceof i.Readable,l=401===n||403===n;if(!t&&l&&!s&&r)return await this.refreshAccessTokenAsync(),this.requestAsync(e,!0);if(!t&&l&&!s&&a){const t=await this.processAndValidateRefreshHandler();return(null==t?void 0:t.access_token)&&this.setCredentials(t),this.requestAsync(e,!0)}}throw n}return n}verifyIdToken(e,t){if(t&&"function"!=typeof t)throw new Error("This method accepts an options object as the first parameter, which includes the idToken, audience, and maxExpiry.");if(!t)return this.verifyIdTokenAsync(e);this.verifyIdTokenAsync(e).then((e=>t(null,e)),t)}async verifyIdTokenAsync(e){if(!e.idToken)throw new Error("The verifyIdToken method requires an ID Token");const t=await this.getFederatedSignonCertsAsync();return await this.verifySignedJwtWithCertsAsync(e.idToken,t.certs,e.audience,d.ISSUERS_,e.maxExpiry)}async getTokenInfo(e){const{data:t}=await this.transporter.request({method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:`Bearer ${e}`},url:d.GOOGLE_TOKEN_INFO_URL}),n=Object.assign({expiry_date:(new Date).getTime()+1e3*t.expires_in,scopes:t.scope.split(" ")},t);return delete n.expires_in,delete n.scope,n}getFederatedSignonCerts(e){if(!e)return this.getFederatedSignonCertsAsync();this.getFederatedSignonCertsAsync().then((t=>e(null,t.certs,t.res)),e)}async getFederatedSignonCertsAsync(){const e=(new Date).getTime(),t=(0,s.hasBrowserCrypto)()?p.JWK:p.PEM;if(this.certificateExpiry&&ee(null,t.pubkeys,t.res)),e)}async getIapPublicKeysAsync(){let e;const t=d.GOOGLE_OAUTH2_IAP_PUBLIC_KEY_URL_;try{e=await this.transporter.request({url:t})}catch(e){throw e instanceof Error&&(e.message=`Failed to retrieve verification certificates: ${e.message}`),e}return{pubkeys:e.data,res:e}}verifySignedJwtWithCerts(){throw new Error("verifySignedJwtWithCerts is removed, please use verifySignedJwtWithCertsAsync instead.")}async verifySignedJwtWithCertsAsync(e,t,n,o,r){const i=(0,s.createCrypto)();r||(r=d.MAX_TOKEN_LIFETIME_SECS_);const l=e.split(".");if(3!==l.length)throw new Error("Wrong number of segments in token: "+e);const p=l[0]+"."+l[1];let u,g,f=l[2];try{u=JSON.parse(i.decodeBase64StringUtf8(l[0]))}catch(e){throw e instanceof Error&&(e.message=`Can't parse token envelope: ${l[0]}': ${e.message}`),e}if(!u)throw new Error("Can't parse token envelope: "+l[0]);try{g=JSON.parse(i.decodeBase64StringUtf8(l[1]))}catch(e){throw e instanceof Error&&(e.message=`Can't parse token payload '${l[0]}`),e}if(!g)throw new Error("Can't parse token payload: "+l[1]);if(!Object.prototype.hasOwnProperty.call(t,u.kid))throw new Error("No pem found for envelope: "+JSON.stringify(u));const h=t[u.kid];if("ES256"===u.alg&&(f=a.joseToDer(f,"ES256").toString("base64")),!await i.verify(h,p,f))throw new Error("Invalid token signature: "+e);if(!g.iat)throw new Error("No issue time in token: "+JSON.stringify(g));if(!g.exp)throw new Error("No expiration time in token: "+JSON.stringify(g));const m=Number(g.iat);if(isNaN(m))throw new Error("iat field using invalid format");const y=Number(g.exp);if(isNaN(y))throw new Error("exp field using invalid format");const v=(new Date).getTime()/1e3;if(y>=v+r)throw new Error("Expiration time too far in future: "+JSON.stringify(g));const b=m-d.CLOCK_SKEW_SECS_,O=y+d.CLOCK_SKEW_SECS_;if(vO)throw new Error("Token used too late, "+v+" > "+O+": "+JSON.stringify(g));if(o&&o.indexOf(g.iss)<0)throw new Error("Invalid issuer, expected one of ["+o+"], but got "+g.iss);if(null!=n){const e=g.aud;let t=!1;if(t=n.constructor===Array?n.indexOf(e)>-1:e===n,!t)throw new Error("Wrong recipient, payload audience != requiredAudience")}return new c.LoginTicket(u,g)}async processAndValidateRefreshHandler(){if(this.refreshHandler){const e=await this.refreshHandler();if(!e.access_token)throw new Error("No access token is returned by the refreshHandler callback.");return e}}isTokenExpiring(){const e=this.credentials.expiry_date;return!!e&&e<=(new Date).getTime()+this.eagerRefreshThresholdMillis}}t.OAuth2Client=d,d.GOOGLE_TOKEN_INFO_URL="https://oauth2.googleapis.com/tokeninfo",d.GOOGLE_OAUTH2_AUTH_BASE_URL_="https://accounts.google.com/o/oauth2/v2/auth",d.GOOGLE_OAUTH2_TOKEN_URL_="https://oauth2.googleapis.com/token",d.GOOGLE_OAUTH2_REVOKE_URL_="https://oauth2.googleapis.com/revoke",d.GOOGLE_OAUTH2_FEDERATED_SIGNON_PEM_CERTS_URL_="https://www.googleapis.com/oauth2/v1/certs",d.GOOGLE_OAUTH2_FEDERATED_SIGNON_JWK_CERTS_URL_="https://www.googleapis.com/oauth2/v3/certs",d.GOOGLE_OAUTH2_IAP_PUBLIC_KEY_URL_="https://www.gstatic.com/iap/verify/public_key",d.CLOCK_SKEW_SECS_=300,d.MAX_TOKEN_LIFETIME_SECS_=86400,d.ISSUERS_=["accounts.google.com","https://accounts.google.com"]},77863:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorFromOAuthErrorResponse=t.OAuthClientAuthHandler=void 0;const o=n(63477),r=n(57489),i=["PUT","POST","PATCH"];t.OAuthClientAuthHandler=class{constructor(e){this.clientAuthentication=e,this.crypto=(0,r.createCrypto)()}applyClientAuthenticationOptions(e,t){this.injectAuthenticatedHeaders(e,t),t||this.injectAuthenticatedRequestBody(e)}injectAuthenticatedHeaders(e,t){var n;if(t)e.headers=e.headers||{},Object.assign(e.headers,{Authorization:`Bearer ${t}}`});else if("basic"===(null===(n=this.clientAuthentication)||void 0===n?void 0:n.confidentialClientType)){e.headers=e.headers||{};const t=this.clientAuthentication.clientId,n=this.clientAuthentication.clientSecret||"",o=this.crypto.encodeBase64StringUtf8(`${t}:${n}`);Object.assign(e.headers,{Authorization:`Basic ${o}`})}}injectAuthenticatedRequestBody(e){var t;if("request-body"===(null===(t=this.clientAuthentication)||void 0===t?void 0:t.confidentialClientType)){const t=(e.method||"GET").toUpperCase();if(-1===i.indexOf(t))throw new Error(`${t} HTTP method does not support ${this.clientAuthentication.confidentialClientType} client authentication`);{let t;const n=e.headers||{};for(const e in n)if("content-type"===e.toLowerCase()&&n[e]){t=n[e].toLowerCase();break}if("application/x-www-form-urlencoded"===t){e.data=e.data||"";const t=o.parse(e.data);Object.assign(t,{client_id:this.clientAuthentication.clientId,client_secret:this.clientAuthentication.clientSecret||""}),e.data=o.stringify(t)}else{if("application/json"!==t)throw new Error(`${t} content-types are not supported with ${this.clientAuthentication.confidentialClientType} client authentication`);e.data=e.data||{},Object.assign(e.data,{client_id:this.clientAuthentication.clientId,client_secret:this.clientAuthentication.clientSecret||""})}}}}},t.getErrorFromOAuthErrorResponse=function(e,t){const n=e.error,o=e.error_description,r=e.error_uri;let i=`Error code ${n}`;void 0!==o&&(i+=`: ${o}`),void 0!==r&&(i+=` - ${r}`);const a=new Error(i);if(t){const e=Object.keys(t);t.stack&&e.push("stack"),e.forEach((e=>{"message"!==e&&Object.defineProperty(a,e,{value:t[e],writable:!1,enumerable:!0})}))}return a}},45001:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PluggableAuthClient=t.ExecutableError=void 0;const o=n(36045),r=n(11331),i=n(34439);class a extends Error{constructor(e,t){super(`The executable failed with exit code: ${t} and error message: ${e}.`),this.code=t,Object.setPrototypeOf(this,new.target.prototype)}}t.ExecutableError=a;class s extends o.BaseExternalAccountClient{constructor(e,t){if(super(e,t),!e.credential_source.executable)throw new Error('No valid Pluggable Auth "credential_source" provided.');if(this.command=e.credential_source.executable.command,!this.command)throw new Error('No valid Pluggable Auth "credential_source" provided.');if(void 0===e.credential_source.executable.timeout_millis)this.timeoutMillis=3e4;else if(this.timeoutMillis=e.credential_source.executable.timeout_millis,this.timeoutMillis<5e3||this.timeoutMillis>12e4)throw new Error("Timeout must be between 5000 and 120000 milliseconds.");this.outputFile=e.credential_source.executable.output_file,this.handler=new i.PluggableAuthHandler({command:this.command,timeoutMillis:this.timeoutMillis,outputFile:this.outputFile})}async retrieveSubjectToken(){if("1"!==process.env.GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES)throw new Error("Pluggable Auth executables need to be explicitly allowed to run by setting the GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES environment Variable to 1.");let e;if(this.outputFile&&(e=await this.handler.retrieveCachedResponse()),!e){const t=new Map;t.set("GOOGLE_EXTERNAL_ACCOUNT_AUDIENCE",this.audience),t.set("GOOGLE_EXTERNAL_ACCOUNT_TOKEN_TYPE",this.subjectTokenType),t.set("GOOGLE_EXTERNAL_ACCOUNT_INTERACTIVE","0"),this.outputFile&&t.set("GOOGLE_EXTERNAL_ACCOUNT_OUTPUT_FILE",this.outputFile);const n=this.getServiceAccountEmail();n&&t.set("GOOGLE_EXTERNAL_ACCOUNT_IMPERSONATED_EMAIL",n),e=await this.handler.retrieveResponseFromExecutable(t)}if(e.version>1)throw new Error("Version of executable is not currently supported, maximum supported version is 1.");if(!e.success)throw new a(e.errorMessage,e.errorCode);if(this.outputFile&&!e.expirationTime)throw new r.InvalidExpirationTimeFieldError("The executable response must contain the `expiration_time` field for successful responses when an output_file has been specified in the configuration.");if(e.isExpired())throw new Error("Executable response is expired.");return e.subjectToken}}t.PluggableAuthClient=s},34439:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PluggableAuthHandler=void 0;const o=n(45001),r=n(11331),i=n(32081),a=n(57147);class s{constructor(e){if(!e.command)throw new Error("No command provided.");if(this.commandComponents=s.parseCommand(e.command),this.timeoutMillis=e.timeoutMillis,!this.timeoutMillis)throw new Error("No timeoutMillis provided.");this.outputFile=e.outputFile}retrieveResponseFromExecutable(e){return new Promise(((t,n)=>{const a=i.spawn(this.commandComponents[0],this.commandComponents.slice(1),{env:{...process.env,...Object.fromEntries(e)}});let s="";a.stdout.on("data",(e=>{s+=e})),a.stderr.on("data",(e=>{s+=e}));const l=setTimeout((()=>(a.removeAllListeners(),a.kill(),n(new Error("The executable failed to finish within the timeout specified.")))),this.timeoutMillis);a.on("close",(e=>{if(clearTimeout(l),0!==e)return n(new o.ExecutableError(s,e.toString()));try{const e=JSON.parse(s),n=new r.ExecutableResponse(e);return t(n)}catch(e){return e instanceof r.ExecutableResponseError?n(e):n(new r.ExecutableResponseError(`The executable returned an invalid response: ${s}`))}}))}))}async retrieveCachedResponse(){if(!this.outputFile||0===this.outputFile.length)return;let e;try{e=await a.promises.realpath(this.outputFile)}catch(e){return}if(!(await a.promises.lstat(e)).isFile())return;const t=await a.promises.readFile(e,{encoding:"utf8"});if(""!==t)try{const e=JSON.parse(t);return new r.ExecutableResponse(e).isValid()?new r.ExecutableResponse(e):void 0}catch(e){if(e instanceof r.ExecutableResponseError)throw e;throw new r.ExecutableResponseError(`The output file contained an invalid response: ${t}`)}}static parseCommand(e){const t=e.match(/(?:[^\s"]+|"[^"]*")+/g);if(!t)throw new Error(`Provided command: "${e}" could not be parsed.`);for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserRefreshClient=void 0;const o=n(7057);class r extends o.OAuth2Client{constructor(e,t,n,o,r){const i=e&&"object"==typeof e?e:{clientId:e,clientSecret:t,refreshToken:n,eagerRefreshThresholdMillis:o,forceRefreshOnFailure:r};super({clientId:i.clientId,clientSecret:i.clientSecret,eagerRefreshThresholdMillis:i.eagerRefreshThresholdMillis,forceRefreshOnFailure:i.forceRefreshOnFailure}),this._refreshToken=i.refreshToken,this.credentials.refresh_token=i.refreshToken}async refreshTokenNoCache(e){return super.refreshTokenNoCache(this._refreshToken)}fromJSON(e){if(!e)throw new Error("Must pass in a JSON object containing the user refresh token");if("authorized_user"!==e.type)throw new Error('The incoming JSON object does not have the "authorized_user" type');if(!e.client_id)throw new Error("The incoming JSON object does not contain a client_id field");if(!e.client_secret)throw new Error("The incoming JSON object does not contain a client_secret field");if(!e.refresh_token)throw new Error("The incoming JSON object does not contain a refresh_token field");this._clientId=e.client_id,this._clientSecret=e.client_secret,this._refreshToken=e.refresh_token,this.credentials.refresh_token=e.refresh_token,this.quotaProjectId=e.quota_project_id}fromStream(e,t){if(!t)return this.fromStreamAsync(e);this.fromStreamAsync(e).then((()=>t()),t)}async fromStreamAsync(e){return new Promise(((t,n)=>{if(!e)return n(new Error("Must pass in a stream containing the user refresh token."));let o="";e.setEncoding("utf8").on("error",n).on("data",(e=>o+=e)).on("end",(()=>{try{const e=JSON.parse(o);return this.fromJSON(e),t()}catch(e){return n(e)}}))}))}}t.UserRefreshClient=r},46185:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StsCredentials=void 0;const o=n(3830),r=n(63477),i=n(66484),a=n(77863);class s extends a.OAuthClientAuthHandler{constructor(e,t){super(t),this.tokenExchangeEndpoint=e,this.transporter=new i.DefaultTransporter}async exchangeToken(e,t,n){var i,s,l;const c={grant_type:e.grantType,resource:e.resource,audience:e.audience,scope:null===(i=e.scope)||void 0===i?void 0:i.join(" "),requested_token_type:e.requestedTokenType,subject_token:e.subjectToken,subject_token_type:e.subjectTokenType,actor_token:null===(s=e.actingParty)||void 0===s?void 0:s.actorToken,actor_token_type:null===(l=e.actingParty)||void 0===l?void 0:l.actorTokenType,options:n&&JSON.stringify(n)};Object.keys(c).forEach((e=>{void 0===c[e]&&delete c[e]}));const p={"Content-Type":"application/x-www-form-urlencoded"};Object.assign(p,t||{});const u={url:this.tokenExchangeEndpoint,method:"POST",headers:p,data:r.stringify(c),responseType:"json"};this.applyClientAuthenticationOptions(u);try{const e=await this.transporter.request(u),t=e.data;return t.res=e,t}catch(e){if(e instanceof o.GaxiosError&&e.response)throw(0,a.getErrorFromOAuthErrorResponse)(e.response.data,e);throw e}}}t.StsCredentials=s},58245:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserCrypto=void 0;const o=n(26446);"undefined"==typeof process&&"undefined"==typeof TextEncoder&&n(99707);const r=n(57489);class i{constructor(){if("undefined"==typeof window||void 0===window.crypto||void 0===window.crypto.subtle)throw new Error("SubtleCrypto not found. Make sure it's an https:// website.")}async sha256DigestBase64(e){const t=(new TextEncoder).encode(e),n=await window.crypto.subtle.digest("SHA-256",t);return o.fromByteArray(new Uint8Array(n))}randomBytesBase64(e){const t=new Uint8Array(e);return window.crypto.getRandomValues(t),o.fromByteArray(t)}static padBase64(e){for(;e.length%4!=0;)e+="=";return e}async verify(e,t,n){const r={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},a=(new TextEncoder).encode(t),s=o.toByteArray(i.padBase64(n)),l=await window.crypto.subtle.importKey("jwk",e,r,!0,["verify"]);return await window.crypto.subtle.verify(r,l,s,a)}async sign(e,t){const n={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},r=(new TextEncoder).encode(t),i=await window.crypto.subtle.importKey("jwk",e,n,!0,["sign"]),a=await window.crypto.subtle.sign(n,i,r);return o.fromByteArray(new Uint8Array(a))}decodeBase64StringUtf8(e){const t=o.toByteArray(i.padBase64(e));return(new TextDecoder).decode(t)}encodeBase64StringUtf8(e){const t=(new TextEncoder).encode(e);return o.fromByteArray(t)}async sha256DigestHex(e){const t=(new TextEncoder).encode(e),n=await window.crypto.subtle.digest("SHA-256",t);return(0,r.fromArrayBufferToHex)(n)}async signWithHmacSha256(e,t){const n="string"==typeof e?e:String.fromCharCode(...new Uint16Array(e)),o=new TextEncoder,r=await window.crypto.subtle.importKey("raw",o.encode(n),{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]);return window.crypto.subtle.sign("HMAC",r,o.encode(t))}}t.BrowserCrypto=i},57489:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromArrayBufferToHex=t.hasBrowserCrypto=t.createCrypto=void 0;const o=n(58245),r=n(26967);function i(){return"undefined"!=typeof window&&void 0!==window.crypto&&void 0!==window.crypto.subtle}t.createCrypto=function(){return i()?new o.BrowserCrypto:new r.NodeCrypto},t.hasBrowserCrypto=i,t.fromArrayBufferToHex=function(e){return Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")}},26967:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeCrypto=void 0;const o=n(6113);t.NodeCrypto=class{async sha256DigestBase64(e){return o.createHash("sha256").update(e).digest("base64")}randomBytesBase64(e){return o.randomBytes(e).toString("base64")}async verify(e,t,n){const r=o.createVerify("sha256");return r.update(t),r.end(),r.verify(e,n,"base64")}async sign(e,t){const n=o.createSign("RSA-SHA256");return n.update(t),n.end(),n.sign(e,"base64")}decodeBase64StringUtf8(e){return Buffer.from(e,"base64").toString("utf-8")}encodeBase64StringUtf8(e){return Buffer.from(e,"utf-8").toString("base64")}async sha256DigestHex(e){return o.createHash("sha256").update(e).digest("hex")}async signWithHmacSha256(e,t){const n="string"==typeof e?e:(r=e,Buffer.from(r));var r,i;return(i=o.createHmac("sha256",n).update(t).digest()).buffer.slice(i.byteOffset,i.byteOffset+i.byteLength)}}},81173:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAuth=t.auth=t.DefaultTransporter=t.PluggableAuthClient=t.DownscopedClient=t.BaseExternalAccountClient=t.ExternalAccountClient=t.IdentityPoolClient=t.AwsClient=t.UserRefreshClient=t.LoginTicket=t.OAuth2Client=t.CodeChallengeMethod=t.Impersonated=t.JWT=t.JWTAccess=t.IdTokenClient=t.IAMAuth=t.GCPEnv=t.Compute=t.AuthClient=void 0;const o=n(53576);Object.defineProperty(t,"GoogleAuth",{enumerable:!0,get:function(){return o.GoogleAuth}});var r=n(78478);Object.defineProperty(t,"AuthClient",{enumerable:!0,get:function(){return r.AuthClient}});var i=n(80349);Object.defineProperty(t,"Compute",{enumerable:!0,get:function(){return i.Compute}});var a=n(48103);Object.defineProperty(t,"GCPEnv",{enumerable:!0,get:function(){return a.GCPEnv}});var s=n(88691);Object.defineProperty(t,"IAMAuth",{enumerable:!0,get:function(){return s.IAMAuth}});var l=n(73729);Object.defineProperty(t,"IdTokenClient",{enumerable:!0,get:function(){return l.IdTokenClient}});var c=n(48333);Object.defineProperty(t,"JWTAccess",{enumerable:!0,get:function(){return c.JWTAccess}});var p=n(14342);Object.defineProperty(t,"JWT",{enumerable:!0,get:function(){return p.JWT}});var u=n(88060);Object.defineProperty(t,"Impersonated",{enumerable:!0,get:function(){return u.Impersonated}});var d=n(7057);Object.defineProperty(t,"CodeChallengeMethod",{enumerable:!0,get:function(){return d.CodeChallengeMethod}}),Object.defineProperty(t,"OAuth2Client",{enumerable:!0,get:function(){return d.OAuth2Client}});var g=n(1984);Object.defineProperty(t,"LoginTicket",{enumerable:!0,get:function(){return g.LoginTicket}});var f=n(3625);Object.defineProperty(t,"UserRefreshClient",{enumerable:!0,get:function(){return f.UserRefreshClient}});var h=n(30011);Object.defineProperty(t,"AwsClient",{enumerable:!0,get:function(){return h.AwsClient}});var m=n(60695);Object.defineProperty(t,"IdentityPoolClient",{enumerable:!0,get:function(){return m.IdentityPoolClient}});var y=n(30228);Object.defineProperty(t,"ExternalAccountClient",{enumerable:!0,get:function(){return y.ExternalAccountClient}});var v=n(36045);Object.defineProperty(t,"BaseExternalAccountClient",{enumerable:!0,get:function(){return v.BaseExternalAccountClient}});var b=n(75620);Object.defineProperty(t,"DownscopedClient",{enumerable:!0,get:function(){return b.DownscopedClient}});var O=n(45001);Object.defineProperty(t,"PluggableAuthClient",{enumerable:!0,get:function(){return O.PluggableAuthClient}});var w=n(66484);Object.defineProperty(t,"DefaultTransporter",{enumerable:!0,get:function(){return w.DefaultTransporter}});const P=new o.GoogleAuth;t.auth=P},53693:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validate=void 0,t.validate=function(e){const t=[{invalid:"uri",expected:"url"},{invalid:"json",expected:"data"},{invalid:"qs",expected:"params"}];for(const n of t)if(e[n.invalid]){const e=`'${n.invalid}' is not a valid configuration option. Please use '${n.expected}' instead. This library is using Axios for requests. Please see https://github.com/axios/axios to learn more about the valid request options.`;throw new Error(e)}}},66484:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultTransporter=void 0;const o=n(3830),r=n(53693),i=n(39665),a="google-api-nodejs-client";class s{configure(e={}){if(e.headers=e.headers||{},"undefined"==typeof window){const t=e.headers["User-Agent"];t?t.includes(`${a}/`)||(e.headers["User-Agent"]=`${t} ${s.USER_AGENT}`):e.headers["User-Agent"]=s.USER_AGENT;const n=`auth/${i.version}`;if(e.headers["x-goog-api-client"]&&!e.headers["x-goog-api-client"].includes(n))e.headers["x-goog-api-client"]=`${e.headers["x-goog-api-client"]} ${n}`;else if(!e.headers["x-goog-api-client"]){const t=process.version.replace(/^v/,"");e.headers["x-goog-api-client"]=`gl-node/${t} ${n}`}}return e}request(e,t){e=this.configure(e);try{(0,r.validate)(e)}catch(e){if(t)return t(e);throw e}if(!t)return(0,o.request)(e).catch((e=>{throw this.processError(e)}));(0,o.request)(e).then((e=>{t(null,e)}),(e=>{t(this.processError(e))}))}processError(e){const t=e.response,n=e,o=t?t.data:null;return t&&o&&o.error&&200!==t.status?"string"==typeof o.error?(n.message=o.error,n.code=t.status.toString()):Array.isArray(o.error.errors)?(n.message=o.error.errors.map((e=>e.message)).join("\n"),n.code=o.error.code,n.errors=o.error.errors):(n.message=o.error.message,n.code=o.error.code||t.status):t&&t.status>=400&&(n.message=o,n.code=t.status.toString()),n}}t.DefaultTransporter=s,s.USER_AGENT=`${a}/${i.version}`},89255:function(e,t,n){var o,r,i;r=[n(1740)],void 0===(i="function"==typeof(o=function(e){"use strict";var t,n,o,r,i,a,s,l,c,p=e.Reader,u=e.Writer,d=e.util,g=e.roots.iam_protos||(e.roots.iam_protos={});return g.google=((c={}).iam=((o={}).v1=((n={}).IAMPolicy=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.setIamPolicy=function e(t,n){return this.rpcCall(e,g.google.iam.v1.SetIamPolicyRequest,g.google.iam.v1.Policy,t,n)},"name",{value:"SetIamPolicy"}),Object.defineProperty(t.prototype.getIamPolicy=function e(t,n){return this.rpcCall(e,g.google.iam.v1.GetIamPolicyRequest,g.google.iam.v1.Policy,t,n)},"name",{value:"GetIamPolicy"}),Object.defineProperty(t.prototype.testIamPermissions=function e(t,n){return this.rpcCall(e,g.google.iam.v1.TestIamPermissionsRequest,g.google.iam.v1.TestIamPermissionsResponse,t,n)},"name",{value:"TestIamPermissions"}),t}(),n.SetIamPolicyRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.resource=e.string();break;case 2:o.policy=g.google.iam.v1.Policy.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.resource&&e.hasOwnProperty("resource")&&!d.isString(e.resource))return"resource: string expected";if(null!=e.policy&&e.hasOwnProperty("policy")){var t=g.google.iam.v1.Policy.verify(e.policy);if(t)return"policy."+t}return null},t.fromObject=function(e){if(e instanceof g.google.iam.v1.SetIamPolicyRequest)return e;var t=new g.google.iam.v1.SetIamPolicyRequest;if(null!=e.resource&&(t.resource=String(e.resource)),null!=e.policy){if("object"!=typeof e.policy)throw TypeError(".google.iam.v1.SetIamPolicyRequest.policy: object expected");t.policy=g.google.iam.v1.Policy.fromObject(e.policy)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.resource="",n.policy=null),null!=e.resource&&e.hasOwnProperty("resource")&&(n.resource=e.resource),null!=e.policy&&e.hasOwnProperty("policy")&&(n.policy=g.google.iam.v1.Policy.toObject(e.policy,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),n.GetIamPolicyRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.resource=e.string();break;case 2:o.options=g.google.iam.v1.GetPolicyOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.resource&&e.hasOwnProperty("resource")&&!d.isString(e.resource))return"resource: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=g.google.iam.v1.GetPolicyOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof g.google.iam.v1.GetIamPolicyRequest)return e;var t=new g.google.iam.v1.GetIamPolicyRequest;if(null!=e.resource&&(t.resource=String(e.resource)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.iam.v1.GetIamPolicyRequest.options: object expected");t.options=g.google.iam.v1.GetPolicyOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.resource="",n.options=null),null!=e.resource&&e.hasOwnProperty("resource")&&(n.resource=e.resource),null!=e.options&&e.hasOwnProperty("options")&&(n.options=g.google.iam.v1.GetPolicyOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),n.TestIamPermissionsRequest=function(){function t(e){if(this.permissions=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.resource=e.string();break;case 2:o.permissions&&o.permissions.length||(o.permissions=[]),o.permissions.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.resource&&e.hasOwnProperty("resource")&&!d.isString(e.resource))return"resource: string expected";if(null!=e.permissions&&e.hasOwnProperty("permissions")){if(!Array.isArray(e.permissions))return"permissions: array expected";for(var t=0;t>>3==1?(o.permissions&&o.permissions.length||(o.permissions=[]),o.permissions.push(e.string())):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.permissions&&e.hasOwnProperty("permissions")){if(!Array.isArray(e.permissions))return"permissions: array expected";for(var t=0;t>>3==1?o.requestedPolicyVersion=e.int32():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.requestedPolicyVersion&&e.hasOwnProperty("requestedPolicyVersion")&&!d.isInteger(e.requestedPolicyVersion)?"requestedPolicyVersion: integer expected":null},t.fromObject=function(e){if(e instanceof g.google.iam.v1.GetPolicyOptions)return e;var t=new g.google.iam.v1.GetPolicyOptions;return null!=e.requestedPolicyVersion&&(t.requestedPolicyVersion=0|e.requestedPolicyVersion),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.requestedPolicyVersion=0),null!=e.requestedPolicyVersion&&e.hasOwnProperty("requestedPolicyVersion")&&(n.requestedPolicyVersion=e.requestedPolicyVersion),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),n.Policy=function(){function t(e){if(this.bindings=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.version=e.int32();break;case 4:o.bindings&&o.bindings.length||(o.bindings=[]),o.bindings.push(g.google.iam.v1.Binding.decode(e,e.uint32()));break;case 3:o.etag=e.bytes();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.version&&e.hasOwnProperty("version")&&!d.isInteger(e.version))return"version: integer expected";if(null!=e.bindings&&e.hasOwnProperty("bindings")){if(!Array.isArray(e.bindings))return"bindings: array expected";for(var t=0;t>>3){case 1:o.role=e.string();break;case 2:o.members&&o.members.length||(o.members=[]),o.members.push(e.string());break;case 3:o.condition=g.google.type.Expr.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.role&&e.hasOwnProperty("role")&&!d.isString(e.role))return"role: string expected";if(null!=e.members&&e.hasOwnProperty("members")){if(!Array.isArray(e.members))return"members: array expected";for(var t=0;t>>3){case 1:o.bindingDeltas&&o.bindingDeltas.length||(o.bindingDeltas=[]),o.bindingDeltas.push(g.google.iam.v1.BindingDelta.decode(e,e.uint32()));break;case 2:o.auditConfigDeltas&&o.auditConfigDeltas.length||(o.auditConfigDeltas=[]),o.auditConfigDeltas.push(g.google.iam.v1.AuditConfigDelta.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.bindingDeltas&&e.hasOwnProperty("bindingDeltas")){if(!Array.isArray(e.bindingDeltas))return"bindingDeltas: array expected";for(var t=0;t>>3){case 1:o.action=e.int32();break;case 2:o.role=e.string();break;case 3:o.member=e.string();break;case 4:o.condition=g.google.type.Expr.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.action&&e.hasOwnProperty("action"))switch(e.action){default:return"action: enum value expected";case 0:case 1:case 2:}if(null!=e.role&&e.hasOwnProperty("role")&&!d.isString(e.role))return"role: string expected";if(null!=e.member&&e.hasOwnProperty("member")&&!d.isString(e.member))return"member: string expected";if(null!=e.condition&&e.hasOwnProperty("condition")){var t=g.google.type.Expr.verify(e.condition);if(t)return"condition."+t}return null},t.fromObject=function(e){if(e instanceof g.google.iam.v1.BindingDelta)return e;var t=new g.google.iam.v1.BindingDelta;switch(e.action){case"ACTION_UNSPECIFIED":case 0:t.action=0;break;case"ADD":case 1:t.action=1;break;case"REMOVE":case 2:t.action=2}if(null!=e.role&&(t.role=String(e.role)),null!=e.member&&(t.member=String(e.member)),null!=e.condition){if("object"!=typeof e.condition)throw TypeError(".google.iam.v1.BindingDelta.condition: object expected");t.condition=g.google.type.Expr.fromObject(e.condition)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.action=t.enums===String?"ACTION_UNSPECIFIED":0,n.role="",n.member="",n.condition=null),null!=e.action&&e.hasOwnProperty("action")&&(n.action=t.enums===String?g.google.iam.v1.BindingDelta.Action[e.action]:e.action),null!=e.role&&e.hasOwnProperty("role")&&(n.role=e.role),null!=e.member&&e.hasOwnProperty("member")&&(n.member=e.member),null!=e.condition&&e.hasOwnProperty("condition")&&(n.condition=g.google.type.Expr.toObject(e.condition,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.Action=(n={},(o=Object.create(n))[n[0]="ACTION_UNSPECIFIED"]=0,o[n[1]="ADD"]=1,o[n[2]="REMOVE"]=2,o),t}(),n.AuditConfigDelta=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.action=e.int32();break;case 2:o.service=e.string();break;case 3:o.exemptedMember=e.string();break;case 4:o.logType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.action&&e.hasOwnProperty("action"))switch(e.action){default:return"action: enum value expected";case 0:case 1:case 2:}return null!=e.service&&e.hasOwnProperty("service")&&!d.isString(e.service)?"service: string expected":null!=e.exemptedMember&&e.hasOwnProperty("exemptedMember")&&!d.isString(e.exemptedMember)?"exemptedMember: string expected":null!=e.logType&&e.hasOwnProperty("logType")&&!d.isString(e.logType)?"logType: string expected":null},t.fromObject=function(e){if(e instanceof g.google.iam.v1.AuditConfigDelta)return e;var t=new g.google.iam.v1.AuditConfigDelta;switch(e.action){case"ACTION_UNSPECIFIED":case 0:t.action=0;break;case"ADD":case 1:t.action=1;break;case"REMOVE":case 2:t.action=2}return null!=e.service&&(t.service=String(e.service)),null!=e.exemptedMember&&(t.exemptedMember=String(e.exemptedMember)),null!=e.logType&&(t.logType=String(e.logType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.action=t.enums===String?"ACTION_UNSPECIFIED":0,n.service="",n.exemptedMember="",n.logType=""),null!=e.action&&e.hasOwnProperty("action")&&(n.action=t.enums===String?g.google.iam.v1.AuditConfigDelta.Action[e.action]:e.action),null!=e.service&&e.hasOwnProperty("service")&&(n.service=e.service),null!=e.exemptedMember&&e.hasOwnProperty("exemptedMember")&&(n.exemptedMember=e.exemptedMember),null!=e.logType&&e.hasOwnProperty("logType")&&(n.logType=e.logType),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.Action=(n={},(o=Object.create(n))[n[0]="ACTION_UNSPECIFIED"]=0,o[n[1]="ADD"]=1,o[n[2]="REMOVE"]=2,o),t}(),n.logging=((t={}).AuditData=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==2?o.policyDelta=g.google.iam.v1.PolicyDelta.decode(e,e.uint32()):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.policyDelta&&e.hasOwnProperty("policyDelta")){var t=g.google.iam.v1.PolicyDelta.verify(e.policyDelta);if(t)return"policyDelta."+t}return null},t.fromObject=function(e){if(e instanceof g.google.iam.v1.logging.AuditData)return e;var t=new g.google.iam.v1.logging.AuditData;if(null!=e.policyDelta){if("object"!=typeof e.policyDelta)throw TypeError(".google.iam.v1.logging.AuditData.policyDelta: object expected");t.policyDelta=g.google.iam.v1.PolicyDelta.fromObject(e.policyDelta)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.policyDelta=null),null!=e.policyDelta&&e.hasOwnProperty("policyDelta")&&(n.policyDelta=g.google.iam.v1.PolicyDelta.toObject(e.policyDelta,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t),n),o),c.api=((a={}).Http=function(){function t(e){if(this.rules=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.rules&&o.rules.length||(o.rules=[]),o.rules.push(g.google.api.HttpRule.decode(e,e.uint32()));break;case 2:o.fullyDecodeReservedExpansion=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.rules&&e.hasOwnProperty("rules")){if(!Array.isArray(e.rules))return"rules: array expected";for(var t=0;t>>3){case 1:o.selector=e.string();break;case 2:o.get=e.string();break;case 3:o.put=e.string();break;case 4:o.post=e.string();break;case 5:o.delete=e.string();break;case 6:o.patch=e.string();break;case 8:o.custom=g.google.api.CustomHttpPattern.decode(e,e.uint32());break;case 7:o.body=e.string();break;case 12:o.responseBody=e.string();break;case 11:o.additionalBindings&&o.additionalBindings.length||(o.additionalBindings=[]),o.additionalBindings.push(g.google.api.HttpRule.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t={};if(null!=e.selector&&e.hasOwnProperty("selector")&&!d.isString(e.selector))return"selector: string expected";if(null!=e.get&&e.hasOwnProperty("get")&&(t.pattern=1,!d.isString(e.get)))return"get: string expected";if(null!=e.put&&e.hasOwnProperty("put")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!d.isString(e.put))return"put: string expected"}if(null!=e.post&&e.hasOwnProperty("post")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!d.isString(e.post))return"post: string expected"}if(null!=e.delete&&e.hasOwnProperty("delete")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!d.isString(e.delete))return"delete: string expected"}if(null!=e.patch&&e.hasOwnProperty("patch")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!d.isString(e.patch))return"patch: string expected"}if(null!=e.custom&&e.hasOwnProperty("custom")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,o=g.google.api.CustomHttpPattern.verify(e.custom))return"custom."+o}if(null!=e.body&&e.hasOwnProperty("body")&&!d.isString(e.body))return"body: string expected";if(null!=e.responseBody&&e.hasOwnProperty("responseBody")&&!d.isString(e.responseBody))return"responseBody: string expected";if(null!=e.additionalBindings&&e.hasOwnProperty("additionalBindings")){if(!Array.isArray(e.additionalBindings))return"additionalBindings: array expected";for(var n=0;n>>3){case 1:o.kind=e.string();break;case 2:o.path=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.kind&&e.hasOwnProperty("kind")&&!d.isString(e.kind)?"kind: string expected":null!=e.path&&e.hasOwnProperty("path")&&!d.isString(e.path)?"path: string expected":null},t.fromObject=function(e){if(e instanceof g.google.api.CustomHttpPattern)return e;var t=new g.google.api.CustomHttpPattern;return null!=e.kind&&(t.kind=String(e.kind)),null!=e.path&&(t.path=String(e.path)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.kind="",n.path=""),null!=e.kind&&e.hasOwnProperty("kind")&&(n.kind=e.kind),null!=e.path&&e.hasOwnProperty("path")&&(n.path=e.path),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),a.FieldBehavior=(r={},(i=Object.create(r))[r[0]="FIELD_BEHAVIOR_UNSPECIFIED"]=0,i[r[1]="OPTIONAL"]=1,i[r[2]="REQUIRED"]=2,i[r[3]="OUTPUT_ONLY"]=3,i[r[4]="INPUT_ONLY"]=4,i[r[5]="IMMUTABLE"]=5,i),a.ResourceDescriptor=function(){function t(e){if(this.pattern=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.type=e.string();break;case 2:o.pattern&&o.pattern.length||(o.pattern=[]),o.pattern.push(e.string());break;case 3:o.nameField=e.string();break;case 4:o.history=e.int32();break;case 5:o.plural=e.string();break;case 6:o.singular=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type")&&!d.isString(e.type))return"type: string expected";if(null!=e.pattern&&e.hasOwnProperty("pattern")){if(!Array.isArray(e.pattern))return"pattern: array expected";for(var t=0;t>>3){case 1:o.type=e.string();break;case 2:o.childType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.type&&e.hasOwnProperty("type")&&!d.isString(e.type)?"type: string expected":null!=e.childType&&e.hasOwnProperty("childType")&&!d.isString(e.childType)?"childType: string expected":null},t.fromObject=function(e){if(e instanceof g.google.api.ResourceReference)return e;var t=new g.google.api.ResourceReference;return null!=e.type&&(t.type=String(e.type)),null!=e.childType&&(t.childType=String(e.childType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type="",n.childType=""),null!=e.type&&e.hasOwnProperty("type")&&(n.type=e.type),null!=e.childType&&e.hasOwnProperty("childType")&&(n.childType=e.childType),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),a),c.protobuf=((s={}).FileDescriptorSet=function(){function t(e){if(this.file=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.file&&o.file.length||(o.file=[]),o.file.push(g.google.protobuf.FileDescriptorProto.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.file&&e.hasOwnProperty("file")){if(!Array.isArray(e.file))return"file: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.package=e.string();break;case 3:o.dependency&&o.dependency.length||(o.dependency=[]),o.dependency.push(e.string());break;case 10:if(o.publicDependency&&o.publicDependency.length||(o.publicDependency=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.name=e.string();break;case 2:o.field&&o.field.length||(o.field=[]),o.field.push(g.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 6:o.extension&&o.extension.length||(o.extension=[]),o.extension.push(g.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 3:o.nestedType&&o.nestedType.length||(o.nestedType=[]),o.nestedType.push(g.google.protobuf.DescriptorProto.decode(e,e.uint32()));break;case 4:o.enumType&&o.enumType.length||(o.enumType=[]),o.enumType.push(g.google.protobuf.EnumDescriptorProto.decode(e,e.uint32()));break;case 5:o.extensionRange&&o.extensionRange.length||(o.extensionRange=[]),o.extensionRange.push(g.google.protobuf.DescriptorProto.ExtensionRange.decode(e,e.uint32()));break;case 8:o.oneofDecl&&o.oneofDecl.length||(o.oneofDecl=[]),o.oneofDecl.push(g.google.protobuf.OneofDescriptorProto.decode(e,e.uint32()));break;case 7:o.options=g.google.protobuf.MessageOptions.decode(e,e.uint32());break;case 9:o.reservedRange&&o.reservedRange.length||(o.reservedRange=[]),o.reservedRange.push(g.google.protobuf.DescriptorProto.ReservedRange.decode(e,e.uint32()));break;case 10:o.reservedName&&o.reservedName.length||(o.reservedName=[]),o.reservedName.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!d.isString(e.name))return"name: string expected";if(null!=e.field&&e.hasOwnProperty("field")){if(!Array.isArray(e.field))return"field: array expected";for(var t=0;t>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;case 3:o.options=g.google.protobuf.ExtensionRangeOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.start&&e.hasOwnProperty("start")&&!d.isInteger(e.start))return"start: integer expected";if(null!=e.end&&e.hasOwnProperty("end")&&!d.isInteger(e.end))return"end: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=g.google.protobuf.ExtensionRangeOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof g.google.protobuf.DescriptorProto.ExtensionRange)return e;var t=new g.google.protobuf.DescriptorProto.ExtensionRange;if(null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.DescriptorProto.ExtensionRange.options: object expected");t.options=g.google.protobuf.ExtensionRangeOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0,n.options=null),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),null!=e.options&&e.hasOwnProperty("options")&&(n.options=g.google.protobuf.ExtensionRangeOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.ReservedRange=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!d.isInteger(e.start)?"start: integer expected":null!=e.end&&e.hasOwnProperty("end")&&!d.isInteger(e.end)?"end: integer expected":null},t.fromObject=function(e){if(e instanceof g.google.protobuf.DescriptorProto.ReservedRange)return e;var t=new g.google.protobuf.DescriptorProto.ReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),s.ExtensionRangeOptions=function(){function t(e){if(this.uninterpretedOption=[],e)for(var t=Object.keys(e),n=0;n>>3==999?(o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 3:o.number=e.int32();break;case 4:o.label=e.int32();break;case 5:o.type=e.int32();break;case 6:o.typeName=e.string();break;case 2:o.extendee=e.string();break;case 7:o.defaultValue=e.string();break;case 9:o.oneofIndex=e.int32();break;case 10:o.jsonName=e.string();break;case 8:o.options=g.google.protobuf.FieldOptions.decode(e,e.uint32());break;case 17:o.proto3Optional=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!d.isString(e.name))return"name: string expected";if(null!=e.number&&e.hasOwnProperty("number")&&!d.isInteger(e.number))return"number: integer expected";if(null!=e.label&&e.hasOwnProperty("label"))switch(e.label){default:return"label: enum value expected";case 1:case 2:case 3:}if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:}if(null!=e.typeName&&e.hasOwnProperty("typeName")&&!d.isString(e.typeName))return"typeName: string expected";if(null!=e.extendee&&e.hasOwnProperty("extendee")&&!d.isString(e.extendee))return"extendee: string expected";if(null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&!d.isString(e.defaultValue))return"defaultValue: string expected";if(null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&!d.isInteger(e.oneofIndex))return"oneofIndex: integer expected";if(null!=e.jsonName&&e.hasOwnProperty("jsonName")&&!d.isString(e.jsonName))return"jsonName: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=g.google.protobuf.FieldOptions.verify(e.options);if(t)return"options."+t}return null!=e.proto3Optional&&e.hasOwnProperty("proto3Optional")&&"boolean"!=typeof e.proto3Optional?"proto3Optional: boolean expected":null},t.fromObject=function(e){if(e instanceof g.google.protobuf.FieldDescriptorProto)return e;var t=new g.google.protobuf.FieldDescriptorProto;switch(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),e.label){case"LABEL_OPTIONAL":case 1:t.label=1;break;case"LABEL_REQUIRED":case 2:t.label=2;break;case"LABEL_REPEATED":case 3:t.label=3}switch(e.type){case"TYPE_DOUBLE":case 1:t.type=1;break;case"TYPE_FLOAT":case 2:t.type=2;break;case"TYPE_INT64":case 3:t.type=3;break;case"TYPE_UINT64":case 4:t.type=4;break;case"TYPE_INT32":case 5:t.type=5;break;case"TYPE_FIXED64":case 6:t.type=6;break;case"TYPE_FIXED32":case 7:t.type=7;break;case"TYPE_BOOL":case 8:t.type=8;break;case"TYPE_STRING":case 9:t.type=9;break;case"TYPE_GROUP":case 10:t.type=10;break;case"TYPE_MESSAGE":case 11:t.type=11;break;case"TYPE_BYTES":case 12:t.type=12;break;case"TYPE_UINT32":case 13:t.type=13;break;case"TYPE_ENUM":case 14:t.type=14;break;case"TYPE_SFIXED32":case 15:t.type=15;break;case"TYPE_SFIXED64":case 16:t.type=16;break;case"TYPE_SINT32":case 17:t.type=17;break;case"TYPE_SINT64":case 18:t.type=18}if(null!=e.typeName&&(t.typeName=String(e.typeName)),null!=e.extendee&&(t.extendee=String(e.extendee)),null!=e.defaultValue&&(t.defaultValue=String(e.defaultValue)),null!=e.oneofIndex&&(t.oneofIndex=0|e.oneofIndex),null!=e.jsonName&&(t.jsonName=String(e.jsonName)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");t.options=g.google.protobuf.FieldOptions.fromObject(e.options)}return null!=e.proto3Optional&&(t.proto3Optional=Boolean(e.proto3Optional)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.extendee="",n.number=0,n.label=t.enums===String?"LABEL_OPTIONAL":1,n.type=t.enums===String?"TYPE_DOUBLE":1,n.typeName="",n.defaultValue="",n.options=null,n.oneofIndex=0,n.jsonName="",n.proto3Optional=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.extendee&&e.hasOwnProperty("extendee")&&(n.extendee=e.extendee),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.label&&e.hasOwnProperty("label")&&(n.label=t.enums===String?g.google.protobuf.FieldDescriptorProto.Label[e.label]:e.label),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?g.google.protobuf.FieldDescriptorProto.Type[e.type]:e.type),null!=e.typeName&&e.hasOwnProperty("typeName")&&(n.typeName=e.typeName),null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&(n.defaultValue=e.defaultValue),null!=e.options&&e.hasOwnProperty("options")&&(n.options=g.google.protobuf.FieldOptions.toObject(e.options,t)),null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&(n.oneofIndex=e.oneofIndex),null!=e.jsonName&&e.hasOwnProperty("jsonName")&&(n.jsonName=e.jsonName),null!=e.proto3Optional&&e.hasOwnProperty("proto3Optional")&&(n.proto3Optional=e.proto3Optional),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.Type=function(){var e={},t=Object.create(e);return t[e[1]="TYPE_DOUBLE"]=1,t[e[2]="TYPE_FLOAT"]=2,t[e[3]="TYPE_INT64"]=3,t[e[4]="TYPE_UINT64"]=4,t[e[5]="TYPE_INT32"]=5,t[e[6]="TYPE_FIXED64"]=6,t[e[7]="TYPE_FIXED32"]=7,t[e[8]="TYPE_BOOL"]=8,t[e[9]="TYPE_STRING"]=9,t[e[10]="TYPE_GROUP"]=10,t[e[11]="TYPE_MESSAGE"]=11,t[e[12]="TYPE_BYTES"]=12,t[e[13]="TYPE_UINT32"]=13,t[e[14]="TYPE_ENUM"]=14,t[e[15]="TYPE_SFIXED32"]=15,t[e[16]="TYPE_SFIXED64"]=16,t[e[17]="TYPE_SINT32"]=17,t[e[18]="TYPE_SINT64"]=18,t}(),t.Label=function(){var e={},t=Object.create(e);return t[e[1]="LABEL_OPTIONAL"]=1,t[e[2]="LABEL_REQUIRED"]=2,t[e[3]="LABEL_REPEATED"]=3,t}(),t}(),s.OneofDescriptorProto=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.options=g.google.protobuf.OneofOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!d.isString(e.name))return"name: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=g.google.protobuf.OneofOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof g.google.protobuf.OneofDescriptorProto)return e;var t=new g.google.protobuf.OneofDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.OneofDescriptorProto.options: object expected");t.options=g.google.protobuf.OneofOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.options&&e.hasOwnProperty("options")&&(n.options=g.google.protobuf.OneofOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),s.EnumDescriptorProto=function(){function t(e){if(this.value=[],this.reservedRange=[],this.reservedName=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value&&o.value.length||(o.value=[]),o.value.push(g.google.protobuf.EnumValueDescriptorProto.decode(e,e.uint32()));break;case 3:o.options=g.google.protobuf.EnumOptions.decode(e,e.uint32());break;case 4:o.reservedRange&&o.reservedRange.length||(o.reservedRange=[]),o.reservedRange.push(g.google.protobuf.EnumDescriptorProto.EnumReservedRange.decode(e,e.uint32()));break;case 5:o.reservedName&&o.reservedName.length||(o.reservedName=[]),o.reservedName.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!d.isString(e.name))return"name: string expected";if(null!=e.value&&e.hasOwnProperty("value")){if(!Array.isArray(e.value))return"value: array expected";for(var t=0;t>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!d.isInteger(e.start)?"start: integer expected":null!=e.end&&e.hasOwnProperty("end")&&!d.isInteger(e.end)?"end: integer expected":null},t.fromObject=function(e){if(e instanceof g.google.protobuf.EnumDescriptorProto.EnumReservedRange)return e;var t=new g.google.protobuf.EnumDescriptorProto.EnumReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),s.EnumValueDescriptorProto=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.number=e.int32();break;case 3:o.options=g.google.protobuf.EnumValueOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!d.isString(e.name))return"name: string expected";if(null!=e.number&&e.hasOwnProperty("number")&&!d.isInteger(e.number))return"number: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=g.google.protobuf.EnumValueOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof g.google.protobuf.EnumValueDescriptorProto)return e;var t=new g.google.protobuf.EnumValueDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.EnumValueDescriptorProto.options: object expected");t.options=g.google.protobuf.EnumValueOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.number=0,n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.options&&e.hasOwnProperty("options")&&(n.options=g.google.protobuf.EnumValueOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),s.ServiceDescriptorProto=function(){function t(e){if(this.method=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.method&&o.method.length||(o.method=[]),o.method.push(g.google.protobuf.MethodDescriptorProto.decode(e,e.uint32()));break;case 3:o.options=g.google.protobuf.ServiceOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!d.isString(e.name))return"name: string expected";if(null!=e.method&&e.hasOwnProperty("method")){if(!Array.isArray(e.method))return"method: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.inputType=e.string();break;case 3:o.outputType=e.string();break;case 4:o.options=g.google.protobuf.MethodOptions.decode(e,e.uint32());break;case 5:o.clientStreaming=e.bool();break;case 6:o.serverStreaming=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!d.isString(e.name))return"name: string expected";if(null!=e.inputType&&e.hasOwnProperty("inputType")&&!d.isString(e.inputType))return"inputType: string expected";if(null!=e.outputType&&e.hasOwnProperty("outputType")&&!d.isString(e.outputType))return"outputType: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=g.google.protobuf.MethodOptions.verify(e.options);if(t)return"options."+t}return null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&"boolean"!=typeof e.clientStreaming?"clientStreaming: boolean expected":null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&"boolean"!=typeof e.serverStreaming?"serverStreaming: boolean expected":null},t.fromObject=function(e){if(e instanceof g.google.protobuf.MethodDescriptorProto)return e;var t=new g.google.protobuf.MethodDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.inputType&&(t.inputType=String(e.inputType)),null!=e.outputType&&(t.outputType=String(e.outputType)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.MethodDescriptorProto.options: object expected");t.options=g.google.protobuf.MethodOptions.fromObject(e.options)}return null!=e.clientStreaming&&(t.clientStreaming=Boolean(e.clientStreaming)),null!=e.serverStreaming&&(t.serverStreaming=Boolean(e.serverStreaming)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.inputType="",n.outputType="",n.options=null,n.clientStreaming=!1,n.serverStreaming=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.inputType&&e.hasOwnProperty("inputType")&&(n.inputType=e.inputType),null!=e.outputType&&e.hasOwnProperty("outputType")&&(n.outputType=e.outputType),null!=e.options&&e.hasOwnProperty("options")&&(n.options=g.google.protobuf.MethodOptions.toObject(e.options,t)),null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&(n.clientStreaming=e.clientStreaming),null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&(n.serverStreaming=e.serverStreaming),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),s.FileOptions=function(){function t(e){if(this.uninterpretedOption=[],this[".google.api.resourceDefinition"]=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.javaPackage=e.string();break;case 8:o.javaOuterClassname=e.string();break;case 10:o.javaMultipleFiles=e.bool();break;case 20:o.javaGenerateEqualsAndHash=e.bool();break;case 27:o.javaStringCheckUtf8=e.bool();break;case 9:o.optimizeFor=e.int32();break;case 11:o.goPackage=e.string();break;case 16:o.ccGenericServices=e.bool();break;case 17:o.javaGenericServices=e.bool();break;case 18:o.pyGenericServices=e.bool();break;case 42:o.phpGenericServices=e.bool();break;case 23:o.deprecated=e.bool();break;case 31:o.ccEnableArenas=e.bool();break;case 36:o.objcClassPrefix=e.string();break;case 37:o.csharpNamespace=e.string();break;case 39:o.swiftPrefix=e.string();break;case 40:o.phpClassPrefix=e.string();break;case 41:o.phpNamespace=e.string();break;case 44:o.phpMetadataNamespace=e.string();break;case 45:o.rubyPackage=e.string();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1053:o[".google.api.resourceDefinition"]&&o[".google.api.resourceDefinition"].length||(o[".google.api.resourceDefinition"]=[]),o[".google.api.resourceDefinition"].push(g.google.api.ResourceDescriptor.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.javaPackage&&e.hasOwnProperty("javaPackage")&&!d.isString(e.javaPackage))return"javaPackage: string expected";if(null!=e.javaOuterClassname&&e.hasOwnProperty("javaOuterClassname")&&!d.isString(e.javaOuterClassname))return"javaOuterClassname: string expected";if(null!=e.javaMultipleFiles&&e.hasOwnProperty("javaMultipleFiles")&&"boolean"!=typeof e.javaMultipleFiles)return"javaMultipleFiles: boolean expected";if(null!=e.javaGenerateEqualsAndHash&&e.hasOwnProperty("javaGenerateEqualsAndHash")&&"boolean"!=typeof e.javaGenerateEqualsAndHash)return"javaGenerateEqualsAndHash: boolean expected";if(null!=e.javaStringCheckUtf8&&e.hasOwnProperty("javaStringCheckUtf8")&&"boolean"!=typeof e.javaStringCheckUtf8)return"javaStringCheckUtf8: boolean expected";if(null!=e.optimizeFor&&e.hasOwnProperty("optimizeFor"))switch(e.optimizeFor){default:return"optimizeFor: enum value expected";case 1:case 2:case 3:}if(null!=e.goPackage&&e.hasOwnProperty("goPackage")&&!d.isString(e.goPackage))return"goPackage: string expected";if(null!=e.ccGenericServices&&e.hasOwnProperty("ccGenericServices")&&"boolean"!=typeof e.ccGenericServices)return"ccGenericServices: boolean expected";if(null!=e.javaGenericServices&&e.hasOwnProperty("javaGenericServices")&&"boolean"!=typeof e.javaGenericServices)return"javaGenericServices: boolean expected";if(null!=e.pyGenericServices&&e.hasOwnProperty("pyGenericServices")&&"boolean"!=typeof e.pyGenericServices)return"pyGenericServices: boolean expected";if(null!=e.phpGenericServices&&e.hasOwnProperty("phpGenericServices")&&"boolean"!=typeof e.phpGenericServices)return"phpGenericServices: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.ccEnableArenas&&e.hasOwnProperty("ccEnableArenas")&&"boolean"!=typeof e.ccEnableArenas)return"ccEnableArenas: boolean expected";if(null!=e.objcClassPrefix&&e.hasOwnProperty("objcClassPrefix")&&!d.isString(e.objcClassPrefix))return"objcClassPrefix: string expected";if(null!=e.csharpNamespace&&e.hasOwnProperty("csharpNamespace")&&!d.isString(e.csharpNamespace))return"csharpNamespace: string expected";if(null!=e.swiftPrefix&&e.hasOwnProperty("swiftPrefix")&&!d.isString(e.swiftPrefix))return"swiftPrefix: string expected";if(null!=e.phpClassPrefix&&e.hasOwnProperty("phpClassPrefix")&&!d.isString(e.phpClassPrefix))return"phpClassPrefix: string expected";if(null!=e.phpNamespace&&e.hasOwnProperty("phpNamespace")&&!d.isString(e.phpNamespace))return"phpNamespace: string expected";if(null!=e.phpMetadataNamespace&&e.hasOwnProperty("phpMetadataNamespace")&&!d.isString(e.phpMetadataNamespace))return"phpMetadataNamespace: string expected";if(null!=e.rubyPackage&&e.hasOwnProperty("rubyPackage")&&!d.isString(e.rubyPackage))return"rubyPackage: string expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.messageSetWireFormat=e.bool();break;case 2:o.noStandardDescriptorAccessor=e.bool();break;case 3:o.deprecated=e.bool();break;case 7:o.mapEntry=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1053:o[".google.api.resource"]=g.google.api.ResourceDescriptor.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.messageSetWireFormat&&e.hasOwnProperty("messageSetWireFormat")&&"boolean"!=typeof e.messageSetWireFormat)return"messageSetWireFormat: boolean expected";if(null!=e.noStandardDescriptorAccessor&&e.hasOwnProperty("noStandardDescriptorAccessor")&&"boolean"!=typeof e.noStandardDescriptorAccessor)return"noStandardDescriptorAccessor: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.mapEntry&&e.hasOwnProperty("mapEntry")&&"boolean"!=typeof e.mapEntry)return"mapEntry: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.ctype=e.int32();break;case 2:o.packed=e.bool();break;case 6:o.jstype=e.int32();break;case 5:o.lazy=e.bool();break;case 3:o.deprecated=e.bool();break;case 10:o.weak=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1052:if(o[".google.api.fieldBehavior"]&&o[".google.api.fieldBehavior"].length||(o[".google.api.fieldBehavior"]=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==999?(o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 2:o.allowAlias=e.bool();break;case 3:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.allowAlias&&e.hasOwnProperty("allowAlias")&&"boolean"!=typeof e.allowAlias)return"allowAlias: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 33:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1049:o[".google.api.defaultHost"]=e.string();break;case 1050:o[".google.api.oauthScopes"]=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 33:o.deprecated=e.bool();break;case 34:o.idempotencyLevel=e.int32();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(g.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 72295728:o[".google.api.http"]=g.google.api.HttpRule.decode(e,e.uint32());break;case 1051:o[".google.api.methodSignature"]&&o[".google.api.methodSignature"].length||(o[".google.api.methodSignature"]=[]),o[".google.api.methodSignature"].push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.idempotencyLevel&&e.hasOwnProperty("idempotencyLevel"))switch(e.idempotencyLevel){default:return"idempotencyLevel: enum value expected";case 0:case 1:case 2:}if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 2:o.name&&o.name.length||(o.name=[]),o.name.push(g.google.protobuf.UninterpretedOption.NamePart.decode(e,e.uint32()));break;case 3:o.identifierValue=e.string();break;case 4:o.positiveIntValue=e.uint64();break;case 5:o.negativeIntValue=e.int64();break;case 6:o.doubleValue=e.double();break;case 7:o.stringValue=e.bytes();break;case 8:o.aggregateValue=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")){if(!Array.isArray(e.name))return"name: array expected";for(var t=0;t>>0,e.positiveIntValue.high>>>0).toNumber(!0))),null!=e.negativeIntValue&&(d.Long?(t.negativeIntValue=d.Long.fromValue(e.negativeIntValue)).unsigned=!1:"string"==typeof e.negativeIntValue?t.negativeIntValue=parseInt(e.negativeIntValue,10):"number"==typeof e.negativeIntValue?t.negativeIntValue=e.negativeIntValue:"object"==typeof e.negativeIntValue&&(t.negativeIntValue=new d.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber())),null!=e.doubleValue&&(t.doubleValue=Number(e.doubleValue)),null!=e.stringValue&&("string"==typeof e.stringValue?d.base64.decode(e.stringValue,t.stringValue=d.newBuffer(d.base64.length(e.stringValue)),0):e.stringValue.length&&(t.stringValue=e.stringValue)),null!=e.aggregateValue&&(t.aggregateValue=String(e.aggregateValue)),t},t.toObject=function(e,t){t||(t={});var n={};if((t.arrays||t.defaults)&&(n.name=[]),t.defaults){if(n.identifierValue="",d.Long){var o=new d.Long(0,0,!0);n.positiveIntValue=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.positiveIntValue=t.longs===String?"0":0;d.Long?(o=new d.Long(0,0,!1),n.negativeIntValue=t.longs===String?o.toString():t.longs===Number?o.toNumber():o):n.negativeIntValue=t.longs===String?"0":0,n.doubleValue=0,t.bytes===String?n.stringValue="":(n.stringValue=[],t.bytes!==Array&&(n.stringValue=d.newBuffer(n.stringValue))),n.aggregateValue=""}if(e.name&&e.name.length){n.name=[];for(var r=0;r>>0,e.positiveIntValue.high>>>0).toNumber(!0):e.positiveIntValue),null!=e.negativeIntValue&&e.hasOwnProperty("negativeIntValue")&&("number"==typeof e.negativeIntValue?n.negativeIntValue=t.longs===String?String(e.negativeIntValue):e.negativeIntValue:n.negativeIntValue=t.longs===String?d.Long.prototype.toString.call(e.negativeIntValue):t.longs===Number?new d.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber():e.negativeIntValue),null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(n.doubleValue=t.json&&!isFinite(e.doubleValue)?String(e.doubleValue):e.doubleValue),null!=e.stringValue&&e.hasOwnProperty("stringValue")&&(n.stringValue=t.bytes===String?d.base64.encode(e.stringValue,0,e.stringValue.length):t.bytes===Array?Array.prototype.slice.call(e.stringValue):e.stringValue),null!=e.aggregateValue&&e.hasOwnProperty("aggregateValue")&&(n.aggregateValue=e.aggregateValue),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.NamePart=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.namePart=e.string();break;case 2:o.isExtension=e.bool();break;default:e.skipType(7&r)}}if(!o.hasOwnProperty("namePart"))throw d.ProtocolError("missing required 'namePart'",{instance:o});if(!o.hasOwnProperty("isExtension"))throw d.ProtocolError("missing required 'isExtension'",{instance:o});return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":d.isString(e.namePart)?"boolean"!=typeof e.isExtension?"isExtension: boolean expected":null:"namePart: string expected"},t.fromObject=function(e){if(e instanceof g.google.protobuf.UninterpretedOption.NamePart)return e;var t=new g.google.protobuf.UninterpretedOption.NamePart;return null!=e.namePart&&(t.namePart=String(e.namePart)),null!=e.isExtension&&(t.isExtension=Boolean(e.isExtension)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.namePart="",n.isExtension=!1),null!=e.namePart&&e.hasOwnProperty("namePart")&&(n.namePart=e.namePart),null!=e.isExtension&&e.hasOwnProperty("isExtension")&&(n.isExtension=e.isExtension),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),s.SourceCodeInfo=function(){function t(e){if(this.location=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.location&&o.location.length||(o.location=[]),o.location.push(g.google.protobuf.SourceCodeInfo.Location.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.location&&e.hasOwnProperty("location")){if(!Array.isArray(e.location))return"location: array expected";for(var t=0;t>>3){case 1:if(o.path&&o.path.length||(o.path=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==1?(o.annotation&&o.annotation.length||(o.annotation=[]),o.annotation.push(g.google.protobuf.GeneratedCodeInfo.Annotation.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.annotation&&e.hasOwnProperty("annotation")){if(!Array.isArray(e.annotation))return"annotation: array expected";for(var t=0;t>>3){case 1:if(o.path&&o.path.length||(o.path=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.expression=e.string();break;case 2:o.title=e.string();break;case 3:o.description=e.string();break;case 4:o.location=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof p||(e=new p(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.expression&&e.hasOwnProperty("expression")&&!d.isString(e.expression)?"expression: string expected":null!=e.title&&e.hasOwnProperty("title")&&!d.isString(e.title)?"title: string expected":null!=e.description&&e.hasOwnProperty("description")&&!d.isString(e.description)?"description: string expected":null!=e.location&&e.hasOwnProperty("location")&&!d.isString(e.location)?"location: string expected":null},t.fromObject=function(e){if(e instanceof g.google.type.Expr)return e;var t=new g.google.type.Expr;return null!=e.expression&&(t.expression=String(e.expression)),null!=e.title&&(t.title=String(e.title)),null!=e.description&&(t.description=String(e.description)),null!=e.location&&(t.location=String(e.location)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.expression="",n.title="",n.description="",n.location=""),null!=e.expression&&e.hasOwnProperty("expression")&&(n.expression=e.expression),null!=e.title&&e.hasOwnProperty("title")&&(n.title=e.title),null!=e.description&&e.hasOwnProperty("description")&&(n.description=e.description),null!=e.location&&e.hasOwnProperty("location")&&(n.location=e.location),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),l),c),g})?o.apply(t,r):o)||(e.exports=i)},51419:function(e,t,n){var o,r,i;r=[n(1740)],void 0===(i="function"==typeof(o=function(e){"use strict";var t,n,o,r,i,a=e.Reader,s=e.Writer,l=e.util,c=e.roots.locations_protos||(e.roots.locations_protos={});return c.google=((i={}).cloud=((n={}).location=((t={}).Locations=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.listLocations=function e(t,n){return this.rpcCall(e,c.google.cloud.location.ListLocationsRequest,c.google.cloud.location.ListLocationsResponse,t,n)},"name",{value:"ListLocations"}),Object.defineProperty(t.prototype.getLocation=function e(t,n){return this.rpcCall(e,c.google.cloud.location.GetLocationRequest,c.google.cloud.location.Location,t,n)},"name",{value:"GetLocation"}),t}(),t.ListLocationsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.filter=e.string();break;case 3:o.pageSize=e.int32();break;case 4:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name)?"name: string expected":null!=e.filter&&e.hasOwnProperty("filter")&&!l.isString(e.filter)?"filter: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!l.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!l.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof c.google.cloud.location.ListLocationsRequest)return e;var t=new c.google.cloud.location.ListLocationsRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.filter&&(t.filter=String(e.filter)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.filter="",n.pageSize=0,n.pageToken=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.filter&&e.hasOwnProperty("filter")&&(n.filter=e.filter),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.ListLocationsResponse=function(){function t(e){if(this.locations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.locations&&o.locations.length||(o.locations=[]),o.locations.push(c.google.cloud.location.Location.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.locations&&e.hasOwnProperty("locations")){if(!Array.isArray(e.locations))return"locations: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof c.google.cloud.location.GetLocationRequest)return e;var t=new c.google.cloud.location.GetLocationRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.Location=function(){function t(e){if(this.labels={},e)for(var t=Object.keys(e),n=0;n>>3){case 1:i.name=e.string();break;case 4:i.locationId=e.string();break;case 5:i.displayName=e.string();break;case 2:i.labels===l.emptyObject&&(i.labels={});var p=e.uint32()+e.pos;for(n="",o="";e.pos>>3){case 1:n=e.string();break;case 2:o=e.string();break;default:e.skipType(7&u)}}i.labels[n]=o;break;case 3:i.metadata=c.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&s)}}return i},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.locationId&&e.hasOwnProperty("locationId")&&!l.isString(e.locationId))return"locationId: string expected";if(null!=e.displayName&&e.hasOwnProperty("displayName")&&!l.isString(e.displayName))return"displayName: string expected";if(null!=e.labels&&e.hasOwnProperty("labels")){if(!l.isObject(e.labels))return"labels: object expected";for(var t=Object.keys(e.labels),n=0;n>>3){case 1:o.rules&&o.rules.length||(o.rules=[]),o.rules.push(c.google.api.HttpRule.decode(e,e.uint32()));break;case 2:o.fullyDecodeReservedExpansion=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.rules&&e.hasOwnProperty("rules")){if(!Array.isArray(e.rules))return"rules: array expected";for(var t=0;t>>3){case 1:o.selector=e.string();break;case 2:o.get=e.string();break;case 3:o.put=e.string();break;case 4:o.post=e.string();break;case 5:o.delete=e.string();break;case 6:o.patch=e.string();break;case 8:o.custom=c.google.api.CustomHttpPattern.decode(e,e.uint32());break;case 7:o.body=e.string();break;case 12:o.responseBody=e.string();break;case 11:o.additionalBindings&&o.additionalBindings.length||(o.additionalBindings=[]),o.additionalBindings.push(c.google.api.HttpRule.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t={};if(null!=e.selector&&e.hasOwnProperty("selector")&&!l.isString(e.selector))return"selector: string expected";if(null!=e.get&&e.hasOwnProperty("get")&&(t.pattern=1,!l.isString(e.get)))return"get: string expected";if(null!=e.put&&e.hasOwnProperty("put")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!l.isString(e.put))return"put: string expected"}if(null!=e.post&&e.hasOwnProperty("post")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!l.isString(e.post))return"post: string expected"}if(null!=e.delete&&e.hasOwnProperty("delete")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!l.isString(e.delete))return"delete: string expected"}if(null!=e.patch&&e.hasOwnProperty("patch")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!l.isString(e.patch))return"patch: string expected"}if(null!=e.custom&&e.hasOwnProperty("custom")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,o=c.google.api.CustomHttpPattern.verify(e.custom))return"custom."+o}if(null!=e.body&&e.hasOwnProperty("body")&&!l.isString(e.body))return"body: string expected";if(null!=e.responseBody&&e.hasOwnProperty("responseBody")&&!l.isString(e.responseBody))return"responseBody: string expected";if(null!=e.additionalBindings&&e.hasOwnProperty("additionalBindings")){if(!Array.isArray(e.additionalBindings))return"additionalBindings: array expected";for(var n=0;n>>3){case 1:o.kind=e.string();break;case 2:o.path=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.kind&&e.hasOwnProperty("kind")&&!l.isString(e.kind)?"kind: string expected":null!=e.path&&e.hasOwnProperty("path")&&!l.isString(e.path)?"path: string expected":null},t.fromObject=function(e){if(e instanceof c.google.api.CustomHttpPattern)return e;var t=new c.google.api.CustomHttpPattern;return null!=e.kind&&(t.kind=String(e.kind)),null!=e.path&&(t.path=String(e.path)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.kind="",n.path=""),null!=e.kind&&e.hasOwnProperty("kind")&&(n.kind=e.kind),null!=e.path&&e.hasOwnProperty("path")&&(n.path=e.path),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),o),i.protobuf=((r={}).FileDescriptorSet=function(){function t(e){if(this.file=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.file&&o.file.length||(o.file=[]),o.file.push(c.google.protobuf.FileDescriptorProto.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.file&&e.hasOwnProperty("file")){if(!Array.isArray(e.file))return"file: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.package=e.string();break;case 3:o.dependency&&o.dependency.length||(o.dependency=[]),o.dependency.push(e.string());break;case 10:if(o.publicDependency&&o.publicDependency.length||(o.publicDependency=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.name=e.string();break;case 2:o.field&&o.field.length||(o.field=[]),o.field.push(c.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 6:o.extension&&o.extension.length||(o.extension=[]),o.extension.push(c.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 3:o.nestedType&&o.nestedType.length||(o.nestedType=[]),o.nestedType.push(c.google.protobuf.DescriptorProto.decode(e,e.uint32()));break;case 4:o.enumType&&o.enumType.length||(o.enumType=[]),o.enumType.push(c.google.protobuf.EnumDescriptorProto.decode(e,e.uint32()));break;case 5:o.extensionRange&&o.extensionRange.length||(o.extensionRange=[]),o.extensionRange.push(c.google.protobuf.DescriptorProto.ExtensionRange.decode(e,e.uint32()));break;case 8:o.oneofDecl&&o.oneofDecl.length||(o.oneofDecl=[]),o.oneofDecl.push(c.google.protobuf.OneofDescriptorProto.decode(e,e.uint32()));break;case 7:o.options=c.google.protobuf.MessageOptions.decode(e,e.uint32());break;case 9:o.reservedRange&&o.reservedRange.length||(o.reservedRange=[]),o.reservedRange.push(c.google.protobuf.DescriptorProto.ReservedRange.decode(e,e.uint32()));break;case 10:o.reservedName&&o.reservedName.length||(o.reservedName=[]),o.reservedName.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.field&&e.hasOwnProperty("field")){if(!Array.isArray(e.field))return"field: array expected";for(var t=0;t>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;case 3:o.options=c.google.protobuf.ExtensionRangeOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.start&&e.hasOwnProperty("start")&&!l.isInteger(e.start))return"start: integer expected";if(null!=e.end&&e.hasOwnProperty("end")&&!l.isInteger(e.end))return"end: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.ExtensionRangeOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof c.google.protobuf.DescriptorProto.ExtensionRange)return e;var t=new c.google.protobuf.DescriptorProto.ExtensionRange;if(null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.DescriptorProto.ExtensionRange.options: object expected");t.options=c.google.protobuf.ExtensionRangeOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0,n.options=null),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.ExtensionRangeOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.ReservedRange=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!l.isInteger(e.start)?"start: integer expected":null!=e.end&&e.hasOwnProperty("end")&&!l.isInteger(e.end)?"end: integer expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.DescriptorProto.ReservedRange)return e;var t=new c.google.protobuf.DescriptorProto.ReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),r.ExtensionRangeOptions=function(){function t(e){if(this.uninterpretedOption=[],e)for(var t=Object.keys(e),n=0;n>>3==999?(o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 3:o.number=e.int32();break;case 4:o.label=e.int32();break;case 5:o.type=e.int32();break;case 6:o.typeName=e.string();break;case 2:o.extendee=e.string();break;case 7:o.defaultValue=e.string();break;case 9:o.oneofIndex=e.int32();break;case 10:o.jsonName=e.string();break;case 8:o.options=c.google.protobuf.FieldOptions.decode(e,e.uint32());break;case 17:o.proto3Optional=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.number&&e.hasOwnProperty("number")&&!l.isInteger(e.number))return"number: integer expected";if(null!=e.label&&e.hasOwnProperty("label"))switch(e.label){default:return"label: enum value expected";case 1:case 2:case 3:}if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:}if(null!=e.typeName&&e.hasOwnProperty("typeName")&&!l.isString(e.typeName))return"typeName: string expected";if(null!=e.extendee&&e.hasOwnProperty("extendee")&&!l.isString(e.extendee))return"extendee: string expected";if(null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&!l.isString(e.defaultValue))return"defaultValue: string expected";if(null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&!l.isInteger(e.oneofIndex))return"oneofIndex: integer expected";if(null!=e.jsonName&&e.hasOwnProperty("jsonName")&&!l.isString(e.jsonName))return"jsonName: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.FieldOptions.verify(e.options);if(t)return"options."+t}return null!=e.proto3Optional&&e.hasOwnProperty("proto3Optional")&&"boolean"!=typeof e.proto3Optional?"proto3Optional: boolean expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.FieldDescriptorProto)return e;var t=new c.google.protobuf.FieldDescriptorProto;switch(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),e.label){case"LABEL_OPTIONAL":case 1:t.label=1;break;case"LABEL_REQUIRED":case 2:t.label=2;break;case"LABEL_REPEATED":case 3:t.label=3}switch(e.type){case"TYPE_DOUBLE":case 1:t.type=1;break;case"TYPE_FLOAT":case 2:t.type=2;break;case"TYPE_INT64":case 3:t.type=3;break;case"TYPE_UINT64":case 4:t.type=4;break;case"TYPE_INT32":case 5:t.type=5;break;case"TYPE_FIXED64":case 6:t.type=6;break;case"TYPE_FIXED32":case 7:t.type=7;break;case"TYPE_BOOL":case 8:t.type=8;break;case"TYPE_STRING":case 9:t.type=9;break;case"TYPE_GROUP":case 10:t.type=10;break;case"TYPE_MESSAGE":case 11:t.type=11;break;case"TYPE_BYTES":case 12:t.type=12;break;case"TYPE_UINT32":case 13:t.type=13;break;case"TYPE_ENUM":case 14:t.type=14;break;case"TYPE_SFIXED32":case 15:t.type=15;break;case"TYPE_SFIXED64":case 16:t.type=16;break;case"TYPE_SINT32":case 17:t.type=17;break;case"TYPE_SINT64":case 18:t.type=18}if(null!=e.typeName&&(t.typeName=String(e.typeName)),null!=e.extendee&&(t.extendee=String(e.extendee)),null!=e.defaultValue&&(t.defaultValue=String(e.defaultValue)),null!=e.oneofIndex&&(t.oneofIndex=0|e.oneofIndex),null!=e.jsonName&&(t.jsonName=String(e.jsonName)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");t.options=c.google.protobuf.FieldOptions.fromObject(e.options)}return null!=e.proto3Optional&&(t.proto3Optional=Boolean(e.proto3Optional)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.extendee="",n.number=0,n.label=t.enums===String?"LABEL_OPTIONAL":1,n.type=t.enums===String?"TYPE_DOUBLE":1,n.typeName="",n.defaultValue="",n.options=null,n.oneofIndex=0,n.jsonName="",n.proto3Optional=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.extendee&&e.hasOwnProperty("extendee")&&(n.extendee=e.extendee),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.label&&e.hasOwnProperty("label")&&(n.label=t.enums===String?c.google.protobuf.FieldDescriptorProto.Label[e.label]:e.label),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?c.google.protobuf.FieldDescriptorProto.Type[e.type]:e.type),null!=e.typeName&&e.hasOwnProperty("typeName")&&(n.typeName=e.typeName),null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&(n.defaultValue=e.defaultValue),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.FieldOptions.toObject(e.options,t)),null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&(n.oneofIndex=e.oneofIndex),null!=e.jsonName&&e.hasOwnProperty("jsonName")&&(n.jsonName=e.jsonName),null!=e.proto3Optional&&e.hasOwnProperty("proto3Optional")&&(n.proto3Optional=e.proto3Optional),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.Type=(n={},(o=Object.create(n))[n[1]="TYPE_DOUBLE"]=1,o[n[2]="TYPE_FLOAT"]=2,o[n[3]="TYPE_INT64"]=3,o[n[4]="TYPE_UINT64"]=4,o[n[5]="TYPE_INT32"]=5,o[n[6]="TYPE_FIXED64"]=6,o[n[7]="TYPE_FIXED32"]=7,o[n[8]="TYPE_BOOL"]=8,o[n[9]="TYPE_STRING"]=9,o[n[10]="TYPE_GROUP"]=10,o[n[11]="TYPE_MESSAGE"]=11,o[n[12]="TYPE_BYTES"]=12,o[n[13]="TYPE_UINT32"]=13,o[n[14]="TYPE_ENUM"]=14,o[n[15]="TYPE_SFIXED32"]=15,o[n[16]="TYPE_SFIXED64"]=16,o[n[17]="TYPE_SINT32"]=17,o[n[18]="TYPE_SINT64"]=18,o),t.Label=function(){var e={},t=Object.create(e);return t[e[1]="LABEL_OPTIONAL"]=1,t[e[2]="LABEL_REQUIRED"]=2,t[e[3]="LABEL_REPEATED"]=3,t}(),t}(),r.OneofDescriptorProto=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.options=c.google.protobuf.OneofOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.OneofOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof c.google.protobuf.OneofDescriptorProto)return e;var t=new c.google.protobuf.OneofDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.OneofDescriptorProto.options: object expected");t.options=c.google.protobuf.OneofOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.OneofOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),r.EnumDescriptorProto=function(){function t(e){if(this.value=[],this.reservedRange=[],this.reservedName=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value&&o.value.length||(o.value=[]),o.value.push(c.google.protobuf.EnumValueDescriptorProto.decode(e,e.uint32()));break;case 3:o.options=c.google.protobuf.EnumOptions.decode(e,e.uint32());break;case 4:o.reservedRange&&o.reservedRange.length||(o.reservedRange=[]),o.reservedRange.push(c.google.protobuf.EnumDescriptorProto.EnumReservedRange.decode(e,e.uint32()));break;case 5:o.reservedName&&o.reservedName.length||(o.reservedName=[]),o.reservedName.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.value&&e.hasOwnProperty("value")){if(!Array.isArray(e.value))return"value: array expected";for(var t=0;t>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!l.isInteger(e.start)?"start: integer expected":null!=e.end&&e.hasOwnProperty("end")&&!l.isInteger(e.end)?"end: integer expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.EnumDescriptorProto.EnumReservedRange)return e;var t=new c.google.protobuf.EnumDescriptorProto.EnumReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),r.EnumValueDescriptorProto=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.number=e.int32();break;case 3:o.options=c.google.protobuf.EnumValueOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.number&&e.hasOwnProperty("number")&&!l.isInteger(e.number))return"number: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.EnumValueOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof c.google.protobuf.EnumValueDescriptorProto)return e;var t=new c.google.protobuf.EnumValueDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.EnumValueDescriptorProto.options: object expected");t.options=c.google.protobuf.EnumValueOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.number=0,n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.EnumValueOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),r.ServiceDescriptorProto=function(){function t(e){if(this.method=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.method&&o.method.length||(o.method=[]),o.method.push(c.google.protobuf.MethodDescriptorProto.decode(e,e.uint32()));break;case 3:o.options=c.google.protobuf.ServiceOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.method&&e.hasOwnProperty("method")){if(!Array.isArray(e.method))return"method: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.inputType=e.string();break;case 3:o.outputType=e.string();break;case 4:o.options=c.google.protobuf.MethodOptions.decode(e,e.uint32());break;case 5:o.clientStreaming=e.bool();break;case 6:o.serverStreaming=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.inputType&&e.hasOwnProperty("inputType")&&!l.isString(e.inputType))return"inputType: string expected";if(null!=e.outputType&&e.hasOwnProperty("outputType")&&!l.isString(e.outputType))return"outputType: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.MethodOptions.verify(e.options);if(t)return"options."+t}return null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&"boolean"!=typeof e.clientStreaming?"clientStreaming: boolean expected":null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&"boolean"!=typeof e.serverStreaming?"serverStreaming: boolean expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.MethodDescriptorProto)return e;var t=new c.google.protobuf.MethodDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.inputType&&(t.inputType=String(e.inputType)),null!=e.outputType&&(t.outputType=String(e.outputType)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.MethodDescriptorProto.options: object expected");t.options=c.google.protobuf.MethodOptions.fromObject(e.options)}return null!=e.clientStreaming&&(t.clientStreaming=Boolean(e.clientStreaming)),null!=e.serverStreaming&&(t.serverStreaming=Boolean(e.serverStreaming)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.inputType="",n.outputType="",n.options=null,n.clientStreaming=!1,n.serverStreaming=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.inputType&&e.hasOwnProperty("inputType")&&(n.inputType=e.inputType),null!=e.outputType&&e.hasOwnProperty("outputType")&&(n.outputType=e.outputType),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.MethodOptions.toObject(e.options,t)),null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&(n.clientStreaming=e.clientStreaming),null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&(n.serverStreaming=e.serverStreaming),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),r.FileOptions=function(){function t(e){if(this.uninterpretedOption=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.javaPackage=e.string();break;case 8:o.javaOuterClassname=e.string();break;case 10:o.javaMultipleFiles=e.bool();break;case 20:o.javaGenerateEqualsAndHash=e.bool();break;case 27:o.javaStringCheckUtf8=e.bool();break;case 9:o.optimizeFor=e.int32();break;case 11:o.goPackage=e.string();break;case 16:o.ccGenericServices=e.bool();break;case 17:o.javaGenericServices=e.bool();break;case 18:o.pyGenericServices=e.bool();break;case 42:o.phpGenericServices=e.bool();break;case 23:o.deprecated=e.bool();break;case 31:o.ccEnableArenas=e.bool();break;case 36:o.objcClassPrefix=e.string();break;case 37:o.csharpNamespace=e.string();break;case 39:o.swiftPrefix=e.string();break;case 40:o.phpClassPrefix=e.string();break;case 41:o.phpNamespace=e.string();break;case 44:o.phpMetadataNamespace=e.string();break;case 45:o.rubyPackage=e.string();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.javaPackage&&e.hasOwnProperty("javaPackage")&&!l.isString(e.javaPackage))return"javaPackage: string expected";if(null!=e.javaOuterClassname&&e.hasOwnProperty("javaOuterClassname")&&!l.isString(e.javaOuterClassname))return"javaOuterClassname: string expected";if(null!=e.javaMultipleFiles&&e.hasOwnProperty("javaMultipleFiles")&&"boolean"!=typeof e.javaMultipleFiles)return"javaMultipleFiles: boolean expected";if(null!=e.javaGenerateEqualsAndHash&&e.hasOwnProperty("javaGenerateEqualsAndHash")&&"boolean"!=typeof e.javaGenerateEqualsAndHash)return"javaGenerateEqualsAndHash: boolean expected";if(null!=e.javaStringCheckUtf8&&e.hasOwnProperty("javaStringCheckUtf8")&&"boolean"!=typeof e.javaStringCheckUtf8)return"javaStringCheckUtf8: boolean expected";if(null!=e.optimizeFor&&e.hasOwnProperty("optimizeFor"))switch(e.optimizeFor){default:return"optimizeFor: enum value expected";case 1:case 2:case 3:}if(null!=e.goPackage&&e.hasOwnProperty("goPackage")&&!l.isString(e.goPackage))return"goPackage: string expected";if(null!=e.ccGenericServices&&e.hasOwnProperty("ccGenericServices")&&"boolean"!=typeof e.ccGenericServices)return"ccGenericServices: boolean expected";if(null!=e.javaGenericServices&&e.hasOwnProperty("javaGenericServices")&&"boolean"!=typeof e.javaGenericServices)return"javaGenericServices: boolean expected";if(null!=e.pyGenericServices&&e.hasOwnProperty("pyGenericServices")&&"boolean"!=typeof e.pyGenericServices)return"pyGenericServices: boolean expected";if(null!=e.phpGenericServices&&e.hasOwnProperty("phpGenericServices")&&"boolean"!=typeof e.phpGenericServices)return"phpGenericServices: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.ccEnableArenas&&e.hasOwnProperty("ccEnableArenas")&&"boolean"!=typeof e.ccEnableArenas)return"ccEnableArenas: boolean expected";if(null!=e.objcClassPrefix&&e.hasOwnProperty("objcClassPrefix")&&!l.isString(e.objcClassPrefix))return"objcClassPrefix: string expected";if(null!=e.csharpNamespace&&e.hasOwnProperty("csharpNamespace")&&!l.isString(e.csharpNamespace))return"csharpNamespace: string expected";if(null!=e.swiftPrefix&&e.hasOwnProperty("swiftPrefix")&&!l.isString(e.swiftPrefix))return"swiftPrefix: string expected";if(null!=e.phpClassPrefix&&e.hasOwnProperty("phpClassPrefix")&&!l.isString(e.phpClassPrefix))return"phpClassPrefix: string expected";if(null!=e.phpNamespace&&e.hasOwnProperty("phpNamespace")&&!l.isString(e.phpNamespace))return"phpNamespace: string expected";if(null!=e.phpMetadataNamespace&&e.hasOwnProperty("phpMetadataNamespace")&&!l.isString(e.phpMetadataNamespace))return"phpMetadataNamespace: string expected";if(null!=e.rubyPackage&&e.hasOwnProperty("rubyPackage")&&!l.isString(e.rubyPackage))return"rubyPackage: string expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.messageSetWireFormat=e.bool();break;case 2:o.noStandardDescriptorAccessor=e.bool();break;case 3:o.deprecated=e.bool();break;case 7:o.mapEntry=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.messageSetWireFormat&&e.hasOwnProperty("messageSetWireFormat")&&"boolean"!=typeof e.messageSetWireFormat)return"messageSetWireFormat: boolean expected";if(null!=e.noStandardDescriptorAccessor&&e.hasOwnProperty("noStandardDescriptorAccessor")&&"boolean"!=typeof e.noStandardDescriptorAccessor)return"noStandardDescriptorAccessor: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.mapEntry&&e.hasOwnProperty("mapEntry")&&"boolean"!=typeof e.mapEntry)return"mapEntry: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.ctype=e.int32();break;case 2:o.packed=e.bool();break;case 6:o.jstype=e.int32();break;case 5:o.lazy=e.bool();break;case 3:o.deprecated=e.bool();break;case 10:o.weak=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.ctype&&e.hasOwnProperty("ctype"))switch(e.ctype){default:return"ctype: enum value expected";case 0:case 1:case 2:}if(null!=e.packed&&e.hasOwnProperty("packed")&&"boolean"!=typeof e.packed)return"packed: boolean expected";if(null!=e.jstype&&e.hasOwnProperty("jstype"))switch(e.jstype){default:return"jstype: enum value expected";case 0:case 1:case 2:}if(null!=e.lazy&&e.hasOwnProperty("lazy")&&"boolean"!=typeof e.lazy)return"lazy: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.weak&&e.hasOwnProperty("weak")&&"boolean"!=typeof e.weak)return"weak: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3==999?(o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 2:o.allowAlias=e.bool();break;case 3:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.allowAlias&&e.hasOwnProperty("allowAlias")&&"boolean"!=typeof e.allowAlias)return"allowAlias: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 33:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1049:o[".google.api.defaultHost"]=e.string();break;case 1050:o[".google.api.oauthScopes"]=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 33:o.deprecated=e.bool();break;case 34:o.idempotencyLevel=e.int32();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 72295728:o[".google.api.http"]=c.google.api.HttpRule.decode(e,e.uint32());break;case 1051:o[".google.api.methodSignature"]&&o[".google.api.methodSignature"].length||(o[".google.api.methodSignature"]=[]),o[".google.api.methodSignature"].push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.idempotencyLevel&&e.hasOwnProperty("idempotencyLevel"))switch(e.idempotencyLevel){default:return"idempotencyLevel: enum value expected";case 0:case 1:case 2:}if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 2:o.name&&o.name.length||(o.name=[]),o.name.push(c.google.protobuf.UninterpretedOption.NamePart.decode(e,e.uint32()));break;case 3:o.identifierValue=e.string();break;case 4:o.positiveIntValue=e.uint64();break;case 5:o.negativeIntValue=e.int64();break;case 6:o.doubleValue=e.double();break;case 7:o.stringValue=e.bytes();break;case 8:o.aggregateValue=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")){if(!Array.isArray(e.name))return"name: array expected";for(var t=0;t>>0,e.positiveIntValue.high>>>0).toNumber(!0))),null!=e.negativeIntValue&&(l.Long?(t.negativeIntValue=l.Long.fromValue(e.negativeIntValue)).unsigned=!1:"string"==typeof e.negativeIntValue?t.negativeIntValue=parseInt(e.negativeIntValue,10):"number"==typeof e.negativeIntValue?t.negativeIntValue=e.negativeIntValue:"object"==typeof e.negativeIntValue&&(t.negativeIntValue=new l.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber())),null!=e.doubleValue&&(t.doubleValue=Number(e.doubleValue)),null!=e.stringValue&&("string"==typeof e.stringValue?l.base64.decode(e.stringValue,t.stringValue=l.newBuffer(l.base64.length(e.stringValue)),0):e.stringValue.length&&(t.stringValue=e.stringValue)),null!=e.aggregateValue&&(t.aggregateValue=String(e.aggregateValue)),t},t.toObject=function(e,t){t||(t={});var n={};if((t.arrays||t.defaults)&&(n.name=[]),t.defaults){if(n.identifierValue="",l.Long){var o=new l.Long(0,0,!0);n.positiveIntValue=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.positiveIntValue=t.longs===String?"0":0;l.Long?(o=new l.Long(0,0,!1),n.negativeIntValue=t.longs===String?o.toString():t.longs===Number?o.toNumber():o):n.negativeIntValue=t.longs===String?"0":0,n.doubleValue=0,t.bytes===String?n.stringValue="":(n.stringValue=[],t.bytes!==Array&&(n.stringValue=l.newBuffer(n.stringValue))),n.aggregateValue=""}if(e.name&&e.name.length){n.name=[];for(var r=0;r>>0,e.positiveIntValue.high>>>0).toNumber(!0):e.positiveIntValue),null!=e.negativeIntValue&&e.hasOwnProperty("negativeIntValue")&&("number"==typeof e.negativeIntValue?n.negativeIntValue=t.longs===String?String(e.negativeIntValue):e.negativeIntValue:n.negativeIntValue=t.longs===String?l.Long.prototype.toString.call(e.negativeIntValue):t.longs===Number?new l.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber():e.negativeIntValue),null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(n.doubleValue=t.json&&!isFinite(e.doubleValue)?String(e.doubleValue):e.doubleValue),null!=e.stringValue&&e.hasOwnProperty("stringValue")&&(n.stringValue=t.bytes===String?l.base64.encode(e.stringValue,0,e.stringValue.length):t.bytes===Array?Array.prototype.slice.call(e.stringValue):e.stringValue),null!=e.aggregateValue&&e.hasOwnProperty("aggregateValue")&&(n.aggregateValue=e.aggregateValue),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.NamePart=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.namePart=e.string();break;case 2:o.isExtension=e.bool();break;default:e.skipType(7&r)}}if(!o.hasOwnProperty("namePart"))throw l.ProtocolError("missing required 'namePart'",{instance:o});if(!o.hasOwnProperty("isExtension"))throw l.ProtocolError("missing required 'isExtension'",{instance:o});return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":l.isString(e.namePart)?"boolean"!=typeof e.isExtension?"isExtension: boolean expected":null:"namePart: string expected"},t.fromObject=function(e){if(e instanceof c.google.protobuf.UninterpretedOption.NamePart)return e;var t=new c.google.protobuf.UninterpretedOption.NamePart;return null!=e.namePart&&(t.namePart=String(e.namePart)),null!=e.isExtension&&(t.isExtension=Boolean(e.isExtension)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.namePart="",n.isExtension=!1),null!=e.namePart&&e.hasOwnProperty("namePart")&&(n.namePart=e.namePart),null!=e.isExtension&&e.hasOwnProperty("isExtension")&&(n.isExtension=e.isExtension),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),r.SourceCodeInfo=function(){function t(e){if(this.location=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.location&&o.location.length||(o.location=[]),o.location.push(c.google.protobuf.SourceCodeInfo.Location.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.location&&e.hasOwnProperty("location")){if(!Array.isArray(e.location))return"location: array expected";for(var t=0;t>>3){case 1:if(o.path&&o.path.length||(o.path=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==1?(o.annotation&&o.annotation.length||(o.annotation=[]),o.annotation.push(c.google.protobuf.GeneratedCodeInfo.Annotation.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.annotation&&e.hasOwnProperty("annotation")){if(!Array.isArray(e.annotation))return"annotation: array expected";for(var t=0;t>>3){case 1:if(o.path&&o.path.length||(o.path=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.type_url=e.string();break;case 2:o.value=e.bytes();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.type_url&&e.hasOwnProperty("type_url")&&!l.isString(e.type_url)?"type_url: string expected":null!=e.value&&e.hasOwnProperty("value")&&!(e.value&&"number"==typeof e.value.length||l.isString(e.value))?"value: buffer expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.Any)return e;var t=new c.google.protobuf.Any;return null!=e.type_url&&(t.type_url=String(e.type_url)),null!=e.value&&("string"==typeof e.value?l.base64.decode(e.value,t.value=l.newBuffer(l.base64.length(e.value)),0):e.value.length&&(t.value=e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type_url="",t.bytes===String?n.value="":(n.value=[],t.bytes!==Array&&(n.value=l.newBuffer(n.value)))),null!=e.type_url&&e.hasOwnProperty("type_url")&&(n.type_url=e.type_url),null!=e.value&&e.hasOwnProperty("value")&&(n.value=t.bytes===String?l.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),r),i),c})?o.apply(t,r):o)||(e.exports=i)},42268:function(e,t,n){var o,r,i;r=[n(1740)],void 0===(i="function"==typeof(o=function(e){"use strict";var t,n,o,r,i,a=e.Reader,s=e.Writer,l=e.util,c=e.roots.operations_protos||(e.roots.operations_protos={});return c.google=((i={}).longrunning=((t={}).Operations=function(){function t(t,n,o){e.rpc.Service.call(this,t,n,o)}return(t.prototype=Object.create(e.rpc.Service.prototype)).constructor=t,t.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(t.prototype.listOperations=function e(t,n){return this.rpcCall(e,c.google.longrunning.ListOperationsRequest,c.google.longrunning.ListOperationsResponse,t,n)},"name",{value:"ListOperations"}),Object.defineProperty(t.prototype.getOperation=function e(t,n){return this.rpcCall(e,c.google.longrunning.GetOperationRequest,c.google.longrunning.Operation,t,n)},"name",{value:"GetOperation"}),Object.defineProperty(t.prototype.deleteOperation=function e(t,n){return this.rpcCall(e,c.google.longrunning.DeleteOperationRequest,c.google.protobuf.Empty,t,n)},"name",{value:"DeleteOperation"}),Object.defineProperty(t.prototype.cancelOperation=function e(t,n){return this.rpcCall(e,c.google.longrunning.CancelOperationRequest,c.google.protobuf.Empty,t,n)},"name",{value:"CancelOperation"}),Object.defineProperty(t.prototype.waitOperation=function e(t,n){return this.rpcCall(e,c.google.longrunning.WaitOperationRequest,c.google.longrunning.Operation,t,n)},"name",{value:"WaitOperation"}),t}(),t.Operation=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.metadata=c.google.protobuf.Any.decode(e,e.uint32());break;case 3:o.done=e.bool();break;case 4:o.error=c.google.rpc.Status.decode(e,e.uint32());break;case 5:o.response=c.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t={};if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.metadata&&e.hasOwnProperty("metadata")&&(n=c.google.protobuf.Any.verify(e.metadata)))return"metadata."+n;if(null!=e.done&&e.hasOwnProperty("done")&&"boolean"!=typeof e.done)return"done: boolean expected";if(null!=e.error&&e.hasOwnProperty("error")&&(t.result=1,n=c.google.rpc.Status.verify(e.error)))return"error."+n;if(null!=e.response&&e.hasOwnProperty("response")){if(1===t.result)return"result: multiple values";var n;if(t.result=1,n=c.google.protobuf.Any.verify(e.response))return"response."+n}return null},t.fromObject=function(e){if(e instanceof c.google.longrunning.Operation)return e;var t=new c.google.longrunning.Operation;if(null!=e.name&&(t.name=String(e.name)),null!=e.metadata){if("object"!=typeof e.metadata)throw TypeError(".google.longrunning.Operation.metadata: object expected");t.metadata=c.google.protobuf.Any.fromObject(e.metadata)}if(null!=e.done&&(t.done=Boolean(e.done)),null!=e.error){if("object"!=typeof e.error)throw TypeError(".google.longrunning.Operation.error: object expected");t.error=c.google.rpc.Status.fromObject(e.error)}if(null!=e.response){if("object"!=typeof e.response)throw TypeError(".google.longrunning.Operation.response: object expected");t.response=c.google.protobuf.Any.fromObject(e.response)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.metadata=null,n.done=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.metadata&&e.hasOwnProperty("metadata")&&(n.metadata=c.google.protobuf.Any.toObject(e.metadata,t)),null!=e.done&&e.hasOwnProperty("done")&&(n.done=e.done),null!=e.error&&e.hasOwnProperty("error")&&(n.error=c.google.rpc.Status.toObject(e.error,t),t.oneofs&&(n.result="error")),null!=e.response&&e.hasOwnProperty("response")&&(n.response=c.google.protobuf.Any.toObject(e.response,t),t.oneofs&&(n.result="response")),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.GetOperationRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof c.google.longrunning.GetOperationRequest)return e;var t=new c.google.longrunning.GetOperationRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.ListOperationsRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 4:o.name=e.string();break;case 1:o.filter=e.string();break;case 2:o.pageSize=e.int32();break;case 3:o.pageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name)?"name: string expected":null!=e.filter&&e.hasOwnProperty("filter")&&!l.isString(e.filter)?"filter: string expected":null!=e.pageSize&&e.hasOwnProperty("pageSize")&&!l.isInteger(e.pageSize)?"pageSize: integer expected":null!=e.pageToken&&e.hasOwnProperty("pageToken")&&!l.isString(e.pageToken)?"pageToken: string expected":null},t.fromObject=function(e){if(e instanceof c.google.longrunning.ListOperationsRequest)return e;var t=new c.google.longrunning.ListOperationsRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.filter&&(t.filter=String(e.filter)),null!=e.pageSize&&(t.pageSize=0|e.pageSize),null!=e.pageToken&&(t.pageToken=String(e.pageToken)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.filter="",n.pageSize=0,n.pageToken="",n.name=""),null!=e.filter&&e.hasOwnProperty("filter")&&(n.filter=e.filter),null!=e.pageSize&&e.hasOwnProperty("pageSize")&&(n.pageSize=e.pageSize),null!=e.pageToken&&e.hasOwnProperty("pageToken")&&(n.pageToken=e.pageToken),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.ListOperationsResponse=function(){function t(e){if(this.operations=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.operations&&o.operations.length||(o.operations=[]),o.operations.push(c.google.longrunning.Operation.decode(e,e.uint32()));break;case 2:o.nextPageToken=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.operations&&e.hasOwnProperty("operations")){if(!Array.isArray(e.operations))return"operations: array expected";for(var t=0;t>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof c.google.longrunning.CancelOperationRequest)return e;var t=new c.google.longrunning.CancelOperationRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.DeleteOperationRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3==1?o.name=e.string():e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name)?"name: string expected":null},t.fromObject=function(e){if(e instanceof c.google.longrunning.DeleteOperationRequest)return e;var t=new c.google.longrunning.DeleteOperationRequest;return null!=e.name&&(t.name=String(e.name)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.WaitOperationRequest=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.timeout=c.google.protobuf.Duration.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.timeout&&e.hasOwnProperty("timeout")){var t=c.google.protobuf.Duration.verify(e.timeout);if(t)return"timeout."+t}return null},t.fromObject=function(e){if(e instanceof c.google.longrunning.WaitOperationRequest)return e;var t=new c.google.longrunning.WaitOperationRequest;if(null!=e.name&&(t.name=String(e.name)),null!=e.timeout){if("object"!=typeof e.timeout)throw TypeError(".google.longrunning.WaitOperationRequest.timeout: object expected");t.timeout=c.google.protobuf.Duration.fromObject(e.timeout)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.timeout=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.timeout&&e.hasOwnProperty("timeout")&&(n.timeout=c.google.protobuf.Duration.toObject(e.timeout,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.OperationInfo=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.responseType=e.string();break;case 2:o.metadataType=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.responseType&&e.hasOwnProperty("responseType")&&!l.isString(e.responseType)?"responseType: string expected":null!=e.metadataType&&e.hasOwnProperty("metadataType")&&!l.isString(e.metadataType)?"metadataType: string expected":null},t.fromObject=function(e){if(e instanceof c.google.longrunning.OperationInfo)return e;var t=new c.google.longrunning.OperationInfo;return null!=e.responseType&&(t.responseType=String(e.responseType)),null!=e.metadataType&&(t.metadataType=String(e.metadataType)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.responseType="",n.metadataType=""),null!=e.responseType&&e.hasOwnProperty("responseType")&&(n.responseType=e.responseType),null!=e.metadataType&&e.hasOwnProperty("metadataType")&&(n.metadataType=e.metadataType),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t),i.api=((n={}).Http=function(){function t(e){if(this.rules=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.rules&&o.rules.length||(o.rules=[]),o.rules.push(c.google.api.HttpRule.decode(e,e.uint32()));break;case 2:o.fullyDecodeReservedExpansion=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.rules&&e.hasOwnProperty("rules")){if(!Array.isArray(e.rules))return"rules: array expected";for(var t=0;t>>3){case 1:o.selector=e.string();break;case 2:o.get=e.string();break;case 3:o.put=e.string();break;case 4:o.post=e.string();break;case 5:o.delete=e.string();break;case 6:o.patch=e.string();break;case 8:o.custom=c.google.api.CustomHttpPattern.decode(e,e.uint32());break;case 7:o.body=e.string();break;case 12:o.responseBody=e.string();break;case 11:o.additionalBindings&&o.additionalBindings.length||(o.additionalBindings=[]),o.additionalBindings.push(c.google.api.HttpRule.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";var t={};if(null!=e.selector&&e.hasOwnProperty("selector")&&!l.isString(e.selector))return"selector: string expected";if(null!=e.get&&e.hasOwnProperty("get")&&(t.pattern=1,!l.isString(e.get)))return"get: string expected";if(null!=e.put&&e.hasOwnProperty("put")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!l.isString(e.put))return"put: string expected"}if(null!=e.post&&e.hasOwnProperty("post")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!l.isString(e.post))return"post: string expected"}if(null!=e.delete&&e.hasOwnProperty("delete")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!l.isString(e.delete))return"delete: string expected"}if(null!=e.patch&&e.hasOwnProperty("patch")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,!l.isString(e.patch))return"patch: string expected"}if(null!=e.custom&&e.hasOwnProperty("custom")){if(1===t.pattern)return"pattern: multiple values";if(t.pattern=1,o=c.google.api.CustomHttpPattern.verify(e.custom))return"custom."+o}if(null!=e.body&&e.hasOwnProperty("body")&&!l.isString(e.body))return"body: string expected";if(null!=e.responseBody&&e.hasOwnProperty("responseBody")&&!l.isString(e.responseBody))return"responseBody: string expected";if(null!=e.additionalBindings&&e.hasOwnProperty("additionalBindings")){if(!Array.isArray(e.additionalBindings))return"additionalBindings: array expected";for(var n=0;n>>3){case 1:o.kind=e.string();break;case 2:o.path=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.kind&&e.hasOwnProperty("kind")&&!l.isString(e.kind)?"kind: string expected":null!=e.path&&e.hasOwnProperty("path")&&!l.isString(e.path)?"path: string expected":null},t.fromObject=function(e){if(e instanceof c.google.api.CustomHttpPattern)return e;var t=new c.google.api.CustomHttpPattern;return null!=e.kind&&(t.kind=String(e.kind)),null!=e.path&&(t.path=String(e.path)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.kind="",n.path=""),null!=e.kind&&e.hasOwnProperty("kind")&&(n.kind=e.kind),null!=e.path&&e.hasOwnProperty("path")&&(n.path=e.path),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),n),i.protobuf=((o={}).FileDescriptorSet=function(){function t(e){if(this.file=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.file&&o.file.length||(o.file=[]),o.file.push(c.google.protobuf.FileDescriptorProto.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.file&&e.hasOwnProperty("file")){if(!Array.isArray(e.file))return"file: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.package=e.string();break;case 3:o.dependency&&o.dependency.length||(o.dependency=[]),o.dependency.push(e.string());break;case 10:if(o.publicDependency&&o.publicDependency.length||(o.publicDependency=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.name=e.string();break;case 2:o.field&&o.field.length||(o.field=[]),o.field.push(c.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 6:o.extension&&o.extension.length||(o.extension=[]),o.extension.push(c.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 3:o.nestedType&&o.nestedType.length||(o.nestedType=[]),o.nestedType.push(c.google.protobuf.DescriptorProto.decode(e,e.uint32()));break;case 4:o.enumType&&o.enumType.length||(o.enumType=[]),o.enumType.push(c.google.protobuf.EnumDescriptorProto.decode(e,e.uint32()));break;case 5:o.extensionRange&&o.extensionRange.length||(o.extensionRange=[]),o.extensionRange.push(c.google.protobuf.DescriptorProto.ExtensionRange.decode(e,e.uint32()));break;case 8:o.oneofDecl&&o.oneofDecl.length||(o.oneofDecl=[]),o.oneofDecl.push(c.google.protobuf.OneofDescriptorProto.decode(e,e.uint32()));break;case 7:o.options=c.google.protobuf.MessageOptions.decode(e,e.uint32());break;case 9:o.reservedRange&&o.reservedRange.length||(o.reservedRange=[]),o.reservedRange.push(c.google.protobuf.DescriptorProto.ReservedRange.decode(e,e.uint32()));break;case 10:o.reservedName&&o.reservedName.length||(o.reservedName=[]),o.reservedName.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.field&&e.hasOwnProperty("field")){if(!Array.isArray(e.field))return"field: array expected";for(var t=0;t>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;case 3:o.options=c.google.protobuf.ExtensionRangeOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.start&&e.hasOwnProperty("start")&&!l.isInteger(e.start))return"start: integer expected";if(null!=e.end&&e.hasOwnProperty("end")&&!l.isInteger(e.end))return"end: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.ExtensionRangeOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof c.google.protobuf.DescriptorProto.ExtensionRange)return e;var t=new c.google.protobuf.DescriptorProto.ExtensionRange;if(null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.DescriptorProto.ExtensionRange.options: object expected");t.options=c.google.protobuf.ExtensionRangeOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0,n.options=null),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.ExtensionRangeOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t.ReservedRange=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!l.isInteger(e.start)?"start: integer expected":null!=e.end&&e.hasOwnProperty("end")&&!l.isInteger(e.end)?"end: integer expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.DescriptorProto.ReservedRange)return e;var t=new c.google.protobuf.DescriptorProto.ReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),o.ExtensionRangeOptions=function(){function t(e){if(this.uninterpretedOption=[],e)for(var t=Object.keys(e),n=0;n>>3==999?(o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 3:o.number=e.int32();break;case 4:o.label=e.int32();break;case 5:o.type=e.int32();break;case 6:o.typeName=e.string();break;case 2:o.extendee=e.string();break;case 7:o.defaultValue=e.string();break;case 9:o.oneofIndex=e.int32();break;case 10:o.jsonName=e.string();break;case 8:o.options=c.google.protobuf.FieldOptions.decode(e,e.uint32());break;case 17:o.proto3Optional=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.number&&e.hasOwnProperty("number")&&!l.isInteger(e.number))return"number: integer expected";if(null!=e.label&&e.hasOwnProperty("label"))switch(e.label){default:return"label: enum value expected";case 1:case 2:case 3:}if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:}if(null!=e.typeName&&e.hasOwnProperty("typeName")&&!l.isString(e.typeName))return"typeName: string expected";if(null!=e.extendee&&e.hasOwnProperty("extendee")&&!l.isString(e.extendee))return"extendee: string expected";if(null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&!l.isString(e.defaultValue))return"defaultValue: string expected";if(null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&!l.isInteger(e.oneofIndex))return"oneofIndex: integer expected";if(null!=e.jsonName&&e.hasOwnProperty("jsonName")&&!l.isString(e.jsonName))return"jsonName: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.FieldOptions.verify(e.options);if(t)return"options."+t}return null!=e.proto3Optional&&e.hasOwnProperty("proto3Optional")&&"boolean"!=typeof e.proto3Optional?"proto3Optional: boolean expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.FieldDescriptorProto)return e;var t=new c.google.protobuf.FieldDescriptorProto;switch(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),e.label){case"LABEL_OPTIONAL":case 1:t.label=1;break;case"LABEL_REQUIRED":case 2:t.label=2;break;case"LABEL_REPEATED":case 3:t.label=3}switch(e.type){case"TYPE_DOUBLE":case 1:t.type=1;break;case"TYPE_FLOAT":case 2:t.type=2;break;case"TYPE_INT64":case 3:t.type=3;break;case"TYPE_UINT64":case 4:t.type=4;break;case"TYPE_INT32":case 5:t.type=5;break;case"TYPE_FIXED64":case 6:t.type=6;break;case"TYPE_FIXED32":case 7:t.type=7;break;case"TYPE_BOOL":case 8:t.type=8;break;case"TYPE_STRING":case 9:t.type=9;break;case"TYPE_GROUP":case 10:t.type=10;break;case"TYPE_MESSAGE":case 11:t.type=11;break;case"TYPE_BYTES":case 12:t.type=12;break;case"TYPE_UINT32":case 13:t.type=13;break;case"TYPE_ENUM":case 14:t.type=14;break;case"TYPE_SFIXED32":case 15:t.type=15;break;case"TYPE_SFIXED64":case 16:t.type=16;break;case"TYPE_SINT32":case 17:t.type=17;break;case"TYPE_SINT64":case 18:t.type=18}if(null!=e.typeName&&(t.typeName=String(e.typeName)),null!=e.extendee&&(t.extendee=String(e.extendee)),null!=e.defaultValue&&(t.defaultValue=String(e.defaultValue)),null!=e.oneofIndex&&(t.oneofIndex=0|e.oneofIndex),null!=e.jsonName&&(t.jsonName=String(e.jsonName)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");t.options=c.google.protobuf.FieldOptions.fromObject(e.options)}return null!=e.proto3Optional&&(t.proto3Optional=Boolean(e.proto3Optional)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.extendee="",n.number=0,n.label=t.enums===String?"LABEL_OPTIONAL":1,n.type=t.enums===String?"TYPE_DOUBLE":1,n.typeName="",n.defaultValue="",n.options=null,n.oneofIndex=0,n.jsonName="",n.proto3Optional=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.extendee&&e.hasOwnProperty("extendee")&&(n.extendee=e.extendee),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.label&&e.hasOwnProperty("label")&&(n.label=t.enums===String?c.google.protobuf.FieldDescriptorProto.Label[e.label]:e.label),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?c.google.protobuf.FieldDescriptorProto.Type[e.type]:e.type),null!=e.typeName&&e.hasOwnProperty("typeName")&&(n.typeName=e.typeName),null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&(n.defaultValue=e.defaultValue),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.FieldOptions.toObject(e.options,t)),null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&(n.oneofIndex=e.oneofIndex),null!=e.jsonName&&e.hasOwnProperty("jsonName")&&(n.jsonName=e.jsonName),null!=e.proto3Optional&&e.hasOwnProperty("proto3Optional")&&(n.proto3Optional=e.proto3Optional),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.Type=(n={},(o=Object.create(n))[n[1]="TYPE_DOUBLE"]=1,o[n[2]="TYPE_FLOAT"]=2,o[n[3]="TYPE_INT64"]=3,o[n[4]="TYPE_UINT64"]=4,o[n[5]="TYPE_INT32"]=5,o[n[6]="TYPE_FIXED64"]=6,o[n[7]="TYPE_FIXED32"]=7,o[n[8]="TYPE_BOOL"]=8,o[n[9]="TYPE_STRING"]=9,o[n[10]="TYPE_GROUP"]=10,o[n[11]="TYPE_MESSAGE"]=11,o[n[12]="TYPE_BYTES"]=12,o[n[13]="TYPE_UINT32"]=13,o[n[14]="TYPE_ENUM"]=14,o[n[15]="TYPE_SFIXED32"]=15,o[n[16]="TYPE_SFIXED64"]=16,o[n[17]="TYPE_SINT32"]=17,o[n[18]="TYPE_SINT64"]=18,o),t.Label=function(){var e={},t=Object.create(e);return t[e[1]="LABEL_OPTIONAL"]=1,t[e[2]="LABEL_REQUIRED"]=2,t[e[3]="LABEL_REPEATED"]=3,t}(),t}(),o.OneofDescriptorProto=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.options=c.google.protobuf.OneofOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.OneofOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof c.google.protobuf.OneofDescriptorProto)return e;var t=new c.google.protobuf.OneofDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.OneofDescriptorProto.options: object expected");t.options=c.google.protobuf.OneofOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.OneofOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),o.EnumDescriptorProto=function(){function t(e){if(this.value=[],this.reservedRange=[],this.reservedName=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.value&&o.value.length||(o.value=[]),o.value.push(c.google.protobuf.EnumValueDescriptorProto.decode(e,e.uint32()));break;case 3:o.options=c.google.protobuf.EnumOptions.decode(e,e.uint32());break;case 4:o.reservedRange&&o.reservedRange.length||(o.reservedRange=[]),o.reservedRange.push(c.google.protobuf.EnumDescriptorProto.EnumReservedRange.decode(e,e.uint32()));break;case 5:o.reservedName&&o.reservedName.length||(o.reservedName=[]),o.reservedName.push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.value&&e.hasOwnProperty("value")){if(!Array.isArray(e.value))return"value: array expected";for(var t=0;t>>3){case 1:o.start=e.int32();break;case 2:o.end=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!l.isInteger(e.start)?"start: integer expected":null!=e.end&&e.hasOwnProperty("end")&&!l.isInteger(e.end)?"end: integer expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.EnumDescriptorProto.EnumReservedRange)return e;var t=new c.google.protobuf.EnumDescriptorProto.EnumReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),o.EnumValueDescriptorProto=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.number=e.int32();break;case 3:o.options=c.google.protobuf.EnumValueOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.number&&e.hasOwnProperty("number")&&!l.isInteger(e.number))return"number: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.EnumValueOptions.verify(e.options);if(t)return"options."+t}return null},t.fromObject=function(e){if(e instanceof c.google.protobuf.EnumValueDescriptorProto)return e;var t=new c.google.protobuf.EnumValueDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.EnumValueDescriptorProto.options: object expected");t.options=c.google.protobuf.EnumValueOptions.fromObject(e.options)}return t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.number=0,n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.EnumValueOptions.toObject(e.options,t)),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),o.ServiceDescriptorProto=function(){function t(e){if(this.method=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.name=e.string();break;case 2:o.method&&o.method.length||(o.method=[]),o.method.push(c.google.protobuf.MethodDescriptorProto.decode(e,e.uint32()));break;case 3:o.options=c.google.protobuf.ServiceOptions.decode(e,e.uint32());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.method&&e.hasOwnProperty("method")){if(!Array.isArray(e.method))return"method: array expected";for(var t=0;t>>3){case 1:o.name=e.string();break;case 2:o.inputType=e.string();break;case 3:o.outputType=e.string();break;case 4:o.options=c.google.protobuf.MethodOptions.decode(e,e.uint32());break;case 5:o.clientStreaming=e.bool();break;case 6:o.serverStreaming=e.bool();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!l.isString(e.name))return"name: string expected";if(null!=e.inputType&&e.hasOwnProperty("inputType")&&!l.isString(e.inputType))return"inputType: string expected";if(null!=e.outputType&&e.hasOwnProperty("outputType")&&!l.isString(e.outputType))return"outputType: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=c.google.protobuf.MethodOptions.verify(e.options);if(t)return"options."+t}return null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&"boolean"!=typeof e.clientStreaming?"clientStreaming: boolean expected":null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&"boolean"!=typeof e.serverStreaming?"serverStreaming: boolean expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.MethodDescriptorProto)return e;var t=new c.google.protobuf.MethodDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.inputType&&(t.inputType=String(e.inputType)),null!=e.outputType&&(t.outputType=String(e.outputType)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.MethodDescriptorProto.options: object expected");t.options=c.google.protobuf.MethodOptions.fromObject(e.options)}return null!=e.clientStreaming&&(t.clientStreaming=Boolean(e.clientStreaming)),null!=e.serverStreaming&&(t.serverStreaming=Boolean(e.serverStreaming)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.inputType="",n.outputType="",n.options=null,n.clientStreaming=!1,n.serverStreaming=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.inputType&&e.hasOwnProperty("inputType")&&(n.inputType=e.inputType),null!=e.outputType&&e.hasOwnProperty("outputType")&&(n.outputType=e.outputType),null!=e.options&&e.hasOwnProperty("options")&&(n.options=c.google.protobuf.MethodOptions.toObject(e.options,t)),null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&(n.clientStreaming=e.clientStreaming),null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&(n.serverStreaming=e.serverStreaming),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),o.FileOptions=function(){function t(e){if(this.uninterpretedOption=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.javaPackage=e.string();break;case 8:o.javaOuterClassname=e.string();break;case 10:o.javaMultipleFiles=e.bool();break;case 20:o.javaGenerateEqualsAndHash=e.bool();break;case 27:o.javaStringCheckUtf8=e.bool();break;case 9:o.optimizeFor=e.int32();break;case 11:o.goPackage=e.string();break;case 16:o.ccGenericServices=e.bool();break;case 17:o.javaGenericServices=e.bool();break;case 18:o.pyGenericServices=e.bool();break;case 42:o.phpGenericServices=e.bool();break;case 23:o.deprecated=e.bool();break;case 31:o.ccEnableArenas=e.bool();break;case 36:o.objcClassPrefix=e.string();break;case 37:o.csharpNamespace=e.string();break;case 39:o.swiftPrefix=e.string();break;case 40:o.phpClassPrefix=e.string();break;case 41:o.phpNamespace=e.string();break;case 44:o.phpMetadataNamespace=e.string();break;case 45:o.rubyPackage=e.string();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.javaPackage&&e.hasOwnProperty("javaPackage")&&!l.isString(e.javaPackage))return"javaPackage: string expected";if(null!=e.javaOuterClassname&&e.hasOwnProperty("javaOuterClassname")&&!l.isString(e.javaOuterClassname))return"javaOuterClassname: string expected";if(null!=e.javaMultipleFiles&&e.hasOwnProperty("javaMultipleFiles")&&"boolean"!=typeof e.javaMultipleFiles)return"javaMultipleFiles: boolean expected";if(null!=e.javaGenerateEqualsAndHash&&e.hasOwnProperty("javaGenerateEqualsAndHash")&&"boolean"!=typeof e.javaGenerateEqualsAndHash)return"javaGenerateEqualsAndHash: boolean expected";if(null!=e.javaStringCheckUtf8&&e.hasOwnProperty("javaStringCheckUtf8")&&"boolean"!=typeof e.javaStringCheckUtf8)return"javaStringCheckUtf8: boolean expected";if(null!=e.optimizeFor&&e.hasOwnProperty("optimizeFor"))switch(e.optimizeFor){default:return"optimizeFor: enum value expected";case 1:case 2:case 3:}if(null!=e.goPackage&&e.hasOwnProperty("goPackage")&&!l.isString(e.goPackage))return"goPackage: string expected";if(null!=e.ccGenericServices&&e.hasOwnProperty("ccGenericServices")&&"boolean"!=typeof e.ccGenericServices)return"ccGenericServices: boolean expected";if(null!=e.javaGenericServices&&e.hasOwnProperty("javaGenericServices")&&"boolean"!=typeof e.javaGenericServices)return"javaGenericServices: boolean expected";if(null!=e.pyGenericServices&&e.hasOwnProperty("pyGenericServices")&&"boolean"!=typeof e.pyGenericServices)return"pyGenericServices: boolean expected";if(null!=e.phpGenericServices&&e.hasOwnProperty("phpGenericServices")&&"boolean"!=typeof e.phpGenericServices)return"phpGenericServices: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.ccEnableArenas&&e.hasOwnProperty("ccEnableArenas")&&"boolean"!=typeof e.ccEnableArenas)return"ccEnableArenas: boolean expected";if(null!=e.objcClassPrefix&&e.hasOwnProperty("objcClassPrefix")&&!l.isString(e.objcClassPrefix))return"objcClassPrefix: string expected";if(null!=e.csharpNamespace&&e.hasOwnProperty("csharpNamespace")&&!l.isString(e.csharpNamespace))return"csharpNamespace: string expected";if(null!=e.swiftPrefix&&e.hasOwnProperty("swiftPrefix")&&!l.isString(e.swiftPrefix))return"swiftPrefix: string expected";if(null!=e.phpClassPrefix&&e.hasOwnProperty("phpClassPrefix")&&!l.isString(e.phpClassPrefix))return"phpClassPrefix: string expected";if(null!=e.phpNamespace&&e.hasOwnProperty("phpNamespace")&&!l.isString(e.phpNamespace))return"phpNamespace: string expected";if(null!=e.phpMetadataNamespace&&e.hasOwnProperty("phpMetadataNamespace")&&!l.isString(e.phpMetadataNamespace))return"phpMetadataNamespace: string expected";if(null!=e.rubyPackage&&e.hasOwnProperty("rubyPackage")&&!l.isString(e.rubyPackage))return"rubyPackage: string expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.messageSetWireFormat=e.bool();break;case 2:o.noStandardDescriptorAccessor=e.bool();break;case 3:o.deprecated=e.bool();break;case 7:o.mapEntry=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.messageSetWireFormat&&e.hasOwnProperty("messageSetWireFormat")&&"boolean"!=typeof e.messageSetWireFormat)return"messageSetWireFormat: boolean expected";if(null!=e.noStandardDescriptorAccessor&&e.hasOwnProperty("noStandardDescriptorAccessor")&&"boolean"!=typeof e.noStandardDescriptorAccessor)return"noStandardDescriptorAccessor: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.mapEntry&&e.hasOwnProperty("mapEntry")&&"boolean"!=typeof e.mapEntry)return"mapEntry: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.ctype=e.int32();break;case 2:o.packed=e.bool();break;case 6:o.jstype=e.int32();break;case 5:o.lazy=e.bool();break;case 3:o.deprecated=e.bool();break;case 10:o.weak=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.ctype&&e.hasOwnProperty("ctype"))switch(e.ctype){default:return"ctype: enum value expected";case 0:case 1:case 2:}if(null!=e.packed&&e.hasOwnProperty("packed")&&"boolean"!=typeof e.packed)return"packed: boolean expected";if(null!=e.jstype&&e.hasOwnProperty("jstype"))switch(e.jstype){default:return"jstype: enum value expected";case 0:case 1:case 2:}if(null!=e.lazy&&e.hasOwnProperty("lazy")&&"boolean"!=typeof e.lazy)return"lazy: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.weak&&e.hasOwnProperty("weak")&&"boolean"!=typeof e.weak)return"weak: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3==999?(o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 2:o.allowAlias=e.bool();break;case 3:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.allowAlias&&e.hasOwnProperty("allowAlias")&&"boolean"!=typeof e.allowAlias)return"allowAlias: boolean expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 1:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 33:o.deprecated=e.bool();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1049:o[".google.api.defaultHost"]=e.string();break;case 1050:o[".google.api.oauthScopes"]=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 33:o.deprecated=e.bool();break;case 34:o.idempotencyLevel=e.int32();break;case 999:o.uninterpretedOption&&o.uninterpretedOption.length||(o.uninterpretedOption=[]),o.uninterpretedOption.push(c.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 1049:o[".google.longrunning.operationInfo"]=c.google.longrunning.OperationInfo.decode(e,e.uint32());break;case 72295728:o[".google.api.http"]=c.google.api.HttpRule.decode(e,e.uint32());break;case 1051:o[".google.api.methodSignature"]&&o[".google.api.methodSignature"].length||(o[".google.api.methodSignature"]=[]),o[".google.api.methodSignature"].push(e.string());break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.deprecated&&e.hasOwnProperty("deprecated")&&"boolean"!=typeof e.deprecated)return"deprecated: boolean expected";if(null!=e.idempotencyLevel&&e.hasOwnProperty("idempotencyLevel"))switch(e.idempotencyLevel){default:return"idempotencyLevel: enum value expected";case 0:case 1:case 2:}if(null!=e.uninterpretedOption&&e.hasOwnProperty("uninterpretedOption")){if(!Array.isArray(e.uninterpretedOption))return"uninterpretedOption: array expected";for(var t=0;t>>3){case 2:o.name&&o.name.length||(o.name=[]),o.name.push(c.google.protobuf.UninterpretedOption.NamePart.decode(e,e.uint32()));break;case 3:o.identifierValue=e.string();break;case 4:o.positiveIntValue=e.uint64();break;case 5:o.negativeIntValue=e.int64();break;case 6:o.doubleValue=e.double();break;case 7:o.stringValue=e.bytes();break;case 8:o.aggregateValue=e.string();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")){if(!Array.isArray(e.name))return"name: array expected";for(var t=0;t>>0,e.positiveIntValue.high>>>0).toNumber(!0))),null!=e.negativeIntValue&&(l.Long?(t.negativeIntValue=l.Long.fromValue(e.negativeIntValue)).unsigned=!1:"string"==typeof e.negativeIntValue?t.negativeIntValue=parseInt(e.negativeIntValue,10):"number"==typeof e.negativeIntValue?t.negativeIntValue=e.negativeIntValue:"object"==typeof e.negativeIntValue&&(t.negativeIntValue=new l.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber())),null!=e.doubleValue&&(t.doubleValue=Number(e.doubleValue)),null!=e.stringValue&&("string"==typeof e.stringValue?l.base64.decode(e.stringValue,t.stringValue=l.newBuffer(l.base64.length(e.stringValue)),0):e.stringValue.length&&(t.stringValue=e.stringValue)),null!=e.aggregateValue&&(t.aggregateValue=String(e.aggregateValue)),t},t.toObject=function(e,t){t||(t={});var n={};if((t.arrays||t.defaults)&&(n.name=[]),t.defaults){if(n.identifierValue="",l.Long){var o=new l.Long(0,0,!0);n.positiveIntValue=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.positiveIntValue=t.longs===String?"0":0;l.Long?(o=new l.Long(0,0,!1),n.negativeIntValue=t.longs===String?o.toString():t.longs===Number?o.toNumber():o):n.negativeIntValue=t.longs===String?"0":0,n.doubleValue=0,t.bytes===String?n.stringValue="":(n.stringValue=[],t.bytes!==Array&&(n.stringValue=l.newBuffer(n.stringValue))),n.aggregateValue=""}if(e.name&&e.name.length){n.name=[];for(var r=0;r>>0,e.positiveIntValue.high>>>0).toNumber(!0):e.positiveIntValue),null!=e.negativeIntValue&&e.hasOwnProperty("negativeIntValue")&&("number"==typeof e.negativeIntValue?n.negativeIntValue=t.longs===String?String(e.negativeIntValue):e.negativeIntValue:n.negativeIntValue=t.longs===String?l.Long.prototype.toString.call(e.negativeIntValue):t.longs===Number?new l.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber():e.negativeIntValue),null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(n.doubleValue=t.json&&!isFinite(e.doubleValue)?String(e.doubleValue):e.doubleValue),null!=e.stringValue&&e.hasOwnProperty("stringValue")&&(n.stringValue=t.bytes===String?l.base64.encode(e.stringValue,0,e.stringValue.length):t.bytes===Array?Array.prototype.slice.call(e.stringValue):e.stringValue),null!=e.aggregateValue&&e.hasOwnProperty("aggregateValue")&&(n.aggregateValue=e.aggregateValue),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t.NamePart=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.namePart=e.string();break;case 2:o.isExtension=e.bool();break;default:e.skipType(7&r)}}if(!o.hasOwnProperty("namePart"))throw l.ProtocolError("missing required 'namePart'",{instance:o});if(!o.hasOwnProperty("isExtension"))throw l.ProtocolError("missing required 'isExtension'",{instance:o});return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":l.isString(e.namePart)?"boolean"!=typeof e.isExtension?"isExtension: boolean expected":null:"namePart: string expected"},t.fromObject=function(e){if(e instanceof c.google.protobuf.UninterpretedOption.NamePart)return e;var t=new c.google.protobuf.UninterpretedOption.NamePart;return null!=e.namePart&&(t.namePart=String(e.namePart)),null!=e.isExtension&&(t.isExtension=Boolean(e.isExtension)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.namePart="",n.isExtension=!1),null!=e.namePart&&e.hasOwnProperty("namePart")&&(n.namePart=e.namePart),null!=e.isExtension&&e.hasOwnProperty("isExtension")&&(n.isExtension=e.isExtension),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),t}(),o.SourceCodeInfo=function(){function t(e){if(this.location=[],e)for(var t=Object.keys(e),n=0;n>>3==1?(o.location&&o.location.length||(o.location=[]),o.location.push(c.google.protobuf.SourceCodeInfo.Location.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.location&&e.hasOwnProperty("location")){if(!Array.isArray(e.location))return"location: array expected";for(var t=0;t>>3){case 1:if(o.path&&o.path.length||(o.path=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3==1?(o.annotation&&o.annotation.length||(o.annotation=[]),o.annotation.push(c.google.protobuf.GeneratedCodeInfo.Annotation.decode(e,e.uint32()))):e.skipType(7&r)}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.annotation&&e.hasOwnProperty("annotation")){if(!Array.isArray(e.annotation))return"annotation: array expected";for(var t=0;t>>3){case 1:if(o.path&&o.path.length||(o.path=[]),2==(7&r))for(var i=e.uint32()+e.pos;e.pos>>3){case 1:o.type_url=e.string();break;case 2:o.value=e.bytes();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.type_url&&e.hasOwnProperty("type_url")&&!l.isString(e.type_url)?"type_url: string expected":null!=e.value&&e.hasOwnProperty("value")&&!(e.value&&"number"==typeof e.value.length||l.isString(e.value))?"value: buffer expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.Any)return e;var t=new c.google.protobuf.Any;return null!=e.type_url&&(t.type_url=String(e.type_url)),null!=e.value&&("string"==typeof e.value?l.base64.decode(e.value,t.value=l.newBuffer(l.base64.length(e.value)),0):e.value.length&&(t.value=e.value)),t},t.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type_url="",t.bytes===String?n.value="":(n.value=[],t.bytes!==Array&&(n.value=l.newBuffer(n.value)))),null!=e.type_url&&e.hasOwnProperty("type_url")&&(n.type_url=e.type_url),null!=e.value&&e.hasOwnProperty("value")&&(n.value=t.bytes===String?l.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),o.Duration=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.seconds=e.int64();break;case 2:o.nanos=e.int32();break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.seconds&&e.hasOwnProperty("seconds")&&!(l.isInteger(e.seconds)||e.seconds&&l.isInteger(e.seconds.low)&&l.isInteger(e.seconds.high))?"seconds: integer|Long expected":null!=e.nanos&&e.hasOwnProperty("nanos")&&!l.isInteger(e.nanos)?"nanos: integer expected":null},t.fromObject=function(e){if(e instanceof c.google.protobuf.Duration)return e;var t=new c.google.protobuf.Duration;return null!=e.seconds&&(l.Long?(t.seconds=l.Long.fromValue(e.seconds)).unsigned=!1:"string"==typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"==typeof e.seconds?t.seconds=e.seconds:"object"==typeof e.seconds&&(t.seconds=new l.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},t.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(l.Long){var o=new l.Long(0,0,!1);n.seconds=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.seconds=t.longs===String?"0":0;n.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"==typeof e.seconds?n.seconds=t.longs===String?String(e.seconds):e.seconds:n.seconds=t.longs===String?l.Long.prototype.toString.call(e.seconds):t.longs===Number?new l.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(n.nanos=e.nanos),n},t.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},t}(),o.Empty=function(){function t(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:o.code=e.int32();break;case 2:o.message=e.string();break;case 3:o.details&&o.details.length||(o.details=[]),o.details.push(c.google.protobuf.Any.decode(e,e.uint32()));break;default:e.skipType(7&r)}}return o},t.decodeDelimited=function(e){return e instanceof a||(e=new a(e)),this.decode(e,e.uint32())},t.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.code&&e.hasOwnProperty("code")&&!l.isInteger(e.code))return"code: integer expected";if(null!=e.message&&e.hasOwnProperty("message")&&!l.isString(e.message))return"message: string expected";if(null!=e.details&&e.hasOwnProperty("details")){if(!Array.isArray(e.details))return"details: array expected";for(var t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAPICaller=void 0;const o=n(45435);t.createAPICaller=function(e,t){return t?t.getApiCaller(e):new o.NormalApiCaller}},44532:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BundleApiCaller=void 0;const o=n(70314),r=n(87834);t.BundleApiCaller=class{constructor(e){this.bundler=e}init(e){return e?new o.OngoingCall(e):new o.OngoingCallPromise}wrap(e){return e}call(e,t,n,o){if(!n.isBundling)throw new r.GoogleError("Bundling enabled with no isBundling!");o.call(((t,n)=>(this.bundler.schedule(e,t,n),o)),t)}fail(e,t){e.callback(t)}result(e){return e.promise}}},49805:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BundleDescriptor=void 0;const o=n(45435),r=n(44532),i=n(17005),a=n(6668);t.BundleDescriptor=class{constructor(e,t,n,o){o||"function"!=typeof n||(o=n,n=null),this.bundledField=e,this.requestDiscriminatorFields=t.map(a.toCamelCase),this.subresponseField=n,this.byteLengthFunction=o}getApiCaller(e){return!1===e.isBundling?new o.NormalApiCaller:new r.BundleApiCaller(new i.BundleExecutor(e.bundleOptions,this))}}},17005:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BundleExecutor=void 0;const o=n(59751),r=n(87834),i=n(85059),a=n(298),s=n(80321);function l(){}t.BundleExecutor=class{constructor(e,t){this._options=e,this._descriptor=t,this._tasks={},this._timers={},this._invocations={},this._invocationId=0}schedule(e,t,n){const c=(0,a.computeBundleId)(t,this._descriptor.requestDiscriminatorFields);if(n=n||l,void 0===c)return(0,i.warn)("bundling_schedule_bundleid_undefined",`The request does not have enough information for request bundling. Invoking immediately. Request: ${JSON.stringify(t)} discriminator fields: ${this._descriptor.requestDiscriminatorFields}`),e(t,n);if(void 0===t[this._descriptor.bundledField])return(0,i.warn)("bundling_no_bundled_field",`Request does not contain field ${this._descriptor.bundledField} that must present for bundling. Invoking immediately. Request: ${JSON.stringify(t)}`),e(t,n);c in this._tasks||(this._tasks[c]=new s.Task(e,t,this._descriptor.bundledField,this._descriptor.subresponseField));let p=this._tasks[c];n.id=String(this._invocationId++),this._invocations[n.id]=c;const u=t[this._descriptor.bundledField],d=u.length;let g=0;const f=this;u.forEach((e=>{g+=this._descriptor.byteLengthFunction(e)}));const h=this._options.elementCountLimit||0,m=this._options.requestByteLimit||0;if(h>0&&d>h||m>0&&g>=m){let e;e=h>0&&d>h?"The number of elements "+d+" exceeds the limit "+this._options.elementCountLimit:"The required bytes "+g+" exceeds the limit "+this._options.requestByteLimit;const t=new r.GoogleError(e);return t.code=o.Status.INVALID_ARGUMENT,n(t),{cancel:l}}const y=p.getElementCount(),v=p.getRequestByteSize();(h>0&&d+y>=h||m>0&&g+v>=m)&&(this._runNow(c),this._tasks[c]=new s.Task(e,t,this._descriptor.bundledField,this._descriptor.subresponseField),p=this._tasks[c]),p.extend(u,g,n);const b={cancel(){f._cancel(n.id)}},O=this._options.elementCountThreshold||0,w=this._options.requestByteThreshold||0;return O>0&&p.getElementCount()>=O||w>0&&p.getRequestByteSize()>=w?(this._runNow(c),b):(!(c in this._timers)&&this._options.delayThreshold>0&&(this._timers[c]=setTimeout((()=>{delete this._timers[c],this._runNow(c)}),this._options.delayThreshold)),b)}_maybeClearTimeout(e){if(e in this._timers){const t=this._timers[e];delete this._timers[e],clearTimeout(t)}}_cancel(e){if(!(e in this._invocations))return;const t=this._invocations[e];if(!(t in this._tasks))return;const n=this._tasks[t];delete this._invocations[e],n.cancel(e)&&(this._maybeClearTimeout(t),delete this._tasks[t])}_runNow(e){if(!(e in this._tasks))return void(0,i.warn)("bundle_runnow_bundleid_unknown",`No such bundleid: ${e}`);this._maybeClearTimeout(e);const t=this._tasks[e];delete this._tasks[e],t.run().forEach((e=>{delete this._invocations[e]}))}}},298:(e,t)=>{"use strict";function n(e,t){const n=t.split(".");let o=e;for(const e of n)o=null==o?void 0:o[e];return o}Object.defineProperty(t,"__esModule",{value:!0}),t.computeBundleId=void 0,t.computeBundleId=function(e,t){const o=[];let r=!1;for(const i of t){const t=n(e,i);void 0===t?o.push(null):(r=!0,o.push(t))}if(r)return JSON.stringify(o)}},80321:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Task=t.deepCopyForResponse=void 0;const o=n(59751),r=n(87834);function i(e,t){let n;return null===e?null:void 0!==e?Array.isArray(e)?(n=[],e.forEach((e=>{n.push(i(e,null))})),n):void 0!==e.copy?e.copy():e instanceof ArrayBuffer?e.slice(0):"object"==typeof e?(n={},Object.keys(e).forEach((o=>{t&&o===t.field&&Array.isArray(e[o])?n[o]=e[o].slice(t.start,t.end):n[o]=i(e[o],null)})),n):e:void 0}t.deepCopyForResponse=i,t.Task=class{constructor(e,t,n,o){this._apiCall=e,this._request=t,this._bundledField=n,this._subresponseField=o,this._data=[]}getElementCount(){let e=0;for(let t=0;t{const n=[];if(e)a._data.forEach((()=>{n.push(void 0)}));else{let e=null;a._subresponseField&&(e={field:a._subresponseField,start:0}),a._data.forEach((o=>{e&&(e.end=e.start+o.elements.length),n.push(i(t,e)),e&&(e.start=e.end)}))}for(let t=0;t{n.callback.id===e&&(n.cancelled=!0),n.cancelled||(t=!1)})),t&&this.callCanceller.cancel(),t}for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OngoingCallPromise=t.OngoingCall=void 0;const o=n(59751),r=n(87834);class i{constructor(e){this.callback=e,this.completed=!1}cancel(){if(!this.completed)if(this.completed=!0,this.cancelFunc)this.cancelFunc();else{const e=new r.GoogleError("cancelled");e.code=o.Status.CANCELLED,this.callback(e)}}call(e,t){if(this.completed)return;const n=e(t,((e,t,n,o)=>{this.completed=!0,setImmediate(this.callback,e,t,n,o)}));n instanceof Promise&&n.catch((e=>{setImmediate(this.callback,new r.GoogleError(e),null,null,null)})),this.cancelFunc=()=>n.cancel()}}t.OngoingCall=i,t.OngoingCallPromise=class extends i{constructor(){let e,t;const n=new Promise(((n,o)=>{e=n,t=o}));super(((n,o,i,a)=>{if(n)n.metadata?t(r.GoogleError.parseGRPCStatusDetails(n)):t(n);else{if(void 0===o)throw new r.GoogleError("Neither error nor response are defined");e([o,i||null,a||null])}})),this.promise=n,this.promise.cancel=()=>{this.cancel()}}}},21691:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createApiCall=void 0;const o=n(72520),r=n(24876),i=n(43267);t.createApiCall=function(e,t,n,a){const s="function"==typeof e?Promise.resolve(e):e,l=(0,o.createAPICaller)(t,n);return(e,n,a)=>{const c=t.merge(n);let p=l;t.isBundling&&!c.isBundling&&(p=(0,o.createAPICaller)(t,void 0));const u=p.init(a);return s.then((e=>{var t;e=p.wrap(e);const n=null===(t=p.descriptor)||void 0===t?void 0:t.streaming,o=c.retry;return!n&&o&&o.retryCodes&&o.retryCodes.length>0?(o.backoffSettings.initialRpcTimeoutMillis=o.backoffSettings.initialRpcTimeoutMillis||c.timeout,(0,r.retryable)(e,c.retry,c.otherArgs,c.apiName)):(0,i.addTimeoutArg)(e,c.timeout,c.otherArgs)})).then((t=>{p.call(t,e,c,u)})).catch((e=>{p.fail(u,e)})),p.result(u)}}},84823:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BundleDescriptor=t.StreamDescriptor=t.PageDescriptor=t.LongrunningDescriptor=void 0;var o=n(63186);Object.defineProperty(t,"LongrunningDescriptor",{enumerable:!0,get:function(){return o.LongRunningDescriptor}});var r=n(17792);Object.defineProperty(t,"PageDescriptor",{enumerable:!0,get:function(){return r.PageDescriptor}});var i=n(34747);Object.defineProperty(t,"StreamDescriptor",{enumerable:!0,get:function(){return i.StreamDescriptor}});var a=n(49805);Object.defineProperty(t,"BundleDescriptor",{enumerable:!0,get:function(){return a.BundleDescriptor}})},86936:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fallback=t.GoogleError=t.operation=t.Operation=t.warn=t.protobufMinimal=t.protobuf=t.createApiCall=t.LocationProtos=t.IamProtos=t.operationsProtos=t.lro=t.GrpcClient=t.defaultToObjectOptions=t.LocationsClient=t.IamClient=t.OperationsClient=t.StreamType=t.StreamDescriptor=t.PageDescriptor=t.LongrunningDescriptor=t.BundleDescriptor=t.version=t.createDefaultBackoffSettings=t.RetryOptions=t.constructSettings=t.CallSettings=t.routingHeader=t.PathTemplate=void 0;const o=n(62319),r=n(1747);t.protobuf=r;const i=n(34085),a=n(10499);t.routingHeader=a;const s=n(59751),l=n(81173),c=n(65171),p=n(21691),u=n(96577),d=n(61723),g=n(84221),f=n(7768),h=n(80707),m=n(6668),y=n(89255);t.IamProtos=y;const v=n(51419);t.LocationProtos=v;const b=n(42268);t.operationsProtos=b;var O=n(6318);Object.defineProperty(t,"PathTemplate",{enumerable:!0,get:function(){return O.PathTemplate}});var w=n(34085);Object.defineProperty(t,"CallSettings",{enumerable:!0,get:function(){return w.CallSettings}}),Object.defineProperty(t,"constructSettings",{enumerable:!0,get:function(){return w.constructSettings}}),Object.defineProperty(t,"RetryOptions",{enumerable:!0,get:function(){return w.RetryOptions}}),Object.defineProperty(t,"createDefaultBackoffSettings",{enumerable:!0,get:function(){return w.createDefaultBackoffSettings}}),t.version=n(54357).version+"-fallback";var P=n(84823);Object.defineProperty(t,"BundleDescriptor",{enumerable:!0,get:function(){return P.BundleDescriptor}}),Object.defineProperty(t,"LongrunningDescriptor",{enumerable:!0,get:function(){return P.LongrunningDescriptor}}),Object.defineProperty(t,"PageDescriptor",{enumerable:!0,get:function(){return P.PageDescriptor}}),Object.defineProperty(t,"StreamDescriptor",{enumerable:!0,get:function(){return P.StreamDescriptor}});var x=n(80707);Object.defineProperty(t,"StreamType",{enumerable:!0,get:function(){return x.StreamType}});var S=n(65171);Object.defineProperty(t,"OperationsClient",{enumerable:!0,get:function(){return S.OperationsClient}});var T=n(55443);Object.defineProperty(t,"IamClient",{enumerable:!0,get:function(){return T.IamClient}});var A=n(36397);Object.defineProperty(t,"LocationsClient",{enumerable:!0,get:function(){return A.LocationsClient}}),t.defaultToObjectOptions={keepCase:!1,longs:String,enums:String,defaults:!0,oneofs:!0};const E="x-goog-api-client";class j{constructor(e={}){var t;if((0,g.isNodeJS)())this.auth=e.auth||new l.GoogleAuth(e);else{if(!e.auth)throw new Error(JSON.stringify(e)+"You need to pass auth instance to use gRPC-fallback client in browser or other non-Node.js environments. Use OAuth2Client from google-auth-library.");this.auth=e.auth}this.fallback="rest"!==e.fallback?"proto":"rest",this.grpcVersion=n(54357).version,this.httpRules=e.httpRules,this.numericEnums=null!==(t=e.numericEnums)&&void 0!==t&&t}static clearProtoCache(){j.protoCache.clear()}loadProto(e){return r.Root.fromJSON(e)}loadProtoJSON(e,t=!1){const n=o(JSON.stringify(e)).toString(),i=j.protoCache.get(n);if(i&&!t)return i;const a=r.Root.fromJSON(e);return j.protoCache.set(n,a),a}static getServiceMethods(e){const t={};for(const[n,o]of Object.entries(e.methods))t[(0,m.toLowerCamelCase)(n)]=o;return t}constructSettings(e,n,o,r){return i.constructSettings(e,n,o,s.Status,{metadataBuilder:function(e,n){const o={};r||(r={});for(const e in r)o[e]=Array.isArray(r[e])?r[e]:[r[e]];const i=[];if(o[E]&&o[E][0]&&i.push(...o[E][0].split(" ")),i.push(`grpc-web/${t.version}`),o[E]=[i.join(" ")],!n)return o;for(const e in n)if(e.toLowerCase()!==E){const t=n[e];if(Array.isArray(t))if(void 0===o[e])o[e]=t;else{if(!Array.isArray(o[e]))throw new Error(`Can not add value ${t} to the call metadata.`);o[e].push(...t)}else o[e]=[t]}return o}})}async createStub(e,t,n){if(this.authClient||(this.auth&&"getClient"in this.auth?this.authClient=await this.auth.getClient():this.auth&&"getRequestHeaders"in this.auth&&(this.authClient=this.auth)),!this.authClient)throw new Error("No authentication was provided");e.resolveAll();const o=j.getServiceMethods(e),r=t.protocol||"https";let i,a=t.servicePath;if(!a&&e.options&&e.options["(google.api.default_host)"]&&(a=e.options["(google.api.default_host)"]),!a)throw new Error(`Cannot determine service API path for service ${e.name}.`);const s=a.match(/^(.*):(\d+)$/);s&&(a=s[1],i=parseInt(s[2])),t.port?i=t.port:i||(i=443);const l="rest"===this.fallback?d.encodeRequest:u.encodeRequest,c="rest"===this.fallback?d.decodeResponse:u.decodeResponse;return(0,f.generateServiceStub)(o,r,a,i,this.authClient,l,c,this.numericEnums)}static createByteLengthFunction(e){return i.createByteLengthFunction(e)}}t.GrpcClient=j,j.protoCache=new Map,t.lro=function(e){(e=Object.assign({scopes:[]},e)).protoJson&&(e=Object.assign(e,{fallback:"rest"}));const t=new j(e);return new c.OperationsClientBuilder(t,e.protoJson)},t.createApiCall=function(e,t,n,o){return o&&"rest"!==o||!n||!("streaming"in n)||n.type===h.StreamType.SERVER_STREAMING?("proto"===o||!0===o)&&n&&"streaming"in n?()=>{throw new Error("The gRPC-fallback (proto over HTTP) transport currently does not support streaming calls.")}:(0,p.createApiCall)(e,t,n):()=>{throw new Error("The REST transport currently does not support client-streaming or bidi-stream calls.")}},t.protobufMinimal=n(1740);var k=n(85059);Object.defineProperty(t,"warn",{enumerable:!0,get:function(){return k.warn}});var _=n(87091);Object.defineProperty(t,"Operation",{enumerable:!0,get:function(){return _.Operation}}),Object.defineProperty(t,"operation",{enumerable:!0,get:function(){return _.operation}});var C=n(87834);Object.defineProperty(t,"GoogleError",{enumerable:!0,get:function(){return C.GoogleError}});const I=e.exports;t.fallback=I},96577:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeResponse=t.encodeRequest=void 0;const o=n(86936),r=n(87834);t.encodeRequest=function(e,t,n,o,r){const i=[];let a=e.parent;for(;""!==a.name;)i.unshift(a.name),a=a.parent;const s=i.join("."),l=e.name,c=e.resolvedRequestType.fromObject(r);return{method:"POST",url:`${t}://${n}:${o}/$rpc/${s}/${l}`,headers:{"Content-Type":"application/x-protobuf"},body:e.resolvedRequestType.encode(c).finish()}},t.decodeResponse=function(e,t,n){if(!t)throw(new r.GoogleErrorDecoder).decodeErrorFromBuffer(n);const i=n instanceof ArrayBuffer?new Uint8Array(n):n,a=e.resolvedResponseType.decode(i);return e.resolvedResponseType.toObject(a,o.defaultToObjectOptions)}},61723:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeResponse=t.encodeRequest=void 0;const o=n(95218),r=n(86936),i=n(84221),a=n(87834),s=n(66055);(0,i.hasTextEncoder)()&&(0,i.hasTextDecoder)()||n(99707),t.encodeRequest=function(e,t,n,r,i,a){const l=e.resolvedRequestType.fromObject(i),c=o.toProto3JSON(l,{numericEnums:a});if(!c)throw new Error(`Cannot send null request to RPC ${e.name}.`);if("object"!=typeof c||Array.isArray(c))throw new Error(`Request to RPC ${e.name} must be an object.`);const p=(0,s.transcode)(c,e.parsedOptions);if(!p)throw new Error(`Cannot build HTTP request for ${JSON.stringify(c)}, method: ${e.name}`);a&&(p.queryString=(p.queryString?"&":"")+"$alt=json%3Benum-encoding=int");const u=p.httpMethod.toUpperCase(),d=JSON.stringify(p.data);return{method:u,url:`${t}://${n}:${r}/${p.url.replace(/^\//,"")}?${p.queryString}`,headers:{"Content-Type":"application/json"},body:d}},t.decodeResponse=function(e,t,n){const i=(new TextDecoder).decode(n),s=JSON.parse(i);if(!t)throw a.GoogleError.parseHttpError(s);const l=o.fromProto3JSON(e.resolvedResponseType,s);if(!l)throw new Error(`Received null response from RPC ${e.name}`);return e.resolvedResponseType.toObject(l,r.defaultToObjectOptions)}},7768:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateServiceStub=void 0;const o=n(54250),r=n(3209),i=n(84221),a=n(34560),s=n(12781);t.generateServiceStub=function(e,t,n,l,c,p,u,d){const g=(0,i.hasWindowFetch)()?window.fetch:o.default,f={close:()=>({cancel:()=>{}})};for(const[o,h]of Object.entries(e))f[o]=(e,o,f,m)=>{let y;try{y=p(h,t,n,l,e,d)}catch(e){return m(e),{cancel(){}}}const v=(0,i.hasAbortController)()?new AbortController:new r.AbortController,b=v.signal;let O=!1;const w=y.url,P=y.headers;for(const e of Object.keys(o))P[e]=o[e][0];const x=new a.StreamArrayParser(h);return c.getRequestHeaders().then((e=>{const t={headers:{...e,...P},body:y.body,method:y.method,signal:b};return"GET"!==y.method&&"DELETE"!==y.method||delete t.body,g(w,t)})).then((e=>e.ok&&h.responseStream?void(0,s.pipeline)(e.body,x,(e=>{e&&(!O||e instanceof Error&&"AbortError"!==e.name)&&(m&&m(e),x.emit("error",e))})):Promise.all([Promise.resolve(e.ok),e.arrayBuffer()]).then((([e,t])=>{const n=u(h,e,t);m(null,n)})).catch((e=>{O&&"AbortError"===e.name||(h.responseStream?(m&&m(e),x.emit("error",e)):m(e))})))).catch((e=>m(e))),h.responseStream?x:{cancel:()=>{O=!0,v.abort()}}};return f}},84221:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.hasAbortController=t.isNodeJS=t.hasTextDecoder=t.hasTextEncoder=t.hasWindowFetch=void 0;const o={windowFetch:"undefined"!=typeof window&&(null===window||void 0===window?void 0:window.fetch)&&"function"==typeof(null===window||void 0===window?void 0:window.fetch),textEncoder:"undefined"!=typeof TextEncoder,textDecoder:"undefined"!=typeof TextDecoder,nodeJS:"undefined"!=typeof process&&(null===(n=null===process||void 0===process?void 0:process.versions)||void 0===n?void 0:n.node),abortController:"undefined"!=typeof AbortController};t.hasWindowFetch=function(){return o.windowFetch},t.hasTextEncoder=function(){return o.textEncoder},t.hasTextDecoder=function(){return o.textDecoder},t.isNodeJS=function(){return o.nodeJS},t.hasAbortController=function(){return o.abortController}},34085:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createByteLengthFunction=t.constructSettings=t.createBundleOptions=t.createMaxRetriesBackoffSettings=t.createDefaultBackoffSettings=t.createBackoffSettings=t.createRetryOptions=t.CallSettings=t.RetryOptions=void 0;const o=n(85059),r=n(6668);t.RetryOptions=class{constructor(e,t){this.retryCodes=e,this.backoffSettings=t}};class i{constructor(e){var t;e=e||{},this.timeout=e.timeout||3e4,this.retry=e.retry,this.autoPaginate=!("autoPaginate"in e)||e.autoPaginate,this.maxResults=e.maxResults,this.otherArgs=e.otherArgs||{},this.bundleOptions=e.bundleOptions,this.isBundling=!("isBundling"in e)||e.isBundling,this.longrunning="longrunning"in e?e.longrunning:void 0,this.apiName=null!==(t=e.apiName)&&void 0!==t?t:void 0,this.retryRequestOptions=e.retryRequestOptions}merge(e){if(!e)return new i(this);let t=this.timeout,n=this.retry,o=this.autoPaginate,r=this.maxResults,a=this.otherArgs,s=this.isBundling,l=this.longrunning,c=this.apiName,u=this.retryRequestOptions;if(null!=n&&null!==n.retryCodes&&n.retryCodes.length>0&&(n.backoffSettings.initialRpcTimeoutMillis=t,n.backoffSettings.maxRpcTimeoutMillis=t,n.backoffSettings.totalTimeoutMillis=t),"timeout"in e&&(t=e.timeout,null!=n&&n.retryCodes.length>0&&(n.backoffSettings.initialRpcTimeoutMillis=t,n.backoffSettings.maxRpcTimeoutMillis=t,n.backoffSettings.totalTimeoutMillis=t)),"retry"in e&&(n=p(n||{},e.retry)),"autoPaginate"in e&&!e.autoPaginate&&(o=!1),"maxResults"in e&&(r=e.maxResults),"otherArgs"in e){a={};for(const e in this.otherArgs)a[e]=this.otherArgs[e];for(const t in e.otherArgs)a[t]=e.otherArgs[t]}return"isBundling"in e&&(s=e.isBundling),"maxRetries"in e&&(n.backoffSettings.maxRetries=e.maxRetries,delete n.backoffSettings.totalTimeoutMillis),"longrunning"in e&&(l=e.longrunning),"apiName"in e&&(c=e.apiName),"retryRequestOptions"in e&&(u=e.retryRequestOptions),new i({timeout:t,retry:n,bundleOptions:this.bundleOptions,longrunning:l,autoPaginate:o,maxResults:r,otherArgs:a,isBundling:s,apiName:c,retryRequestOptions:u})}}function a(e,t){return{retryCodes:e,backoffSettings:t}}function s(e,t,n,o,r,i,a){return{initialRetryDelayMillis:e,retryDelayMultiplier:t,maxRetryDelayMillis:n,initialRpcTimeoutMillis:o,rpcTimeoutMultiplier:r,maxRpcTimeoutMillis:i,totalTimeoutMillis:a}}function l(e){["element_count_threshold","element_count_limit","request_byte_threshold","request_byte_limit","delay_threshold_millis"].forEach((t=>{if(t in e&&"number"!=typeof e[t])throw new Error(`${t} should be a number`)}));const t=e.element_count_threshold||0,n=e.element_count_limit||0,o=e.request_byte_threshold||0,r=e.request_byte_limit||0,i=e.delay_threshold_millis||0;if(0===t&&0===o&&0===i)throw new Error("one threshold should be > 0");return{elementCountThreshold:t,elementCountLimit:n,requestByteThreshold:o,requestByteLimit:r,delayThreshold:i}}function c(e,t,n,o){if(!e)return null;let r=null;t&&"retry_codes_name"in e&&(r=(t[e.retry_codes_name]||[]).map((e=>Number(o[e]))));let i=null;if(n&&"retry_params_name"in e){const t=n[e.retry_params_name];i=s(t.initial_retry_delay_millis,t.retry_delay_multiplier,t.max_retry_delay_millis,t.initial_rpc_timeout_millis,t.rpc_timeout_multiplier,t.max_rpc_timeout_millis,t.total_timeout_millis)}return a(r,i)}function p(e,t){return t?t.retryCodes||t.backoffSettings?a(t.retryCodes?t.retryCodes:e.retryCodes,t.backoffSettings?t.backoffSettings:e.backoffSettings):e:null}t.CallSettings=i,t.createRetryOptions=a,t.createBackoffSettings=s,t.createDefaultBackoffSettings=function(){return s(100,1.3,6e4,null,null,null,null)},t.createMaxRetriesBackoffSettings=function(e,t,n,o,r,i,a){return{initialRetryDelayMillis:e,retryDelayMultiplier:t,maxRetryDelayMillis:n,initialRpcTimeoutMillis:o,rpcTimeoutMultiplier:r,maxRpcTimeoutMillis:i,maxRetries:a}},t.createBundleOptions=l,t.constructSettings=function(e,t,n,o,a){a=a||{};const s={},u=(t.interfaces||{})[e];if(!u)return null;const d=(n.interfaces||{})[e]||{},g=u.methods,f=d.methods||{};for(const t in g){const n=g[t],h=(0,r.toLowerCamelCase)(t);let m=c(n,u.retry_codes,u.retry_params,o),y=n.bundling,v=n.timeout_millis;if(t in f){const e=f[t];e&&("bundling"in e&&(y=e.bundling),"timeout_millis"in e&&(v=e.timeout_millis)),m=p(m,c(e,d.retry_codes,d.retry_params,o))}const b=e;s[h]=new i({timeout:v,retry:m,bundleOptions:y?l(y):null,otherArgs:a,apiName:b})}return s},t.createByteLengthFunction=function(e){return function(t){try{return e.encode(t).finish().length}catch(e){const n=JSON.stringify(t);return(0,o.warn)("error_encoding_protobufjs_object",`Cannot encode protobuf.js object: ${n}: ${e}`),n.length}}}},87834:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleErrorDecoder=t.GoogleError=void 0;const o=n(59751),r=n(1747),i=n(95218),a=n(86936);class s extends Error{static parseGRPCStatusDetails(e){const t=new l;try{if(e.metadata&&e.metadata.get("grpc-status-details-bin")){const n=t.decodeGRPCStatusDetails(e.metadata.get("grpc-status-details-bin"));n&&n.details&&n.details.length>0&&(e.statusDetails=n.details),n&&n.errorInfo&&(e.reason=n.errorInfo.reason,e.domain=n.errorInfo.domain,e.errorInfoMetadata=n.errorInfo.metadata)}}catch(e){}return e}static parseHttpError(e){Array.isArray(e)&&(e=e.find((e=>"error"in e))),e.error||(e.error={},Object.keys(e).filter((e=>"error"!==e)).forEach((t=>{e.error[t]=e[t],delete e[t]})));const t=new l,n=t.decodeHTTPError(e.error),r=Object.assign(new s(e.error.message),n);if(e.error.code?r.code=(0,o.rpcCodeFromHttpStatusCode)(e.error.code):delete r.code,r.details)try{const e=t.decodeHttpStatusDetails(r.details);e&&e.details&&e.details.length>0&&(r.statusDetails=e.details),e&&e.errorInfo&&(r.reason=e.errorInfo.reason,r.domain=e.errorInfo.domain,r.errorInfoMetadata=e.errorInfo.metadata)}catch(e){}return r}}t.GoogleError=s;class l{constructor(){const e=n(58234);this.root=r.Root.fromJSON(e),this.anyType=this.root.lookupType("google.protobuf.Any"),this.statusType=this.root.lookupType("google.rpc.Status")}decodeProtobufAny(e){const t=e.type_url.match(/^type.googleapis.com\/(.*)/);if(!t)throw new Error(`Unknown type encoded in google.protobuf.any: ${e.type_url}`);const n=t[1],o=this.root.lookupType(n);if(!o)throw new Error(`Cannot lookup type ${n}`);return o.decode(e.value)}decodeRpcStatus(e){const t=new Uint8Array(e),n=this.statusType.decode(t),o=[];let r;for(const e of n.details)try{const t=this.decodeProtobufAny(e);o.push(t),"type.googleapis.com/google.rpc.ErrorInfo"===e.type_url&&(r=t)}catch(e){}return{code:n.code,message:n.message,statusDetails:o,reason:null==r?void 0:r.reason,domain:null==r?void 0:r.domain,errorInfoMetadata:null==r?void 0:r.metadata}}callErrorFromStatus(e){return e.message=`${e.code} ${o.Status[e.code]}: ${e.message}`,Object.assign(new s(e.message),e)}decodeErrorFromBuffer(e){return this.callErrorFromStatus(this.decodeRpcStatus(e))}decodeGRPCStatusDetails(e){const t=[];let n;return e.forEach((e=>{const o=new Uint8Array(e),r=this.statusType.decode(o);for(const e of r.details)try{const o=this.decodeProtobufAny(e);t.push(o),"type.googleapis.com/google.rpc.ErrorInfo"===e.type_url&&(n=o)}catch(e){}})),{details:t,errorInfo:n}}decodeHTTPError(e){const t=i.fromProto3JSON(this.statusType,e);if(!t)throw new Error(`Received error message ${e}, but failed to serialize as proto3 message`);return this.statusType.toObject(t,a.defaultToObjectOptions)}decodeHttpStatusDetails(e){const t=[];let n;for(const o of e)try{const e=this.decodeProtobufAny(o);t.push(e),"type.googleapis.com/google.rpc.ErrorInfo"===o.type_url&&(n=e)}catch(e){}return{details:t,errorInfo:n}}}t.GoogleErrorDecoder=l},88364:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleProtoFilesRoot=t.GrpcClient=t.ClientStub=void 0;const o=n(91779),r=n(32081),i=n(57147),a=n(81173),s=n(38268),l=n(22037),c=n(71017),p=n(71017),u=n(1747),d=n(62319),g=n(34085),f=p.join(__dirname,"..","..","build","protos"),h=[];h.push(f);const m=n(54249).map((e=>e.replace(/[/\\]/g,p.sep)));class y extends s.Client{}t.ClientStub=y;class v{constructor(e={}){var t;this.auth=e.auth||new a.GoogleAuth(e),this.fallback=!1;const o=Number(null===(t=process.version.match(/^v(\d+)/))||void 0===t?void 0:t[1]);if(Number.isNaN(o)||o<10)throw new Error("Node.js v10.0.0 is a minimum requirement. To learn about legacy version support visit: https://github.com/googleapis/google-cloud-node#supported-nodejs-versions");"grpc"in e?(this.grpc=e.grpc,this.grpcVersion=""):(this.grpc=s,this.grpcVersion=n(14167).i8)}static protoCacheKey(e,t){if(e&&(!Array.isArray(e)||0!==e.length&&e[0]))return JSON.stringify(e)+" "+JSON.stringify(t)}static clearProtoCache(){v.protoCache.clear()}async _getCredentials(e){if(e.sslCreds)return e.sslCreds;const t=this.grpc,n=e.cert&&e.key?t.credentials.createSsl(null,Buffer.from(e.key),Buffer.from(e.cert)):t.credentials.createSsl(),o=await this.auth.getClient();return t.credentials.combineChannelCredentials(n,t.credentials.createFromGoogleCredential(o))}static defaultOptions(){const e=h.slice();return{keepCase:!1,longs:String,enums:String,defaults:!0,oneofs:!0,includeDirs:e}}loadFromProto(e,t,n=!1){const r=v.protoCacheKey(e,t);let i=r?v.protoCache.get(r):void 0;if(n||!i){const n=o.loadSync(e,t);i=this.grpc.loadPackageDefinition(n),r&&v.protoCache.set(r,i)}return i}loadProto(e,t,n=!1){if(t||(t=p.basename(e),e=p.dirname(e)),Array.isArray(t)&&0===t.length)return{};const o=v.defaultOptions();return o.includeDirs.unshift(e),this.loadFromProto(t,o,n)}static _resolveFile(e,t){if(i.existsSync(p.join(e,t)))return p.join(e,t);if(m.indexOf(t)>-1)return p.join(f,t);throw new Error(t+" could not be found in "+e)}loadProtoJSON(e,t=!1){const n=d(JSON.stringify(e)).toString(),r=v.protoCache.get(n);if(r&&!t)return r;const i=v.defaultOptions(),a=o.fromJSON(e,i),s=this.grpc.loadPackageDefinition(a);return v.protoCache.set(n,s),s}metadataBuilder(e){const t=new(0,this.grpc.Metadata);for(const n in e){const o=e[n];Array.isArray(o)?o.forEach((e=>t.add(n,e))):t.set(n,`${o}`)}return function(e,n){let o=!1,r=t;if(n)for(const e in n)if("x-goog-api-client"!==e.toLowerCase()){o||(o=!0,r=r.clone());const t=n[e];Array.isArray(t)?t.forEach((t=>r.add(e,t))):r.set(e,`${t}`)}return r}}constructSettings(e,t,n,o){return g.constructSettings(e,t,n,this.grpc.status,{metadataBuilder:this.metadataBuilder(o)})}async createStub(e,t,n){const o=["grpc.callInvocationTransformer","grpc.channelFactoryOverride","grpc.gcpApiConfig"],[r,i]=await this._detectClientCertificate(t),a=this._mtlsServicePath(t.servicePath,n,r&&i),s=Object.assign({},t,{cert:r,key:i,servicePath:a}),l=a+":"+s.port,c=await this._getCredentials(s),p={"grpc.max_receive_message_length":-1,"grpc.max_send_message_length":-1,"grpc.initial_reconnect_backoff_ms":1e3};return Object.keys(s).forEach((e=>{const n=t[e];e.startsWith("grpc.grpc.")&&(e=e.replace(/^grpc\./,"")),e.startsWith("grpc.")&&(o.includes(e)&&(e=e.replace(/^grpc\./,"")),p[e]=n),e.startsWith("grpc-node.")&&(p[e]=n)})),new e(l,c,p)}async _detectClientCertificate(e){var t;const n=/(?-----BEGIN CERTIFICATE-----.*?-----END CERTIFICATE-----)/s,o=/(?-----BEGIN PRIVATE KEY-----.*?-----END PRIVATE KEY-----)/s;if("undefined"!=typeof process&&"true"===(null===(t=null===process||void 0===process?void 0:process.env)||void 0===t?void 0:t.GOOGLE_API_USE_CLIENT_CERTIFICATE)){if((null==e?void 0:e.cert)&&(null==e?void 0:e.key))return[e.cert,e.key];const t=(0,c.join)(l.homedir(),".secureConnect","context_aware_metadata.json"),a=JSON.parse(await async function(e){return new Promise(((t,n)=>{i.readFile(e,"utf8",((e,o)=>{if(e)return n(e);t(o)}))}))}(t));if(!a.cert_provider_command)throw Error("no cert_provider_command found");const s=await async function(e,t){return new Promise(((n,o)=>{(0,r.execFile)(e,t,((e,t)=>{if(e)return o(e);n(t)}))}))}(a.cert_provider_command[0],a.cert_provider_command.slice(1)),p=s.toString().match(n),u=s.toString().match(o);if((null==p?void 0:p.groups)&&(null==u?void 0:u.groups))return[p.groups.cert,u.groups.key];throw Error("unable to parse certificate and key")}return[void 0,void 0]}_mtlsServicePath(e,t,n){var o,r;return t||!e||"undefined"!=typeof process&&"never"===(null===(o=null===process||void 0===process?void 0:process.env)||void 0===o?void 0:o.GOOGLE_API_USE_MTLS_ENDPOINT)?e:"undefined"!=typeof process&&"always"===(null===(r=null===process||void 0===process?void 0:process.env)||void 0===r?void 0:r.GOOGLE_API_USE_MTLS_ENDPOINT)||n?e.replace("googleapis.com","mtls.googleapis.com"):e}static createByteLengthFunction(e){return g.createByteLengthFunction(e)}}t.GrpcClient=v,v.protoCache=new Map;class b extends u.Root{constructor(...e){super(...e)}resolvePath(e,t){if(e=p.normalize(e),t=p.normalize(t),p.isAbsolute(t)){if(!i.existsSync(t))throw new Error("The include `"+t+"` was not found.");return t}return m.indexOf(t)>-1?p.join(f,t):b._findIncludePath(e,t)}static _findIncludePath(e,t){e=p.normalize(e),t=p.normalize(t);let n=e,o=i.existsSync(p.join(n,t));for(;!o&&n.length>0;)n=n.substring(0,n.lastIndexOf(p.sep)),o=i.existsSync(p.join(n,t));if(!o)throw new Error("The include `"+t+"` was not found.");return p.join(n,t)}}t.GoogleProtoFilesRoot=b},55443:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IamClient=void 0;const o=n(21691),r=n(10499),i=n(9302),a=n(86936);let s=n(54357).version;const l=n(87451);t.IamClient=class{constructor(e,t){this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{}},this.innerApiCalls={},this.gaxGrpc=e;const n=Object.assign({servicePath:t.servicePath,port:t.port,clientConfig:t.clientConfig,apiEndpoint:t.apiEndpoint,fallback:t.fallback},t);s=n.fallback?a.version:s,n.scopes=this.constructor.scopes,this._opts=n,this.auth=e.auth;const o=[`gax/${s}`,`gapic/${s}`];"undefined"!=typeof process&&"versions"in process?o.push(`gl-node/${process.versions.node}`):o.push(`gl-web/${s}`),n.fallback||o.push(`grpc/${e.grpcVersion}`),n.libName&&n.libVersion&&o.push(`${n.libName}/${n.libVersion}`),this._protos=this.gaxGrpc.loadProtoJSON(l),this._defaults=e.constructSettings("google.iam.v1.IAMPolicy",i,n.clientConfig||{},{"x-goog-api-client":o.join(" ")}),this.innerApiCalls={}}initialize(){if(this.iamPolicyStub)return this.iamPolicyStub;this.iamPolicyStub=this.gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.iam.v1.IAMPolicy"):this._protos.google.iam.v1.IAMPolicy,this._opts);const e=["getIamPolicy","setIamPolicy","testIamPermissions"];for(const t of e){const e=this.iamPolicyStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e}));this.innerApiCalls[t]=(0,o.createApiCall)(e,this._defaults[t],this.descriptors.page[t])}return this.iamPolicyStub}static get servicePath(){return"cloudkms.googleapis.com"}static get apiEndpoint(){return"cloudkms.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloudkms"]}getProjectId(e){return this.auth&&"getProjectId"in this.auth?this.auth.getProjectId(e):e?void e(new Error("Cannot determine project ID.")):Promise.reject("Cannot determine project ID.")}getIamPolicy(e,t,n){let o;return t instanceof Function&&void 0===n?(n=t,o={}):o=t,e=e||{},o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},o.otherArgs.headers["x-goog-request-params"]=r.fromParams({resource:e.resource}),this.initialize(),this.innerApiCalls.getIamPolicy(e,o,n)}setIamPolicy(e,t,n){let o;return t instanceof Function&&void 0===n?(n=t,o={}):o=t,e=e||{},o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},o.otherArgs.headers["x-goog-request-params"]=r.fromParams({resource:e.resource}),this.initialize(),this.innerApiCalls.setIamPolicy(e,o,n)}testIamPermissions(e,t,n){let o;return t instanceof Function&&void 0===n?(n=t,o={}):o=t,e=e||{},o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},o.otherArgs.headers["x-goog-request-params"]=r.fromParams({resource:e.resource}),this.initialize(),this.innerApiCalls.testIamPermissions(e,o,n)}close(){return this.initialize(),this._terminated?Promise.resolve():this.iamPolicyStub.then((e=>{this._terminated=!0,e.close()}))}}},38845:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializer=t.warn=t.ChannelCredentials=t.fallback=t.protobufMinimal=t.protobuf=t.version=t.createByteLengthFunction=t.LocationsClient=t.IamClient=t.OperationsClient=t.LocationProtos=t.IamProtos=t.operationsProtos=t.lro=t.routingHeader=t.StreamType=t.Status=t.PathTemplate=t.operation=t.Operation=t.GrpcClient=t.GoogleProtoFilesRoot=t.ClientStub=t.GoogleError=t.createMaxRetriesBackoffSettings=t.createDefaultBackoffSettings=t.createBackoffSettings=t.createBundleOptions=t.createRetryOptions=t.RetryOptions=t.constructSettings=t.CallSettings=t.StreamDescriptor=t.PageDescriptor=t.LongrunningDescriptor=t.BundleDescriptor=t.createApiCall=t.OngoingCall=t.grpc=t.GoogleAuth=void 0;const o=n(38268);t.grpc=o;const r=n(88364),i=n(89255);t.IamProtos=i;const a=n(51419);t.LocationProtos=a;const s=n(42268);t.operationsProtos=s;const l=n(65171),c=n(10499);t.routingHeader=c;var p=n(81173);Object.defineProperty(t,"GoogleAuth",{enumerable:!0,get:function(){return p.GoogleAuth}});var u=n(70314);Object.defineProperty(t,"OngoingCall",{enumerable:!0,get:function(){return u.OngoingCall}});var d=n(21691);Object.defineProperty(t,"createApiCall",{enumerable:!0,get:function(){return d.createApiCall}});var g=n(84823);Object.defineProperty(t,"BundleDescriptor",{enumerable:!0,get:function(){return g.BundleDescriptor}}),Object.defineProperty(t,"LongrunningDescriptor",{enumerable:!0,get:function(){return g.LongrunningDescriptor}}),Object.defineProperty(t,"PageDescriptor",{enumerable:!0,get:function(){return g.PageDescriptor}}),Object.defineProperty(t,"StreamDescriptor",{enumerable:!0,get:function(){return g.StreamDescriptor}});var f=n(34085);Object.defineProperty(t,"CallSettings",{enumerable:!0,get:function(){return f.CallSettings}}),Object.defineProperty(t,"constructSettings",{enumerable:!0,get:function(){return f.constructSettings}}),Object.defineProperty(t,"RetryOptions",{enumerable:!0,get:function(){return f.RetryOptions}}),Object.defineProperty(t,"createRetryOptions",{enumerable:!0,get:function(){return f.createRetryOptions}}),Object.defineProperty(t,"createBundleOptions",{enumerable:!0,get:function(){return f.createBundleOptions}}),Object.defineProperty(t,"createBackoffSettings",{enumerable:!0,get:function(){return f.createBackoffSettings}}),Object.defineProperty(t,"createDefaultBackoffSettings",{enumerable:!0,get:function(){return f.createDefaultBackoffSettings}}),Object.defineProperty(t,"createMaxRetriesBackoffSettings",{enumerable:!0,get:function(){return f.createMaxRetriesBackoffSettings}});var h=n(87834);Object.defineProperty(t,"GoogleError",{enumerable:!0,get:function(){return h.GoogleError}});var m=n(88364);Object.defineProperty(t,"ClientStub",{enumerable:!0,get:function(){return m.ClientStub}}),Object.defineProperty(t,"GoogleProtoFilesRoot",{enumerable:!0,get:function(){return m.GoogleProtoFilesRoot}}),Object.defineProperty(t,"GrpcClient",{enumerable:!0,get:function(){return m.GrpcClient}});var y=n(87091);Object.defineProperty(t,"Operation",{enumerable:!0,get:function(){return y.Operation}}),Object.defineProperty(t,"operation",{enumerable:!0,get:function(){return y.operation}});var v=n(6318);Object.defineProperty(t,"PathTemplate",{enumerable:!0,get:function(){return v.PathTemplate}});var b=n(59751);Object.defineProperty(t,"Status",{enumerable:!0,get:function(){return b.Status}});var O=n(80707);function w(e){e=Object.assign({scopes:w.ALL_SCOPES},e);const t=new r.GrpcClient(e);return new l.OperationsClientBuilder(t)}Object.defineProperty(t,"StreamType",{enumerable:!0,get:function(){return O.StreamType}}),t.lro=w,w.SERVICE_ADDRESS=l.SERVICE_ADDRESS,w.ALL_SCOPES=l.ALL_SCOPES;var P=n(65171);Object.defineProperty(t,"OperationsClient",{enumerable:!0,get:function(){return P.OperationsClient}});var x=n(55443);Object.defineProperty(t,"IamClient",{enumerable:!0,get:function(){return x.IamClient}});var S=n(36397);Object.defineProperty(t,"LocationsClient",{enumerable:!0,get:function(){return S.LocationsClient}}),t.createByteLengthFunction=r.GrpcClient.createByteLengthFunction,t.version=n(54357).version;const T=n(1747);t.protobuf=T,t.protobufMinimal=n(1740);const A=n(86936);t.fallback=A;var E=n(38268);Object.defineProperty(t,"ChannelCredentials",{enumerable:!0,get:function(){return E.ChannelCredentials}});var j=n(85059);Object.defineProperty(t,"warn",{enumerable:!0,get:function(){return j.warn}});const k=n(95218);t.serializer=k},36397:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocationsClient=void 0;const o=n(34085),r=n(85059),i=n(21691),a=n(10499),s=n(17792),l=n(98676),c=n(93661),p=n(54357).version;t.LocationsClient=class{constructor(e,t){var n,o;this._terminated=!1,this.descriptors={page:{},stream:{},longrunning:{},batching:{}},this.gaxGrpc=e;const i=this.constructor,a=(null==t?void 0:t.servicePath)||(null==t?void 0:t.apiEndpoint)||i.servicePath;this._providedCustomServicePath=!(!(null==t?void 0:t.servicePath)&&!(null==t?void 0:t.apiEndpoint));const u=(null==t?void 0:t.port)||i.port,d=null!==(n=null==t?void 0:t.clientConfig)&&void 0!==n?n:{},g=null!==(o=null==t?void 0:t.fallback)&&void 0!==o?o:"undefined"!=typeof window&&"function"==typeof(null===window||void 0===window?void 0:window.fetch);t=Object.assign({servicePath:a,port:u,clientConfig:d,fallback:g},t),a===i.servicePath||"scopes"in t||(t.scopes=i.scopes),this._opts=t,this.auth=e.auth,a===i.servicePath&&(this.auth.defaultScopes=i.scopes);const f=[`gax/${p}`,`gapic/${p}`];"undefined"!=typeof process&&"versions"in process?f.push(`gl-node/${process.versions.node}`):f.push(`gl-web/${p}`),t.fallback?"rest"===t.fallback&&f.push(`rest/${e.grpcVersion}`):f.push(`grpc/${e.grpcVersion}`),t.libName&&t.libVersion&&f.push(`${t.libName}/${t.libVersion}`),this._protos=e.loadProtoJSON(l),this.descriptors.page={listLocations:new s.PageDescriptor("pageToken","nextPageToken","locations")},this._defaults=e.constructSettings("google.cloud.location.Locations",c,t.clientConfig||{},{"x-goog-api-client":f.join(" ")}),this.innerApiCalls={},this.warn=r.warn}initialize(){if(this.locationsStub)return this.locationsStub;this.locationsStub=this.gaxGrpc.createStub(this._opts.fallback?this._protos.lookupService("google.cloud.location.Locations"):this._protos.google.cloud.location.Locations,this._opts,this._providedCustomServicePath);const e=["listLocations","getLocation"];for(const t of e){const e=this.locationsStub.then((e=>(...n)=>this._terminated?Promise.reject("The client has already been closed."):e[t].apply(e,n)),(e=>()=>{throw e})),n=this.descriptors.page[t]||void 0,o=(0,i.createApiCall)(e,this._defaults[t],n);this.innerApiCalls[t]=o}return this.locationsStub}static get servicePath(){return"cloud.googleapis.com"}static get apiEndpoint(){return"cloud.googleapis.com"}static get port(){return 443}static get scopes(){return["https://www.googleapis.com/auth/cloud-platform"]}getProjectId(e){if(!e)return this.auth.getProjectId();this.auth.getProjectId(e)}getLocation(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},o.otherArgs.headers["x-goog-request-params"]=a.fromParams({name:e.name||""}),this.initialize(),this.innerApiCalls.getLocation(e,o,n)}listLocations(e,t,n){let o;return e=e||{},"function"==typeof t&&void 0===n?(n=t,o={}):o=t,o=o||{},o.otherArgs=o.otherArgs||{},o.otherArgs.headers=o.otherArgs.headers||{},o.otherArgs.headers["x-goog-request-params"]=a.fromParams({name:e.name||""}),this.initialize(),this.innerApiCalls.listLocations(e,o,n)}listLocationsAsync(e,t){e=e||{},(t=t||{}).otherArgs=t.otherArgs||{},t.otherArgs.headers=t.otherArgs.headers||{},t.otherArgs.headers["x-goog-request-params"]=a.fromParams({name:e.name||""}),t=t||{};const n=new o.CallSettings(t);return this.initialize(),this.descriptors.page.listLocations.asyncIterate(this.innerApiCalls.listLocations,e,n)}close(){return this.initialize(),this._terminated?Promise.resolve():this.locationsStub.then((e=>{this._terminated=!0,e.close()}))}}},63844:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LongrunningApiCaller=void 0;const o=n(70314),r=n(34085),i=n(87091);t.LongrunningApiCaller=class{constructor(e){this.longrunningDescriptor=e}init(e){return e?new o.OngoingCall(e):new o.OngoingCallPromise}wrap(e){return e}call(e,t,n,o){o.call(((t,o)=>this._wrapOperation(e,n,t,o)),t)}_wrapOperation(e,t,n,o){let a=t.longrunning;a||(a=(0,r.createDefaultBackoffSettings)());const s=this.longrunningDescriptor;return e(n,((e,n)=>{if(e)return void o(e,null,null,n);const r=new i.Operation(n,s,a,t);o(null,r,n)}))}fail(e,t){e.callback(t)}result(e){return e.promise}}},63186:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LongRunningDescriptor=void 0;const o=n(63844);t.LongRunningDescriptor=class{constructor(e,t,n){this.operationsClient=e,this.responseDecoder=t,this.metadataDecoder=n}getApiCaller(){return new o.LongrunningApiCaller(this)}}},87091:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.operation=t.Operation=void 0;const o=n(82361),r=n(59751),i=n(87834),a=n(42268);class s extends o.EventEmitter{constructor(e,t,n,o){super(),this.completeListeners=0,this.hasActiveListeners=!1,this.latestResponse=e,this.name=this.latestResponse.name,this.done=this.latestResponse.done,this.error=this.latestResponse.error,this.longrunningDescriptor=t,this.result=null,this.metadata=null,this.backoffSettings=n,this._unpackResponse(e),this._listenForEvents(),this._callOptions=o}_listenForEvents(){this.on("newListener",(e=>{"complete"===e&&(this.completeListeners++,this.hasActiveListeners||(this.hasActiveListeners=!0,this.startPolling_()))})),this.on("removeListener",(e=>{"complete"===e&&0==--this.completeListeners&&(this.hasActiveListeners=!1)}))}cancel(){this.currentCallPromise_&&this.currentCallPromise_.cancel();const e=this.longrunningDescriptor.operationsClient,t=new a.google.longrunning.CancelOperationRequest;return t.name=this.latestResponse.name,e.cancelOperation(t)}getOperation(e){const t=this,n=this.longrunningDescriptor.operationsClient;function o(){if(!e)return new Promise(((e,n)=>{if(t.latestResponse.error){const e=new i.GoogleError(t.latestResponse.error.message);e.code=t.latestResponse.error.code,n(e)}else e([t.result,t.metadata,t.latestResponse])}))}if(this.latestResponse.done)return this._unpackResponse(this.latestResponse,e),o();const r=new a.google.longrunning.GetOperationRequest;r.name=this.latestResponse.name,this.currentCallPromise_=n.getOperationInternal(r,this._callOptions);const s=this.currentCallPromise_.then((n=>(t.latestResponse=n[0],t._unpackResponse(n[0],e),o())),(t=>{if(!e)return Promise.reject(t);e(t)}));return e?void 0:s}_unpackResponse(e,t){const n=this.longrunningDescriptor.responseDecoder,o=this.longrunningDescriptor.metadataDecoder;let r,a;if(e.done){if("error"===e.result){const n=new i.GoogleError(e.error.message);return n.code=e.error.code,this.error=n,void(t&&t(n))}n&&e.response&&(this.response=e.response,r=n(e.response.value),this.result=r,this.done=!0)}o&&e.metadata&&(a=o(e.metadata.value),this.metadata=a),t&&t(null,r,a,e)}startPolling_(){const e=this;let t=new Date;const n=this.backoffSettings.retryDelayMultiplier,o=this.backoffSettings.maxRetryDelayMillis;let a,s=this.backoffSettings.initialRetryDelayMillis,l=1/0;function c(t,...n){e.emit(t,...n)}this.backoffSettings.totalTimeoutMillis&&(l=t.getTime()+this.backoffSettings.totalTimeoutMillis),this.latestResponse.metadata&&(a=this.latestResponse.metadata.value),function p(){if(e.hasActiveListeners){if(t.getTime()>=l){const e=new i.GoogleError("Total timeout exceeded before any response was received");return e.code=r.Status.DEADLINE_EXCEEDED,void setImmediate(c,"error",e)}e.getOperation(((e,r,i,l)=>{if(!e)return r?void setImmediate(c,"complete",r,i,l):(l.metadata&&(!a||l&&!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(let n=0;n{t=new Date,s=Math.min(s*n,o),p()}),s));setImmediate(c,"error",e)}))}}()}promise(){return new Promise(((e,t)=>{this.on("error",t).on("complete",((t,n,o)=>{e([t,n,o])}))}))}}t.Operation=s,t.operation=function(e,t,n,o){return new s(e,t,n,o)}},45435:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NormalApiCaller=void 0;const o=n(70314);t.NormalApiCaller=class{init(e){return e?new o.OngoingCall(e):new o.OngoingCallPromise}wrap(e){return e}call(e,t,n,o){o.call(e,t)}fail(e,t){e.callback(t)}result(e){return e.promise}}},24876:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retryable=void 0;const o=n(59751),r=n(87834),i=n(43267);t.retryable=function(e,t,n,a){const s=t.backoffSettings.retryDelayMultiplier,l=t.backoffSettings.maxRetryDelayMillis,c=t.backoffSettings.rpcTimeoutMultiplier,p=t.backoffSettings.maxRpcTimeoutMillis;let u=t.backoffSettings.initialRetryDelayMillis,d=t.backoffSettings.initialRpcTimeoutMillis;return(g,f)=>{let h,m,y,v=new Date;t.backoffSettings.totalTimeoutMillis&&(y=v.getTime()+t.backoffSettings.totalTimeoutMillis);let b=0;const O=t.backoffSettings.maxRetries;if(O&&y){const e=new r.GoogleError("Cannot set both totalTimeoutMillis and maxRetries in backoffSettings.");e.code=o.Status.INVALID_ARGUMENT,f(e)}else!function w(){if(m=null,y&&v.getTime()>=y){const e=new r.GoogleError(`Total timeout of API ${a} exceeded ${t.backoffSettings.totalTimeoutMillis} milliseconds before any response was received.`);return e.code=o.Status.DEADLINE_EXCEEDED,void f(e)}if(b&&b>=O){const e=new r.GoogleError("Exceeded maximum number of retries before any response was received");return e.code=o.Status.DEADLINE_EXCEEDED,void f(e)}b++;const P=(0,i.addTimeoutArg)(e,d,n);h=P(g,((e,n,o,r)=>{if(e)if(h=null,t.retryCodes.indexOf(e.code)<0)e.note="Exception occurred in retry method that was not classified as transient",f(e);else{const e=Math.random()*u;m=setTimeout((()=>{v=new Date,u=Math.min(u*s,l);const e=d&&c?d*c:0,t=p||0,n=y?y-v.getTime():0;d=Math.min(e,t,n),w()}),e)}else f(null,n,o,r)})),h instanceof Promise&&h.catch((e=>{f(new r.GoogleError(e))}))}();return{cancel(){if(m&&clearTimeout(m),h)h.cancel();else{const e=new r.GoogleError("cancelled");e.code=o.Status.CANCELLED,f(e)}}}}}},43267:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTimeoutArg=void 0,t.addTimeoutArg=function(e,t,n,o){return(r,i)=>{const a=new Date,s=n.options||{};s.deadline=new Date(a.getTime()+t);const l=n.metadataBuilder?n.metadataBuilder(o,n.headers||{}):null;return e(r,l,s,i)}}},65171:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OperationsClientBuilder=t.OperationsClient=t.ALL_SCOPES=t.SERVICE_ADDRESS=void 0;const o=n(21691),r=n(84823),i=n(34085),a=n(91739),s=n(37756),l=n(66055);t.SERVICE_ADDRESS="longrunning.googleapis.com";const c=n(54357).version;t.ALL_SCOPES=[];class p{constructor(e,n,i){const s=Object.assign({servicePath:t.SERVICE_ADDRESS,port:443,clientConfig:{}},i),l=["gl-node/"+process.versions.node];s.libName&&s.libVersion&&l.push(s.libName+"/"+s.libVersion),l.push("gapic/0.7.1","gax/"+c),s.fallback?l.push("gl-web/"+c):l.push("grpc/"+e.grpcVersion);const p=e.constructSettings("google.longrunning.Operations",a,s.clientConfig||{},{"x-goog-api-client":l.join(" ")});this.auth=e.auth,this.innerApiCalls={},this.descriptor={listOperations:new r.PageDescriptor("pageToken","nextPageToken","operations")},this.operationsStub=e.createStub(s.fallback?n.lookupService("google.longrunning.Operations"):n.google.longrunning.Operations,s);const u=["getOperation","listOperations","cancelOperation","deleteOperation"];for(const e of u){const t=this.operationsStub.then((t=>(...n)=>t[e].apply(t,n)),(e=>()=>{throw e}));this.innerApiCalls[e]=(0,o.createApiCall)(t,p[e],this.descriptor[e])}}close(){this.operationsStub.then((e=>e.close()))}getProjectId(e){return this.auth&&"getProjectId"in this.auth?this.auth.getProjectId(e):e?void e(new Error("Cannot determine project ID.")):Promise.reject("Cannot determine project ID.")}getOperationInternal(e,t,n){return e=e||{},t=t||{},this.innerApiCalls.getOperation(e,t,n)}getOperation(e,t,n){let o;return t instanceof Function&&void 0===n?(n=t,o={}):o=t,e=e||{},o=o||{},this.innerApiCalls.getOperation(e,o,n)}listOperations(e,t,n){let o;return t instanceof Function&&void 0===n?(n=t,o={}):o=t,e=e||{},o=o||{},this.innerApiCalls.listOperations(e,o,n)}listOperationsStream(e,t){const n=new i.CallSettings(t);return this.descriptor.listOperations.createStream(this.innerApiCalls.listOperations,e,n)}listOperationsAsync(e,t){e=e||{},t=t||{};const n=new i.CallSettings(t);return this.descriptor.listOperations.asyncIterate(this.innerApiCalls.listOperations,e,n)}cancelOperation(e,t,n){let o;return t instanceof Function&&void 0===n?(n=t,o={}):o=t,e=e||{},o=o||{},this.innerApiCalls.cancelOperation(e,o,n)}deleteOperation(e,t,n){let o;return t instanceof Function&&void 0===n?(n=t,o={}):o=t,e=e||{},o=o||{},this.innerApiCalls.deleteOperation(e,o,n)}}t.OperationsClient=p,t.OperationsClientBuilder=class{constructor(e,t){t&&e.httpRules&&(0,l.overrideHttpRules)(e.httpRules,t);const n=null!=t?t:e.loadProtoJSON(s);this.operationsClient=t=>(e.fallback&&(t.fallback=e.fallback),new p(e,n,t)),Object.assign(this.operationsClient,p)}}},17792:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageDescriptor=void 0;const o=n(40408),r=n(12781),i=n(45435),a=n(41629);t.PageDescriptor=class{constructor(e,t,n){this.requestPageTokenField=e,this.responsePageTokenField=t,this.resourceField=n}createStream(e,t,n){const i=new r.PassThrough({objectMode:!0}),a="maxResults"in(n=Object.assign({},n,{autoPaginate:!1}))?n.maxResults:-1;let s=0,l=!1;function c(r,p,u,d){if(r)i.emit("error",r);else{i.emit("response",d);for(let e=0;e{l||(l=!0,e(t,n,c))})),i}asyncIterate(e,t,n){return n=Object.assign({},n,{autoPaginate:!1}),this.createIterator(e,t,n)}createIterator(e,t,n){return{[Symbol.asyncIterator](){let o=t;const r=[];return{async next(){if(r.length>0)return Promise.resolve({done:!1,value:r.shift()});let t=0;for(;0===r.length&&o;){let i;if([i,o]=await e(o,n),i&&!Array.isArray(i))for(const[e,t]of Object.entries(i))r.push([e,t]);else r.push(...i);if(0===r.length&&(++t,t>10))break}return 0===r.length?Promise.resolve({done:!0,value:void 0}):Promise.resolve({done:!1,value:r.shift()})}}}}}getApiCaller(e){return e.autoPaginate?new a.PagedApiCaller(this):new i.NormalApiCaller}}},41629:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PagedApiCaller=void 0;const o=n(70314),r=n(87834),i=n(24384);t.PagedApiCaller=class{constructor(e){this.pageDescriptor=e}generateParseResponseCallback(e,t){const n=this.pageDescriptor.resourceField,o=this.pageDescriptor.responsePageTokenField,i=this.pageDescriptor.requestPageTokenField;return(a,s)=>{if(a)return void t(a);if(!e)return void t(new r.GoogleError("Undefined request in pagination method callback."));if(!s)return void t(new r.GoogleError("Undefined response in pagination method callback."));const l=s[n]||[],c=s[o];let p=null;c&&(p=Object.assign({},e),p[i]=c),t(a,l,p,s)}}wrap(e){const t=this;return function(n,o,r,i){return e(n,o,r,t.generateParseResponseCallback(n,i))}}init(e){return e?new o.OngoingCall(e):new o.OngoingCallPromise}call(e,t,n,o){if(t=Object.assign({},t),!n.autoPaginate)return void o.call(e,t);const r=n.maxResults||-1;new i.ResourceCollector(e,r).processAllPages(t).then((e=>o.callback(null,e)),(e=>o.callback(e)))}fail(e,t){e.callback(t)}result(e){return e.promise}}},24384:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResourceCollector=void 0,t.ResourceCollector=class{constructor(e,t=-1){this.apiCall=e,this.resources=[],this.maxResults=t}callback(e,t,n){if(e)this.rejectCallback(e);else{for(const e of t)if(this.resources.push(e),this.resources.length===this.maxResults){n=null;break}n?setImmediate(this.apiCall,n,((...e)=>this.callback(...e))):this.resolveCallback(this.resources)}}processAllPages(e){return new Promise(((t,n)=>{this.resolveCallback=t,this.rejectCallback=n,setImmediate(this.apiCall,e,((...e)=>this.callback(...e)))}))}}},6318:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PathTemplate=void 0,t.PathTemplate=class{constructor(e){this.bindings={},this.data=e,this.segments=this.parsePathTemplate(e),this.size=this.segments.length}match(e){let t=e.split("/");const n={};if(t.length!==this.segments.length){if(!this.data.includes("**"))throw new TypeError(`This path ${e} does not match path template ${this.data}, the number of parameters is not same.`);if(t.length!==this.segments.length+1)throw new TypeError(`This path ${e} does not match path template ${this.data}, the number of parameters is not same with one wildcard.`)}for(let e=0;e0;e++)if(this.segments[e]!==t[0]){if(!this.segments[e].includes("*"))throw new TypeError(`segment does not match, ${this.segments[e]} and ${t[e]}.`);{let o=this.segments[e];const r=o.match(/\{[$0-9a-zA-Z_]+=.*?\}/g);if(!r)throw new Error(`Error processing path template segment ${o}`);const i=r.map((e=>e.replace(/^\{/,"").replace(/=.*/,"")));if(o.includes("**"))n[i[0]]=t[0]+"/"+t[1],t=t.slice(2);else{if(1===i.length)n[i[0]]=t[0];else{const r=t[0].split(/[-_.~]/);if(r.length!==i.length)throw new Error(`segment ${o} does not match ${t[0]}`);for(const e of i)n[e]=r[0],o=o.replace(`{${e}=*}`,`${r[0]}`),r.shift();if(o!==t[0])throw new TypeError(`non slash resource pattern ${this.segments[e]} and ${t[0]} should have same separator`)}t.shift()}}}else t.shift();return n}render(e){if(Object.keys(e).length!==Object.keys(this.bindings).length)throw new TypeError(`The number of variables ${Object.keys(e).length} does not match the number of needed variables ${Object.keys(this.bindings).length}`);let t=this.inspect();for(const n of Object.keys(e)){const o=e[n].toString();if(!this.bindings[n])throw new TypeError(`render fails for not matching ${e[n]}`);const r=this.bindings[n];if("*"===r){if(!o.match(/[^/{}]+/))throw new TypeError(`render fails for not matching ${o}`);t=t.replace(`{${n}=*}`,`${o}`)}else if("**"===r){if(!o.match(/[^{}]+/))throw new TypeError(`render fails for not matching ${o}`);t=t.replace(`{${n}=**}`,`${o}`)}}return t}inspect(){return this.segments.join("/")}parsePathTemplate(e){const t=function(e){let t=0,n=0,o=0;const r=[];for(;n>=t&&n{if("*"===e||"**"===e)this.bindings[`$${n}`]=e,r.push(`{$${n}=${e}}`),n+=1,"**"===e&&++o;else if(i=e.match(/\{[0-9a-zA-Z-.~_]+(?:=.*?)?\}/g)){for(const t of i){const n=t.match(/^\{([0-9a-zA-Z-.~_]+)(?:=(.*?))?\}$/);if(!n)throw new Error(`Cannot process path template segment ${t}`);const r=n[1];let i=n[2];i?"*"===i?this.bindings[r]=i:"**"===i&&(++o,this.bindings[r]=i):(i="*",e=e.replace(r,r+"=*"),this.bindings[r]=i)}r.push(e)}else e.match(/[0-9a-zA-Z-.~_]+/)&&r.push(e)})),o>1)throw new TypeError("Can not have more than one wildcard.");return r}}},10499:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromParams=void 0;const o=n(63477);t.fromParams=function(e){return o.stringify(e)}},59751:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.rpcCodeFromHttpStatusCode=t.HttpCodeToRpcCodeMap=t.Status=void 0,function(e){e[e.OK=0]="OK",e[e.CANCELLED=1]="CANCELLED",e[e.UNKNOWN=2]="UNKNOWN",e[e.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",e[e.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",e[e.NOT_FOUND=5]="NOT_FOUND",e[e.ALREADY_EXISTS=6]="ALREADY_EXISTS",e[e.PERMISSION_DENIED=7]="PERMISSION_DENIED",e[e.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",e[e.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",e[e.ABORTED=10]="ABORTED",e[e.OUT_OF_RANGE=11]="OUT_OF_RANGE",e[e.UNIMPLEMENTED=12]="UNIMPLEMENTED",e[e.INTERNAL=13]="INTERNAL",e[e.UNAVAILABLE=14]="UNAVAILABLE",e[e.DATA_LOSS=15]="DATA_LOSS",e[e.UNAUTHENTICATED=16]="UNAUTHENTICATED"}(n=t.Status||(t.Status={})),t.HttpCodeToRpcCodeMap=new Map([[400,n.INVALID_ARGUMENT],[401,n.UNAUTHENTICATED],[403,n.PERMISSION_DENIED],[404,n.NOT_FOUND],[409,n.ABORTED],[416,n.OUT_OF_RANGE],[429,n.RESOURCE_EXHAUSTED],[499,n.CANCELLED],[501,n.UNIMPLEMENTED],[503,n.UNAVAILABLE],[504,n.DEADLINE_EXCEEDED]]),t.rpcCodeFromHttpStatusCode=function(e){return t.HttpCodeToRpcCodeMap.has(e)?t.HttpCodeToRpcCodeMap.get(e):e>=200&&e<300?n.OK:e>=400&&e<500?n.FAILED_PRECONDITION:e>=500&&e<600?n.INTERNAL:n.UNKNOWN}},34560:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreamArrayParser=void 0;const o=n(3209),r=n(12781),i=n(61723),a=n(84221);class s extends r.Transform{constructor(e,t){super(Object.assign({},t,{readableObjectMode:!0})),this._done=!1,this._prevBlock=Buffer.from(""),this._isInString=!1,this._isSkipped=!1,this._level=0,this.rpc=e,this.cancelController=(0,a.hasAbortController)()?new AbortController:new o.AbortController,this.cancelSignal=this.cancelController.signal,this.cancelRequested=!1}_transform(e,t,n){let o=0,r=0;for(0===this._level&&0===r&&("["!==String.fromCharCode(e[0])&&this.emit("error",new Error(`Internal Error: API service stream data must start with a '[' and close with the corresponding ']', but it start with ${String.fromCharCode(e[0])}`)),r++,this._level++);r1&&(this._prevBlock=Buffer.concat([this._prevBlock,e.slice(o,r)])),n()}_flush(e){e()}cancel(){this._done=!0,this.cancelRequested=!0,this.cancelController.abort(),this.end()}}t.StreamArrayParser=s},34747:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreamDescriptor=void 0;const o=n(4650);t.StreamDescriptor=class{constructor(e,t){this.type=e,this.streaming=!0,this.rest=t}getApiCaller(e){return e.retry=null,new o.StreamingApiCaller(this)}}},80707:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreamProxy=t.StreamType=void 0;const o=n(87834),r=n(29266),i=n(50129);var a;!function(e){e[e.SERVER_STREAMING=1]="SERVER_STREAMING",e[e.CLIENT_STREAMING=2]="CLIENT_STREAMING",e[e.BIDI_STREAMING=3]="BIDI_STREAMING"}(a=t.StreamType||(t.StreamType={})),t.StreamProxy=class extends r{constructor(e,t,n){super(void 0,void 0,{objectMode:!0,readable:e!==a.CLIENT_STREAMING,writable:e!==a.SERVER_STREAMING}),this.type=e,this._callback=t,this._isCancelCalled=!1,this._responseHasSent=!1,this.rest=n}cancel(){this.stream?this.stream.cancel():this._isCancelCalled=!0}forwardEvents(e){["metadata","response","status"].forEach((t=>{e.on(t,this.emit.bind(this,t))})),e.on("status",(()=>{this._responseHasSent||e.emit("response",{code:200,details:"",message:"OK"})})),e.on("metadata",(t=>{e.emit("response",{code:200,details:"",message:"OK",metadata:t}),this._responseHasSent=!0})),e.on("error",(e=>{o.GoogleError.parseGRPCStatusDetails(e)}))}setStream(e,t,n={}){if(this.type===a.SERVER_STREAMING){if(this.rest){const n=e(t,this._callback);this.stream=n,this.setReadable(n)}else{const o=i(null,{objectMode:!0,request:()=>{if(this._isCancelCalled)return void(this.stream&&this.stream.cancel());const n=e(t,this._callback);return this.stream=n,this.forwardEvents(n),n},retries:n.retries,currentRetryAttempt:n.currentRetryAttempt,noResponseRetries:n.noResponseRetries,shouldRetryFn:n.shouldRetryFn});this.setReadable(o)}return}const o=e(t,this._callback);this.stream=o,this.forwardEvents(o),this.type===a.CLIENT_STREAMING&&this.setWritable(o),this.type===a.BIDI_STREAMING&&(this.setReadable(o),this.setWritable(o)),this._isCancelCalled&&this.stream&&this.stream.cancel()}}},4650:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreamingApiCaller=void 0;const o=n(85059),r=n(80707);t.StreamingApiCaller=class{constructor(e){this.descriptor=e}init(e){return new r.StreamProxy(this.descriptor.type,e,this.descriptor.rest)}wrap(e){switch(this.descriptor.type){case r.StreamType.SERVER_STREAMING:return(t,n,o)=>e(t,n,o);case r.StreamType.CLIENT_STREAMING:return(t,n,o,r)=>e(n,o,r);case r.StreamType.BIDI_STREAMING:return(t,n,o)=>e(n,o);default:(0,o.warn)("streaming_wrap_unknown_stream_type",`Unknown stream type: ${this.descriptor.type}`)}return e}call(e,t,n,o){o.setStream(e,t,n.retryRequestOptions)}fail(e,t){e.emit("error",t)}result(e){return e}}},66055:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.overrideHttpRules=t.transcode=t.isProto3OptionalField=t.flattenObject=t.match=t.applyPattern=t.encodeWithoutSlashes=t.encodeWithSlashes=t.buildQueryStringComponents=t.deleteField=t.deepCopyWithoutMatchedFields=t.getField=void 0;const o=n(6668),r="(google.api.http)",i=["get","post","put","patch","delete"];function a(e,t,n=!1){const o=t.split(".");let r=e;for(const e of o){if("object"!=typeof r)return;r=r[e]}if(n||"object"!=typeof r||Array.isArray(r)||null===r)return r}function s(e,t,n=""){if("object"!=typeof e||null===e)return e;const o=Object.assign({},e);for(const e in o){if(t.has(`${n}${e}`)){delete o[e];continue}const r=`${n}${e}.`;Array.isArray(o[e])?o[e]=o[e].map((e=>s(e,new Set))):"object"==typeof o[e]&&null!==o[e]&&(o[e]=s(o[e],t,r))}return o}function l(e,t){const n=t.split(".");for(;n.length>1;){if("object"!=typeof e)return;e=e[n.shift()]}const o=n.shift();"object"==typeof e&&delete e[o]}function c(e,t=""){const n=[];for(const o in e)if(Array.isArray(e[o]))for(const r of e[o])n.push(`${t}${u(o)}=${u(r.toString())}`);else"object"==typeof e[o]&&null!==e[o]?n.push(...c(e[o],`${o}.`)):n.push(`${t}${u(o)}=${u(null===e[o]?"null":e[o].toString())}`);return n}function p(e){return e.split("").map((e=>e.match(/[-_.~0-9a-zA-Z]/)?e:encodeURIComponent(e))).join("")}function u(e){return e.split("").map((e=>e.match(/[-_.~0-9a-zA-Z/]/)?e:encodeURIComponent(e))).join("")}function d(e,t){if(!e||"*"===e)return p(t);if(!e.includes("*")&&e!==t)return;const n=new RegExp("^"+(o=e,o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).replace(/\\\*\\\*/g,"(.+)").replace(/\\\*/g,"([^/]+)")+"$");var o;return t.match(n)?u(t):void 0}function g(e){return e.split(".").map((e=>(0,o.toCamelCase)(e))).join(".")}function f(e,t){let n=t;const o=[];for(;;){const t=n.match(/^(.*)\{([^}=]+)(?:=([^}]*))?\}(.*)/);if(!t)break;const[,r,i,s,l]=t,c=g(i);o.push(g(c));const p=a(e,c);if(void 0===p)return;const u=d(s,null===p?"null":p.toString());if(void 0===u)return;n=r+u+l}return{matchedFields:o,url:n}}t.getField=a,t.deepCopyWithoutMatchedFields=s,t.deleteField=l,t.buildQueryStringComponents=c,t.encodeWithSlashes=p,t.encodeWithoutSlashes=u,t.applyPattern=d,t.match=f,t.flattenObject=function e(t){const n={};for(const o in t)if(void 0!==t[o])if(Array.isArray(t[o]))n[o]=t[o];else if("object"!=typeof t[o]||null===t[o])n[o]=t[o];else{const r=e(t[o]);for(const e in r)n[`${o}.${e}`]=r[e]}return n},t.isProto3OptionalField=function(e){return e&&e.options&&e.options.proto3_optional},t.transcode=function(e,t){const n=[];for(const e of t){if(!(r in e))continue;const t=e[r];if(n.push(t),null==t?void 0:t.additional_bindings){const e=Array.isArray(t.additional_bindings)?t.additional_bindings:[t.additional_bindings];n.push(...e)}}for(const t of n)for(const n of i){if(!(n in t))continue;const o=f(e,t[n]);if(void 0===o)continue;const{url:r,matchedFields:i}=o;let p=s(e,new Set(i));if("*"===t.body)return{httpMethod:n,url:r,queryString:"",data:p};const u=p;t.body?(p=a(u,g(t.body),!0),l(u,g(t.body))):p="";const d=c(u).join("&");return(!p||"object"==typeof p&&0===Object.keys(p).length)&&(p=""),{httpMethod:n,url:r,queryString:d,data:p}}},t.overrideHttpRules=function(e,t){for(const n of e){if(!n.selector)continue;const e=t.lookup(n.selector);if(e&&e.parsedOptions)for(const t of e.parsedOptions){if(!(r in t))continue;const e=t[r];for(const t in e){if(t in n){if("additional_bindings"===t)continue;e[t]=n[t]}n.additional_bindings&&(e.additional_bindings=e.additional_bindings?Array.isArray(e.additional_bindings)?e.additional_bindings:[e.additional_bindings]:[],e.additional_bindings.push(...n.additional_bindings))}}}}},6668:(e,t)=>{"use strict";function n(e,t=!1){return t&&(e=e.replace(/([A-Z])([A-Z]+)([A-Z])/g,(e=>e[0]+e.slice(1,e.length-1).toLowerCase()+e[e.length-1]))),e.split(/(?=[A-Z])|[^A-Za-z0-9.]+/).filter((e=>e.length>0)).map(((e,t)=>0===t?e:e.toLowerCase()))}function o(e){return 0===e.length?e:e[0].toLowerCase()+e.slice(1)}function r(e){const t=n(e,!0);if(0===t.length)return e;const o=[t[0]];return o.push(...t.slice(1).map((e=>e.match(/^\d+$/)?"_"+e:function(e){return 0===e.length?e:e[0].toUpperCase()+e.slice(1)}(e)))),o.join("")}Object.defineProperty(t,"__esModule",{value:!0}),t.toLowerCamelCase=t.toCamelCase=t.camelToSnakeCase=void 0,t.camelToSnakeCase=function(e){const t=n(e);if(0===t.length)return e;const r=[t[0]];return r.push(...t.slice(1).map(o)),r.join("_")},t.toCamelCase=r,t.toLowerCamelCase=function(e){const t=r(e);return 0===t.length?t:t[0].toLowerCase()+t.slice(1)}},85059:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.warn=void 0;const o=n(84221),r=new Set;t.warn=function(e,t,n){r.has(e)||(r.add(e),(0,o.isNodeJS)()?void 0!==n?process.emitWarning(t,{type:n}):process.emitWarning(t):console.warn(t))}},52638:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPem=void 0;const o=n(57147),r=n(3417),i=(0,n(73837).promisify)(o.readFile);function a(e){return i(e,{encoding:"base64"}).then((e=>function(e){const t=r.util.decode64(e),n=r.asn1.fromDer(t),o=r.pkcs12.pkcs12FromAsn1(n,"notasecret").getBags({friendlyName:"privatekey"});if(o.friendlyName){const e=o.friendlyName[0].key;return r.pki.privateKeyToPem(e).replace(/\r\n/g,"\n")}throw new Error("Unable to get friendly name.")}(e)))}t.getPem=function(e,t){if(!t)return a(e);a(e).then((e=>t(null,e))).catch((e=>t(e,null)))}},67494:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleToken=void 0;const o=n(57147),r=n(3830),i=n(36291),a=n(71017),s=n(73837),l=o.readFile?(0,s.promisify)(o.readFile):async()=>{throw new p("use key rather than keyFile.","MISSING_CREDENTIALS")},c="https://www.googleapis.com/oauth2/v4/token";class p extends Error{constructor(e,t){super(e),this.code=t}}let u;t.GoogleToken=class{constructor(e){this.transporter={request:e=>(0,r.request)(e)},this.configure(e)}get accessToken(){return this.rawToken?this.rawToken.access_token:void 0}get idToken(){return this.rawToken?this.rawToken.id_token:void 0}get tokenType(){return this.rawToken?this.rawToken.token_type:void 0}get refreshToken(){return this.rawToken?this.rawToken.refresh_token:void 0}hasExpired(){const e=(new Date).getTime();return!this.rawToken||!this.expiresAt||e>=this.expiresAt}isTokenExpiring(){var e;const t=(new Date).getTime(),n=null!==(e=this.eagerRefreshThresholdMillis)&&void 0!==e?e:0;return!this.rawToken||!this.expiresAt||this.expiresAt<=t+n}getToken(e,t={}){if("object"==typeof e&&(t=e,e=void 0),t=Object.assign({forceRefresh:!1},t),!e)return this.getTokenAsync(t);{const n=e;this.getTokenAsync(t).then((e=>n(null,e)),e)}}async getCredentials(e){switch(a.extname(e)){case".json":{const t=await l(e,"utf8"),n=JSON.parse(t),o=n.private_key,r=n.client_email;if(!o||!r)throw new p("private_key and client_email are required.","MISSING_CREDENTIALS");return{privateKey:o,clientEmail:r}}case".der":case".crt":case".pem":return{privateKey:await l(e,"utf8")};case".p12":case".pfx":return u||(u=(await Promise.resolve().then((()=>n(52638)))).getPem),{privateKey:await u(e)};default:throw new p("Unknown certificate type. Type is determined based on file extension. Current supported extensions are *.json, *.pem, and *.p12.","UNKNOWN_CERTIFICATE_TYPE")}}async getTokenAsync(e){if(this.inFlightRequest&&!e.forceRefresh)return this.inFlightRequest;try{return await(this.inFlightRequest=this.getTokenAsyncInner(e))}finally{this.inFlightRequest=void 0}}async getTokenAsyncInner(e){if(!1===this.isTokenExpiring()&&!1===e.forceRefresh)return Promise.resolve(this.rawToken);if(!this.key&&!this.keyFile)throw new Error("No key or keyFile set.");if(!this.key&&this.keyFile){const e=await this.getCredentials(this.keyFile);this.key=e.privateKey,this.iss=e.clientEmail||this.iss,e.clientEmail||this.ensureEmail()}return this.requestToken()}ensureEmail(){if(!this.iss)throw new p("email is required.","MISSING_CREDENTIALS")}revokeToken(e){if(!e)return this.revokeTokenAsync();this.revokeTokenAsync().then((()=>e()),e)}async revokeTokenAsync(){if(!this.accessToken)throw new Error("No token to revoke.");const e="https://accounts.google.com/o/oauth2/revoke?token="+this.accessToken;await this.transporter.request({url:e}),this.configure({email:this.iss,sub:this.sub,key:this.key,keyFile:this.keyFile,scope:this.scope,additionalClaims:this.additionalClaims})}configure(e={}){this.keyFile=e.keyFile,this.key=e.key,this.rawToken=void 0,this.iss=e.email||e.iss,this.sub=e.sub,this.additionalClaims=e.additionalClaims,"object"==typeof e.scope?this.scope=e.scope.join(" "):this.scope=e.scope,this.eagerRefreshThresholdMillis=e.eagerRefreshThresholdMillis,e.transporter&&(this.transporter=e.transporter)}async requestToken(){var e,t;const n=Math.floor((new Date).getTime()/1e3),o=this.additionalClaims||{},r=Object.assign({iss:this.iss,scope:this.scope,aud:c,exp:n+3600,iat:n,sub:this.sub},o),a=i.sign({header:{alg:"RS256"},payload:r,secret:this.key});try{const e=await this.transporter.request({method:"POST",url:c,data:{grant_type:"urn:ietf:params:oauth:grant-type:jwt-bearer",assertion:a},headers:{"Content-Type":"application/x-www-form-urlencoded"},responseType:"json"});return this.rawToken=e.data,this.expiresAt=null===e.data.expires_in||void 0===e.data.expires_in?void 0:1e3*(n+e.data.expires_in),this.rawToken}catch(n){this.rawToken=void 0,this.tokenExpires=void 0;const o=n.response&&(null===(e=n.response)||void 0===e?void 0:e.data)?null===(t=n.response)||void 0===t?void 0:t.data:{};if(o.error){const e=o.error_description?`: ${o.error_description}`:"";n.message=`${o.error}${e}`}throw n}}}},5506:e=>{"use strict";e.exports=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",o=t.indexOf(n+e),r=t.indexOf("--");return-1!==o&&(-1===r||o{"use strict";var o="undefined"!=typeof Symbol&&Symbol,r=n(69578);e.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"==typeof o("foo")&&"symbol"==typeof Symbol("bar")&&r()}},69578:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},22786:(e,t,n)=>{"use strict";var o=n(22698);e.exports=o.call(Function.call,Object.prototype.hasOwnProperty)},92572:function(e,t,n){"use strict";var o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(41808)),a=r(n(24404)),s=r(n(57310)),l=r(n(39491)),c=r(n(71053)),p=n(28214),u=r(n(72947)),d=c.default("https-proxy-agent:agent");class g extends p.Agent{constructor(e){let t;if(t="string"==typeof e?s.default.parse(e):e,!t)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");d("creating new HttpsProxyAgent instance: %o",t),super(t);const n=Object.assign({},t);var o;this.secureProxy=t.secureProxy||"string"==typeof(o=n.protocol)&&/^https:?$/i.test(o),n.host=n.hostname||n.host,"string"==typeof n.port&&(n.port=parseInt(n.port,10)),!n.port&&n.host&&(n.port=this.secureProxy?443:80),this.secureProxy&&!("ALPNProtocols"in n)&&(n.ALPNProtocols=["http 1.1"]),n.host&&n.path&&(delete n.path,delete n.pathname),this.proxy=n}callback(e,t){return o(this,void 0,void 0,(function*(){const{proxy:n,secureProxy:o}=this;let r;o?(d("Creating `tls.Socket`: %o",n),r=a.default.connect(n)):(d("Creating `net.Socket`: %o",n),r=i.default.connect(n));const s=Object.assign({},n.headers);let c=`CONNECT ${t.host}:${t.port} HTTP/1.1\r\n`;n.auth&&(s["Proxy-Authorization"]=`Basic ${Buffer.from(n.auth).toString("base64")}`);let{host:p,port:g,secureEndpoint:h}=t;(function(e,t){return Boolean(!t&&80===e||t&&443===e)})(g,h)||(p+=`:${g}`),s.Host=p,s.Connection="close";for(const e of Object.keys(s))c+=`${e}: ${s[e]}\r\n`;const m=u.default(r);r.write(`${c}\r\n`);const{statusCode:y,buffered:v}=yield m;if(200===y){if(e.once("socket",f),t.secureEndpoint){d("Upgrading socket connection to TLS");const e=t.servername||t.host;return a.default.connect(Object.assign(Object.assign({},function(e,...t){const n={};let o;for(o in e)t.includes(o)||(n[o]=e[o]);return n}(t,"host","hostname","path","port")),{socket:r,servername:e}))}return r}r.destroy();const b=new i.default.Socket({writable:!1});return b.readable=!0,e.once("socket",(e=>{d("replaying proxy buffer for failed request"),l.default(e.listenerCount("data")>0),e.push(v),e.push(null)})),b}))}}function f(e){e.resume()}t.default=g},54792:function(e,t,n){"use strict";const o=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(92572));function r(e){return new o.default(e)}!function(e){e.HttpsProxyAgent=o.default,e.prototype=o.default.prototype}(r||(r={})),e.exports=r},72947:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=o(n(71053)).default("https-proxy-agent:parse-proxy-response");t.default=function(e){return new Promise(((t,n)=>{let o=0;const i=[];function a(){const n=e.read();n?function(e){i.push(e),o+=e.length;const n=Buffer.concat(i,o);if(-1===n.indexOf("\r\n\r\n"))return r("have not received end of HTTP headers yet..."),void a();const s=n.toString("ascii",0,n.indexOf("\r\n")),l=+s.split(" ")[1];r("got proxy server response: %o",s),t({statusCode:l,buffered:n})}(n):e.once("readable",a)}function s(e){r("onclose had error %o",e)}function l(){r("onend")}e.on("error",(function t(o){e.removeListener("end",l),e.removeListener("error",t),e.removeListener("close",s),e.removeListener("readable",a),r("onerror %o",o),n(o)})),e.on("close",s),e.on("end",l),a()}))}},44236:(e,t,n)=>{try{var o=n(73837);if("function"!=typeof o.inherits)throw"";e.exports=o.inherits}catch(t){e.exports=n(67483)}},67483:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},40408:e=>{"use strict";e.exports=function(e){var t;return t=void 0!==e.ended?e.ended:e._readableState.ended,Boolean(t).valueOf()}},57983:e=>{"use strict";const t=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;t.writable=e=>t(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,t.readable=e=>t(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,t.duplex=e=>t.writable(e)&&t.readable(e),t.transform=e=>t.duplex(e)&&"function"==typeof e._transform,e.exports=t},49608:e=>{"use strict";var t,n,o=Object.prototype,r=o.hasOwnProperty,i=o.toString;"function"==typeof Symbol&&(t=Symbol.prototype.valueOf),"function"==typeof BigInt&&(n=BigInt.prototype.valueOf);var a=function(e){return e!=e},s={boolean:1,number:1,string:1,undefined:1},l=/^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$/,c=/^[A-Fa-f0-9]+$/,p={};p.a=p.type=function(e,t){return typeof e===t},p.defined=function(e){return void 0!==e},p.empty=function(e){var t,n=i.call(e);if("[object Array]"===n||"[object Arguments]"===n||"[object String]"===n)return 0===e.length;if("[object Object]"===n){for(t in e)if(r.call(e,t))return!1;return!0}return!e},p.equal=function(e,t){if(e===t)return!0;var n,o=i.call(e);if(o!==i.call(t))return!1;if("[object Object]"===o){for(n in e)if(!p.equal(e[n],t[n])||!(n in t))return!1;for(n in t)if(!p.equal(e[n],t[n])||!(n in e))return!1;return!0}if("[object Array]"===o){if((n=e.length)!==t.length)return!1;for(;n--;)if(!p.equal(e[n],t[n]))return!1;return!0}return"[object Function]"===o?e.prototype===t.prototype:"[object Date]"===o&&e.getTime()===t.getTime()},p.hosted=function(e,t){var n=typeof t[e];return"object"===n?!!t[e]:!s[n]},p.instance=p.instanceof=function(e,t){return e instanceof t},p.nil=p.null=function(e){return null===e},p.undef=p.undefined=function(e){return void 0===e},p.args=p.arguments=function(e){var t="[object Arguments]"===i.call(e),n=!p.array(e)&&p.arraylike(e)&&p.object(e)&&p.fn(e.callee);return t||n},p.array=Array.isArray||function(e){return"[object Array]"===i.call(e)},p.args.empty=function(e){return p.args(e)&&0===e.length},p.array.empty=function(e){return p.array(e)&&0===e.length},p.arraylike=function(e){return!!e&&!p.bool(e)&&r.call(e,"length")&&isFinite(e.length)&&p.number(e.length)&&e.length>=0},p.bool=p.boolean=function(e){return"[object Boolean]"===i.call(e)},p.false=function(e){return p.bool(e)&&!1===Boolean(Number(e))},p.true=function(e){return p.bool(e)&&!0===Boolean(Number(e))},p.date=function(e){return"[object Date]"===i.call(e)},p.date.valid=function(e){return p.date(e)&&!isNaN(Number(e))},p.element=function(e){return void 0!==e&&"undefined"!=typeof HTMLElement&&e instanceof HTMLElement&&1===e.nodeType},p.error=function(e){return"[object Error]"===i.call(e)},p.fn=p.function=function(e){if("undefined"!=typeof window&&e===window.alert)return!0;var t=i.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t||"[object AsyncFunction]"===t},p.number=function(e){return"[object Number]"===i.call(e)},p.infinite=function(e){return e===1/0||e===-1/0},p.decimal=function(e){return p.number(e)&&!a(e)&&!p.infinite(e)&&e%1!=0},p.divisibleBy=function(e,t){var n=p.infinite(e),o=p.infinite(t),r=p.number(e)&&!a(e)&&p.number(t)&&!a(t)&&0!==t;return n||o||r&&e%t==0},p.integer=p.int=function(e){return p.number(e)&&!a(e)&&e%1==0},p.maximum=function(e,t){if(a(e))throw new TypeError("NaN is not a valid value");if(!p.arraylike(t))throw new TypeError("second argument must be array-like");for(var n=t.length;--n>=0;)if(e=0;)if(e>t[n])return!1;return!0},p.nan=function(e){return!p.number(e)||e!=e},p.even=function(e){return p.infinite(e)||p.number(e)&&e==e&&e%2==0},p.odd=function(e){return p.infinite(e)||p.number(e)&&e==e&&e%2!=0},p.ge=function(e,t){if(a(e)||a(t))throw new TypeError("NaN is not a valid value");return!p.infinite(e)&&!p.infinite(t)&&e>=t},p.gt=function(e,t){if(a(e)||a(t))throw new TypeError("NaN is not a valid value");return!p.infinite(e)&&!p.infinite(t)&&e>t},p.le=function(e,t){if(a(e)||a(t))throw new TypeError("NaN is not a valid value");return!p.infinite(e)&&!p.infinite(t)&&e<=t},p.lt=function(e,t){if(a(e)||a(t))throw new TypeError("NaN is not a valid value");return!p.infinite(e)&&!p.infinite(t)&&e=t&&e<=n},p.object=function(e){return"[object Object]"===i.call(e)},p.primitive=function(e){return!e||!("object"==typeof e||p.object(e)||p.fn(e)||p.array(e))},p.hash=function(e){return p.object(e)&&e.constructor===Object&&!e.nodeType&&!e.setInterval},p.regexp=function(e){return"[object RegExp]"===i.call(e)},p.string=function(e){return"[object String]"===i.call(e)},p.base64=function(e){return p.string(e)&&(!e.length||l.test(e))},p.hex=function(e){return p.string(e)&&(!e.length||c.test(e))},p.symbol=function(e){return"function"==typeof Symbol&&"[object Symbol]"===i.call(e)&&"symbol"==typeof t.call(e)},p.bigint=function(e){return"function"==typeof BigInt&&"[object BigInt]"===i.call(e)&&"bigint"==typeof n.call(e)},e.exports=p},93342:(e,t,n)=>{var o=n(2914).stringify,r=n(15085);e.exports=function(e){return{parse:r(e),stringify:o}},e.exports.parse=r(),e.exports.stringify=o},15085:(e,t,n)=>{var o=null;const r=/(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/,i=/(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;e.exports=function(e){"use strict";var t={strict:!1,storeAsString:!1,alwaysParseAsBig:!1,useNativeBigInt:!1,protoAction:"error",constructorAction:"error"};if(null!=e){if(!0===e.strict&&(t.strict=!0),!0===e.storeAsString&&(t.storeAsString=!0),t.alwaysParseAsBig=!0===e.alwaysParseAsBig&&e.alwaysParseAsBig,t.useNativeBigInt=!0===e.useNativeBigInt&&e.useNativeBigInt,void 0!==e.constructorAction){if("error"!==e.constructorAction&&"ignore"!==e.constructorAction&&"preserve"!==e.constructorAction)throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${e.constructorAction}`);t.constructorAction=e.constructorAction}if(void 0!==e.protoAction){if("error"!==e.protoAction&&"ignore"!==e.protoAction&&"preserve"!==e.protoAction)throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${e.protoAction}`);t.protoAction=e.protoAction}}var a,s,l,c,p={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},u=function(e){throw{name:"SyntaxError",message:e,at:a,text:l}},d=function(e){return e&&e!==s&&u("Expected '"+e+"' instead of '"+s+"'"),s=l.charAt(a),a+=1,s},g=function(){var e,r="";for("-"===s&&(r="-",d("-"));s>="0"&&s<="9";)r+=s,d();if("."===s)for(r+=".";d()&&s>="0"&&s<="9";)r+=s;if("e"===s||"E"===s)for(r+=s,d(),"-"!==s&&"+"!==s||(r+=s,d());s>="0"&&s<="9";)r+=s,d();if(e=+r,isFinite(e))return null==o&&(o=n(32980)),r.length>15?t.storeAsString?r:t.useNativeBigInt?BigInt(r):new o(r):t.alwaysParseAsBig?t.useNativeBigInt?BigInt(e):new o(e):e;u("Bad number")},f=function(){var e,t,n,o="";if('"'===s)for(var r=a;d();){if('"'===s)return a-1>r&&(o+=l.substring(r,a-1)),d(),o;if("\\"===s){if(a-1>r&&(o+=l.substring(r,a-1)),d(),"u"===s){for(n=0,t=0;t<4&&(e=parseInt(d(),16),isFinite(e));t+=1)n=16*n+e;o+=String.fromCharCode(n)}else{if("string"!=typeof p[s])break;o+=p[s]}r=a}}u("Bad string")},h=function(){for(;s&&s<=" ";)d()};return c=function(){switch(h(),s){case"{":return function(){var e,n=Object.create(null);if("{"===s){if(d("{"),h(),"}"===s)return d("}"),n;for(;s;){if(e=f(),h(),d(":"),!0===t.strict&&Object.hasOwnProperty.call(n,e)&&u('Duplicate key "'+e+'"'),!0===r.test(e)?"error"===t.protoAction?u("Object contains forbidden prototype property"):"ignore"===t.protoAction?c():n[e]=c():!0===i.test(e)?"error"===t.constructorAction?u("Object contains forbidden constructor property"):"ignore"===t.constructorAction?c():n[e]=c():n[e]=c(),h(),"}"===s)return d("}"),n;d(","),h()}}u("Bad object")}();case"[":return function(){var e=[];if("["===s){if(d("["),h(),"]"===s)return d("]"),e;for(;s;){if(e.push(c()),h(),"]"===s)return d("]"),e;d(","),h()}}u("Bad array")}();case'"':return f();case"-":return g();default:return s>="0"&&s<="9"?g():function(){switch(s){case"t":return d("t"),d("r"),d("u"),d("e"),!0;case"f":return d("f"),d("a"),d("l"),d("s"),d("e"),!1;case"n":return d("n"),d("u"),d("l"),d("l"),null}u("Unexpected '"+s+"'")}()}},function(e,t){var n;return l=e+"",a=0,s=" ",n=c(),h(),s&&u("Syntax error"),"function"==typeof t?function e(n,o){var r,i=n[o];return i&&"object"==typeof i&&Object.keys(i).forEach((function(t){void 0!==(r=e(i,t))?i[t]=r:delete i[t]})),t.call(n,o,i)}({"":n},""):n}}},2914:(e,t,n)=>{var o=n(32980),r=e.exports;!function(){"use strict";var e,t,n,i=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,a={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function s(e){return i.lastIndex=0,i.test(e)?'"'+e.replace(i,(function(e){var t=a[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function l(r,i){var a,c,p,u,d,g=e,f=i[r],h=null!=f&&(f instanceof o||o.isBigNumber(f));switch(f&&"object"==typeof f&&"function"==typeof f.toJSON&&(f=f.toJSON(r)),"function"==typeof n&&(f=n.call(i,r,f)),typeof f){case"string":return h?f:s(f);case"number":return isFinite(f)?String(f):"null";case"boolean":case"null":case"bigint":return String(f);case"object":if(!f)return"null";if(e+=t,d=[],"[object Array]"===Object.prototype.toString.apply(f)){for(u=f.length,a=0;a{var o=n(84650),r=n(21607).Buffer,i=n(6113),a=n(27356),s=n(73837),l="secret must be a string or buffer",c="key must be a string or a buffer",p="function"==typeof i.createPublicKey;function u(e){if(!r.isBuffer(e)&&"string"!=typeof e){if(!p)throw h(c);if("object"!=typeof e)throw h(c);if("string"!=typeof e.type)throw h(c);if("string"!=typeof e.asymmetricKeyType)throw h(c);if("function"!=typeof e.export)throw h(c)}}function d(e){if(!r.isBuffer(e)&&"string"!=typeof e&&"object"!=typeof e)throw h("key must be a string, a buffer or an object")}function g(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function f(e){var t=4-(e=e.toString()).length%4;if(4!==t)for(var n=0;n{var o=n(59882),r=n(75729);t.ALGORITHMS=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"],t.sign=o.sign,t.verify=r.verify,t.decode=r.decode,t.isValid=r.isValid,t.createSign=function(e){return new o(e)},t.createVerify=function(e){return new r(e)}},43717:(e,t,n)=>{var o=n(21607).Buffer,r=n(12781);function i(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=o.alloc(0),this;if("function"==typeof e.pipe)return this.buffer=o.alloc(0),e.pipe(this),this;if(e.length||"object"==typeof e)return this.buffer=e,this.writable=!1,process.nextTick(function(){this.emit("end",e),this.readable=!1,this.emit("close")}.bind(this)),this;throw new TypeError("Unexpected data type ("+typeof e+")")}n(73837).inherits(i,r),i.prototype.write=function(e){this.buffer=o.concat([this.buffer,o.from(e)]),this.emit("data",e)},i.prototype.end=function(e){e&&this.write(e),this.emit("end",e),this.emit("close"),this.writable=!1,this.readable=!1},e.exports=i},59882:(e,t,n)=>{var o=n(21607).Buffer,r=n(43717),i=n(14476),a=n(12781),s=n(61397),l=n(73837);function c(e,t){return o.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function p(e){var t=e.header,n=e.payload,o=e.secret||e.privateKey,r=e.encoding,a=i(t.alg),p=function(e,t,n){n=n||"utf8";var o=c(s(e),"binary"),r=c(s(t),n);return l.format("%s.%s",o,r)}(t,n,r),u=a.sign(p,o);return l.format("%s.%s",p,u)}function u(e){var t=e.secret||e.privateKey||e.key,n=new r(t);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=n,this.payload=new r(e.payload),this.secret.once("close",function(){!this.payload.writable&&this.readable&&this.sign()}.bind(this)),this.payload.once("close",function(){!this.secret.writable&&this.readable&&this.sign()}.bind(this))}l.inherits(u,a),u.prototype.sign=function(){try{var e=p({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",e),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},u.sign=p,e.exports=u},61397:(e,t,n)=>{var o=n(14300).Buffer;e.exports=function(e){return"string"==typeof e?e:"number"==typeof e||o.isBuffer(e)?e.toString():JSON.stringify(e)}},75729:(e,t,n)=>{var o=n(21607).Buffer,r=n(43717),i=n(14476),a=n(12781),s=n(61397),l=n(73837),c=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function p(e){var t=e.split(".",1)[0];return function(e){if(function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e))return e;try{return JSON.parse(e)}catch(e){return}}(o.from(t,"base64").toString("binary"))}function u(e){return e.split(".")[2]}function d(e){return c.test(e)&&!!p(e)}function g(e,t,n){if(!t){var o=new Error("Missing algorithm parameter for jws.verify");throw o.code="MISSING_ALGORITHM",o}var r=u(e=s(e)),a=function(e){return e.split(".",2).join(".")}(e);return i(t).verify(a,r,n)}function f(e,t){if(t=t||{},!d(e=s(e)))return null;var n=p(e);if(!n)return null;var r=function(e,t){t=t||"utf8";var n=e.split(".")[1];return o.from(n,"base64").toString(t)}(e);return("JWT"===n.typ||t.json)&&(r=JSON.parse(r,t.encoding)),{header:n,payload:r,signature:u(e)}}function h(e){var t=(e=e||{}).secret||e.publicKey||e.key,n=new r(t);this.readable=!0,this.algorithm=e.algorithm,this.encoding=e.encoding,this.secret=this.publicKey=this.key=n,this.signature=new r(e.signature),this.secret.once("close",function(){!this.signature.writable&&this.readable&&this.verify()}.bind(this)),this.signature.once("close",function(){!this.secret.writable&&this.readable&&this.verify()}.bind(this))}l.inherits(h,a),h.prototype.verify=function(){try{var e=g(this.signature.buffer,this.algorithm,this.key.buffer),t=f(this.signature.buffer,this.encoding);return this.emit("done",e,t),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},h.decode=f,h.isValid=d,h.verify=g,e.exports=h},61012:e=>{var t,n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,r="\\ud800-\\udfff",i="\\u0300-\\u036f\\ufe20-\\ufe23",a="\\u20d0-\\u20f0",s="\\u2700-\\u27bf",l="a-z\\xdf-\\xf6\\xf8-\\xff",c="A-Z\\xc0-\\xd6\\xd8-\\xde",p="\\ufe0e\\ufe0f",u="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",d="["+r+"]",g="["+u+"]",f="["+i+a+"]",h="\\d+",m="["+s+"]",y="["+l+"]",v="[^"+r+u+h+s+l+c+"]",b="\\ud83c[\\udffb-\\udfff]",O="[^"+r+"]",w="(?:\\ud83c[\\udde6-\\uddff]){2}",P="[\\ud800-\\udbff][\\udc00-\\udfff]",x="["+c+"]",S="\\u200d",T="(?:"+y+"|"+v+")",A="(?:"+x+"|"+v+")",E="(?:['’](?:d|ll|m|re|s|t|ve))?",j="(?:['’](?:D|LL|M|RE|S|T|VE))?",k="(?:"+f+"|"+b+")?",_="["+p+"]?",C=_+k+"(?:"+S+"(?:"+[O,w,P].join("|")+")"+_+k+")*",I="(?:"+[m,w,P].join("|")+")"+C,R="(?:"+[O+f+"?",f,w,P,d].join("|")+")",N=RegExp("['’]","g"),D=RegExp(f,"g"),L=RegExp(b+"(?="+b+")|"+R+C,"g"),B=RegExp([x+"?"+y+"+"+E+"(?="+[g,x,"$"].join("|")+")",A+"+"+j+"(?="+[g,x+T,"$"].join("|")+")",x+"?"+T+"+"+E,x+"+"+j,h,I].join("|"),"g"),M=RegExp("["+S+r+i+a+p+"]"),F=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,U="object"==typeof global&&global&&global.Object===Object&&global,q="object"==typeof self&&self&&self.Object===Object&&self,V=U||q||Function("return this")(),H=(t={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"ss"},function(e){return null==t?void 0:t[e]});function G(e){return M.test(e)}var W=Object.prototype.toString,z=V.Symbol,J=z?z.prototype:void 0,Y=J?J.toString:void 0;function K(e){return null==e?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==W.call(e)}(e))return Y?Y.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}var $,Q=($=function(e,t,n){return t=t.toLowerCase(),e+(n?X(K(t).toLowerCase()):t)},function(e){return function(e,t,n,o){for(var r=-1,i=e?e.length:0;++r=r?t:function(e,t,n){var o=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);++o"']/g,J=RegExp(W.source),Y=RegExp(z.source),K=/<%-([\s\S]+?)%>/g,$=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,X=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Z=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),oe=/^\s+/,re=/\s/,ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ae=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,le=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,de=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,fe=/^0b[01]+$/i,he=/^\[object .+?Constructor\]$/,me=/^0o[0-7]+$/i,ye=/^(?:0|[1-9]\d*)$/,ve=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,be=/($^)/,Oe=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",Pe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xe="\\u2700-\\u27bf",Se="a-z\\xdf-\\xf6\\xf8-\\xff",Te="A-Z\\xc0-\\xd6\\xd8-\\xde",Ae="\\ufe0e\\ufe0f",Ee="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",je="["+we+"]",ke="["+Ee+"]",_e="["+Pe+"]",Ce="\\d+",Ie="["+xe+"]",Re="["+Se+"]",Ne="[^"+we+Ee+Ce+xe+Se+Te+"]",De="\\ud83c[\\udffb-\\udfff]",Le="[^"+we+"]",Be="(?:\\ud83c[\\udde6-\\uddff]){2}",Me="[\\ud800-\\udbff][\\udc00-\\udfff]",Fe="["+Te+"]",Ue="\\u200d",qe="(?:"+Re+"|"+Ne+")",Ve="(?:"+Fe+"|"+Ne+")",He="(?:['’](?:d|ll|m|re|s|t|ve))?",Ge="(?:['’](?:D|LL|M|RE|S|T|VE))?",We="(?:"+_e+"|"+De+")?",ze="["+Ae+"]?",Je=ze+We+"(?:"+Ue+"(?:"+[Le,Be,Me].join("|")+")"+ze+We+")*",Ye="(?:"+[Ie,Be,Me].join("|")+")"+Je,Ke="(?:"+[Le+_e+"?",_e,Be,Me,je].join("|")+")",$e=RegExp("['’]","g"),Qe=RegExp(_e,"g"),Xe=RegExp(De+"(?="+De+")|"+Ke+Je,"g"),Ze=RegExp([Fe+"?"+Re+"+"+He+"(?="+[ke,Fe,"$"].join("|")+")",Ve+"+"+Ge+"(?="+[ke,Fe+qe,"$"].join("|")+")",Fe+"?"+qe+"+"+He,Fe+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ce,Ye].join("|"),"g"),et=RegExp("["+Ue+we+Pe+Ae+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ot=-1,rt={};rt[R]=rt[N]=rt[D]=rt[L]=rt[B]=rt[M]=rt[F]=rt[U]=rt[q]=!0,rt[h]=rt[m]=rt[C]=rt[y]=rt[I]=rt[v]=rt[b]=rt[O]=rt[P]=rt[x]=rt[S]=rt[A]=rt[E]=rt[j]=rt[_]=!1;var it={};it[h]=it[m]=it[C]=it[I]=it[y]=it[v]=it[R]=it[N]=it[D]=it[L]=it[B]=it[P]=it[x]=it[S]=it[A]=it[E]=it[j]=it[k]=it[M]=it[F]=it[U]=it[q]=!0,it[b]=it[O]=it[_]=!1;var at={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},st=parseFloat,lt=parseInt,ct="object"==typeof global&&global&&global.Object===Object&&global,pt="object"==typeof self&&self&&self.Object===Object&&self,ut=ct||pt||Function("return this")(),dt=t&&!t.nodeType&&t,gt=dt&&e&&!e.nodeType&&e,ft=gt&>.exports===dt,ht=ft&&ct.process,mt=function(){try{return gt&>.require&>.require("util").types||ht&&ht.binding&&ht.binding("util")}catch(e){}}(),yt=mt&&mt.isArrayBuffer,vt=mt&&mt.isDate,bt=mt&&mt.isMap,Ot=mt&&mt.isRegExp,wt=mt&&mt.isSet,Pt=mt&&mt.isTypedArray;function xt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function St(e,t,n,o){for(var r=-1,i=null==e?0:e.length;++r-1}function _t(e,t,n){for(var o=-1,r=null==e?0:e.length;++o-1;);return n}function Zt(e,t){for(var n=e.length;n--&&Ft(t,e[n],0)>-1;);return n}function en(e,t){for(var n=e.length,o=0;n--;)e[n]===t&&++o;return o}var tn=Gt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),nn=Gt({"&":"&","<":"<",">":">",'"':""","'":"'"});function on(e){return"\\"+at[e]}function rn(e){return et.test(e)}function an(e){var t=-1,n=Array(e.size);return e.forEach((function(e,o){n[++t]=[o,e]})),n}function sn(e,t){return function(n){return e(t(n))}}function ln(e,t){for(var n=-1,o=e.length,r=0,i=[];++n",""":'"',"'":"'"}),hn=function e(t){var n,o=(t=null==t?ut:hn.defaults(ut.Object(),t,hn.pick(ut,nt))).Array,re=t.Date,we=t.Error,Pe=t.Function,xe=t.Math,Se=t.Object,Te=t.RegExp,Ae=t.String,Ee=t.TypeError,je=o.prototype,ke=Pe.prototype,_e=Se.prototype,Ce=t["__core-js_shared__"],Ie=ke.toString,Re=_e.hasOwnProperty,Ne=0,De=(n=/[^.]+$/.exec(Ce&&Ce.keys&&Ce.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Le=_e.toString,Be=Ie.call(Se),Me=ut._,Fe=Te("^"+Ie.call(Re).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ue=ft?t.Buffer:r,qe=t.Symbol,Ve=t.Uint8Array,He=Ue?Ue.allocUnsafe:r,Ge=sn(Se.getPrototypeOf,Se),We=Se.create,ze=_e.propertyIsEnumerable,Je=je.splice,Ye=qe?qe.isConcatSpreadable:r,Ke=qe?qe.iterator:r,Xe=qe?qe.toStringTag:r,et=function(){try{var e=pi(Se,"defineProperty");return e({},"",{}),e}catch(e){}}(),at=t.clearTimeout!==ut.clearTimeout&&t.clearTimeout,ct=re&&re.now!==ut.Date.now&&re.now,pt=t.setTimeout!==ut.setTimeout&&t.setTimeout,dt=xe.ceil,gt=xe.floor,ht=Se.getOwnPropertySymbols,mt=Ue?Ue.isBuffer:r,Lt=t.isFinite,Gt=je.join,mn=sn(Se.keys,Se),yn=xe.max,vn=xe.min,bn=re.now,On=t.parseInt,wn=xe.random,Pn=je.reverse,xn=pi(t,"DataView"),Sn=pi(t,"Map"),Tn=pi(t,"Promise"),An=pi(t,"Set"),En=pi(t,"WeakMap"),jn=pi(Se,"create"),kn=En&&new En,_n={},Cn=Fi(xn),In=Fi(Sn),Rn=Fi(Tn),Nn=Fi(An),Dn=Fi(En),Ln=qe?qe.prototype:r,Bn=Ln?Ln.valueOf:r,Mn=Ln?Ln.toString:r;function Fn(e){if(ns(e)&&!Wa(e)&&!(e instanceof Hn)){if(e instanceof Vn)return e;if(Re.call(e,"__wrapped__"))return Ui(e)}return new Vn(e)}var Un=function(){function e(){}return function(t){if(!ts(t))return{};if(We)return We(t);e.prototype=t;var n=new e;return e.prototype=r,n}}();function qn(){}function Vn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function Hn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function so(e,t,n,o,i,a){var s,l=1&t,c=2&t,p=4&t;if(n&&(s=i?n(e,o,i,a):n(e)),s!==r)return s;if(!ts(e))return e;var u=Wa(e);if(u){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Re.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return jr(e,s)}else{var d=gi(e),g=d==O||d==w;if(Ka(e))return Pr(e,l);if(d==S||d==h||g&&!i){if(s=c||g?{}:hi(e),!l)return c?function(e,t){return kr(e,di(e),t)}(e,function(e,t){return e&&kr(t,Rs(t),e)}(s,e)):function(e,t){return kr(e,ui(e),t)}(e,oo(s,e))}else{if(!it[d])return i?e:{};s=function(e,t,n){var o,r=e.constructor;switch(t){case C:return xr(e);case y:case v:return new r(+e);case I:return function(e,t){var n=t?xr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case R:case N:case D:case L:case B:case M:case F:case U:case q:return Sr(e,n);case P:return new r;case x:case j:return new r(e);case A:return function(e){var t=new e.constructor(e.source,de.exec(e));return t.lastIndex=e.lastIndex,t}(e);case E:return new r;case k:return o=e,Bn?Se(Bn.call(o)):{}}}(e,d,l)}}a||(a=new Yn);var f=a.get(e);if(f)return f;a.set(e,s),ss(e)?e.forEach((function(o){s.add(so(o,t,n,o,e,a))})):os(e)&&e.forEach((function(o,r){s.set(r,so(o,t,n,r,e,a))}));var m=u?r:(p?c?oi:ni:c?Rs:Is)(e);return Tt(m||e,(function(o,r){m&&(o=e[r=o]),eo(s,r,so(o,t,n,r,e,a))})),s}function lo(e,t,n){var o=n.length;if(null==e)return!o;for(e=Se(e);o--;){var i=n[o],a=t[i],s=e[i];if(s===r&&!(i in e)||!a(s))return!1}return!0}function co(e,t,n){if("function"!=typeof e)throw new Ee(i);return _i((function(){e.apply(r,n)}),t)}function po(e,t,n,o){var r=-1,i=kt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Ct(t,Kt(n))),o?(i=_t,a=!1):t.length>=200&&(i=Qt,a=!1,t=new Jn(t));e:for(;++r-1},Wn.prototype.set=function(e,t){var n=this.__data__,o=to(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this},zn.prototype.clear=function(){this.size=0,this.__data__={hash:new Gn,map:new(Sn||Wn),string:new Gn}},zn.prototype.delete=function(e){var t=li(this,e).delete(e);return this.size-=t?1:0,t},zn.prototype.get=function(e){return li(this,e).get(e)},zn.prototype.has=function(e){return li(this,e).has(e)},zn.prototype.set=function(e,t){var n=li(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this},Jn.prototype.add=Jn.prototype.push=function(e){return this.__data__.set(e,a),this},Jn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.clear=function(){this.__data__=new Wn,this.size=0},Yn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Yn.prototype.get=function(e){return this.__data__.get(e)},Yn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Wn){var o=n.__data__;if(!Sn||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new zn(o)}return n.set(e,t),this.size=n.size,this};var uo=Ir(Oo),go=Ir(wo,!0);function fo(e,t){var n=!0;return uo(e,(function(e,o,r){return n=!!t(e,o,r)})),n}function ho(e,t,n){for(var o=-1,i=e.length;++o0&&n(s)?t>1?yo(s,t-1,n,o,r):It(r,s):o||(r[r.length]=s)}return r}var vo=Rr(),bo=Rr(!0);function Oo(e,t){return e&&vo(e,t,Is)}function wo(e,t){return e&&bo(e,t,Is)}function Po(e,t){return jt(t,(function(t){return Xa(e[t])}))}function xo(e,t){for(var n=0,o=(t=vr(t,e)).length;null!=e&&nt}function Eo(e,t){return null!=e&&Re.call(e,t)}function jo(e,t){return null!=e&&t in Se(e)}function ko(e,t,n){for(var i=n?_t:kt,a=e[0].length,s=e.length,l=s,c=o(s),p=1/0,u=[];l--;){var d=e[l];l&&t&&(d=Ct(d,Kt(t))),p=vn(d.length,p),c[l]=!n&&(t||a>=120&&d.length>=120)?new Jn(l&&d):r}d=e[0];var g=-1,f=c[0];e:for(;++g=s?l:l*("desc"==n[o]?-1:1)}return e.index-t.index}(e,t,n)}));o--;)e[o]=e[o].value;return e}(r)}function Go(e,t,n){for(var o=-1,r=t.length,i={};++o-1;)s!==e&&Je.call(s,l,1),Je.call(e,l,1);return e}function zo(e,t){for(var n=e?t.length:0,o=n-1;n--;){var r=t[n];if(n==o||r!==i){var i=r;yi(r)?Je.call(e,r,1):pr(e,r)}}return e}function Jo(e,t){return e+gt(wn()*(t-e+1))}function Yo(e,t){var n="";if(!e||t<1||t>u)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Ko(e,t){return Ci(Ti(e,t,rl),e+"")}function $o(e){return $n(qs(e))}function Qo(e,t){var n=qs(e);return Ni(n,ao(t,0,n.length))}function Xo(e,t,n,o){if(!ts(e))return e;for(var i=-1,a=(t=vr(t,e)).length,s=a-1,l=e;null!=l&&++ii?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=o(i);++r>>1,a=e[i];null!==a&&!cs(a)&&(n?a<=t:a=200){var c=t?null:Yr(e);if(c)return cn(c);a=!1,r=Qt,l=new Jn}else l=t?[]:s;e:for(;++o=o?e:nr(e,t,n)}var wr=at||function(e){return ut.clearTimeout(e)};function Pr(e,t){if(t)return e.slice();var n=e.length,o=He?He(n):new e.constructor(n);return e.copy(o),o}function xr(e){var t=new e.constructor(e.byteLength);return new Ve(t).set(new Ve(e)),t}function Sr(e,t){var n=t?xr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Tr(e,t){if(e!==t){var n=e!==r,o=null===e,i=e==e,a=cs(e),s=t!==r,l=null===t,c=t==t,p=cs(t);if(!l&&!p&&!a&&e>t||a&&s&&c&&!l&&!p||o&&s&&c||!n&&c||!i)return 1;if(!o&&!a&&!p&&e1?n[i-1]:r,s=i>2?n[2]:r;for(a=e.length>3&&"function"==typeof a?(i--,a):r,s&&vi(n[0],n[1],s)&&(a=i<3?r:a,i=1),t=Se(t);++o-1?i[a?t[s]:s]:r}}function Mr(e){return ti((function(t){var n=t.length,o=n,a=Vn.prototype.thru;for(e&&t.reverse();o--;){var s=t[o];if("function"!=typeof s)throw new Ee(i);if(a&&!l&&"wrapper"==ii(s))var l=new Vn([],!0)}for(o=l?o:n;++o1&&b.reverse(),g&&ul))return!1;var p=a.get(e),u=a.get(t);if(p&&u)return p==t&&u==e;var d=-1,g=!0,f=2&n?new Jn:r;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[o],t=t.join(n>2?", ":" "),e.replace(ie,"{\n/* [wrapped with "+t+"] */\n")}(o,function(e,t){return Tt(f,(function(n){var o="_."+n[0];t&n[1]&&!kt(e,o)&&e.push(o)})),e.sort()}(function(e){var t=e.match(ae);return t?t[1].split(se):[]}(o),n)))}function Ri(e){var t=0,n=0;return function(){var o=bn(),i=16-(o-n);if(n=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Ni(e,t){var n=-1,o=e.length,i=o-1;for(t=t===r?o:t;++n1?e[t-1]:r;return n="function"==typeof n?(e.pop(),n):r,aa(e,n)}));function ga(e){var t=Fn(e);return t.__chain__=!0,t}function fa(e,t){return t(e)}var ha=ti((function(e){var t=e.length,n=t?e[0]:0,o=this.__wrapped__,i=function(t){return io(t,e)};return!(t>1||this.__actions__.length)&&o instanceof Hn&&yi(n)?((o=o.slice(n,+n+(t?1:0))).__actions__.push({func:fa,args:[i],thisArg:r}),new Vn(o,this.__chain__).thru((function(e){return t&&!e.length&&e.push(r),e}))):this.thru(i)})),ma=_r((function(e,t,n){Re.call(e,n)?++e[n]:ro(e,n,1)})),ya=Br(Gi),va=Br(Wi);function ba(e,t){return(Wa(e)?Tt:uo)(e,si(t,3))}function Oa(e,t){return(Wa(e)?At:go)(e,si(t,3))}var wa=_r((function(e,t,n){Re.call(e,n)?e[n].push(t):ro(e,n,[t])})),Pa=Ko((function(e,t,n){var r=-1,i="function"==typeof t,a=Ja(e)?o(e.length):[];return uo(e,(function(e){a[++r]=i?xt(t,e,n):_o(e,t,n)})),a})),xa=_r((function(e,t,n){ro(e,n,t)}));function Sa(e,t){return(Wa(e)?Ct:Mo)(e,si(t,3))}var Ta=_r((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Aa=Ko((function(e,t){if(null==e)return[];var n=t.length;return n>1&&vi(e,t[0],t[1])?t=[]:n>2&&vi(t[0],t[1],t[2])&&(t=[t[0]]),Ho(e,yo(t,1),[])})),Ea=ct||function(){return ut.Date.now()};function ja(e,t,n){return t=n?r:t,t=e&&null==t?e.length:t,$r(e,c,r,r,r,r,t)}function ka(e,t){var n;if("function"!=typeof t)throw new Ee(i);return e=hs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var _a=Ko((function(e,t,n){var o=1;if(n.length){var r=ln(n,ai(_a));o|=l}return $r(e,o,t,n,r)})),Ca=Ko((function(e,t,n){var o=3;if(n.length){var r=ln(n,ai(Ca));o|=l}return $r(t,o,e,n,r)}));function Ia(e,t,n){var o,a,s,l,c,p,u=0,d=!1,g=!1,f=!0;if("function"!=typeof e)throw new Ee(i);function h(t){var n=o,i=a;return o=a=r,u=t,l=e.apply(i,n)}function m(e){return u=e,c=_i(v,t),d?h(e):l}function y(e){var n=e-p;return p===r||n>=t||n<0||g&&e-u>=s}function v(){var e=Ea();if(y(e))return b(e);c=_i(v,function(e){var n=t-(e-p);return g?vn(n,s-(e-u)):n}(e))}function b(e){return c=r,f&&o?h(e):(o=a=r,l)}function O(){var e=Ea(),n=y(e);if(o=arguments,a=this,p=e,n){if(c===r)return m(p);if(g)return wr(c),c=_i(v,t),h(p)}return c===r&&(c=_i(v,t)),l}return t=ys(t)||0,ts(n)&&(d=!!n.leading,s=(g="maxWait"in n)?yn(ys(n.maxWait)||0,t):s,f="trailing"in n?!!n.trailing:f),O.cancel=function(){c!==r&&wr(c),u=0,o=p=a=c=r},O.flush=function(){return c===r?l:b(Ea())},O}var Ra=Ko((function(e,t){return co(e,1,t)})),Na=Ko((function(e,t,n){return co(e,ys(t)||0,n)}));function Da(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ee(i);var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var a=e.apply(this,o);return n.cache=i.set(r,a)||i,a};return n.cache=new(Da.Cache||zn),n}function La(e){if("function"!=typeof e)throw new Ee(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Da.Cache=zn;var Ba=br((function(e,t){var n=(t=1==t.length&&Wa(t[0])?Ct(t[0],Kt(si())):Ct(yo(t,1),Kt(si()))).length;return Ko((function(o){for(var r=-1,i=vn(o.length,n);++r=t})),Ga=Co(function(){return arguments}())?Co:function(e){return ns(e)&&Re.call(e,"callee")&&!ze.call(e,"callee")},Wa=o.isArray,za=yt?Kt(yt):function(e){return ns(e)&&To(e)==C};function Ja(e){return null!=e&&es(e.length)&&!Xa(e)}function Ya(e){return ns(e)&&Ja(e)}var Ka=mt||yl,$a=vt?Kt(vt):function(e){return ns(e)&&To(e)==v};function Qa(e){if(!ns(e))return!1;var t=To(e);return t==b||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!is(e)}function Xa(e){if(!ts(e))return!1;var t=To(e);return t==O||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Za(e){return"number"==typeof e&&e==hs(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=u}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ns(e){return null!=e&&"object"==typeof e}var os=bt?Kt(bt):function(e){return ns(e)&&gi(e)==P};function rs(e){return"number"==typeof e||ns(e)&&To(e)==x}function is(e){if(!ns(e)||To(e)!=S)return!1;var t=Ge(e);if(null===t)return!0;var n=Re.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ie.call(n)==Be}var as=Ot?Kt(Ot):function(e){return ns(e)&&To(e)==A},ss=wt?Kt(wt):function(e){return ns(e)&&gi(e)==E};function ls(e){return"string"==typeof e||!Wa(e)&&ns(e)&&To(e)==j}function cs(e){return"symbol"==typeof e||ns(e)&&To(e)==k}var ps=Pt?Kt(Pt):function(e){return ns(e)&&es(e.length)&&!!rt[To(e)]},us=Wr(Bo),ds=Wr((function(e,t){return e<=t}));function gs(e){if(!e)return[];if(Ja(e))return ls(e)?dn(e):jr(e);if(Ke&&e[Ke])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ke]());var t=gi(e);return(t==P?an:t==E?cn:qs)(e)}function fs(e){return e?(e=ys(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function hs(e){var t=fs(e),n=t%1;return t==t?n?t-n:t:0}function ms(e){return e?ao(hs(e),0,g):0}function ys(e){if("number"==typeof e)return e;if(cs(e))return d;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Yt(e);var n=fe.test(e);return n||me.test(e)?lt(e.slice(2),n?2:8):ge.test(e)?d:+e}function vs(e){return kr(e,Rs(e))}function bs(e){return null==e?"":lr(e)}var Os=Cr((function(e,t){if(Pi(t)||Ja(t))kr(t,Is(t),e);else for(var n in t)Re.call(t,n)&&eo(e,n,t[n])})),ws=Cr((function(e,t){kr(t,Rs(t),e)})),Ps=Cr((function(e,t,n,o){kr(t,Rs(t),e,o)})),xs=Cr((function(e,t,n,o){kr(t,Is(t),e,o)})),Ss=ti(io),Ts=Ko((function(e,t){e=Se(e);var n=-1,o=t.length,i=o>2?t[2]:r;for(i&&vi(t[0],t[1],i)&&(o=1);++n1),t})),kr(e,oi(e),n),o&&(n=so(n,7,Zr));for(var r=t.length;r--;)pr(n,t[r]);return n})),Bs=ti((function(e,t){return null==e?{}:function(e,t){return Go(e,t,(function(t,n){return js(e,n)}))}(e,t)}));function Ms(e,t){if(null==e)return{};var n=Ct(oi(e),(function(e){return[e]}));return t=si(t),Go(e,n,(function(e,n){return t(e,n[0])}))}var Fs=Kr(Is),Us=Kr(Rs);function qs(e){return null==e?[]:$t(e,Is(e))}var Vs=Dr((function(e,t,n){return t=t.toLowerCase(),e+(n?Hs(t):t)}));function Hs(e){return Qs(bs(e).toLowerCase())}function Gs(e){return(e=bs(e))&&e.replace(ve,tn).replace(Qe,"")}var Ws=Dr((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),zs=Dr((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Js=Nr("toLowerCase"),Ys=Dr((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Ks=Dr((function(e,t,n){return e+(n?" ":"")+Qs(t)})),$s=Dr((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Qs=Nr("toUpperCase");function Xs(e,t,n){return e=bs(e),(t=n?r:t)===r?function(e){return tt.test(e)}(e)?function(e){return e.match(Ze)||[]}(e):function(e){return e.match(le)||[]}(e):e.match(t)||[]}var Zs=Ko((function(e,t){try{return xt(e,r,t)}catch(e){return Qa(e)?e:new we(e)}})),el=ti((function(e,t){return Tt(t,(function(t){t=Mi(t),ro(e,t,_a(e[t],e))})),e}));function tl(e){return function(){return e}}var nl=Mr(),ol=Mr(!0);function rl(e){return e}function il(e){return Do("function"==typeof e?e:so(e,1))}var al=Ko((function(e,t){return function(n){return _o(n,e,t)}})),sl=Ko((function(e,t){return function(n){return _o(e,n,t)}}));function ll(e,t,n){var o=Is(t),r=Po(t,o);null!=n||ts(t)&&(r.length||!o.length)||(n=t,t=e,e=this,r=Po(t,Is(t)));var i=!(ts(n)&&"chain"in n&&!n.chain),a=Xa(e);return Tt(r,(function(n){var o=t[n];e[n]=o,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),r=n.__actions__=jr(this.__actions__);return r.push({func:o,args:arguments,thisArg:e}),n.__chain__=t,n}return o.apply(e,It([this.value()],arguments))})})),e}function cl(){}var pl=Vr(Ct),ul=Vr(Et),dl=Vr(Dt);function gl(e){return bi(e)?Ht(Mi(e)):function(e){return function(t){return xo(t,e)}}(e)}var fl=Gr(),hl=Gr(!0);function ml(){return[]}function yl(){return!1}var vl,bl=qr((function(e,t){return e+t}),0),Ol=Jr("ceil"),wl=qr((function(e,t){return e/t}),1),Pl=Jr("floor"),xl=qr((function(e,t){return e*t}),1),Sl=Jr("round"),Tl=qr((function(e,t){return e-t}),0);return Fn.after=function(e,t){if("function"!=typeof t)throw new Ee(i);return e=hs(e),function(){if(--e<1)return t.apply(this,arguments)}},Fn.ary=ja,Fn.assign=Os,Fn.assignIn=ws,Fn.assignInWith=Ps,Fn.assignWith=xs,Fn.at=Ss,Fn.before=ka,Fn.bind=_a,Fn.bindAll=el,Fn.bindKey=Ca,Fn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Wa(e)?e:[e]},Fn.chain=ga,Fn.chunk=function(e,t,n){t=(n?vi(e,t,n):t===r)?1:yn(hs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=o(dt(i/t));ai?0:i+n),(o=o===r||o>i?i:hs(o))<0&&(o+=i),o=n>o?0:ms(o);n>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!as(t))&&!(t=lr(t))&&rn(e)?Or(dn(e),0,n):e.split(t,n):[]},Fn.spread=function(e,t){if("function"!=typeof e)throw new Ee(i);return t=null==t?0:yn(hs(t),0),Ko((function(n){var o=n[t],r=Or(n,0,t);return o&&It(r,o),xt(e,this,r)}))},Fn.tail=function(e){var t=null==e?0:e.length;return t?nr(e,1,t):[]},Fn.take=function(e,t,n){return e&&e.length?nr(e,0,(t=n||t===r?1:hs(t))<0?0:t):[]},Fn.takeRight=function(e,t,n){var o=null==e?0:e.length;return o?nr(e,(t=o-(t=n||t===r?1:hs(t)))<0?0:t,o):[]},Fn.takeRightWhile=function(e,t){return e&&e.length?dr(e,si(t,3),!1,!0):[]},Fn.takeWhile=function(e,t){return e&&e.length?dr(e,si(t,3)):[]},Fn.tap=function(e,t){return t(e),e},Fn.throttle=function(e,t,n){var o=!0,r=!0;if("function"!=typeof e)throw new Ee(i);return ts(n)&&(o="leading"in n?!!n.leading:o,r="trailing"in n?!!n.trailing:r),Ia(e,t,{leading:o,maxWait:t,trailing:r})},Fn.thru=fa,Fn.toArray=gs,Fn.toPairs=Fs,Fn.toPairsIn=Us,Fn.toPath=function(e){return Wa(e)?Ct(e,Mi):cs(e)?[e]:jr(Bi(bs(e)))},Fn.toPlainObject=vs,Fn.transform=function(e,t,n){var o=Wa(e),r=o||Ka(e)||ps(e);if(t=si(t,4),null==n){var i=e&&e.constructor;n=r?o?new i:[]:ts(e)&&Xa(i)?Un(Ge(e)):{}}return(r?Tt:Oo)(e,(function(e,o,r){return t(n,e,o,r)})),n},Fn.unary=function(e){return ja(e,1)},Fn.union=na,Fn.unionBy=oa,Fn.unionWith=ra,Fn.uniq=function(e){return e&&e.length?cr(e):[]},Fn.uniqBy=function(e,t){return e&&e.length?cr(e,si(t,2)):[]},Fn.uniqWith=function(e,t){return t="function"==typeof t?t:r,e&&e.length?cr(e,r,t):[]},Fn.unset=function(e,t){return null==e||pr(e,t)},Fn.unzip=ia,Fn.unzipWith=aa,Fn.update=function(e,t,n){return null==e?e:ur(e,t,yr(n))},Fn.updateWith=function(e,t,n,o){return o="function"==typeof o?o:r,null==e?e:ur(e,t,yr(n),o)},Fn.values=qs,Fn.valuesIn=function(e){return null==e?[]:$t(e,Rs(e))},Fn.without=sa,Fn.words=Xs,Fn.wrap=function(e,t){return Ma(yr(t),e)},Fn.xor=la,Fn.xorBy=ca,Fn.xorWith=pa,Fn.zip=ua,Fn.zipObject=function(e,t){return hr(e||[],t||[],eo)},Fn.zipObjectDeep=function(e,t){return hr(e||[],t||[],Xo)},Fn.zipWith=da,Fn.entries=Fs,Fn.entriesIn=Us,Fn.extend=ws,Fn.extendWith=Ps,ll(Fn,Fn),Fn.add=bl,Fn.attempt=Zs,Fn.camelCase=Vs,Fn.capitalize=Hs,Fn.ceil=Ol,Fn.clamp=function(e,t,n){return n===r&&(n=t,t=r),n!==r&&(n=(n=ys(n))==n?n:0),t!==r&&(t=(t=ys(t))==t?t:0),ao(ys(e),t,n)},Fn.clone=function(e){return so(e,4)},Fn.cloneDeep=function(e){return so(e,5)},Fn.cloneDeepWith=function(e,t){return so(e,5,t="function"==typeof t?t:r)},Fn.cloneWith=function(e,t){return so(e,4,t="function"==typeof t?t:r)},Fn.conformsTo=function(e,t){return null==t||lo(e,t,Is(t))},Fn.deburr=Gs,Fn.defaultTo=function(e,t){return null==e||e!=e?t:e},Fn.divide=wl,Fn.endsWith=function(e,t,n){e=bs(e),t=lr(t);var o=e.length,i=n=n===r?o:ao(hs(n),0,o);return(n-=t.length)>=0&&e.slice(n,i)==t},Fn.eq=qa,Fn.escape=function(e){return(e=bs(e))&&Y.test(e)?e.replace(z,nn):e},Fn.escapeRegExp=function(e){return(e=bs(e))&&ne.test(e)?e.replace(te,"\\$&"):e},Fn.every=function(e,t,n){var o=Wa(e)?Et:fo;return n&&vi(e,t,n)&&(t=r),o(e,si(t,3))},Fn.find=ya,Fn.findIndex=Gi,Fn.findKey=function(e,t){return Bt(e,si(t,3),Oo)},Fn.findLast=va,Fn.findLastIndex=Wi,Fn.findLastKey=function(e,t){return Bt(e,si(t,3),wo)},Fn.floor=Pl,Fn.forEach=ba,Fn.forEachRight=Oa,Fn.forIn=function(e,t){return null==e?e:vo(e,si(t,3),Rs)},Fn.forInRight=function(e,t){return null==e?e:bo(e,si(t,3),Rs)},Fn.forOwn=function(e,t){return e&&Oo(e,si(t,3))},Fn.forOwnRight=function(e,t){return e&&wo(e,si(t,3))},Fn.get=Es,Fn.gt=Va,Fn.gte=Ha,Fn.has=function(e,t){return null!=e&&fi(e,t,Eo)},Fn.hasIn=js,Fn.head=Ji,Fn.identity=rl,Fn.includes=function(e,t,n,o){e=Ja(e)?e:qs(e),n=n&&!o?hs(n):0;var r=e.length;return n<0&&(n=yn(r+n,0)),ls(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&Ft(e,t,n)>-1},Fn.indexOf=function(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var r=null==n?0:hs(n);return r<0&&(r=yn(o+r,0)),Ft(e,t,r)},Fn.inRange=function(e,t,n){return t=fs(t),n===r?(n=t,t=0):n=fs(n),function(e,t,n){return e>=vn(t,n)&&e=-9007199254740991&&e<=u},Fn.isSet=ss,Fn.isString=ls,Fn.isSymbol=cs,Fn.isTypedArray=ps,Fn.isUndefined=function(e){return e===r},Fn.isWeakMap=function(e){return ns(e)&&gi(e)==_},Fn.isWeakSet=function(e){return ns(e)&&"[object WeakSet]"==To(e)},Fn.join=function(e,t){return null==e?"":Gt.call(e,t)},Fn.kebabCase=Ws,Fn.last=Qi,Fn.lastIndexOf=function(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var i=o;return n!==r&&(i=(i=hs(n))<0?yn(o+i,0):vn(i,o-1)),t==t?function(e,t,n){for(var o=n+1;o--;)if(e[o]===t)return o;return o}(e,t,i):Mt(e,qt,i,!0)},Fn.lowerCase=zs,Fn.lowerFirst=Js,Fn.lt=us,Fn.lte=ds,Fn.max=function(e){return e&&e.length?ho(e,rl,Ao):r},Fn.maxBy=function(e,t){return e&&e.length?ho(e,si(t,2),Ao):r},Fn.mean=function(e){return Vt(e,rl)},Fn.meanBy=function(e,t){return Vt(e,si(t,2))},Fn.min=function(e){return e&&e.length?ho(e,rl,Bo):r},Fn.minBy=function(e,t){return e&&e.length?ho(e,si(t,2),Bo):r},Fn.stubArray=ml,Fn.stubFalse=yl,Fn.stubObject=function(){return{}},Fn.stubString=function(){return""},Fn.stubTrue=function(){return!0},Fn.multiply=xl,Fn.nth=function(e,t){return e&&e.length?Vo(e,hs(t)):r},Fn.noConflict=function(){return ut._===this&&(ut._=Me),this},Fn.noop=cl,Fn.now=Ea,Fn.pad=function(e,t,n){e=bs(e);var o=(t=hs(t))?un(e):0;if(!t||o>=t)return e;var r=(t-o)/2;return Hr(gt(r),n)+e+Hr(dt(r),n)},Fn.padEnd=function(e,t,n){e=bs(e);var o=(t=hs(t))?un(e):0;return t&&ot){var o=e;e=t,t=o}if(n||e%1||t%1){var i=wn();return vn(e+i*(t-e+st("1e-"+((i+"").length-1))),t)}return Jo(e,t)},Fn.reduce=function(e,t,n){var o=Wa(e)?Rt:Wt,r=arguments.length<3;return o(e,si(t,4),n,r,uo)},Fn.reduceRight=function(e,t,n){var o=Wa(e)?Nt:Wt,r=arguments.length<3;return o(e,si(t,4),n,r,go)},Fn.repeat=function(e,t,n){return t=(n?vi(e,t,n):t===r)?1:hs(t),Yo(bs(e),t)},Fn.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Fn.result=function(e,t,n){var o=-1,i=(t=vr(t,e)).length;for(i||(i=1,e=r);++ou)return[];var n=g,o=vn(e,g);t=si(t),e-=g;for(var r=Jt(o,t);++n=a)return e;var l=n-un(o);if(l<1)return o;var c=s?Or(s,0,l).join(""):e.slice(0,l);if(i===r)return c+o;if(s&&(l+=c.length-l),as(i)){if(e.slice(l).search(i)){var p,u=c;for(i.global||(i=Te(i.source,bs(de.exec(i))+"g")),i.lastIndex=0;p=i.exec(u);)var d=p.index;c=c.slice(0,d===r?l:d)}}else if(e.indexOf(lr(i),l)!=l){var g=c.lastIndexOf(i);g>-1&&(c=c.slice(0,g))}return c+o},Fn.unescape=function(e){return(e=bs(e))&&J.test(e)?e.replace(W,fn):e},Fn.uniqueId=function(e){var t=++Ne;return bs(e)+t},Fn.upperCase=$s,Fn.upperFirst=Qs,Fn.each=ba,Fn.eachRight=Oa,Fn.first=Ji,ll(Fn,(vl={},Oo(Fn,(function(e,t){Re.call(Fn.prototype,t)||(vl[t]=e)})),vl),{chain:!1}),Fn.VERSION="4.17.21",Tt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Fn[e].placeholder=Fn})),Tt(["drop","take"],(function(e,t){Hn.prototype[e]=function(n){n=n===r?1:yn(hs(n),0);var o=this.__filtered__&&!t?new Hn(this):this.clone();return o.__filtered__?o.__takeCount__=vn(n,o.__takeCount__):o.__views__.push({size:vn(n,g),type:e+(o.__dir__<0?"Right":"")}),o},Hn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Tt(["filter","map","takeWhile"],(function(e,t){var n=t+1,o=1==n||3==n;Hn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:si(e,3),type:n}),t.__filtered__=t.__filtered__||o,t}})),Tt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Hn.prototype[e]=function(){return this[n](1).value()[0]}})),Tt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Hn.prototype[e]=function(){return this.__filtered__?new Hn(this):this[n](1)}})),Hn.prototype.compact=function(){return this.filter(rl)},Hn.prototype.find=function(e){return this.filter(e).head()},Hn.prototype.findLast=function(e){return this.reverse().find(e)},Hn.prototype.invokeMap=Ko((function(e,t){return"function"==typeof e?new Hn(this):this.map((function(n){return _o(n,e,t)}))})),Hn.prototype.reject=function(e){return this.filter(La(si(e)))},Hn.prototype.slice=function(e,t){e=hs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Hn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==r&&(n=(t=hs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Hn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Hn.prototype.toArray=function(){return this.take(g)},Oo(Hn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),i=Fn[o?"take"+("last"==t?"Right":""):t],a=o||/^find/.test(t);i&&(Fn.prototype[t]=function(){var t=this.__wrapped__,s=o?[1]:arguments,l=t instanceof Hn,c=s[0],p=l||Wa(t),u=function(e){var t=i.apply(Fn,It([e],s));return o&&d?t[0]:t};p&&n&&"function"==typeof c&&1!=c.length&&(l=p=!1);var d=this.__chain__,g=!!this.__actions__.length,f=a&&!d,h=l&&!g;if(!a&&p){t=h?t:new Hn(this);var m=e.apply(t,s);return m.__actions__.push({func:fa,args:[u],thisArg:r}),new Vn(m,d)}return f&&h?e.apply(this,s):(m=this.thru(u),f?o?m.value()[0]:m.value():m)})})),Tt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=je[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);Fn.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var r=this.value();return t.apply(Wa(r)?r:[],e)}return this[n]((function(n){return t.apply(Wa(n)?n:[],e)}))}})),Oo(Hn.prototype,(function(e,t){var n=Fn[t];if(n){var o=n.name+"";Re.call(_n,o)||(_n[o]=[]),_n[o].push({name:t,func:n})}})),_n[Fr(r,2).name]=[{name:"wrapper",func:r}],Hn.prototype.clone=function(){var e=new Hn(this.__wrapped__);return e.__actions__=jr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=jr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=jr(this.__views__),e},Hn.prototype.reverse=function(){if(this.__filtered__){var e=new Hn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Hn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Wa(e),o=t<0,r=n?e.length:0,i=function(e,t,n){for(var o=-1,r=n.length;++o=this.__values__.length;return{done:e,value:e?r:this.__values__[this.__index__++]}},Fn.prototype.plant=function(e){for(var t,n=this;n instanceof qn;){var o=Ui(n);o.__index__=0,o.__values__=r,t?i.__wrapped__=o:t=o;var i=o;n=n.__wrapped__}return i.__wrapped__=e,t},Fn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Hn){var t=e;return this.__actions__.length&&(t=new Hn(this)),(t=t.reverse()).__actions__.push({func:fa,args:[ta],thisArg:r}),new Vn(t,this.__chain__)}return this.thru(ta)},Fn.prototype.toJSON=Fn.prototype.valueOf=Fn.prototype.value=function(){return gr(this.__wrapped__,this.__actions__)},Fn.prototype.first=Fn.prototype.head,Ke&&(Fn.prototype[Ke]=function(){return this}),Fn}();ut._=hn,(o=function(){return hn}.call(t,n,t,e))===r||(e.exports=o)}.call(this)},35954:e=>{e.exports=n;var t=null;try{t=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function n(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function o(e){return!0===(e&&e.__isLong__)}n.prototype.__isLong__,Object.defineProperty(n.prototype,"__isLong__",{value:!0}),n.isLong=o;var r={},i={};function a(e,t){var n,o,a;return t?(a=0<=(e>>>=0)&&e<256)&&(o=i[e])?o:(n=l(e,(0|e)<0?-1:0,!0),a&&(i[e]=n),n):(a=-128<=(e|=0)&&e<128)&&(o=r[e])?o:(n=l(e,e<0?-1:0,!1),a&&(r[e]=n),n)}function s(e,t){if(isNaN(e))return t?y:m;if(t){if(e<0)return y;if(e>=g)return P}else{if(e<=-f)return x;if(e+1>=f)return w}return e<0?s(-e,t).neg():l(e%d|0,e/d|0,t)}function l(e,t,o){return new n(e,t,o)}n.fromInt=a,n.fromNumber=s,n.fromBits=l;var c=Math.pow;function p(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return m;if("number"==typeof t?(n=t,t=!1):t=!!t,(n=n||10)<2||360)throw Error("interior hyphen");if(0===o)return p(e.substring(1),t,n).neg();for(var r=s(c(n,8)),i=m,a=0;a>>0:this.low},S.toNumber=function(){return this.unsigned?(this.high>>>0)*d+(this.low>>>0):this.high*d+(this.low>>>0)},S.toString=function(e){if((e=e||10)<2||36>>0).toString(e);if((i=l).isZero())return p+a;for(;p.length<6;)p="0"+p;a=""+p+a}},S.getHighBits=function(){return this.high},S.getHighBitsUnsigned=function(){return this.high>>>0},S.getLowBits=function(){return this.low},S.getLowBitsUnsigned=function(){return this.low>>>0},S.getNumBitsAbs=function(){if(this.isNegative())return this.eq(x)?64:this.neg().getNumBitsAbs();for(var e=0!=this.high?this.high:this.low,t=31;t>0&&0==(e&1<=0},S.isOdd=function(){return 1==(1&this.low)},S.isEven=function(){return 0==(1&this.low)},S.equals=function(e){return o(e)||(e=u(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&this.high===e.high&&this.low===e.low},S.eq=S.equals,S.notEquals=function(e){return!this.eq(e)},S.neq=S.notEquals,S.ne=S.notEquals,S.lessThan=function(e){return this.comp(e)<0},S.lt=S.lessThan,S.lessThanOrEqual=function(e){return this.comp(e)<=0},S.lte=S.lessThanOrEqual,S.le=S.lessThanOrEqual,S.greaterThan=function(e){return this.comp(e)>0},S.gt=S.greaterThan,S.greaterThanOrEqual=function(e){return this.comp(e)>=0},S.gte=S.greaterThanOrEqual,S.ge=S.greaterThanOrEqual,S.compare=function(e){if(o(e)||(e=u(e)),this.eq(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},S.comp=S.compare,S.negate=function(){return!this.unsigned&&this.eq(x)?x:this.not().add(v)},S.neg=S.negate,S.add=function(e){o(e)||(e=u(e));var t=this.high>>>16,n=65535&this.high,r=this.low>>>16,i=65535&this.low,a=e.high>>>16,s=65535&e.high,c=e.low>>>16,p=0,d=0,g=0,f=0;return g+=(f+=i+(65535&e.low))>>>16,d+=(g+=r+c)>>>16,p+=(d+=n+s)>>>16,p+=t+a,l((g&=65535)<<16|(f&=65535),(p&=65535)<<16|(d&=65535),this.unsigned)},S.subtract=function(e){return o(e)||(e=u(e)),this.add(e.neg())},S.sub=S.subtract,S.multiply=function(e){if(this.isZero())return m;if(o(e)||(e=u(e)),t)return l(t.mul(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned);if(e.isZero())return m;if(this.eq(x))return e.isOdd()?x:m;if(e.eq(x))return this.isOdd()?x:m;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(h)&&e.lt(h))return s(this.toNumber()*e.toNumber(),this.unsigned);var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,a=65535&this.low,c=e.high>>>16,p=65535&e.high,d=e.low>>>16,g=65535&e.low,f=0,y=0,v=0,b=0;return v+=(b+=a*g)>>>16,y+=(v+=i*g)>>>16,v&=65535,y+=(v+=a*d)>>>16,f+=(y+=r*g)>>>16,y&=65535,f+=(y+=i*d)>>>16,y&=65535,f+=(y+=a*p)>>>16,f+=n*g+r*d+i*p+a*c,l((v&=65535)<<16|(b&=65535),(f&=65535)<<16|(y&=65535),this.unsigned)},S.mul=S.multiply,S.divide=function(e){if(o(e)||(e=u(e)),e.isZero())throw Error("division by zero");var n,r,i;if(t)return this.unsigned||-2147483648!==this.high||-1!==e.low||-1!==e.high?l((this.unsigned?t.div_u:t.div_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?y:m;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return y;if(e.gt(this.shru(1)))return b;i=y}else{if(this.eq(x))return e.eq(v)||e.eq(O)?x:e.eq(x)?v:(n=this.shr(1).div(e).shl(1)).eq(m)?e.isNegative()?v:O:(r=this.sub(e.mul(n)),i=n.add(r.div(e)));if(e.eq(x))return this.unsigned?y:m;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();i=m}for(r=this;r.gte(e);){n=Math.max(1,Math.floor(r.toNumber()/e.toNumber()));for(var a=Math.ceil(Math.log(n)/Math.LN2),p=a<=48?1:c(2,a-48),d=s(n),g=d.mul(e);g.isNegative()||g.gt(r);)g=(d=s(n-=p,this.unsigned)).mul(e);d.isZero()&&(d=v),i=i.add(d),r=r.sub(g)}return i},S.div=S.divide,S.modulo=function(e){return o(e)||(e=u(e)),t?l((this.unsigned?t.rem_u:t.rem_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this.sub(this.div(e).mul(e))},S.mod=S.modulo,S.rem=S.modulo,S.not=function(){return l(~this.low,~this.high,this.unsigned)},S.and=function(e){return o(e)||(e=u(e)),l(this.low&e.low,this.high&e.high,this.unsigned)},S.or=function(e){return o(e)||(e=u(e)),l(this.low|e.low,this.high|e.high,this.unsigned)},S.xor=function(e){return o(e)||(e=u(e)),l(this.low^e.low,this.high^e.high,this.unsigned)},S.shiftLeft=function(e){return o(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?l(this.low<>>32-e,this.unsigned):l(0,this.low<>>e|this.high<<32-e,this.high>>e,this.unsigned):l(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},S.shr=S.shiftRight,S.shiftRightUnsigned=function(e){if(o(e)&&(e=e.toInt()),0==(e&=63))return this;var t=this.high;return e<32?l(this.low>>>e|t<<32-e,t>>>e,this.unsigned):l(32===e?t:t>>>e-32,0,this.unsigned)},S.shru=S.shiftRightUnsigned,S.shr_u=S.shiftRightUnsigned,S.toSigned=function(){return this.unsigned?l(this.low,this.high,!1):this},S.toUnsigned=function(){return this.unsigned?this:l(this.low,this.high,!0)},S.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},S.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&e,e>>>8&255,e>>>16&255,e>>>24]},S.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t]},n.fromBytes=function(e,t,o){return o?n.fromBytesLE(e,t):n.fromBytesBE(e,t)},n.fromBytesLE=function(e,t){return new n(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)},n.fromBytesBE=function(e,t){return new n(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}},29416:(e,t,n)=>{"use strict";const o=n(87406),r=Symbol("max"),i=Symbol("length"),a=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),p=Symbol("noDisposeOnSet"),u=Symbol("lruList"),d=Symbol("cache"),g=Symbol("updateAgeOnGet"),f=()=>1,h=(e,t,n)=>{const o=e[d].get(t);if(o){const t=o.value;if(m(e,t)){if(v(e,o),!e[s])return}else n&&(e[g]&&(o.value.now=Date.now()),e[u].unshiftNode(o));return t.value}},m=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},y=e=>{if(e[i]>e[r])for(let t=e[u].tail;e[i]>e[r]&&null!==t;){const n=t.prev;v(e,t),t=n}},v=(e,t)=>{if(t){const n=t.value;e[c]&&e[c](n.key,n.value),e[i]-=n.length,e[d].delete(n.key),e[u].removeNode(t)}};class b{constructor(e,t,n,o,r){this.key=e,this.value=t,this.length=n,this.now=o,this.maxAge=r||0}}const O=(e,t,n,o)=>{let r=n.value;m(e,r)&&(v(e,n),e[s]||(r=void 0)),r&&t.call(o,r.value,r.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[r]=e.max||1/0;const t=e.length||f;if(this[a]="function"!=typeof t?f:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[p]=e.noDisposeOnSet||!1,this[g]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[r]=e||1/0,y(this)}get max(){return this[r]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,y(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[a]&&(this[a]=e,this[i]=0,this[u].forEach((e=>{e.length=this[a](e.value,e.key),this[i]+=e.length}))),y(this)}get lengthCalculator(){return this[a]}get length(){return this[i]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let n=this[u].tail;null!==n;){const o=n.prev;O(this,e,n,t),n=o}}forEach(e,t){t=t||this;for(let n=this[u].head;null!==n;){const o=n.next;O(this,e,n,t),n=o}}keys(){return this[u].toArray().map((e=>e.key))}values(){return this[u].toArray().map((e=>e.value))}reset(){this[c]&&this[u]&&this[u].length&&this[u].forEach((e=>this[c](e.key,e.value))),this[d]=new Map,this[u]=new o,this[i]=0}dump(){return this[u].map((e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[u]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const o=n?Date.now():0,s=this[a](t,e);if(this[d].has(e)){if(s>this[r])return v(this,this[d].get(e)),!1;const a=this[d].get(e).value;return this[c]&&(this[p]||this[c](e,a.value)),a.now=o,a.maxAge=n,a.value=t,this[i]+=s-a.length,a.length=s,this.get(e),y(this),!0}const g=new b(e,t,s,o,n);return g.length>this[r]?(this[c]&&this[c](e,t),!1):(this[i]+=g.length,this[u].unshift(g),this[d].set(e,this[u].head),y(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!m(this,t)}get(e){return h(this,e,!0)}peek(e){return h(this,e,!1)}pop(){const e=this[u].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const o=e[n],r=o.e||0;if(0===r)this.set(o.k,o.v);else{const e=r-t;e>0&&this.set(o.k,o.v,e)}}}prune(){this[d].forEach(((e,t)=>h(this,t,!1)))}}},38891:(e,t,n)=>{"use strict";var o=n(13685);e.exports=o.METHODS&&o.METHODS.map((function(e){return e.toLowerCase()}))||["get","post","put","head","delete","options","trace","copy","lock","mkcol","move","purge","propfind","proppatch","unlock","report","mkactivity","checkout","merge","m-search","notify","subscribe","unsubscribe","patch","search","connect"]},10257:(e,t,n)=>{e.exports=n(66450)},69335:(e,t,n)=>{"use strict";var o,r,i,a=n(10257),s=n(71017).extname,l=/^\s*([^;\s]*)(?:;|\s|$)/,c=/^text\//i;function p(e){if(!e||"string"!=typeof e)return!1;var t=l.exec(e),n=t&&a[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!c.test(t[1]))&&"UTF-8"}t.charset=p,t.charsets={lookup:p},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var o=t.charset(n);o&&(n+="; charset="+o.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=l.exec(e),o=n&&t.extensions[n[1].toLowerCase()];return!(!o||!o.length)&&o[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var n=s("x."+e).toLowerCase().substr(1);return n&&t.types[n]||!1},t.types=Object.create(null),o=t.extensions,r=t.types,i=["nginx","apache",void 0,"iana"],Object.keys(a).forEach((function(e){var t=a[e],n=t.extensions;if(n&&n.length){o[e]=n;for(var s=0;sp||c===p&&"application/"===r[l].substr(0,12)))continue}r[l]=e}}}))},11886:(e,t,n)=>{n(71017);var o=n(57147);function r(){this.types=Object.create(null),this.extensions=Object.create(null)}r.prototype.define=function(e){for(var t in e){for(var n=e[t],o=0;o{var t=1e3,n=60*t,o=60*n,r=24*o;function i(e,t,n,o){var r=t>=1.5*n;return Math.round(e/n)+" "+o+(r?"s":"")}e.exports=function(e,a){a=a||{};var s,l,c=typeof e;if("string"===c&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(i){var a=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*r;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===c&&isFinite(e))return a.long?(s=e,(l=Math.abs(s))>=r?i(s,l,r,"day"):l>=o?i(s,l,o,"hour"):l>=n?i(s,l,n,"minute"):l>=t?i(s,l,t,"second"):s+" ms"):function(e){var i=Math.abs(e);return i>=r?Math.round(e/r)+"d":i>=o?Math.round(e/o)+"h":i>=n?Math.round(e/n)+"m":i>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},88514:e=>{var t=1e3,n=60*t,o=60*n,r=24*o;function i(e,t,n,o){var r=t>=1.5*n;return Math.round(e/n)+" "+o+(r?"s":"")}e.exports=function(e,a){a=a||{};var s,l,c=typeof e;if("string"===c&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(i){var a=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*r;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===c&&isFinite(e))return a.long?(s=e,(l=Math.abs(s))>=r?i(s,l,r,"day"):l>=o?i(s,l,o,"hour"):l>=n?i(s,l,n,"minute"):l>=t?i(s,l,t,"second"):s+" ms"):function(e){var i=Math.abs(e);return i>=r?Math.round(e/r)+"d":i>=o?Math.round(e/o)+"h":i>=n?Math.round(e/n)+"m":i>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},43882:(e,t,n)=>{var o=n(83418);function r(e,t){o.cipher.registerAlgorithm(e,(function(){return new o.aes.Algorithm(e,t)}))}n(58654),n(23392),n(63290),e.exports=o.aes=o.aes||{},o.aes.startEncrypting=function(e,t,n,o){var r=f({key:e,output:n,decrypt:!1,mode:o});return r.start(t),r},o.aes.createEncryptionCipher=function(e,t){return f({key:e,output:null,decrypt:!1,mode:t})},o.aes.startDecrypting=function(e,t,n,o){var r=f({key:e,output:n,decrypt:!0,mode:o});return r.start(t),r},o.aes.createDecryptionCipher=function(e,t){return f({key:e,output:null,decrypt:!0,mode:t})},o.aes.Algorithm=function(e,t){p||u();var n=this;n.name=e,n.mode=new t({blockSize:16,cipher:{encrypt:function(e,t){return g(n._w,e,t,!1)},decrypt:function(e,t){return g(n._w,e,t,!0)}}}),n._init=!1},o.aes.Algorithm.prototype.initialize=function(e){if(!this._init){var t,n=e.key;if("string"!=typeof n||16!==n.length&&24!==n.length&&32!==n.length){if(o.util.isArray(n)&&(16===n.length||24===n.length||32===n.length)){t=n,n=o.util.createBuffer();for(var r=0;r>>=2,r=0;r>8^255&u^99,i[h]=u,a[u]=h,g=(d=e[u])<<24^u<<16^u<<8^u^d,f=((n=e[h])^(o=e[n])^(r=e[o]))<<24^(h^r)<<16^(h^o^r)<<8^h^n^r;for(var y=0;y<4;++y)l[y][h]=g,c[y][u]=f,g=g<<24|g>>>8,f=f<<24|f>>>8;0===h?h=m=1:(h=n^e[e[e[n^r]]],m^=e[e[m]])}}function d(e,t){for(var n,o=e.slice(0),r=1,a=o.length,l=4*(a+6+1),p=a;p>>16&255]<<24^i[n>>>8&255]<<16^i[255&n]<<8^i[n>>>24]^s[r]<<24,r++):a>6&&p%a==4&&(n=i[n>>>24]<<24^i[n>>>16&255]<<16^i[n>>>8&255]<<8^i[255&n]),o[p]=o[p-a]^n;if(t){for(var u,d=c[0],g=c[1],f=c[2],h=c[3],m=o.slice(0),y=(p=0,(l=o.length)-4);p>>24]]^g[i[u>>>16&255]]^f[i[u>>>8&255]]^h[i[255&u]];o=m}return o}function g(e,t,n,o){var r,s,p,u,d,g,f,h,m,y,v,b,O=e.length/4-1;o?(r=c[0],s=c[1],p=c[2],u=c[3],d=a):(r=l[0],s=l[1],p=l[2],u=l[3],d=i),g=t[0]^e[0],f=t[o?3:1]^e[1],h=t[2]^e[2],m=t[o?1:3]^e[3];for(var w=3,P=1;P>>24]^s[f>>>16&255]^p[h>>>8&255]^u[255&m]^e[++w],v=r[f>>>24]^s[h>>>16&255]^p[m>>>8&255]^u[255&g]^e[++w],b=r[h>>>24]^s[m>>>16&255]^p[g>>>8&255]^u[255&f]^e[++w],m=r[m>>>24]^s[g>>>16&255]^p[f>>>8&255]^u[255&h]^e[++w],g=y,f=v,h=b;n[0]=d[g>>>24]<<24^d[f>>>16&255]<<16^d[h>>>8&255]<<8^d[255&m]^e[++w],n[o?3:1]=d[f>>>24]<<24^d[h>>>16&255]<<16^d[m>>>8&255]<<8^d[255&g]^e[++w],n[2]=d[h>>>24]<<24^d[m>>>16&255]<<16^d[g>>>8&255]<<8^d[255&f]^e[++w],n[o?1:3]=d[m>>>24]<<24^d[g>>>16&255]<<16^d[f>>>8&255]<<8^d[255&h]^e[++w]}function f(e){var t,n="AES-"+((e=e||{}).mode||"CBC").toUpperCase(),r=(t=e.decrypt?o.cipher.createDecipher(n,e.key):o.cipher.createCipher(n,e.key)).start;return t.start=function(e,n){var i=null;n instanceof o.util.ByteBuffer&&(i=n,n={}),(n=n||{}).output=i,n.iv=e,r.call(t,n)},t}},61331:(e,t,n)=>{var o=n(83418);n(43882),n(93478);var r=e.exports=o.tls;function i(e,t,n){var i=t.entity===o.tls.ConnectionEnd.client;e.read.cipherState={init:!1,cipher:o.cipher.createDecipher("AES-CBC",i?n.keys.server_write_key:n.keys.client_write_key),iv:i?n.keys.server_write_IV:n.keys.client_write_IV},e.write.cipherState={init:!1,cipher:o.cipher.createCipher("AES-CBC",i?n.keys.client_write_key:n.keys.server_write_key),iv:i?n.keys.client_write_IV:n.keys.server_write_IV},e.read.cipherFunction=c,e.write.cipherFunction=a,e.read.macLength=e.write.macLength=n.mac_length,e.read.macFunction=e.write.macFunction=r.hmac_sha1}function a(e,t){var n,i=!1,a=t.macFunction(t.macKey,t.sequenceNumber,e);e.fragment.putBytes(a),t.updateSequenceNumber(),n=e.version.minor===r.Versions.TLS_1_0.minor?t.cipherState.init?null:t.cipherState.iv:o.random.getBytesSync(16),t.cipherState.init=!0;var l=t.cipherState.cipher;return l.start({iv:n}),e.version.minor>=r.Versions.TLS_1_1.minor&&l.output.putBytes(n),l.update(e.fragment),l.finish(s)&&(e.fragment=l.output,e.length=e.fragment.length(),i=!0),i}function s(e,t,n){if(!n){var o=e-t.length()%e;t.fillWithByte(o-1,o)}return!0}function l(e,t,n){var o=!0;if(n){for(var r=t.length(),i=t.last(),a=r-1-i;a=s?(e.fragment=a.output.getBytes(p-s),c=a.output.getBytes(s)):e.fragment=a.output.getBytes(),e.fragment=o.util.createBuffer(e.fragment),e.length=e.fragment.length();var u=t.macFunction(t.macKey,t.sequenceNumber,e);return t.updateSequenceNumber(),i=function(e,t,n){var r=o.hmac.create();return r.start("SHA1",e),r.update(t),t=r.digest().getBytes(),r.start(null,null),r.update(n),t===(n=r.digest().getBytes())}(t.macKey,c,u)&&i,i}r.CipherSuites.TLS_RSA_WITH_AES_128_CBC_SHA={id:[0,47],name:"TLS_RSA_WITH_AES_128_CBC_SHA",initSecurityParameters:function(e){e.bulk_cipher_algorithm=r.BulkCipherAlgorithm.aes,e.cipher_type=r.CipherType.block,e.enc_key_length=16,e.block_length=16,e.fixed_iv_length=16,e.record_iv_length=16,e.mac_algorithm=r.MACAlgorithm.hmac_sha1,e.mac_length=20,e.mac_key_length=20},initConnectionState:i},r.CipherSuites.TLS_RSA_WITH_AES_256_CBC_SHA={id:[0,53],name:"TLS_RSA_WITH_AES_256_CBC_SHA",initSecurityParameters:function(e){e.bulk_cipher_algorithm=r.BulkCipherAlgorithm.aes,e.cipher_type=r.CipherType.block,e.enc_key_length=32,e.block_length=16,e.fixed_iv_length=16,e.record_iv_length=16,e.mac_algorithm=r.MACAlgorithm.hmac_sha1,e.mac_length=20,e.mac_key_length=20},initConnectionState:i}},58631:(e,t,n)=>{var o=n(83418);n(10001);var r=o.asn1;t.privateKeyValidator={name:"PrivateKeyInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"PrivateKeyInfo.version",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"PrivateKeyInfo.privateKeyAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"privateKeyOid"}]},{name:"PrivateKeyInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.OCTETSTRING,constructed:!1,capture:"privateKey"}]},t.publicKeyValidator={name:"SubjectPublicKeyInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"subjectPublicKeyInfo",value:[{name:"SubjectPublicKeyInfo.AlgorithmIdentifier",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"publicKeyOid"}]},{tagClass:r.Class.UNIVERSAL,type:r.Type.BITSTRING,constructed:!1,composed:!0,captureBitStringValue:"ed25519PublicKey"}]}},10001:(e,t,n)=>{var o=n(83418);n(63290),n(43793);var r=e.exports=o.asn1=o.asn1||{};function i(e,t,n){if(n>t){var o=new Error("Too few bytes to parse DER.");throw o.available=e.length(),o.remaining=t,o.requested=n,o}}function a(e,t,n,o){var s;i(e,t,2);var l=e.getByte();t--;var c=192&l,p=31&l;s=e.length();var u,d,g=function(e,t){var n=e.getByte();if(t--,128!==n){var o;if(128&n){var r=127&n;i(e,t,r),o=e.getInt(r<<3)}else o=n;if(o<0)throw new Error("Negative length: "+o);return o}}(e,t);if(t-=s-e.length(),void 0!==g&&g>t){if(o.strict){var f=new Error("Too few bytes to read ASN.1 value.");throw f.available=e.length(),f.remaining=t,f.requested=g,f}g=t}var h=32==(32&l);if(h)if(u=[],void 0===g)for(;;){if(i(e,t,2),e.bytes(2)===String.fromCharCode(0,0)){e.getBytes(2),t-=2;break}s=e.length(),u.push(a(e,t,n+1,o)),t-=s-e.length()}else for(;g>0;)s=e.length(),u.push(a(e,g,n+1,o)),t-=s-e.length(),g-=s-e.length();if(void 0===u&&c===r.Class.UNIVERSAL&&p===r.Type.BITSTRING&&(d=e.bytes(g)),void 0===u&&o.decodeBitStrings&&c===r.Class.UNIVERSAL&&p===r.Type.BITSTRING&&g>1){var m=e.read,y=t,v=0;if(p===r.Type.BITSTRING&&(i(e,t,1),v=e.getByte(),t--),0===v)try{s=e.length();var b=a(e,t,n+1,{strict:!0,decodeBitStrings:!0}),O=s-e.length();t-=O,p==r.Type.BITSTRING&&O++;var w=b.tagClass;O!==g||w!==r.Class.UNIVERSAL&&w!==r.Class.CONTEXT_SPECIFIC||(u=[b])}catch(e){}void 0===u&&(e.read=m,t=y)}if(void 0===u){if(void 0===g){if(o.strict)throw new Error("Non-constructed ASN.1 object of indefinite length.");g=t}if(p===r.Type.BMPSTRING)for(u="";g>0;g-=2)i(e,t,2),u+=String.fromCharCode(e.getInt16()),t-=2;else u=e.getBytes(g),t-=g}var P=void 0===d?null:{bitStringContents:d};return r.create(c,p,h,u,P)}r.Class={UNIVERSAL:0,APPLICATION:64,CONTEXT_SPECIFIC:128,PRIVATE:192},r.Type={NONE:0,BOOLEAN:1,INTEGER:2,BITSTRING:3,OCTETSTRING:4,NULL:5,OID:6,ODESC:7,EXTERNAL:8,REAL:9,ENUMERATED:10,EMBEDDED:11,UTF8:12,ROID:13,SEQUENCE:16,SET:17,PRINTABLESTRING:19,IA5STRING:22,UTCTIME:23,GENERALIZEDTIME:24,BMPSTRING:30},r.create=function(e,t,n,i,a){if(o.util.isArray(i)){for(var s=[],l=0;l1&&(0===e.value.charCodeAt(0)&&0==(128&e.value.charCodeAt(1))||255===e.value.charCodeAt(0)&&128==(128&e.value.charCodeAt(1)))?i.putBytes(e.value.substr(1)):i.putBytes(e.value);if(t.putByte(n),i.length()<=127)t.putByte(127&i.length());else{var l=i.length(),c="";do{c+=String.fromCharCode(255&l),l>>>=8}while(l>0);for(t.putByte(128|c.length),s=c.length-1;s>=0;--s)t.putByte(c.charCodeAt(s))}return t.putBuffer(i),t},r.oidToDer=function(e){var t,n,r,i,a=e.split("."),s=o.util.createBuffer();s.putByte(40*parseInt(a[0],10)+parseInt(a[1],10));for(var l=2;l>>=7,t||(i|=128),n.push(i),t=!1}while(r>0);for(var c=n.length-1;c>=0;--c)s.putByte(n[c])}return s},r.derToOid=function(e){var t;"string"==typeof e&&(e=o.util.createBuffer(e));var n=e.getByte();t=Math.floor(n/40)+"."+n%40;for(var r=0;e.length()>0;)r<<=7,128&(n=e.getByte())?r+=127&n:(t+="."+(r+n),r=0);return t},r.utcTimeToDate=function(e){var t=new Date,n=parseInt(e.substr(0,2),10);n=n>=50?1900+n:2e3+n;var o=parseInt(e.substr(2,2),10)-1,r=parseInt(e.substr(4,2),10),i=parseInt(e.substr(6,2),10),a=parseInt(e.substr(8,2),10),s=0;if(e.length>11){var l=e.charAt(10),c=10;"+"!==l&&"-"!==l&&(s=parseInt(e.substr(10,2),10),c+=2)}if(t.setUTCFullYear(n,o,r),t.setUTCHours(i,a,s,0),c&&("+"===(l=e.charAt(c))||"-"===l)){var p=60*parseInt(e.substr(c+1,2),10)+parseInt(e.substr(c+4,2),10);p*=6e4,"+"===l?t.setTime(+t-p):t.setTime(+t+p)}return t},r.generalizedTimeToDate=function(e){var t=new Date,n=parseInt(e.substr(0,4),10),o=parseInt(e.substr(4,2),10)-1,r=parseInt(e.substr(6,2),10),i=parseInt(e.substr(8,2),10),a=parseInt(e.substr(10,2),10),s=parseInt(e.substr(12,2),10),l=0,c=0,p=!1;"Z"===e.charAt(e.length-1)&&(p=!0);var u=e.length-5,d=e.charAt(u);return"+"!==d&&"-"!==d||(c=60*parseInt(e.substr(u+1,2),10)+parseInt(e.substr(u+4,2),10),c*=6e4,"+"===d&&(c*=-1),p=!0),"."===e.charAt(14)&&(l=1e3*parseFloat(e.substr(14),10)),p?(t.setUTCFullYear(n,o,r),t.setUTCHours(i,a,s,l),t.setTime(+t+c)):(t.setFullYear(n,o,r),t.setHours(i,a,s,l)),t},r.dateToUtcTime=function(e){if("string"==typeof e)return e;var t="",n=[];n.push((""+e.getUTCFullYear()).substr(2)),n.push(""+(e.getUTCMonth()+1)),n.push(""+e.getUTCDate()),n.push(""+e.getUTCHours()),n.push(""+e.getUTCMinutes()),n.push(""+e.getUTCSeconds());for(var o=0;o=-128&&e<128)return t.putSignedInt(e,8);if(e>=-32768&&e<32768)return t.putSignedInt(e,16);if(e>=-8388608&&e<8388608)return t.putSignedInt(e,24);if(e>=-2147483648&&e<2147483648)return t.putSignedInt(e,32);var n=new Error("Integer too large; max is 32-bits.");throw n.integer=e,n},r.derToInteger=function(e){"string"==typeof e&&(e=o.util.createBuffer(e));var t=8*e.length();if(t>32)throw new Error("Integer too large; max is 32-bits.");return e.getSignedInt(t)},r.validate=function(e,t,n,i){var a=!1;if(e.tagClass!==t.tagClass&&void 0!==t.tagClass||e.type!==t.type&&void 0!==t.type)i&&(e.tagClass!==t.tagClass&&i.push("["+t.name+'] Expected tag class "'+t.tagClass+'", got "'+e.tagClass+'"'),e.type!==t.type&&i.push("["+t.name+'] Expected type "'+t.type+'", got "'+e.type+'"'));else if(e.constructed===t.constructed||void 0===t.constructed){if(a=!0,t.value&&o.util.isArray(t.value))for(var s=0,l=0;a&&l0&&(i+="\n");for(var a="",l=0;l1?i+="0x"+o.util.bytesToHex(e.value.slice(1)):i+="(none)",e.value.length>0){var d=e.value.charCodeAt(0);1==d?i+=" (1 unused bit shown)":d>1&&(i+=" ("+d+" unused bits shown)")}}else if(e.type===r.Type.OCTETSTRING)s.test(e.value)||(i+="("+e.value+") "),i+="0x"+o.util.bytesToHex(e.value);else if(e.type===r.Type.UTF8)try{i+=o.util.decodeUtf8(e.value)}catch(t){if("URI malformed"!==t.message)throw t;i+="0x"+o.util.bytesToHex(e.value)+" (malformed UTF8)"}else e.type===r.Type.PRINTABLESTRING||e.type===r.Type.IA5String?i+=e.value:s.test(e.value)?i+="0x"+o.util.bytesToHex(e.value):0===e.value.length?i+="[null]":i+=e.value}return i}},40976:e=>{var t={};e.exports=t;var n={};t.encode=function(e,t,n){if("string"!=typeof t)throw new TypeError('"alphabet" must be a string.');if(void 0!==n&&"number"!=typeof n)throw new TypeError('"maxline" must be a number.');var o="";if(e instanceof Uint8Array){var r=0,i=t.length,a=t.charAt(0),s=[0];for(r=0;r0;)s.push(c%i),c=c/i|0}for(r=0;0===e[r]&&r=0;--r)o+=t[s[r]]}else o=function(e,t){var n=0,o=t.length,r=t.charAt(0),i=[0];for(n=0;n0;)i.push(s%o),s=s/o|0}var l="";for(n=0;0===e.at(n)&&n=0;--n)l+=t[i[n]];return l}(e,t);if(n){var p=new RegExp(".{1,"+n+"}","g");o=o.match(p).join("\r\n")}return o},t.decode=function(e,t){if("string"!=typeof e)throw new TypeError('"input" must be a string.');if("string"!=typeof t)throw new TypeError('"alphabet" must be a string.');var o=n[t];if(!o){o=n[t]=[];for(var r=0;r>=8;for(;p>0;)s.push(255&p),p>>=8}for(var u=0;e[u]===a&&u{var o=n(83418);n(63290),e.exports=o.cipher=o.cipher||{},o.cipher.algorithms=o.cipher.algorithms||{},o.cipher.createCipher=function(e,t){var n=e;if("string"==typeof n&&(n=o.cipher.getAlgorithm(n))&&(n=n()),!n)throw new Error("Unsupported algorithm: "+e);return new o.cipher.BlockCipher({algorithm:n,key:t,decrypt:!1})},o.cipher.createDecipher=function(e,t){var n=e;if("string"==typeof n&&(n=o.cipher.getAlgorithm(n))&&(n=n()),!n)throw new Error("Unsupported algorithm: "+e);return new o.cipher.BlockCipher({algorithm:n,key:t,decrypt:!0})},o.cipher.registerAlgorithm=function(e,t){e=e.toUpperCase(),o.cipher.algorithms[e]=t},o.cipher.getAlgorithm=function(e){return(e=e.toUpperCase())in o.cipher.algorithms?o.cipher.algorithms[e]:null};var r=o.cipher.BlockCipher=function(e){this.algorithm=e.algorithm,this.mode=this.algorithm.mode,this.blockSize=this.mode.blockSize,this._finish=!1,this._input=null,this.output=null,this._op=e.decrypt?this.mode.decrypt:this.mode.encrypt,this._decrypt=e.decrypt,this.algorithm.initialize(e)};r.prototype.start=function(e){e=e||{};var t={};for(var n in e)t[n]=e[n];t.decrypt=this._decrypt,this._finish=!1,this._input=o.util.createBuffer(),this.output=e.output||o.util.createBuffer(),this.mode.start(t)},r.prototype.update=function(e){for(e&&this._input.putBuffer(e);!this._op.call(this.mode,this._input,this.output,this._finish)&&!this._finish;);this._input.compact()},r.prototype.finish=function(e){!e||"ECB"!==this.mode.name&&"CBC"!==this.mode.name||(this.mode.pad=function(t){return e(this.blockSize,t,!1)},this.mode.unpad=function(t){return e(this.blockSize,t,!0)});var t={};return t.decrypt=this._decrypt,t.overflow=this._input.length()%this.blockSize,!(!this._decrypt&&this.mode.pad&&!this.mode.pad(this._input,t)||(this._finish=!0,this.update(),this._decrypt&&this.mode.unpad&&!this.mode.unpad(this.output,t)||this.mode.afterFinish&&!this.mode.afterFinish(this.output,t)))}},23392:(e,t,n)=>{var o=n(83418);n(63290),o.cipher=o.cipher||{};var r=e.exports=o.cipher.modes=o.cipher.modes||{};function i(e,t){if("string"==typeof e&&(e=o.util.createBuffer(e)),o.util.isArray(e)&&e.length>4){var n=e;e=o.util.createBuffer();for(var r=0;r0))return!0;for(var o=0;o0))return!0;for(var o=0;o0)return!1;var n=e.length(),o=e.at(n-1);return!(o>this.blockSize<<2||(e.truncate(o),0))},r.cbc=function(e){e=e||{},this.name="CBC",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=new Array(this._ints),this._outBlock=new Array(this._ints)},r.cbc.prototype.start=function(e){if(null===e.iv){if(!this._prev)throw new Error("Invalid IV parameter.");this._iv=this._prev.slice(0)}else{if(!("iv"in e))throw new Error("Invalid IV parameter.");this._iv=i(e.iv,this.blockSize),this._prev=this._iv.slice(0)}},r.cbc.prototype.encrypt=function(e,t,n){if(e.length()0))return!0;for(var o=0;o0))return!0;for(var o=0;o0)return!1;var n=e.length(),o=e.at(n-1);return!(o>this.blockSize<<2||(e.truncate(o),0))},r.cfb=function(e){e=e||{},this.name="CFB",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=new Array(this._ints),this._partialBlock=new Array(this._ints),this._partialOutput=o.util.createBuffer(),this._partialBytes=0},r.cfb.prototype.start=function(e){if(!("iv"in e))throw new Error("Invalid IV parameter.");this._iv=i(e.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},r.cfb.prototype.encrypt=function(e,t,n){var o=e.length();if(0===o)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&o>=this.blockSize)for(var r=0;r0&&(i=this.blockSize-i),this._partialOutput.clear(),r=0;r0)e.read-=this.blockSize;else for(r=0;r0&&this._partialOutput.getBytes(this._partialBytes),i>0&&!n)return t.putBytes(this._partialOutput.getBytes(i-this._partialBytes)),this._partialBytes=i,!0;t.putBytes(this._partialOutput.getBytes(o-this._partialBytes)),this._partialBytes=0}},r.cfb.prototype.decrypt=function(e,t,n){var o=e.length();if(0===o)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&o>=this.blockSize)for(var r=0;r0&&(i=this.blockSize-i),this._partialOutput.clear(),r=0;r0)e.read-=this.blockSize;else for(r=0;r0&&this._partialOutput.getBytes(this._partialBytes),i>0&&!n)return t.putBytes(this._partialOutput.getBytes(i-this._partialBytes)),this._partialBytes=i,!0;t.putBytes(this._partialOutput.getBytes(o-this._partialBytes)),this._partialBytes=0}},r.ofb=function(e){e=e||{},this.name="OFB",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=new Array(this._ints),this._partialOutput=o.util.createBuffer(),this._partialBytes=0},r.ofb.prototype.start=function(e){if(!("iv"in e))throw new Error("Invalid IV parameter.");this._iv=i(e.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},r.ofb.prototype.encrypt=function(e,t,n){var o=e.length();if(0===e.length())return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&o>=this.blockSize)for(var r=0;r0&&(i=this.blockSize-i),this._partialOutput.clear(),r=0;r0)e.read-=this.blockSize;else for(r=0;r0&&this._partialOutput.getBytes(this._partialBytes),i>0&&!n)return t.putBytes(this._partialOutput.getBytes(i-this._partialBytes)),this._partialBytes=i,!0;t.putBytes(this._partialOutput.getBytes(o-this._partialBytes)),this._partialBytes=0}},r.ofb.prototype.decrypt=r.ofb.prototype.encrypt,r.ctr=function(e){e=e||{},this.name="CTR",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=new Array(this._ints),this._partialOutput=o.util.createBuffer(),this._partialBytes=0},r.ctr.prototype.start=function(e){if(!("iv"in e))throw new Error("Invalid IV parameter.");this._iv=i(e.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},r.ctr.prototype.encrypt=function(e,t,n){var o=e.length();if(0===o)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&o>=this.blockSize)for(var r=0;r0&&(i=this.blockSize-i),this._partialOutput.clear(),r=0;r0&&(e.read-=this.blockSize),this._partialBytes>0&&this._partialOutput.getBytes(this._partialBytes),i>0&&!n)return t.putBytes(this._partialOutput.getBytes(i-this._partialBytes)),this._partialBytes=i,!0;t.putBytes(this._partialOutput.getBytes(o-this._partialBytes)),this._partialBytes=0}a(this._inBlock)},r.ctr.prototype.decrypt=r.ctr.prototype.encrypt,r.gcm=function(e){e=e||{},this.name="GCM",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=new Array(this._ints),this._outBlock=new Array(this._ints),this._partialOutput=o.util.createBuffer(),this._partialBytes=0,this._R=3774873600},r.gcm.prototype.start=function(e){if(!("iv"in e))throw new Error("Invalid IV parameter.");var t,n=o.util.createBuffer(e.iv);if(this._cipherLength=0,t="additionalData"in e?o.util.createBuffer(e.additionalData):o.util.createBuffer(),this._tagLength="tagLength"in e?e.tagLength:128,this._tag=null,e.decrypt&&(this._tag=o.util.createBuffer(e.tag).getBytes(),this._tag.length!==this._tagLength/8))throw new Error("Authentication tag does not match tag length.");this._hashBlock=new Array(this._ints),this.tag=null,this._hashSubkey=new Array(this._ints),this.cipher.encrypt([0,0,0,0],this._hashSubkey),this.componentBits=4,this._m=this.generateHashTable(this._hashSubkey,this.componentBits);var r=n.length();if(12===r)this._j0=[n.getInt32(),n.getInt32(),n.getInt32(),1];else{for(this._j0=[0,0,0,0];n.length()>0;)this._j0=this.ghash(this._hashSubkey,this._j0,[n.getInt32(),n.getInt32(),n.getInt32(),n.getInt32()]);this._j0=this.ghash(this._hashSubkey,this._j0,[0,0].concat(s(8*r)))}this._inBlock=this._j0.slice(0),a(this._inBlock),this._partialBytes=0,t=o.util.createBuffer(t),this._aDataLength=s(8*t.length());var i=t.length()%this.blockSize;for(i&&t.fillWithByte(0,this.blockSize-i),this._s=[0,0,0,0];t.length()>0;)this._s=this.ghash(this._hashSubkey,this._s,[t.getInt32(),t.getInt32(),t.getInt32(),t.getInt32()])},r.gcm.prototype.encrypt=function(e,t,n){var o=e.length();if(0===o)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&o>=this.blockSize){for(var r=0;r0&&(i=this.blockSize-i),this._partialOutput.clear(),r=0;r0&&this._partialOutput.getBytes(this._partialBytes),i>0&&!n)return e.read-=this.blockSize,t.putBytes(this._partialOutput.getBytes(i-this._partialBytes)),this._partialBytes=i,!0;t.putBytes(this._partialOutput.getBytes(o-this._partialBytes)),this._partialBytes=0}this._s=this.ghash(this._hashSubkey,this._s,this._outBlock),a(this._inBlock)},r.gcm.prototype.decrypt=function(e,t,n){var o=e.length();if(o0))return!0;this.cipher.encrypt(this._inBlock,this._outBlock),a(this._inBlock),this._hashBlock[0]=e.getInt32(),this._hashBlock[1]=e.getInt32(),this._hashBlock[2]=e.getInt32(),this._hashBlock[3]=e.getInt32(),this._s=this.ghash(this._hashSubkey,this._s,this._hashBlock);for(var r=0;r0;--o)t[o]=e[o]>>>1|(1&e[o-1])<<31;t[0]=e[0]>>>1,n&&(t[0]^=this._R)},r.gcm.prototype.tableMultiply=function(e){for(var t=[0,0,0,0],n=0;n<32;++n){var o=e[n/8|0]>>>4*(7-n%8)&15,r=this._m[n][o];t[0]^=r[0],t[1]^=r[1],t[2]^=r[2],t[3]^=r[3]}return t},r.gcm.prototype.ghash=function(e,t,n){return t[0]^=n[0],t[1]^=n[1],t[2]^=n[2],t[3]^=n[3],this.tableMultiply(t)},r.gcm.prototype.generateHashTable=function(e,t){for(var n=8/t,o=4*n,r=16*n,i=new Array(r),a=0;a>>1,r=new Array(n);r[o]=e.slice(0);for(var i=o>>>1;i>0;)this.pow(r[2*i],r[i]=[]),i>>=1;for(i=2;i{var o=n(83418);function r(e,t){o.cipher.registerAlgorithm(e,(function(){return new o.des.Algorithm(e,t)}))}n(58654),n(23392),n(63290),e.exports=o.des=o.des||{},o.des.startEncrypting=function(e,t,n,o){var r=f({key:e,output:n,decrypt:!1,mode:o||(null===t?"ECB":"CBC")});return r.start(t),r},o.des.createEncryptionCipher=function(e,t){return f({key:e,output:null,decrypt:!1,mode:t})},o.des.startDecrypting=function(e,t,n,o){var r=f({key:e,output:n,decrypt:!0,mode:o||(null===t?"ECB":"CBC")});return r.start(t),r},o.des.createDecryptionCipher=function(e,t){return f({key:e,output:null,decrypt:!0,mode:t})},o.des.Algorithm=function(e,t){var n=this;n.name=e,n.mode=new t({blockSize:8,cipher:{encrypt:function(e,t){return g(n._keys,e,t,!1)},decrypt:function(e,t){return g(n._keys,e,t,!0)}}}),n._init=!1},o.des.Algorithm.prototype.initialize=function(e){if(!this._init){var t=o.util.createBuffer(e.key);if(0===this.name.indexOf("3DES")&&24!==t.length())throw new Error("Invalid Triple-DES key size: "+8*t.length());this._keys=function(e){for(var t,n=[0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964],o=[0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697],r=[0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272],i=[0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144],a=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],s=[0,1024,32,1056,0,1024,32,1056,33554432,33555456,33554464,33555488,33554432,33555456,33554464,33555488],l=[0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746],c=[0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568],p=[0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578],u=[0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024,268436480,1032,268436488],d=[0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800],g=[0,16777216,512,16777728,2097152,18874368,2097664,18874880,67108864,83886080,67109376,83886592,69206016,85983232,69206528,85983744],f=[0,4096,134217728,134221824,524288,528384,134742016,134746112,16,4112,134217744,134221840,524304,528400,134742032,134746128],h=[0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261],m=e.length()>8?3:1,y=[],v=[0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0],b=0,O=0;O>>4^P))<<4,w^=t=65535&((P^=t)>>>-16^w),w^=(t=858993459&(w>>>2^(P^=t<<-16)))<<2,w^=t=65535&((P^=t)>>>-16^w),w^=(t=1431655765&(w>>>1^(P^=t<<-16)))<<1,w^=t=16711935&((P^=t)>>>8^w),t=(w^=(t=1431655765&(w>>>1^(P^=t<<8)))<<1)<<8|(P^=t)>>>20&240,w=P<<24|P<<8&16711680|P>>>8&65280|P>>>24&240,P=t;for(var x=0;x>>26,P=P<<2|P>>>26):(w=w<<1|w>>>27,P=P<<1|P>>>27);var S=n[(w&=-15)>>>28]|o[w>>>24&15]|r[w>>>20&15]|i[w>>>16&15]|a[w>>>12&15]|s[w>>>8&15]|l[w>>>4&15],T=c[(P&=-15)>>>28]|p[P>>>24&15]|u[P>>>20&15]|d[P>>>16&15]|g[P>>>12&15]|f[P>>>8&15]|h[P>>>4&15];t=65535&(T>>>16^S),y[b++]=S^t,y[b++]=T^t<<16}}return y}(t),this._init=!0}},r("DES-ECB",o.cipher.modes.ecb),r("DES-CBC",o.cipher.modes.cbc),r("DES-CFB",o.cipher.modes.cfb),r("DES-OFB",o.cipher.modes.ofb),r("DES-CTR",o.cipher.modes.ctr),r("3DES-ECB",o.cipher.modes.ecb),r("3DES-CBC",o.cipher.modes.cbc),r("3DES-CFB",o.cipher.modes.cfb),r("3DES-OFB",o.cipher.modes.ofb),r("3DES-CTR",o.cipher.modes.ctr);var i=[16843776,0,65536,16843780,16842756,66564,4,65536,1024,16843776,16843780,1024,16778244,16842756,16777216,4,1028,16778240,16778240,66560,66560,16842752,16842752,16778244,65540,16777220,16777220,65540,0,1028,66564,16777216,65536,16843780,4,16842752,16843776,16777216,16777216,1024,16842756,65536,66560,16777220,1024,4,16778244,66564,16843780,65540,16842752,16778244,16777220,1028,66564,16843776,1028,16778240,16778240,0,65540,66560,0,16842756],a=[-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616,1048608,1081344,0,-2147450880,32800,-2147483648,-2146435040,-2146402272,1081344],s=[520,134349312,0,134348808,134218240,0,131592,134218240,131080,134217736,134217736,131072,134349320,131080,134348800,520,134217728,8,134349312,512,131584,134348800,134348808,131592,134218248,131584,131072,134218248,8,134349320,512,134217728,134349312,134217728,131080,520,131072,134349312,134218240,0,512,131080,134349320,134218240,134217736,512,0,134348808,134218248,131072,134217728,134349320,8,131592,131584,134217736,134348800,134218248,520,134348800,131592,8,134348808,131584],l=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],c=[256,34078976,34078720,1107296512,524288,256,1073741824,34078720,1074266368,524288,33554688,1074266368,1107296512,1107820544,524544,1073741824,33554432,1074266112,1074266112,0,1073742080,1107820800,1107820800,33554688,1107820544,1073742080,0,1107296256,34078976,33554432,1107296256,524544,524288,1107296512,256,33554432,1073741824,34078720,1107296512,1074266368,33554688,1073741824,1107820544,34078976,1074266368,256,33554432,1107820544,1107820800,524544,1107296256,1107820800,34078720,0,1074266112,1107296256,524544,33554688,1073742080,524288,0,1074266112,34078976,1073742080],p=[536870928,541065216,16384,541081616,541065216,16,541081616,4194304,536887296,4210704,4194304,536870928,4194320,536887296,536870912,16400,0,4194320,536887312,16384,4210688,536887312,16,541065232,541065232,0,4210704,541081600,16400,4210688,541081600,536870912,536887296,16,541065232,4210688,541081616,4194304,16400,536870928,4194304,536887296,536870912,16400,536870928,541081616,4210688,541065216,4210704,541081600,0,541065232,16,16384,541065216,4210704,16384,4194320,536887312,0,541081600,536870912,4194320,536887312],u=[2097152,69206018,67110914,0,2048,67110914,2099202,69208064,69208066,2097152,0,67108866,2,67108864,69206018,2050,67110912,2099202,2097154,67110912,67108866,69206016,69208064,2097154,69206016,2048,2050,69208066,2099200,2,67108864,2099200,67108864,2099200,2097152,67110914,67110914,69206018,69206018,2,2097154,67108864,67110912,2097152,69208064,2050,2099202,69208064,2050,67108866,69208066,69206016,2099200,0,2,69208066,0,2099202,69206016,2048,67108866,67110912,2048,2097154],d=[268439616,4096,262144,268701760,268435456,268439616,64,268435456,262208,268697600,268701760,266240,268701696,266304,4096,64,268697600,268435520,268439552,4160,266240,262208,268697664,268701696,4160,0,0,268697664,268435520,268439552,266304,262144,266304,262144,268701696,4096,64,268697664,4096,266304,268439552,64,268435520,268697600,268697664,268435456,262144,268439616,0,268701760,262208,268435520,268697600,268439552,268439616,0,268701760,266240,266240,4160,4160,262208,268435456,268701696];function g(e,t,n,o){var r,g,f=32===e.length?3:9;r=3===f?o?[30,-2,-2]:[0,32,2]:o?[94,62,-2,32,64,2,30,-2,-2]:[0,32,2,62,30,-2,64,96,2];var h=t[0],m=t[1];h^=(g=252645135&(h>>>4^m))<<4,h^=(g=65535&(h>>>16^(m^=g)))<<16,h^=g=858993459&((m^=g)>>>2^h),h^=g=16711935&((m^=g<<2)>>>8^h),h=(h^=(g=1431655765&(h>>>1^(m^=g<<8)))<<1)<<1|h>>>31,m=(m^=g)<<1|m>>>31;for(var y=0;y>>4|m<<28)^e[O+1];g=h,h=m,m=g^(a[w>>>24&63]|l[w>>>16&63]|p[w>>>8&63]|d[63&w]|i[P>>>24&63]|s[P>>>16&63]|c[P>>>8&63]|u[63&P])}g=h,h=m,m=g}m=m>>>1|m<<31,m^=g=1431655765&((h=h>>>1|h<<31)>>>1^m),m^=(g=16711935&(m>>>8^(h^=g<<1)))<<8,m^=(g=858993459&(m>>>2^(h^=g)))<<2,m^=g=65535&((h^=g)>>>16^m),m^=g=252645135&((h^=g<<16)>>>4^m),h^=g<<4,n[0]=h,n[1]=m}function f(e){var t,n="DES-"+((e=e||{}).mode||"CBC").toUpperCase(),r=(t=e.decrypt?o.cipher.createDecipher(n,e.key):o.cipher.createCipher(n,e.key)).start;return t.start=function(e,n){var i=null;n instanceof o.util.ByteBuffer&&(i=n,n={}),(n=n||{}).output=i,n.iv=e,r.call(t,n)},t}},10548:(e,t,n)=>{var o=n(83418);n(97224),n(59018),n(64301),n(63290);var r=n(58631),i=r.publicKeyValidator,a=r.privateKeyValidator;if(void 0===s)var s=o.jsbn.BigInteger;var l=o.util.ByteBuffer,c="undefined"==typeof Buffer?Uint8Array:Buffer;o.pki=o.pki||{},e.exports=o.pki.ed25519=o.ed25519=o.ed25519||{};var p=o.ed25519;function u(e){var t=e.message;if(t instanceof Uint8Array||t instanceof c)return t;var n=e.encoding;if(void 0===t){if(!e.md)throw new TypeError('"options.message" or "options.md" not specified.');t=e.md.digest().getBytes(),n="binary"}if("string"==typeof t&&!n)throw new TypeError('"options.encoding" must be "binary" or "utf8".');if("string"==typeof t){if("undefined"!=typeof Buffer)return Buffer.from(t,n);t=new l(t,n)}else if(!(t instanceof l))throw new TypeError('"options.message" must be a node.js Buffer, a Uint8Array, a forge ByteBuffer, or a string with "options.encoding" specifying its encoding.');for(var o=new c(t.length()),r=0;r=0;--n)M(o,o),1!==n&&F(o,o,t);for(n=0;n<16;++n)e[n]=o[n]}(n,n),F(n,n,r),F(n,n,i),F(n,n,i),F(e[0],n,i),M(o,e[0]),F(o,o,i),E(o,r)&&F(e[0],e[0],b),M(o,e[0]),F(o,o,i),E(o,r)?-1:(k(e[0])===t[31]>>7&&B(e[0],d,e[0]),F(e[3],e[0],e[1]),0)}(s,o))return-1;for(r=0;r=0};var d=D(),g=D([1]),f=D([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),h=D([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),m=D([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),y=D([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),v=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]),b=D([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function O(e,t){var n=o.md.sha512.create(),r=new l(e);n.update(r.getBytes(t),"binary");var i=n.digest().getBytes();if("undefined"!=typeof Buffer)return Buffer.from(i,"binary");for(var a=new c(p.constants.HASH_BYTE_LENGTH),s=0;s<64;++s)a[s]=i.charCodeAt(s);return a}function w(e,t){var n,o,r,i;for(o=63;o>=32;--o){for(n=0,r=o-32,i=o-12;r>8,t[r]-=256*n;t[r]+=n,t[o]=0}for(n=0,r=0;r<32;++r)t[r]+=n-(t[31]>>4)*v[r],n=t[r]>>8,t[r]&=255;for(r=0;r<32;++r)t[r]-=n*v[r];for(o=0;o<32;++o)t[o+1]+=t[o]>>8,e[o]=255&t[o]}function P(e){for(var t=new Float64Array(64),n=0;n<64;++n)t[n]=e[n],e[n]=0;w(e,t)}function x(e,t){var n=D(),o=D(),r=D(),i=D(),a=D(),s=D(),l=D(),c=D(),p=D();B(n,e[1],e[0]),B(p,t[1],t[0]),F(n,n,p),L(o,e[0],e[1]),L(p,t[0],t[1]),F(o,o,p),F(r,e[3],t[3]),F(r,r,h),F(i,e[2],t[2]),L(i,i,i),B(a,o,n),B(s,i,r),L(l,i,r),L(c,o,n),F(e[0],a,s),F(e[1],c,l),F(e[2],l,s),F(e[3],a,c)}function S(e,t,n){for(var o=0;o<4;++o)N(e[o],t[o],n)}function T(e,t){var n=D(),o=D(),r=D();!function(e,t){var n,o=D();for(n=0;n<16;++n)o[n]=t[n];for(n=253;n>=0;--n)M(o,o),2!==n&&4!==n&&F(o,o,t);for(n=0;n<16;++n)e[n]=o[n]}(r,t[2]),F(n,t[0],r),F(o,t[1],r),A(e,o),e[31]^=k(n)<<7}function A(e,t){var n,o,r,i=D(),a=D();for(n=0;n<16;++n)a[n]=t[n];for(R(a),R(a),R(a),o=0;o<2;++o){for(i[0]=a[0]-65517,n=1;n<15;++n)i[n]=a[n]-65535-(i[n-1]>>16&1),i[n-1]&=65535;i[15]=a[15]-32767-(i[14]>>16&1),r=i[15]>>16&1,i[14]&=65535,N(a,i,1-r)}for(n=0;n<16;n++)e[2*n]=255&a[n],e[2*n+1]=a[n]>>8}function E(e,t){var n=new c(32),o=new c(32);return A(n,e),A(o,t),j(n,0,o,0)}function j(e,t,n,o){return function(e,t,n,o,r){var i,a=0;for(i=0;i<32;++i)a|=e[t+i]^n[o+i];return(1&a-1>>>8)-1}(e,t,n,o)}function k(e){var t=new c(32);return A(t,e),1&t[0]}function _(e,t,n){var o,r;for(I(e[0],d),I(e[1],g),I(e[2],g),I(e[3],d),r=255;r>=0;--r)S(e,t,o=n[r/8|0]>>(7&r)&1),x(t,e),x(e,e),S(e,t,o)}function C(e,t){var n=[D(),D(),D(),D()];I(n[0],m),I(n[1],y),I(n[2],g),F(n[3],m,y),_(e,n,t)}function I(e,t){var n;for(n=0;n<16;n++)e[n]=0|t[n]}function R(e){var t,n,o=1;for(t=0;t<16;++t)n=e[t]+o+65535,o=Math.floor(n/65536),e[t]=n-65536*o;e[0]+=o-1+37*(o-1)}function N(e,t,n){for(var o,r=~(n-1),i=0;i<16;++i)o=r&(e[i]^t[i]),e[i]^=o,t[i]^=o}function D(e){var t,n=new Float64Array(16);if(e)for(t=0;t{e.exports={options:{usePureJavaScript:!1}}},85469:(e,t,n)=>{var o=n(83418);n(43730),n(63290),(e.exports=o.hmac=o.hmac||{}).create=function(){var e=null,t=null,n=null,r=null,i={start:function(i,a){if(null!==i)if("string"==typeof i){if(!((i=i.toLowerCase())in o.md.algorithms))throw new Error('Unknown hash algorithm "'+i+'"');t=o.md.algorithms[i].create()}else t=i;if(null===a)a=e;else{if("string"==typeof a)a=o.util.createBuffer(a);else if(o.util.isArray(a)){var s=a;a=o.util.createBuffer();for(var l=0;lt.blockLength&&(t.start(),t.update(a.bytes()),a=t.digest()),n=o.util.createBuffer(),r=o.util.createBuffer(),c=a.length(),l=0;l{e.exports=n(83418),n(43882),n(61331),n(10001),n(58654),n(86875),n(10548),n(85469),n(40263),n(47050),n(11087),n(9647),n(42497),n(30115),n(7993),n(84834),n(7757),n(63969),n(14725),n(64286),n(95032),n(59018),n(14528),n(588),n(93478),n(63290)},97224:(e,t,n)=>{var o,r=n(83418);function i(e,t,n){this.data=[],null!=e&&("number"==typeof e?this.fromNumber(e,t,n):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function a(){return new i(null)}function s(e,t,n,o,r,i){for(var a=16383&t,s=t>>14;--i>=0;){var l=16383&this.data[e],c=this.data[e++]>>14,p=s*l+c*a;r=((l=a*l+((16383&p)<<14)+n.data[o]+r)>>28)+(p>>14)+s*c,n.data[o++]=268435455&l}return r}e.exports=r.jsbn=r.jsbn||{},r.jsbn.BigInteger=i,"undefined"==typeof navigator?(i.prototype.am=s,o=28):"Microsoft Internet Explorer"==navigator.appName?(i.prototype.am=function(e,t,n,o,r,i){for(var a=32767&t,s=t>>15;--i>=0;){var l=32767&this.data[e],c=this.data[e++]>>15,p=s*l+c*a;r=((l=a*l+((32767&p)<<15)+n.data[o]+(1073741823&r))>>>30)+(p>>>15)+s*c+(r>>>30),n.data[o++]=1073741823&l}return r},o=30):"Netscape"!=navigator.appName?(i.prototype.am=function(e,t,n,o,r,i){for(;--i>=0;){var a=t*this.data[e++]+n.data[o]+r;r=Math.floor(a/67108864),n.data[o++]=67108863&a}return r},o=26):(i.prototype.am=s,o=28),i.prototype.DB=o,i.prototype.DM=(1<>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function h(e){this.m=e}function m(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function P(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function x(){}function S(e){return e}function T(e){this.r2=a(),this.q3=a(),i.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}h.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},h.prototype.revert=function(e){return e},h.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},h.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},h.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},m.prototype.convert=function(e){var t=a();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(i.ZERO)>0&&this.m.subTo(t,t),t},m.prototype.revert=function(e){var t=a();return e.copyTo(t),this.reduce(t),t},m.prototype.reduce=function(e){for(;e.t<=this.mt2;)e.data[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;for(n=t+this.m.t,e.data[n]+=this.m.am(0,o,e,t,0,this.m.t);e.data[n]>=e.DV;)e.data[n]-=e.DV,e.data[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},m.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},m.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},i.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e.data[t]=this.data[t];e.t=this.t,e.s=this.s},i.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this.data[0]=e:e<-1?this.data[0]=e+this.DV:this.t=0},i.prototype.fromString=function(e,t){var n;if(16==t)n=4;else if(8==t)n=3;else if(256==t)n=8;else if(2==t)n=1;else if(32==t)n=5;else{if(4!=t)return void this.fromRadix(e,t);n=2}this.t=0,this.s=0;for(var o=e.length,r=!1,a=0;--o>=0;){var s=8==n?255&e[o]:d(e,o);s<0?"-"==e.charAt(o)&&(r=!0):(r=!1,0==a?this.data[this.t++]=s:a+n>this.DB?(this.data[this.t-1]|=(s&(1<>this.DB-a):this.data[this.t-1]|=s<=this.DB&&(a-=this.DB))}8==n&&0!=(128&e[0])&&(this.s=-1,a>0&&(this.data[this.t-1]|=(1<0&&this.data[this.t-1]==e;)--this.t},i.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t.data[n+e]=this.data[n];for(n=e-1;n>=0;--n)t.data[n]=0;t.t=this.t+e,t.s=this.s},i.prototype.drShiftTo=function(e,t){for(var n=e;n=0;--n)t.data[n+a+1]=this.data[n]>>r|s,s=(this.data[n]&i)<=0;--n)t.data[n]=0;t.data[a]=s,t.t=this.t+a+1,t.s=this.s,t.clamp()},i.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var o=e%this.DB,r=this.DB-o,i=(1<>o;for(var a=n+1;a>o;o>0&&(t.data[this.t-n-1]|=(this.s&i)<>=this.DB;if(e.t>=this.DB;o+=this.s}else{for(o+=this.s;n>=this.DB;o-=e.s}t.s=o<0?-1:0,o<-1?t.data[n++]=this.DV+o:o>0&&(t.data[n++]=o),t.t=n,t.clamp()},i.prototype.multiplyTo=function(e,t){var n=this.abs(),o=e.abs(),r=n.t;for(t.t=r+o.t;--r>=0;)t.data[r]=0;for(r=0;r=0;)e.data[n]=0;for(n=0;n=t.DV&&(e.data[n+t.t]-=t.DV,e.data[n+t.t+1]=1)}e.t>0&&(e.data[e.t-1]+=t.am(n,t.data[n],e,2*n,0,1)),e.s=0,e.clamp()},i.prototype.divRemTo=function(e,t,n){var o=e.abs();if(!(o.t<=0)){var r=this.abs();if(r.t0?(o.lShiftTo(p,s),r.lShiftTo(p,n)):(o.copyTo(s),r.copyTo(n));var u=s.t,d=s.data[u-1];if(0!=d){var g=d*(1<1?s.data[u-2]>>this.F2:0),h=this.FV/g,m=(1<=0&&(n.data[n.t++]=1,n.subTo(O,n)),i.ONE.dlShiftTo(u,O),O.subTo(s,s);s.t=0;){var w=n.data[--v]==d?this.DM:Math.floor(n.data[v]*h+(n.data[v-1]+y)*m);if((n.data[v]+=s.am(0,w,n,b,0,u))0&&n.rShiftTo(p,n),l<0&&i.ZERO.subTo(n,n)}}},i.prototype.invDigit=function(){if(this.t<1)return 0;var e=this.data[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},i.prototype.isEven=function(){return 0==(this.t>0?1&this.data[0]:this.s)},i.prototype.exp=function(e,t){if(e>4294967295||e<1)return i.ONE;var n=a(),o=a(),r=t.convert(this),s=f(e)-1;for(r.copyTo(n);--s>=0;)if(t.sqrTo(n,o),(e&1<0)t.mulTo(o,r,n);else{var l=n;n=o,o=l}return t.revert(n)},i.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,o=(1<0)for(s>s)>0&&(r=!0,i=u(n));a>=0;)s>(s+=this.DB-t)):(n=this.data[a]>>(s-=t)&o,s<=0&&(s+=this.DB,--a)),n>0&&(r=!0),r&&(i+=u(n));return r?i:"0"},i.prototype.negate=function(){var e=a();return i.ZERO.subTo(this,e),e},i.prototype.abs=function(){return this.s<0?this.negate():this},i.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this.data[n]-e.data[n]))return t;return 0},i.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+f(this.data[this.t-1]^this.s&this.DM)},i.prototype.mod=function(e){var t=a();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(i.ZERO)>0&&e.subTo(t,t),t},i.prototype.modPowInt=function(e,t){var n;return n=e<256||t.isEven()?new h(t):new m(t),this.exp(e,n)},i.ZERO=g(0),i.ONE=g(1),x.prototype.convert=S,x.prototype.revert=S,x.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n)},x.prototype.sqrTo=function(e,t){e.squareTo(t)},T.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=a();return e.copyTo(t),this.reduce(t),t},T.prototype.revert=function(e){return e},T.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},T.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},T.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var A=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509],E=(1<<26)/A[A.length-1];i.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},i.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),n=Math.pow(e,t),o=g(n),r=a(),i=a(),s="";for(this.divRemTo(o,r,i);r.signum()>0;)s=(n+i.intValue()).toString(e).substr(1)+s,r.divRemTo(o,r,i);return i.intValue().toString(e)+s},i.prototype.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var n=this.chunkSize(t),o=Math.pow(t,n),r=!1,a=0,s=0,l=0;l=n&&(this.dMultiply(o),this.dAddOffset(s,0),a=0,s=0))}a>0&&(this.dMultiply(Math.pow(t,a)),this.dAddOffset(s,0)),r&&i.ZERO.subTo(this,this)},i.prototype.fromNumber=function(e,t,n){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(i.ONE.shiftLeft(e-1),v,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(i.ONE.shiftLeft(e-1),this);else{var o=new Array,r=7&e;o.length=1+(e>>3),t.nextBytes(o),r>0?o[0]&=(1<>=this.DB;if(e.t>=this.DB;o+=this.s}else{for(o+=this.s;n>=this.DB;o+=e.s}t.s=o<0?-1:0,o>0?t.data[n++]=o:o<-1&&(t.data[n++]=this.DV+o),t.t=n,t.clamp()},i.prototype.dMultiply=function(e){this.data[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},i.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this.data[this.t++]=0;for(this.data[t]+=e;this.data[t]>=this.DV;)this.data[t]-=this.DV,++t>=this.t&&(this.data[this.t++]=0),++this.data[t]}},i.prototype.multiplyLowerTo=function(e,t,n){var o,r=Math.min(this.t+e.t,t);for(n.s=0,n.t=r;r>0;)n.data[--r]=0;for(o=n.t-this.t;r=0;)n.data[o]=0;for(o=Math.max(t-this.t,0);o0)if(0==t)n=this.data[0]%e;else for(var o=this.t-1;o>=0;--o)n=(t*n+this.data[o])%e;return n},i.prototype.millerRabin=function(e){var t=this.subtract(i.ONE),n=t.getLowestSetBit();if(n<=0)return!1;for(var o,r=t.shiftRight(n),a={nextBytes:function(e){for(var t=0;t=0);var l=o.modPow(r,this);if(0!=l.compareTo(i.ONE)&&0!=l.compareTo(t)){for(var c=1;c++>24},i.prototype.shortValue=function(){return 0==this.t?this.s:this.data[0]<<16>>16},i.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this.data[0]<=0?0:1},i.prototype.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var n,o=this.DB-e*this.DB%8,r=0;if(e-- >0)for(o>o)!=(this.s&this.DM)>>o&&(t[r++]=n|this.s<=0;)o<8?(n=(this.data[e]&(1<>(o+=this.DB-8)):(n=this.data[e]>>(o-=8)&255,o<=0&&(o+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==r&&(128&this.s)!=(128&n)&&++r,(r>0||n!=this.s)&&(t[r++]=n);return t},i.prototype.equals=function(e){return 0==this.compareTo(e)},i.prototype.min=function(e){return this.compareTo(e)<0?this:e},i.prototype.max=function(e){return this.compareTo(e)>0?this:e},i.prototype.and=function(e){var t=a();return this.bitwiseTo(e,y,t),t},i.prototype.or=function(e){var t=a();return this.bitwiseTo(e,v,t),t},i.prototype.xor=function(e){var t=a();return this.bitwiseTo(e,b,t),t},i.prototype.andNot=function(e){var t=a();return this.bitwiseTo(e,O,t),t},i.prototype.not=function(){for(var e=a(),t=0;t=this.t?0!=this.s:0!=(this.data[t]&1<1){var u=a();for(o.sqrTo(s[1],u);l<=p;)s[l]=a(),o.mulTo(u,s[l-2],s[l]),l+=2}var d,y,v=e.t-1,b=!0,O=a();for(r=f(e.data[v])-1;v>=0;){for(r>=c?d=e.data[v]>>r-c&p:(d=(e.data[v]&(1<0&&(d|=e.data[v-1]>>this.DB+r-c)),l=n;0==(1&d);)d>>=1,--l;if((r-=l)<0&&(r+=this.DB,--v),b)s[d].copyTo(i),b=!1;else{for(;l>1;)o.sqrTo(i,O),o.sqrTo(O,i),l-=2;l>0?o.sqrTo(i,O):(y=i,i=O,O=y),o.mulTo(O,s[d],i)}for(;v>=0&&0==(e.data[v]&1<=0?(n.subTo(o,n),t&&r.subTo(s,r),a.subTo(l,a)):(o.subTo(n,o),t&&s.subTo(r,s),l.subTo(a,l))}return 0!=o.compareTo(i.ONE)?i.ZERO:l.compareTo(e)>=0?l.subtract(e):l.signum()<0?(l.addTo(e,l),l.signum()<0?l.add(e):l):l},i.prototype.pow=function(e){return this.exp(e,new x)},i.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var o=t;t=n,n=o}var r=t.getLowestSetBit(),i=n.getLowestSetBit();if(i<0)return t;for(r0&&(t.rShiftTo(i,t),n.rShiftTo(i,n));t.signum()>0;)(r=t.getLowestSetBit())>0&&t.rShiftTo(r,t),(r=n.getLowestSetBit())>0&&n.rShiftTo(r,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return i>0&&n.lShiftTo(i,n),n},i.prototype.isProbablePrime=function(e){var t,n=this.abs();if(1==n.t&&n.data[0]<=A[A.length-1]){for(t=0;t{var o=n(83418);n(63290),n(59018),n(97224),e.exports=o.kem=o.kem||{};var r=o.jsbn.BigInteger;function i(e,t,n,r){e.generate=function(e,i){for(var a=new o.util.ByteBuffer,s=Math.ceil(i/r)+n,l=new o.util.ByteBuffer,c=n;c0&&(a=o.util.fillString(String.fromCharCode(0),l)+a),{encapsulation:t.encrypt(a,"NONE"),key:e.generate(a,i)}},decrypt:function(t,n,o){var r=t.decrypt(n,"NONE");return e.generate(r,o)}}},o.kem.kdf1=function(e,t){i(this,e,0,t||e.digestLength)},o.kem.kdf2=function(e,t){i(this,e,1,t||e.digestLength)}},47050:(e,t,n)=>{var o=n(83418);n(63290),e.exports=o.log=o.log||{},o.log.levels=["none","error","warning","info","debug","verbose","max"];var r={},i=[],a=null;o.log.LEVEL_LOCKED=2,o.log.NO_LEVEL_CHECK=4,o.log.INTERPOLATE=8;for(var s=0;s{e.exports=n(43730),n(30960),n(28804),n(51792),n(64301)},43730:(e,t,n)=>{var o=n(83418);e.exports=o.md=o.md||{},o.md.algorithms=o.md.algorithms||{}},30960:(e,t,n)=>{var o=n(83418);n(43730),n(63290);var r=e.exports=o.md5=o.md5||{};o.md.md5=o.md.algorithms.md5=r,r.create=function(){c||function(){i=String.fromCharCode(128),i+=o.util.fillString(String.fromCharCode(0),64),a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1,6,11,0,5,10,15,4,9,14,3,8,13,2,7,12,5,8,11,14,1,4,7,10,13,0,3,6,9,12,15,2,0,7,14,5,12,3,10,1,8,15,6,13,4,11,2,9],s=[7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21],l=new Array(64);for(var e=0;e<64;++e)l[e]=Math.floor(4294967296*Math.abs(Math.sin(e+1)));c=!0}();var e=null,t=o.util.createBuffer(),n=new Array(16),r={algorithm:"md5",blockLength:64,digestLength:16,messageLength:0,fullMessageLength:null,messageLengthSize:8,start:function(){r.messageLength=0,r.fullMessageLength=r.messageLength64=[];for(var n=r.messageLengthSize/4,i=0;i>>0,s>>>0];for(var l=r.fullMessageLength.length-1;l>=0;--l)r.fullMessageLength[l]+=s[1],s[1]=s[0]+(r.fullMessageLength[l]/4294967296>>>0),r.fullMessageLength[l]=r.fullMessageLength[l]>>>0,s[0]=s[1]/4294967296>>>0;return t.putBytes(i),p(e,n,t),(t.read>2048||0===t.length())&&t.compact(),r},r.digest=function(){var a=o.util.createBuffer();a.putBytes(t.bytes());var s=r.fullMessageLength[r.fullMessageLength.length-1]+r.messageLengthSize&r.blockLength-1;a.putBytes(i.substr(0,r.blockLength-s));for(var l,c=0,u=r.fullMessageLength.length-1;u>=0;--u)c=(l=8*r.fullMessageLength[u]+c)/4294967296>>>0,a.putInt32Le(l>>>0);var d={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3};p(d,n,a);var g=o.util.createBuffer();return g.putInt32Le(d.h0),g.putInt32Le(d.h1),g.putInt32Le(d.h2),g.putInt32Le(d.h3),g},r};var i=null,a=null,s=null,l=null,c=!1;function p(e,t,n){for(var o,r,i,c,p,u,d,g=n.length();g>=64;){for(r=e.h0,i=e.h1,c=e.h2,p=e.h3,d=0;d<16;++d)t[d]=n.getInt32Le(),o=r+(p^i&(c^p))+l[d]+t[d],r=p,p=c,c=i,i+=o<<(u=s[d])|o>>>32-u;for(;d<32;++d)o=r+(c^p&(i^c))+l[d]+t[a[d]],r=p,p=c,c=i,i+=o<<(u=s[d])|o>>>32-u;for(;d<48;++d)o=r+(i^c^p)+l[d]+t[a[d]],r=p,p=c,c=i,i+=o<<(u=s[d])|o>>>32-u;for(;d<64;++d)o=r+(c^(i|~p))+l[d]+t[a[d]],r=p,p=c,c=i,i+=o<<(u=s[d])|o>>>32-u;e.h0=e.h0+r|0,e.h1=e.h1+i|0,e.h2=e.h2+c|0,e.h3=e.h3+p|0,g-=64}}},39028:(e,t,n)=>{var o=n(83418);n(9647),e.exports=o.mgf=o.mgf||{},o.mgf.mgf1=o.mgf1},9647:(e,t,n)=>{var o=n(83418);n(63290),o.mgf=o.mgf||{},(e.exports=o.mgf.mgf1=o.mgf1=o.mgf1||{}).create=function(e){return{generate:function(t,n){for(var r=new o.util.ByteBuffer,i=Math.ceil(n/e.digestLength),a=0;a{var o=n(83418);o.pki=o.pki||{};var r=e.exports=o.pki.oids=o.oids=o.oids||{};function i(e,t){r[e]=t,r[t]=e}function a(e,t){r[e]=t}i("1.2.840.113549.1.1.1","rsaEncryption"),i("1.2.840.113549.1.1.4","md5WithRSAEncryption"),i("1.2.840.113549.1.1.5","sha1WithRSAEncryption"),i("1.2.840.113549.1.1.7","RSAES-OAEP"),i("1.2.840.113549.1.1.8","mgf1"),i("1.2.840.113549.1.1.9","pSpecified"),i("1.2.840.113549.1.1.10","RSASSA-PSS"),i("1.2.840.113549.1.1.11","sha256WithRSAEncryption"),i("1.2.840.113549.1.1.12","sha384WithRSAEncryption"),i("1.2.840.113549.1.1.13","sha512WithRSAEncryption"),i("1.3.101.112","EdDSA25519"),i("1.2.840.10040.4.3","dsa-with-sha1"),i("1.3.14.3.2.7","desCBC"),i("1.3.14.3.2.26","sha1"),i("1.3.14.3.2.29","sha1WithRSASignature"),i("2.16.840.1.101.3.4.2.1","sha256"),i("2.16.840.1.101.3.4.2.2","sha384"),i("2.16.840.1.101.3.4.2.3","sha512"),i("2.16.840.1.101.3.4.2.4","sha224"),i("2.16.840.1.101.3.4.2.5","sha512-224"),i("2.16.840.1.101.3.4.2.6","sha512-256"),i("1.2.840.113549.2.2","md2"),i("1.2.840.113549.2.5","md5"),i("1.2.840.113549.1.7.1","data"),i("1.2.840.113549.1.7.2","signedData"),i("1.2.840.113549.1.7.3","envelopedData"),i("1.2.840.113549.1.7.4","signedAndEnvelopedData"),i("1.2.840.113549.1.7.5","digestedData"),i("1.2.840.113549.1.7.6","encryptedData"),i("1.2.840.113549.1.9.1","emailAddress"),i("1.2.840.113549.1.9.2","unstructuredName"),i("1.2.840.113549.1.9.3","contentType"),i("1.2.840.113549.1.9.4","messageDigest"),i("1.2.840.113549.1.9.5","signingTime"),i("1.2.840.113549.1.9.6","counterSignature"),i("1.2.840.113549.1.9.7","challengePassword"),i("1.2.840.113549.1.9.8","unstructuredAddress"),i("1.2.840.113549.1.9.14","extensionRequest"),i("1.2.840.113549.1.9.20","friendlyName"),i("1.2.840.113549.1.9.21","localKeyId"),i("1.2.840.113549.1.9.22.1","x509Certificate"),i("1.2.840.113549.1.12.10.1.1","keyBag"),i("1.2.840.113549.1.12.10.1.2","pkcs8ShroudedKeyBag"),i("1.2.840.113549.1.12.10.1.3","certBag"),i("1.2.840.113549.1.12.10.1.4","crlBag"),i("1.2.840.113549.1.12.10.1.5","secretBag"),i("1.2.840.113549.1.12.10.1.6","safeContentsBag"),i("1.2.840.113549.1.5.13","pkcs5PBES2"),i("1.2.840.113549.1.5.12","pkcs5PBKDF2"),i("1.2.840.113549.1.12.1.1","pbeWithSHAAnd128BitRC4"),i("1.2.840.113549.1.12.1.2","pbeWithSHAAnd40BitRC4"),i("1.2.840.113549.1.12.1.3","pbeWithSHAAnd3-KeyTripleDES-CBC"),i("1.2.840.113549.1.12.1.4","pbeWithSHAAnd2-KeyTripleDES-CBC"),i("1.2.840.113549.1.12.1.5","pbeWithSHAAnd128BitRC2-CBC"),i("1.2.840.113549.1.12.1.6","pbewithSHAAnd40BitRC2-CBC"),i("1.2.840.113549.2.7","hmacWithSHA1"),i("1.2.840.113549.2.8","hmacWithSHA224"),i("1.2.840.113549.2.9","hmacWithSHA256"),i("1.2.840.113549.2.10","hmacWithSHA384"),i("1.2.840.113549.2.11","hmacWithSHA512"),i("1.2.840.113549.3.7","des-EDE3-CBC"),i("2.16.840.1.101.3.4.1.2","aes128-CBC"),i("2.16.840.1.101.3.4.1.22","aes192-CBC"),i("2.16.840.1.101.3.4.1.42","aes256-CBC"),i("2.5.4.3","commonName"),i("2.5.4.4","surname"),i("2.5.4.5","serialNumber"),i("2.5.4.6","countryName"),i("2.5.4.7","localityName"),i("2.5.4.8","stateOrProvinceName"),i("2.5.4.9","streetAddress"),i("2.5.4.10","organizationName"),i("2.5.4.11","organizationalUnitName"),i("2.5.4.12","title"),i("2.5.4.13","description"),i("2.5.4.15","businessCategory"),i("2.5.4.17","postalCode"),i("2.5.4.42","givenName"),i("1.3.6.1.4.1.311.60.2.1.2","jurisdictionOfIncorporationStateOrProvinceName"),i("1.3.6.1.4.1.311.60.2.1.3","jurisdictionOfIncorporationCountryName"),i("2.16.840.1.113730.1.1","nsCertType"),i("2.16.840.1.113730.1.13","nsComment"),a("2.5.29.1","authorityKeyIdentifier"),a("2.5.29.2","keyAttributes"),a("2.5.29.3","certificatePolicies"),a("2.5.29.4","keyUsageRestriction"),a("2.5.29.5","policyMapping"),a("2.5.29.6","subtreesConstraint"),a("2.5.29.7","subjectAltName"),a("2.5.29.8","issuerAltName"),a("2.5.29.9","subjectDirectoryAttributes"),a("2.5.29.10","basicConstraints"),a("2.5.29.11","nameConstraints"),a("2.5.29.12","policyConstraints"),a("2.5.29.13","basicConstraints"),i("2.5.29.14","subjectKeyIdentifier"),i("2.5.29.15","keyUsage"),a("2.5.29.16","privateKeyUsagePeriod"),i("2.5.29.17","subjectAltName"),i("2.5.29.18","issuerAltName"),i("2.5.29.19","basicConstraints"),a("2.5.29.20","cRLNumber"),a("2.5.29.21","cRLReason"),a("2.5.29.22","expirationDate"),a("2.5.29.23","instructionCode"),a("2.5.29.24","invalidityDate"),a("2.5.29.25","cRLDistributionPoints"),a("2.5.29.26","issuingDistributionPoint"),a("2.5.29.27","deltaCRLIndicator"),a("2.5.29.28","issuingDistributionPoint"),a("2.5.29.29","certificateIssuer"),a("2.5.29.30","nameConstraints"),i("2.5.29.31","cRLDistributionPoints"),i("2.5.29.32","certificatePolicies"),a("2.5.29.33","policyMappings"),a("2.5.29.34","policyConstraints"),i("2.5.29.35","authorityKeyIdentifier"),a("2.5.29.36","policyConstraints"),i("2.5.29.37","extKeyUsage"),a("2.5.29.46","freshestCRL"),a("2.5.29.54","inhibitAnyPolicy"),i("1.3.6.1.4.1.11129.2.4.2","timestampList"),i("1.3.6.1.5.5.7.1.1","authorityInfoAccess"),i("1.3.6.1.5.5.7.3.1","serverAuth"),i("1.3.6.1.5.5.7.3.2","clientAuth"),i("1.3.6.1.5.5.7.3.3","codeSigning"),i("1.3.6.1.5.5.7.3.4","emailProtection"),i("1.3.6.1.5.5.7.3.8","timeStamping")},89007:(e,t,n)=>{var o=n(83418);if(n(43882),n(10001),n(86875),n(43730),n(43793),n(42497),n(30115),n(59018),n(14528),n(9120),n(63290),void 0===r)var r=o.jsbn.BigInteger;var i=o.asn1,a=o.pki=o.pki||{};e.exports=a.pbe=o.pbe=o.pbe||{};var s=a.oids,l={name:"EncryptedPrivateKeyInfo",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedPrivateKeyInfo.encryptionAlgorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"encryptionOid"},{name:"AlgorithmIdentifier.parameters",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,captureAsn1:"encryptionParams"}]},{name:"EncryptedPrivateKeyInfo.encryptedData",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"encryptedData"}]},c={name:"PBES2Algorithms",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.keyDerivationFunc",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.keyDerivationFunc.oid",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"kdfOid"},{name:"PBES2Algorithms.params",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.params.salt",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"kdfSalt"},{name:"PBES2Algorithms.params.iterationCount",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"kdfIterationCount"},{name:"PBES2Algorithms.params.keyLength",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,optional:!0,capture:"keyLength"},{name:"PBES2Algorithms.params.prf",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,optional:!0,value:[{name:"PBES2Algorithms.params.prf.algorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"prfOid"}]}]}]},{name:"PBES2Algorithms.encryptionScheme",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.encryptionScheme.oid",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"encOid"},{name:"PBES2Algorithms.encryptionScheme.iv",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"encIv"}]}]},p={name:"pkcs-12PbeParams",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"pkcs-12PbeParams.salt",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"salt"},{name:"pkcs-12PbeParams.iterations",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"iterations"}]};function u(e,t){return e.start().update(t).digest().getBytes()}function d(e){var t;if(e){if(!(t=a.oids[i.derToOid(e)])){var n=new Error("Unsupported PRF OID.");throw n.oid=e,n.supported=["hmacWithSHA1","hmacWithSHA224","hmacWithSHA256","hmacWithSHA384","hmacWithSHA512"],n}}else t="hmacWithSHA1";return g(t)}function g(e){var t=o.md;switch(e){case"hmacWithSHA224":t=o.md.sha512;case"hmacWithSHA1":case"hmacWithSHA256":case"hmacWithSHA384":case"hmacWithSHA512":e=e.substr(8).toLowerCase();break;default:var n=new Error("Unsupported PRF algorithm.");throw n.algorithm=e,n.supported=["hmacWithSHA1","hmacWithSHA224","hmacWithSHA256","hmacWithSHA384","hmacWithSHA512"],n}if(!t||!(e in t))throw new Error("Unknown hash algorithm: "+e);return t[e].create()}a.encryptPrivateKeyInfo=function(e,t,n){(n=n||{}).saltSize=n.saltSize||8,n.count=n.count||2048,n.algorithm=n.algorithm||"aes128",n.prfAlgorithm=n.prfAlgorithm||"sha1";var r,l,c,p=o.random.getBytesSync(n.saltSize),u=n.count,d=i.integerToDer(u);if(0===n.algorithm.indexOf("aes")||"des"===n.algorithm){var f,h,m;switch(n.algorithm){case"aes128":r=16,f=16,h=s["aes128-CBC"],m=o.aes.createEncryptionCipher;break;case"aes192":r=24,f=16,h=s["aes192-CBC"],m=o.aes.createEncryptionCipher;break;case"aes256":r=32,f=16,h=s["aes256-CBC"],m=o.aes.createEncryptionCipher;break;case"des":r=8,f=8,h=s.desCBC,m=o.des.createEncryptionCipher;break;default:throw(P=new Error("Cannot encrypt private key. Unknown encryption algorithm.")).algorithm=n.algorithm,P}var y="hmacWith"+n.prfAlgorithm.toUpperCase(),v=g(y),b=o.pkcs5.pbkdf2(t,p,u,r,v),O=o.random.getBytesSync(f);(x=m(b)).start(O),x.update(i.toDer(e)),x.finish(),c=x.output.getBytes();var w=function(e,t,n,r){var s=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,e),i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,t.getBytes())]);return"hmacWithSHA1"!==r&&s.value.push(i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,o.util.hexToBytes(n.toString(16))),i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(a.oids[r]).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.NULL,!1,"")])),s}(p,d,r,y);l=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(s.pkcs5PBES2).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(s.pkcs5PBKDF2).getBytes()),w]),i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(h).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,O)])])])}else{var P;if("3des"!==n.algorithm)throw(P=new Error("Cannot encrypt private key. Unknown encryption algorithm.")).algorithm=n.algorithm,P;r=24;var x,S=new o.util.ByteBuffer(p);b=a.pbe.generatePkcs12Key(t,S,1,u,r),O=a.pbe.generatePkcs12Key(t,S,2,u,r),(x=o.des.createEncryptionCipher(b)).start(O),x.update(i.toDer(e)),x.finish(),c=x.output.getBytes(),l=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(s["pbeWithSHAAnd3-KeyTripleDES-CBC"]).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,p),i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,d.getBytes())])])}return i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[l,i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,c)])},a.decryptPrivateKeyInfo=function(e,t){var n=null,r={},s=[];if(!i.validate(e,l,r,s)){var c=new Error("Cannot read encrypted private key. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw c.errors=s,c}var p=i.derToOid(r.encryptionOid),u=a.pbe.getCipher(p,r.encryptionParams,t),d=o.util.createBuffer(r.encryptedData);return u.update(d),u.finish()&&(n=i.fromDer(u.output)),n},a.encryptedPrivateKeyToPem=function(e,t){var n={type:"ENCRYPTED PRIVATE KEY",body:i.toDer(e).getBytes()};return o.pem.encode(n,{maxline:t})},a.encryptedPrivateKeyFromPem=function(e){var t=o.pem.decode(e)[0];if("ENCRYPTED PRIVATE KEY"!==t.type){var n=new Error('Could not convert encrypted private key from PEM; PEM header type is "ENCRYPTED PRIVATE KEY".');throw n.headerType=t.type,n}if(t.procType&&"ENCRYPTED"===t.procType.type)throw new Error("Could not convert encrypted private key from PEM; PEM is encrypted.");return i.fromDer(t.body)},a.encryptRsaPrivateKey=function(e,t,n){if(!(n=n||{}).legacy){var r=a.wrapRsaPrivateKey(a.privateKeyToAsn1(e));return r=a.encryptPrivateKeyInfo(r,t,n),a.encryptedPrivateKeyToPem(r)}var s,l,c,p;switch(n.algorithm){case"aes128":s="AES-128-CBC",c=16,l=o.random.getBytesSync(16),p=o.aes.createEncryptionCipher;break;case"aes192":s="AES-192-CBC",c=24,l=o.random.getBytesSync(16),p=o.aes.createEncryptionCipher;break;case"aes256":s="AES-256-CBC",c=32,l=o.random.getBytesSync(16),p=o.aes.createEncryptionCipher;break;case"3des":s="DES-EDE3-CBC",c=24,l=o.random.getBytesSync(8),p=o.des.createEncryptionCipher;break;case"des":s="DES-CBC",c=8,l=o.random.getBytesSync(8),p=o.des.createEncryptionCipher;break;default:var u=new Error('Could not encrypt RSA private key; unsupported encryption algorithm "'+n.algorithm+'".');throw u.algorithm=n.algorithm,u}var d=p(o.pbe.opensslDeriveBytes(t,l.substr(0,8),c));d.start(l),d.update(i.toDer(a.privateKeyToAsn1(e))),d.finish();var g={type:"RSA PRIVATE KEY",procType:{version:"4",type:"ENCRYPTED"},dekInfo:{algorithm:s,parameters:o.util.bytesToHex(l).toUpperCase()},body:d.output.getBytes()};return o.pem.encode(g)},a.decryptRsaPrivateKey=function(e,t){var n=null,r=o.pem.decode(e)[0];if("ENCRYPTED PRIVATE KEY"!==r.type&&"PRIVATE KEY"!==r.type&&"RSA PRIVATE KEY"!==r.type)throw(c=new Error('Could not convert private key from PEM; PEM header type is not "ENCRYPTED PRIVATE KEY", "PRIVATE KEY", or "RSA PRIVATE KEY".')).headerType=c,c;if(r.procType&&"ENCRYPTED"===r.procType.type){var s,l;switch(r.dekInfo.algorithm){case"DES-CBC":s=8,l=o.des.createDecryptionCipher;break;case"DES-EDE3-CBC":s=24,l=o.des.createDecryptionCipher;break;case"AES-128-CBC":s=16,l=o.aes.createDecryptionCipher;break;case"AES-192-CBC":s=24,l=o.aes.createDecryptionCipher;break;case"AES-256-CBC":s=32,l=o.aes.createDecryptionCipher;break;case"RC2-40-CBC":s=5,l=function(e){return o.rc2.createDecryptionCipher(e,40)};break;case"RC2-64-CBC":s=8,l=function(e){return o.rc2.createDecryptionCipher(e,64)};break;case"RC2-128-CBC":s=16,l=function(e){return o.rc2.createDecryptionCipher(e,128)};break;default:var c;throw(c=new Error('Could not decrypt private key; unsupported encryption algorithm "'+r.dekInfo.algorithm+'".')).algorithm=r.dekInfo.algorithm,c}var p=o.util.hexToBytes(r.dekInfo.parameters),u=l(o.pbe.opensslDeriveBytes(t,p.substr(0,8),s));if(u.start(p),u.update(o.util.createBuffer(r.body)),!u.finish())return n;n=u.output.getBytes()}else n=r.body;return null!==(n="ENCRYPTED PRIVATE KEY"===r.type?a.decryptPrivateKeyInfo(i.fromDer(n),t):i.fromDer(n))&&(n=a.privateKeyFromAsn1(n)),n},a.pbe.generatePkcs12Key=function(e,t,n,r,i,a){var s,l;if(null==a){if(!("sha1"in o.md))throw new Error('"sha1" hash algorithm unavailable.');a=o.md.sha1.create()}var c=a.digestLength,p=a.blockLength,u=new o.util.ByteBuffer,d=new o.util.ByteBuffer;if(null!=e){for(l=0;l=0;l--)k>>=8,k+=T.at(l)+j.at(l),j.setAt(l,255&k);E.putBuffer(j)}O=E,u.putBuffer(x)}return u.truncate(u.length()-i),u},a.pbe.getCipher=function(e,t,n){switch(e){case a.oids.pkcs5PBES2:return a.pbe.getCipherForPBES2(e,t,n);case a.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:case a.oids["pbewithSHAAnd40BitRC2-CBC"]:return a.pbe.getCipherForPKCS12PBE(e,t,n);default:var o=new Error("Cannot read encrypted PBE data block. Unsupported OID.");throw o.oid=e,o.supportedOids=["pkcs5PBES2","pbeWithSHAAnd3-KeyTripleDES-CBC","pbewithSHAAnd40BitRC2-CBC"],o}},a.pbe.getCipherForPBES2=function(e,t,n){var r,s={},l=[];if(!i.validate(t,c,s,l))throw(r=new Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.")).errors=l,r;if((e=i.derToOid(s.kdfOid))!==a.oids.pkcs5PBKDF2)throw(r=new Error("Cannot read encrypted private key. Unsupported key derivation function OID.")).oid=e,r.supportedOids=["pkcs5PBKDF2"],r;if((e=i.derToOid(s.encOid))!==a.oids["aes128-CBC"]&&e!==a.oids["aes192-CBC"]&&e!==a.oids["aes256-CBC"]&&e!==a.oids["des-EDE3-CBC"]&&e!==a.oids.desCBC)throw(r=new Error("Cannot read encrypted private key. Unsupported encryption scheme OID.")).oid=e,r.supportedOids=["aes128-CBC","aes192-CBC","aes256-CBC","des-EDE3-CBC","desCBC"],r;var p,u,g=s.kdfSalt,f=o.util.createBuffer(s.kdfIterationCount);switch(f=f.getInt(f.length()<<3),a.oids[e]){case"aes128-CBC":p=16,u=o.aes.createDecryptionCipher;break;case"aes192-CBC":p=24,u=o.aes.createDecryptionCipher;break;case"aes256-CBC":p=32,u=o.aes.createDecryptionCipher;break;case"des-EDE3-CBC":p=24,u=o.des.createDecryptionCipher;break;case"desCBC":p=8,u=o.des.createDecryptionCipher}var h=d(s.prfOid),m=o.pkcs5.pbkdf2(n,g,f,p,h),y=s.encIv,v=u(m);return v.start(y),v},a.pbe.getCipherForPKCS12PBE=function(e,t,n){var r={},s=[];if(!i.validate(t,p,r,s))throw(h=new Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.")).errors=s,h;var l,c,u,g=o.util.createBuffer(r.salt),f=o.util.createBuffer(r.iterations);switch(f=f.getInt(f.length()<<3),e){case a.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:l=24,c=8,u=o.des.startDecrypting;break;case a.oids["pbewithSHAAnd40BitRC2-CBC"]:l=5,c=8,u=function(e,t){var n=o.rc2.createDecryptionCipher(e,40);return n.start(t,null),n};break;default:var h;throw(h=new Error("Cannot read PKCS #12 PBE data block. Unsupported OID.")).oid=e,h}var m=d(r.prfOid),y=a.pbe.generatePkcs12Key(n,g,1,f,l,m);return m.start(),u(y,a.pbe.generatePkcs12Key(n,g,2,f,c,m))},a.pbe.opensslDeriveBytes=function(e,t,n,r){if(null==r){if(!("md5"in o.md))throw new Error('"md5" hash algorithm unavailable.');r=o.md.md5.create()}null===t&&(t="");for(var i=[u(r,e+t)],a=16,s=1;a{var o=n(83418);n(85469),n(43730),n(63290);var r,i=o.pkcs5=o.pkcs5||{};o.util.isNodejs&&!o.options.usePureJavaScript&&(r=n(6113)),e.exports=o.pbkdf2=i.pbkdf2=function(e,t,n,i,a,s){if("function"==typeof a&&(s=a,a=null),o.util.isNodejs&&!o.options.usePureJavaScript&&r.pbkdf2&&(null===a||"object"!=typeof a)&&(r.pbkdf2Sync.length>4||!a||"sha1"===a))return"string"!=typeof a&&(a="sha1"),e=Buffer.from(e,"binary"),t=Buffer.from(t,"binary"),s?4===r.pbkdf2Sync.length?r.pbkdf2(e,t,n,i,(function(e,t){if(e)return s(e);s(null,t.toString("binary"))})):r.pbkdf2(e,t,n,i,a,(function(e,t){if(e)return s(e);s(null,t.toString("binary"))})):4===r.pbkdf2Sync.length?r.pbkdf2Sync(e,t,n,i).toString("binary"):r.pbkdf2Sync(e,t,n,i,a).toString("binary");if(null==a&&(a="sha1"),"string"==typeof a){if(!(a in o.md.algorithms))throw new Error("Unknown hash algorithm: "+a);a=o.md[a].create()}var l=a.digestLength;if(i>4294967295*l){var c=new Error("Derived key is too long.");if(s)return s(c);throw c}var p=Math.ceil(i/l),u=i-(p-1)*l,d=o.hmac.create();d.start(a,e);var g,f,h,m="";if(!s){for(var y=1;y<=p;++y){d.start(null,null),d.update(t),d.update(o.util.int32ToBytes(y)),g=h=d.digest().getBytes();for(var v=2;v<=n;++v)d.start(null,null),d.update(h),f=d.digest().getBytes(),g=o.util.xorBytes(g,f,l),h=f;m+=yp)return s(null,m);d.start(null,null),d.update(t),d.update(o.util.int32ToBytes(y)),g=h=d.digest().getBytes(),v=2,O()}function O(){if(v<=n)return d.start(null,null),d.update(h),f=d.digest().getBytes(),g=o.util.xorBytes(g,f,l),h=f,++v,o.util.setImmediate(O);m+=y{var o=n(83418);n(63290);var r=e.exports=o.pem=o.pem||{};function i(e){for(var t=e.name+": ",n=[],o=function(e,t){return" "+t},r=0;r65&&-1!==a){var s=t[a];","===s?(++a,t=t.substr(0,a)+"\r\n "+t.substr(a)):t=t.substr(0,a)+"\r\n"+s+t.substr(a+1),i=r-a-1,a=-1,++r}else" "!==t[r]&&"\t"!==t[r]&&","!==t[r]||(a=r);return t}function a(e){return e.replace(/^\s+/,"")}r.encode=function(e,t){t=t||{};var n,r="-----BEGIN "+e.type+"-----\r\n";if(e.procType&&(r+=i(n={name:"Proc-Type",values:[String(e.procType.version),e.procType.type]})),e.contentDomain&&(r+=i(n={name:"Content-Domain",values:[e.contentDomain]})),e.dekInfo&&(n={name:"DEK-Info",values:[e.dekInfo.algorithm]},e.dekInfo.parameters&&n.values.push(e.dekInfo.parameters),r+=i(n)),e.headers)for(var a=0;a{var o=n(83418);n(63290),n(59018),n(28804);var r=e.exports=o.pkcs1=o.pkcs1||{};function i(e,t,n){n||(n=o.md.sha1.create());for(var r="",i=Math.ceil(t/n.digestLength),a=0;a>24&255,a>>16&255,a>>8&255,255&a);n.start(),n.update(e+s),r+=n.digest().getBytes()}return r.substring(0,t)}r.encode_rsa_oaep=function(e,t,n){var r,a,s,l;"string"==typeof n?(r=n,a=arguments[3]||void 0,s=arguments[4]||void 0):n&&(r=n.label||void 0,a=n.seed||void 0,s=n.md||void 0,n.mgf1&&n.mgf1.md&&(l=n.mgf1.md)),s?s.start():s=o.md.sha1.create(),l||(l=s);var c=Math.ceil(e.n.bitLength()/8),p=c-2*s.digestLength-2;if(t.length>p)throw(m=new Error("RSAES-OAEP input message length is too long.")).length=t.length,m.maxLength=p,m;r||(r=""),s.update(r,"raw");for(var u=s.digest(),d="",g=p-t.length,f=0;f{var o=n(83418);n(10001),n(85469),n(43793),n(23023),n(89007),n(59018),n(9120),n(28804),n(63290),n(4811);var r=o.asn1,i=o.pki,a=e.exports=o.pkcs12=o.pkcs12||{},s={name:"ContentInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"ContentInfo.contentType",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"contentType"},{name:"ContentInfo.content",tagClass:r.Class.CONTEXT_SPECIFIC,constructed:!0,captureAsn1:"content"}]},l={name:"PFX",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.version",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"version"},s,{name:"PFX.macData",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,optional:!0,captureAsn1:"mac",value:[{name:"PFX.macData.mac",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.macData.mac.digestAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.macData.mac.digestAlgorithm.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"macAlgorithm"},{name:"PFX.macData.mac.digestAlgorithm.parameters",tagClass:r.Class.UNIVERSAL,captureAsn1:"macAlgorithmParameters"}]},{name:"PFX.macData.mac.digest",tagClass:r.Class.UNIVERSAL,type:r.Type.OCTETSTRING,constructed:!1,capture:"macDigest"}]},{name:"PFX.macData.macSalt",tagClass:r.Class.UNIVERSAL,type:r.Type.OCTETSTRING,constructed:!1,capture:"macSalt"},{name:"PFX.macData.iterations",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,optional:!0,capture:"macIterations"}]}]},c={name:"SafeBag",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"SafeBag.bagId",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"bagId"},{name:"SafeBag.bagValue",tagClass:r.Class.CONTEXT_SPECIFIC,constructed:!0,captureAsn1:"bagValue"},{name:"SafeBag.bagAttributes",tagClass:r.Class.UNIVERSAL,type:r.Type.SET,constructed:!0,optional:!0,capture:"bagAttributes"}]},p={name:"Attribute",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"Attribute.attrId",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"oid"},{name:"Attribute.attrValues",tagClass:r.Class.UNIVERSAL,type:r.Type.SET,constructed:!0,capture:"values"}]},u={name:"CertBag",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"CertBag.certId",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"certId"},{name:"CertBag.certValue",tagClass:r.Class.CONTEXT_SPECIFIC,constructed:!0,value:[{name:"CertBag.certValue[0]",tagClass:r.Class.UNIVERSAL,type:r.Class.OCTETSTRING,constructed:!1,capture:"cert"}]}]};function d(e,t,n,o){for(var r=[],i=0;i=0&&r.push(s):r.push(s))}return r}function g(e){if(e.composed||e.constructed){for(var t=o.util.createBuffer(),n=0;n0&&(l=r.create(r.Class.UNIVERSAL,r.Type.SET,!0,u));var d=[],g=[];null!==t&&(g=o.util.isArray(t)?t:[t]);for(var f=[],h=0;h0){var b=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,f),O=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.OID,!1,r.oidToDer(i.oids.data).getBytes()),r.create(r.Class.CONTEXT_SPECIFIC,0,!0,[r.create(r.Class.UNIVERSAL,r.Type.OCTETSTRING,!1,r.toDer(b).getBytes())])]);d.push(O)}var w=null;if(null!==e){var P=i.wrapRsaPrivateKey(i.privateKeyToAsn1(e));w=null===n?r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.OID,!1,r.oidToDer(i.oids.keyBag).getBytes()),r.create(r.Class.CONTEXT_SPECIFIC,0,!0,[P]),l]):r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.OID,!1,r.oidToDer(i.oids.pkcs8ShroudedKeyBag).getBytes()),r.create(r.Class.CONTEXT_SPECIFIC,0,!0,[i.encryptPrivateKeyInfo(P,n,s)]),l]);var x=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[w]),S=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.OID,!1,r.oidToDer(i.oids.data).getBytes()),r.create(r.Class.CONTEXT_SPECIFIC,0,!0,[r.create(r.Class.UNIVERSAL,r.Type.OCTETSTRING,!1,r.toDer(x).getBytes())])]);d.push(S)}var T,A=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,d);if(s.useMac){var E=o.md.sha1.create(),j=new o.util.ByteBuffer(o.random.getBytes(s.saltSize)),k=s.count,_=(e=a.generateKey(n,j,3,k,20),o.hmac.create());_.start(E,e),_.update(r.toDer(A).getBytes());var C=_.getMac();T=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.OID,!1,r.oidToDer(i.oids.sha1).getBytes()),r.create(r.Class.UNIVERSAL,r.Type.NULL,!1,"")]),r.create(r.Class.UNIVERSAL,r.Type.OCTETSTRING,!1,C.getBytes())]),r.create(r.Class.UNIVERSAL,r.Type.OCTETSTRING,!1,j.getBytes()),r.create(r.Class.UNIVERSAL,r.Type.INTEGER,!1,r.integerToDer(k).getBytes())])}return r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.INTEGER,!1,r.integerToDer(3).getBytes()),r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.OID,!1,r.oidToDer(i.oids.data).getBytes()),r.create(r.Class.CONTEXT_SPECIFIC,0,!0,[r.create(r.Class.UNIVERSAL,r.Type.OCTETSTRING,!1,r.toDer(A).getBytes())])]),T])},a.generateKey=o.pbe.generatePkcs12Key},7757:(e,t,n)=>{var o=n(83418);n(43882),n(10001),n(86875),n(43793),n(30115),n(23023),n(59018),n(63290),n(4811);var r=o.asn1,i=e.exports=o.pkcs7=o.pkcs7||{};function a(e){var t={},n=[];if(!r.validate(e,i.asn1.recipientInfoValidator,t,n)){var a=new Error("Cannot read PKCS#7 RecipientInfo. ASN.1 object is not an PKCS#7 RecipientInfo.");throw a.errors=n,a}return{version:t.version.charCodeAt(0),issuer:o.pki.RDNAttributesAsArray(t.issuer),serialNumber:o.util.createBuffer(t.serial).toHex(),encryptedContent:{algorithm:r.derToOid(t.encAlgorithm),parameter:t.encParameter?t.encParameter.value:void 0,content:t.encKey}}}function s(e){for(var t,n=[],i=0;i0){for(var n=r.create(r.Class.CONTEXT_SPECIFIC,1,!0,[]),i=0;i=n&&a0&&a.value[0].value.push(r.create(r.Class.CONTEXT_SPECIFIC,0,!0,t)),i.length>0&&a.value[0].value.push(r.create(r.Class.CONTEXT_SPECIFIC,1,!0,i)),a.value[0].value.push(r.create(r.Class.UNIVERSAL,r.Type.SET,!0,e.signerInfos)),r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.OID,!1,r.oidToDer(e.type).getBytes()),a])},addSigner:function(t){var n=t.issuer,r=t.serialNumber;if(t.certificate){var i=t.certificate;"string"==typeof i&&(i=o.pki.certificateFromPem(i)),n=i.issuer.attributes,r=i.serialNumber}var a=t.key;if(!a)throw new Error("Could not add PKCS#7 signer; no private key specified.");"string"==typeof a&&(a=o.pki.privateKeyFromPem(a));var s=t.digestAlgorithm||o.pki.oids.sha1;switch(s){case o.pki.oids.sha1:case o.pki.oids.sha256:case o.pki.oids.sha384:case o.pki.oids.sha512:case o.pki.oids.md5:break;default:throw new Error("Could not add PKCS#7 signer; unknown message digest algorithm: "+s)}var l=t.authenticatedAttributes||[];if(l.length>0){for(var c=!1,p=!1,u=0;u{var o=n(83418);n(10001),n(63290);var r=o.asn1,i=e.exports=o.pkcs7asn1=o.pkcs7asn1||{};o.pkcs7=o.pkcs7||{},o.pkcs7.asn1=i;var a={name:"ContentInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"ContentInfo.ContentType",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"contentType"},{name:"ContentInfo.content",tagClass:r.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,captureAsn1:"content"}]};i.contentInfoValidator=a;var s={name:"EncryptedContentInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedContentInfo.contentType",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"contentType"},{name:"EncryptedContentInfo.contentEncryptionAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedContentInfo.contentEncryptionAlgorithm.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"encAlgorithm"},{name:"EncryptedContentInfo.contentEncryptionAlgorithm.parameter",tagClass:r.Class.UNIVERSAL,captureAsn1:"encParameter"}]},{name:"EncryptedContentInfo.encryptedContent",tagClass:r.Class.CONTEXT_SPECIFIC,type:0,capture:"encryptedContent",captureAsn1:"encryptedContentAsn1"}]};i.envelopedDataValidator={name:"EnvelopedData",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"EnvelopedData.Version",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"version"},{name:"EnvelopedData.RecipientInfos",tagClass:r.Class.UNIVERSAL,type:r.Type.SET,constructed:!0,captureAsn1:"recipientInfos"}].concat(s)},i.encryptedDataValidator={name:"EncryptedData",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedData.Version",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"version"}].concat(s)};var l={name:"SignerInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.version",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1},{name:"SignerInfo.issuerAndSerialNumber",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.issuerAndSerialNumber.issuer",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"issuer"},{name:"SignerInfo.issuerAndSerialNumber.serialNumber",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"serial"}]},{name:"SignerInfo.digestAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.digestAlgorithm.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"digestAlgorithm"},{name:"SignerInfo.digestAlgorithm.parameter",tagClass:r.Class.UNIVERSAL,constructed:!1,captureAsn1:"digestParameter",optional:!0}]},{name:"SignerInfo.authenticatedAttributes",tagClass:r.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,capture:"authenticatedAttributes"},{name:"SignerInfo.digestEncryptionAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,capture:"signatureAlgorithm"},{name:"SignerInfo.encryptedDigest",tagClass:r.Class.UNIVERSAL,type:r.Type.OCTETSTRING,constructed:!1,capture:"signature"},{name:"SignerInfo.unauthenticatedAttributes",tagClass:r.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,optional:!0,capture:"unauthenticatedAttributes"}]};i.signedDataValidator={name:"SignedData",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"SignedData.Version",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"version"},{name:"SignedData.DigestAlgorithms",tagClass:r.Class.UNIVERSAL,type:r.Type.SET,constructed:!0,captureAsn1:"digestAlgorithms"},a,{name:"SignedData.Certificates",tagClass:r.Class.CONTEXT_SPECIFIC,type:0,optional:!0,captureAsn1:"certificates"},{name:"SignedData.CertificateRevocationLists",tagClass:r.Class.CONTEXT_SPECIFIC,type:1,optional:!0,captureAsn1:"crls"},{name:"SignedData.SignerInfos",tagClass:r.Class.UNIVERSAL,type:r.Type.SET,capture:"signerInfos",optional:!0,value:[l]}]},i.recipientInfoValidator={name:"RecipientInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.version",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"version"},{name:"RecipientInfo.issuerAndSerial",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.issuerAndSerial.issuer",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"issuer"},{name:"RecipientInfo.issuerAndSerial.serialNumber",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"serial"}]},{name:"RecipientInfo.keyEncryptionAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.keyEncryptionAlgorithm.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"encAlgorithm"},{name:"RecipientInfo.keyEncryptionAlgorithm.parameter",tagClass:r.Class.UNIVERSAL,constructed:!1,captureAsn1:"encParameter",optional:!0}]},{name:"RecipientInfo.encryptedKey",tagClass:r.Class.UNIVERSAL,type:r.Type.OCTETSTRING,constructed:!1,capture:"encKey"}]}},63969:(e,t,n)=>{var o=n(83418);n(10001),n(43793),n(89007),n(30115),n(42497),n(84834),n(95032),n(9120),n(63290),n(4811);var r=o.asn1,i=e.exports=o.pki=o.pki||{};i.pemToDer=function(e){var t=o.pem.decode(e)[0];if(t.procType&&"ENCRYPTED"===t.procType.type)throw new Error("Could not convert PEM to DER; PEM is encrypted.");return o.util.createBuffer(t.body)},i.privateKeyFromPem=function(e){var t=o.pem.decode(e)[0];if("PRIVATE KEY"!==t.type&&"RSA PRIVATE KEY"!==t.type){var n=new Error('Could not convert private key from PEM; PEM header type is not "PRIVATE KEY" or "RSA PRIVATE KEY".');throw n.headerType=t.type,n}if(t.procType&&"ENCRYPTED"===t.procType.type)throw new Error("Could not convert private key from PEM; PEM is encrypted.");var a=r.fromDer(t.body);return i.privateKeyFromAsn1(a)},i.privateKeyToPem=function(e,t){var n={type:"RSA PRIVATE KEY",body:r.toDer(i.privateKeyToAsn1(e)).getBytes()};return o.pem.encode(n,{maxline:t})},i.privateKeyInfoToPem=function(e,t){var n={type:"PRIVATE KEY",body:r.toDer(e).getBytes()};return o.pem.encode(n,{maxline:t})}},14725:(e,t,n)=>{var o=n(83418);n(63290),n(97224),n(59018),function(){if(o.prime)e.exports=o.prime;else{var t=e.exports=o.prime=o.prime||{},n=o.jsbn.BigInteger,r=[6,4,2,4,2,4,6,2],i=new n(null);i.fromInt(30);var a=function(e,t){return e|t};t.generateProbablePrime=function(e,t,r){"function"==typeof t&&(r=t,t={});var i=(t=t||{}).algorithm||"PRIMEINC";"string"==typeof i&&(i={name:i}),i.options=i.options||{};var a=t.prng||o.random,l={nextBytes:function(e){for(var t=a.getBytesSync(e.length),n=0;ne&&(a=c(e,t));var g=a.toString(16);r.target.postMessage({hex:g,workLoad:p}),a.dAddOffset(u,0)}}}g()}(e,t,r,i):s(e,t,r,i)}(e,l,i.options,r);throw new Error("Invalid prime generation algorithm: "+i.name)}}function s(e,t,n,o){var r=c(e,t),i=function(e){return e<=100?27:e<=150?18:e<=200?15:e<=250?12:e<=300?9:e<=350?8:e<=400?7:e<=500?6:e<=600?5:e<=800?4:e<=1250?3:2}(r.bitLength());"millerRabinTests"in n&&(i=n.millerRabinTests);var a=10;"maxBlockTime"in n&&(a=n.maxBlockTime),l(r,e,t,0,i,a,o)}function l(e,t,n,i,a,s,p){var u=+new Date;do{if(e.bitLength()>t&&(e=c(t,n)),e.isProbablePrime(a))return p(null,e);e.dAddOffset(r[i++%8],0)}while(s<0||+new Date-u{var o=n(83418);n(63290);var r=null;!o.util.isNodejs||o.options.usePureJavaScript||process.versions["node-webkit"]||(r=n(6113)),(e.exports=o.prng=o.prng||{}).create=function(e){for(var t={plugin:e,key:null,seed:null,time:null,reseeds:0,generated:0,keyBytes:""},n=e.md,i=new Array(32),a=0;a<32;++a)i[a]=n.create();function s(){if(t.pools[0].messageLength>=32)return l();var e=32-t.pools[0].messageLength<<5;t.collect(t.seedFileSync(e)),l()}function l(){t.reseeds=4294967295===t.reseeds?0:t.reseeds+1;var e=t.plugin.md.create();e.update(t.keyBytes);for(var n=1,o=0;o<32;++o)t.reseeds%n==0&&(e.update(t.pools[o].digest().getBytes()),t.pools[o].start()),n<<=1;t.keyBytes=e.digest().getBytes(),e.start(),e.update(t.keyBytes);var r=e.digest().getBytes();t.key=t.plugin.formatKey(t.keyBytes),t.seed=t.plugin.formatSeed(r),t.generated=0}function c(e){var t=null,n=o.util.globalScope,r=n.crypto||n.msCrypto;r&&r.getRandomValues&&(t=function(e){return r.getRandomValues(e)});var i=o.util.createBuffer();if(t)for(;i.length()>16)))<<16,d=4294967295&(p=(2147483647&(p+=c>>15))+(p>>31)),l=0;l<3;++l)u=d>>>(l<<3),u^=Math.floor(256*Math.random()),i.putByte(255&u);return i.getBytes(e)}return t.pools=i,t.pool=0,t.generate=function(e,n){if(!n)return t.generateSync(e);var r=t.plugin.cipher,i=t.plugin.increment,a=t.plugin.formatKey,s=t.plugin.formatSeed,c=o.util.createBuffer();t.key=null,function p(u){if(u)return n(u);if(c.length()>=e)return n(null,c.getBytes(e));if(t.generated>1048575&&(t.key=null),null===t.key)return o.util.nextTick((function(){!function(e){if(t.pools[0].messageLength>=32)return l(),e();var n=32-t.pools[0].messageLength<<5;t.seedFile(n,(function(n,o){if(n)return e(n);t.collect(o),l(),e()}))}(p)}));var d=r(t.key,t.seed);t.generated+=d.length,c.putBytes(d),t.key=a(r(t.key,i(t.seed))),t.seed=s(r(t.key,t.seed)),o.util.setImmediate(p)}()},t.generateSync=function(e){var n=t.plugin.cipher,r=t.plugin.increment,i=t.plugin.formatKey,a=t.plugin.formatSeed;t.key=null;for(var l=o.util.createBuffer();l.length()1048575&&(t.key=null),null===t.key&&s();var c=n(t.key,t.seed);t.generated+=c.length,l.putBytes(c),t.key=i(n(t.key,r(t.seed))),t.seed=a(n(t.key,t.seed))}return l.getBytes(e)},r?(t.seedFile=function(e,t){r.randomBytes(e,(function(e,n){if(e)return t(e);t(null,n.toString())}))},t.seedFileSync=function(e){return r.randomBytes(e).toString()}):(t.seedFile=function(e,t){try{t(null,c(e))}catch(e){t(e)}},t.seedFileSync=c),t.collect=function(e){for(var n=e.length,o=0;o>r&255);t.collect(o)},t.registerWorker=function(e){e===self?t.seedFile=function(e,t){self.addEventListener("message",(function e(n){var o=n.data;o.forge&&o.forge.prng&&(self.removeEventListener("message",e),t(o.forge.prng.err,o.forge.prng.bytes))})),self.postMessage({forge:{prng:{needed:e}}})}:e.addEventListener("message",(function(n){var o=n.data;o.forge&&o.forge.prng&&t.seedFile(o.forge.prng.needed,(function(t,n){e.postMessage({forge:{prng:{err:t,bytes:n}}})}))}))},t}},95032:(e,t,n)=>{var o=n(83418);n(59018),n(63290),(e.exports=o.pss=o.pss||{}).create=function(e){3===arguments.length&&(e={md:arguments[0],mgf:arguments[1],saltLength:arguments[2]});var t,n=e.md,r=e.mgf,i=n.digestLength,a=e.salt||null;if("string"==typeof a&&(a=o.util.createBuffer(a)),"saltLength"in e)t=e.saltLength;else{if(null===a)throw new Error("Salt length not specified or specific salt not given.");t=a.length()}if(null!==a&&a.length()!==t)throw new Error("Given salt length does not match length of given salt.");var s=e.prng||o.random,l={encode:function(e,l){var c,p,u=l-1,d=Math.ceil(u/8),g=e.digest().getBytes();if(d>8*d-u&255;return(O=String.fromCharCode(O.charCodeAt(0)&~w)+O.substr(1))+h+String.fromCharCode(188)},verify:function(e,a,s){var l,c=s-1,p=Math.ceil(c/8);if(a=a.substr(-p),p>8*p-c&255;if(0!=(d.charCodeAt(0)&f))throw new Error("Bits beyond keysize not zero as expected.");var h=r.generate(g,u),m="";for(l=0;l{var o=n(83418);n(43882),n(51792),n(64286),n(63290),o.random&&o.random.getBytes?e.exports=o.random:function(t){var n={},r=new Array(4),i=o.util.createBuffer();function a(){var e=o.prng.create(n);return e.getBytes=function(t,n){return e.generate(t,n)},e.getBytesSync=function(t){return e.generate(t)},e}n.formatKey=function(e){var t=o.util.createBuffer(e);return(e=new Array(4))[0]=t.getInt32(),e[1]=t.getInt32(),e[2]=t.getInt32(),e[3]=t.getInt32(),o.aes._expandKey(e,!1)},n.formatSeed=function(e){var t=o.util.createBuffer(e);return(e=new Array(4))[0]=t.getInt32(),e[1]=t.getInt32(),e[2]=t.getInt32(),e[3]=t.getInt32(),e},n.cipher=function(e,t){return o.aes._updateBlock(e,t,r,!1),i.putInt32(r[0]),i.putInt32(r[1]),i.putInt32(r[2]),i.putInt32(r[3]),i.getBytes()},n.increment=function(e){return++e[3],e},n.md=o.md.sha256;var s=a(),l=null,c=o.util.globalScope,p=c.crypto||c.msCrypto;if(p&&p.getRandomValues&&(l=function(e){return p.getRandomValues(e)}),o.options.usePureJavaScript||!o.util.isNodejs&&!l){if("undefined"==typeof window||window.document,s.collectInt(+new Date,32),"undefined"!=typeof navigator){var u="";for(var d in navigator)try{"string"==typeof navigator[d]&&(u+=navigator[d])}catch(e){}s.collect(u),u=null}t&&(t().mousemove((function(e){s.collectInt(e.clientX,16),s.collectInt(e.clientY,16)})),t().keypress((function(e){s.collectInt(e.charCode,8)})))}if(o.random)for(var d in s)o.random[d]=s[d];else o.random=s;o.random.createInstance=a,e.exports=o.random}("undefined"!=typeof jQuery?jQuery:null)},14528:(e,t,n)=>{var o=n(83418);n(63290);var r=[217,120,249,196,25,221,181,237,40,233,253,121,74,160,216,157,198,126,55,131,43,118,83,142,98,76,100,136,68,139,251,162,23,154,89,245,135,179,79,19,97,69,109,141,9,129,125,50,189,143,64,235,134,183,123,11,240,149,33,34,92,107,78,130,84,214,101,147,206,96,178,28,115,86,192,20,167,140,241,220,18,117,202,31,59,190,228,209,66,61,212,48,163,60,182,38,111,191,14,218,70,105,7,87,39,242,29,155,188,148,67,3,248,17,199,246,144,239,62,231,6,195,213,47,200,102,30,215,8,232,234,222,128,82,238,247,132,170,114,172,53,77,106,42,150,26,210,113,90,21,73,116,75,159,208,94,4,24,164,236,194,224,65,110,15,81,203,204,36,145,175,80,161,244,112,57,153,124,58,133,35,184,180,122,252,2,54,91,37,85,151,49,45,93,250,152,227,138,146,174,5,223,41,16,103,108,186,201,211,0,230,207,225,158,168,44,99,22,1,63,88,226,137,169,13,56,52,27,171,51,255,176,187,72,12,95,185,177,205,46,197,243,219,71,229,165,156,119,10,166,32,104,254,127,193,173],i=[1,2,3,5],a=function(e,t){return e<>16-t},s=function(e,t){return(65535&e)>>t|e<<16-t&65535};e.exports=o.rc2=o.rc2||{},o.rc2.expandKey=function(e,t){"string"==typeof e&&(e=o.util.createBuffer(e)),t=t||128;var n,i=e,a=e.length(),s=t,l=Math.ceil(s/8),c=255>>(7&s);for(n=a;n<128;n++)i.putByte(r[i.at(n-1)+i.at(n-a)&255]);for(i.setAt(128-l,r[i.at(128-l)&c]),n=127-l;n>=0;n--)i.setAt(n,r[i.at(n+1)^i.at(n+l)]);return i};var l=function(e,t,n){var r,l,c,p,u=!1,d=null,g=null,f=null,h=[];for(e=o.rc2.expandKey(e,t),c=0;c<64;c++)h.push(e.getInt16Le());n?(r=function(e){for(c=0;c<4;c++)e[c]+=h[p]+(e[(c+3)%4]&e[(c+2)%4])+(~e[(c+3)%4]&e[(c+1)%4]),e[c]=a(e[c],i[c]),p++},l=function(e){for(c=0;c<4;c++)e[c]+=h[63&e[(c+3)%4]]}):(r=function(e){for(c=3;c>=0;c--)e[c]=s(e[c],i[c]),e[c]-=h[p]+(e[(c+3)%4]&e[(c+2)%4])+(~e[(c+3)%4]&e[(c+1)%4]),p--},l=function(e){for(c=3;c>=0;c--)e[c]-=h[63&e[(c+3)%4]]});var m=function(e){var t=[];for(c=0;c<4;c++){var o=d.getInt16Le();null!==f&&(n?o^=f.getInt16Le():f.putInt16Le(o)),t.push(65535&o)}p=n?0:63;for(var r=0;r=8;)m([[5,r],[1,l],[6,r],[1,l],[5,r]])},finish:function(e){var t=!0;if(n)if(e)t=e(8,d,!n);else{var o=8===d.length()?8:8-d.length();d.fillWithByte(o,o)}if(t&&(u=!0,y.update()),!n&&(t=0===d.length()))if(e)t=e(8,g,!n);else{var r=g.length(),i=g.at(r-1);i>r?t=!1:g.truncate(i)}return t}}};o.rc2.startEncrypting=function(e,t,n){var r=o.rc2.createEncryptionCipher(e,128);return r.start(t,n),r},o.rc2.createEncryptionCipher=function(e,t){return l(e,t,!0)},o.rc2.startDecrypting=function(e,t,n){var r=o.rc2.createDecryptionCipher(e,128);return r.start(t,n),r},o.rc2.createDecryptionCipher=function(e,t){return l(e,t,!1)}},9120:(e,t,n)=>{var o=n(83418);if(n(10001),n(97224),n(43793),n(7993),n(14725),n(59018),n(63290),void 0===r)var r=o.jsbn.BigInteger;var i=o.util.isNodejs?n(6113):null,a=o.asn1,s=o.util;o.pki=o.pki||{},e.exports=o.pki.rsa=o.rsa=o.rsa||{};var l=o.pki,c=[6,4,2,4,2,4,6,2],p={name:"PrivateKeyInfo",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,value:[{name:"PrivateKeyInfo.version",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"PrivateKeyInfo.privateKeyAlgorithm",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:a.Class.UNIVERSAL,type:a.Type.OID,constructed:!1,capture:"privateKeyOid"}]},{name:"PrivateKeyInfo",tagClass:a.Class.UNIVERSAL,type:a.Type.OCTETSTRING,constructed:!1,capture:"privateKey"}]},u={name:"RSAPrivateKey",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPrivateKey.version",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"RSAPrivateKey.modulus",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyModulus"},{name:"RSAPrivateKey.publicExponent",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyPublicExponent"},{name:"RSAPrivateKey.privateExponent",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyPrivateExponent"},{name:"RSAPrivateKey.prime1",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyPrime1"},{name:"RSAPrivateKey.prime2",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyPrime2"},{name:"RSAPrivateKey.exponent1",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyExponent1"},{name:"RSAPrivateKey.exponent2",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyExponent2"},{name:"RSAPrivateKey.coefficient",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"privateKeyCoefficient"}]},d={name:"RSAPublicKey",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPublicKey.modulus",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"publicKeyModulus"},{name:"RSAPublicKey.exponent",tagClass:a.Class.UNIVERSAL,type:a.Type.INTEGER,constructed:!1,capture:"publicKeyExponent"}]},g=o.pki.rsa.publicKeyValidator={name:"SubjectPublicKeyInfo",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,captureAsn1:"subjectPublicKeyInfo",value:[{name:"SubjectPublicKeyInfo.AlgorithmIdentifier",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:a.Class.UNIVERSAL,type:a.Type.OID,constructed:!1,capture:"publicKeyOid"}]},{name:"SubjectPublicKeyInfo.subjectPublicKey",tagClass:a.Class.UNIVERSAL,type:a.Type.BITSTRING,constructed:!1,value:[{name:"SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,optional:!0,captureAsn1:"rsaPublicKey"}]}]},f={name:"DigestInfo",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,value:[{name:"DigestInfo.DigestAlgorithm",tagClass:a.Class.UNIVERSAL,type:a.Type.SEQUENCE,constructed:!0,value:[{name:"DigestInfo.DigestAlgorithm.algorithmIdentifier",tagClass:a.Class.UNIVERSAL,type:a.Type.OID,constructed:!1,capture:"algorithmIdentifier"},{name:"DigestInfo.DigestAlgorithm.parameters",tagClass:a.Class.UNIVERSAL,type:a.Type.NULL,capture:"parameters",optional:!0,constructed:!1}]},{name:"DigestInfo.digest",tagClass:a.Class.UNIVERSAL,type:a.Type.OCTETSTRING,constructed:!1,capture:"digest"}]},h=function(e){var t;if(!(e.algorithm in l.oids)){var n=new Error("Unknown message digest algorithm.");throw n.algorithm=e.algorithm,n}t=l.oids[e.algorithm];var o=a.oidToDer(t).getBytes(),r=a.create(a.Class.UNIVERSAL,a.Type.SEQUENCE,!0,[]),i=a.create(a.Class.UNIVERSAL,a.Type.SEQUENCE,!0,[]);i.value.push(a.create(a.Class.UNIVERSAL,a.Type.OID,!1,o)),i.value.push(a.create(a.Class.UNIVERSAL,a.Type.NULL,!1,""));var s=a.create(a.Class.UNIVERSAL,a.Type.OCTETSTRING,!1,e.digest().getBytes());return r.value.push(i),r.value.push(s),a.toDer(r).getBytes()},m=function(e,t,n){if(n)return e.modPow(t.e,t.n);if(!t.p||!t.q)return e.modPow(t.d,t.n);var i;t.dP||(t.dP=t.d.mod(t.p.subtract(r.ONE))),t.dQ||(t.dQ=t.d.mod(t.q.subtract(r.ONE))),t.qInv||(t.qInv=t.q.modInverse(t.p));do{i=new r(o.util.bytesToHex(o.random.getBytes(t.n.bitLength()/8)),16)}while(i.compareTo(t.n)>=0||!i.gcd(t.n).equals(r.ONE));for(var a=(e=e.multiply(i.modPow(t.e,t.n)).mod(t.n)).mod(t.p).modPow(t.dP,t.p),s=e.mod(t.q).modPow(t.dQ,t.q);a.compareTo(s)<0;)a=a.add(t.p);var l=a.subtract(s).multiply(t.qInv).mod(t.p).multiply(t.q).add(s);return l.multiply(i.modInverse(t.n)).mod(t.n)};function y(e,t,n){var r=o.util.createBuffer(),i=Math.ceil(t.n.bitLength()/8);if(e.length>i-11){var a=new Error("Message is too long for PKCS#1 v1.5 padding.");throw a.length=e.length,a.max=i-11,a}r.putByte(0),r.putByte(n);var s,l=i-3-e.length;if(0===n||1===n){s=0===n?0:255;for(var c=0;c0;){var p=0,u=o.random.getBytes(l);for(c=0;c1;){if(255!==a.getByte()){--a.read;break}++c}else if(2===l)for(c=0;a.length()>1;){if(0===a.getByte()){--a.read;break}++c}if(0!==a.getByte()||c!==i-3-a.length())throw new Error("Encryption block is invalid.");return a.getBytes()}function b(e,t,n){"function"==typeof t&&(n=t,t={});var i={algorithm:{name:(t=t||{}).algorithm||"PRIMEINC",options:{workers:t.workers||2,workLoad:t.workLoad||100,workerScript:t.workerScript}}};function a(){s(e.pBits,(function(t,o){return t?n(t):(e.p=o,null!==e.q?c(t,e.q):void s(e.qBits,c))}))}function s(e,t){o.prime.generateProbablePrime(e,i,t)}function c(t,o){if(t)return n(t);if(e.q=o,e.p.compareTo(e.q)<0){var i=e.p;e.p=e.q,e.q=i}if(0!==e.p.subtract(r.ONE).gcd(e.e).compareTo(r.ONE))return e.p=null,void a();if(0!==e.q.subtract(r.ONE).gcd(e.e).compareTo(r.ONE))return e.q=null,void s(e.qBits,c);if(e.p1=e.p.subtract(r.ONE),e.q1=e.q.subtract(r.ONE),e.phi=e.p1.multiply(e.q1),0!==e.phi.gcd(e.e).compareTo(r.ONE))return e.p=e.q=null,void a();if(e.n=e.p.multiply(e.q),e.n.bitLength()!==e.bits)return e.q=null,void s(e.qBits,c);var p=e.e.modInverse(e.phi);e.keys={privateKey:l.rsa.setPrivateKey(e.n,e.e,p,e.p,e.q,p.mod(e.p1),p.mod(e.q1),e.q.modInverse(e.p)),publicKey:l.rsa.setPublicKey(e.n,e.e)},n(null,e.keys)}"prng"in t&&(i.prng=t.prng),a()}function O(e){var t=e.toString(16);t[0]>="8"&&(t="00"+t);var n=o.util.hexToBytes(t);return n.length>1&&(0===n.charCodeAt(0)&&0==(128&n.charCodeAt(1))||255===n.charCodeAt(0)&&128==(128&n.charCodeAt(1)))?n.substr(1):n}function w(e){return e<=100?27:e<=150?18:e<=200?15:e<=250?12:e<=300?9:e<=350?8:e<=400?7:e<=500?6:e<=600?5:e<=800?4:e<=1250?3:2}function P(e){return o.util.isNodejs&&"function"==typeof i[e]}function x(e){return void 0!==s.globalScope&&"object"==typeof s.globalScope.crypto&&"object"==typeof s.globalScope.crypto.subtle&&"function"==typeof s.globalScope.crypto.subtle[e]}function S(e){return void 0!==s.globalScope&&"object"==typeof s.globalScope.msCrypto&&"object"==typeof s.globalScope.msCrypto.subtle&&"function"==typeof s.globalScope.msCrypto.subtle[e]}function T(e){for(var t=o.util.hexToBytes(e.toString(16)),n=new Uint8Array(t.length),r=0;r0;)p.putByte(0),--u;return p.putBytes(o.util.hexToBytes(c)),p.getBytes()},l.rsa.decrypt=function(e,t,n,i){var a=Math.ceil(t.n.bitLength()/8);if(e.length!==a){var s=new Error("Encrypted message length is invalid.");throw s.length=e.length,s.expected=a,s}var l=new r(o.util.createBuffer(e).toHex(),16);if(l.compareTo(t.n)>=0)throw new Error("Encrypted message is invalid.");for(var c=m(l,t,n).toString(16),p=o.util.createBuffer(),u=a-Math.ceil(c.length/2);u>0;)p.putByte(0),--u;return p.putBytes(o.util.hexToBytes(c)),!1!==i?v(p.getBytes(),t,n):p.getBytes()},l.rsa.createKeyPairGenerationState=function(e,t,n){"string"==typeof e&&(e=parseInt(e,10)),e=e||2048;var i,a=(n=n||{}).prng||o.random,s={nextBytes:function(e){for(var t=a.getBytesSync(e.length),n=0;n>1,pBits:e-(e>>1),pqState:0,num:null,keys:null}).e.fromInt(i.eInt),i},l.rsa.stepKeyPairGenerationState=function(e,t){"algorithm"in e||(e.algorithm="PRIMEINC");var n=new r(null);n.fromInt(30);for(var o,i=0,a=function(e,t){return e|t},s=+new Date,p=0;null===e.keys&&(t<=0||pu?e.pqState=0:e.num.isProbablePrime(w(e.num.bitLength()))?++e.pqState:e.num.dAddOffset(c[i++%8],0):2===e.pqState?e.pqState=0===e.num.subtract(r.ONE).gcd(e.e).compareTo(r.ONE)?3:0:3===e.pqState&&(e.pqState=0,null===e.p?e.p=e.num:e.q=e.num,null!==e.p&&null!==e.q&&++e.state,e.num=null)}else if(1===e.state)e.p.compareTo(e.q)<0&&(e.num=e.p,e.p=e.q,e.q=e.num),++e.state;else if(2===e.state)e.p1=e.p.subtract(r.ONE),e.q1=e.q.subtract(r.ONE),e.phi=e.p1.multiply(e.q1),++e.state;else if(3===e.state)0===e.phi.gcd(e.e).compareTo(r.ONE)?++e.state:(e.p=null,e.q=null,e.state=0);else if(4===e.state)e.n=e.p.multiply(e.q),e.n.bitLength()===e.bits?++e.state:(e.q=null,e.state=0);else if(5===e.state){var g=e.e.modInverse(e.phi);e.keys={privateKey:l.rsa.setPrivateKey(e.n,e.e,g,e.p,e.q,g.mod(e.p1),g.mod(e.q1),e.q.modInverse(e.p)),publicKey:l.rsa.setPublicKey(e.n,e.e)}}p+=(o=+new Date)-s,s=o}return null!==e.keys},l.rsa.generateKeyPair=function(e,t,n,r){if(1===arguments.length?"object"==typeof e?(n=e,e=void 0):"function"==typeof e&&(r=e,e=void 0):2===arguments.length?"number"==typeof e?"function"==typeof t?(r=t,t=void 0):"number"!=typeof t&&(n=t,t=void 0):(n=e,r=t,e=void 0,t=void 0):3===arguments.length&&("number"==typeof t?"function"==typeof n&&(r=n,n=void 0):(r=n,n=t,t=void 0)),n=n||{},void 0===e&&(e=n.bits||2048),void 0===t&&(t=n.e||65537),!o.options.usePureJavaScript&&!n.prng&&e>=256&&e<=16384&&(65537===t||3===t))if(r){if(P("generateKeyPair"))return i.generateKeyPair("rsa",{modulusLength:e,publicExponent:t,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}},(function(e,t,n){if(e)return r(e);r(null,{privateKey:l.privateKeyFromPem(n),publicKey:l.publicKeyFromPem(t)})}));if(x("generateKey")&&x("exportKey"))return s.globalScope.crypto.subtle.generateKey({name:"RSASSA-PKCS1-v1_5",modulusLength:e,publicExponent:T(t),hash:{name:"SHA-256"}},!0,["sign","verify"]).then((function(e){return s.globalScope.crypto.subtle.exportKey("pkcs8",e.privateKey)})).then(void 0,(function(e){r(e)})).then((function(e){if(e){var t=l.privateKeyFromAsn1(a.fromDer(o.util.createBuffer(e)));r(null,{privateKey:t,publicKey:l.setRsaPublicKey(t.n,t.e)})}}));if(S("generateKey")&&S("exportKey")){var c=s.globalScope.msCrypto.subtle.generateKey({name:"RSASSA-PKCS1-v1_5",modulusLength:e,publicExponent:T(t),hash:{name:"SHA-256"}},!0,["sign","verify"]);return c.oncomplete=function(e){var t=e.target.result,n=s.globalScope.msCrypto.subtle.exportKey("pkcs8",t.privateKey);n.oncomplete=function(e){var t=e.target.result,n=l.privateKeyFromAsn1(a.fromDer(o.util.createBuffer(t)));r(null,{privateKey:n,publicKey:l.setRsaPublicKey(n.n,n.e)})},n.onerror=function(e){r(e)}},void(c.onerror=function(e){r(e)})}}else if(P("generateKeyPairSync")){var p=i.generateKeyPairSync("rsa",{modulusLength:e,publicExponent:t,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}});return{privateKey:l.privateKeyFromPem(p.privateKey),publicKey:l.publicKeyFromPem(p.publicKey)}}var u=l.rsa.createKeyPairGenerationState(e,t,n);if(!r)return l.rsa.stepKeyPairGenerationState(u,0),u.keys;b(u,n,r)},l.setRsaPublicKey=l.rsa.setPublicKey=function(e,t){var n={n:e,e:t,encrypt:function(e,t,r){if("string"==typeof t?t=t.toUpperCase():void 0===t&&(t="RSAES-PKCS1-V1_5"),"RSAES-PKCS1-V1_5"===t)t={encode:function(e,t,n){return y(e,t,2).getBytes()}};else if("RSA-OAEP"===t||"RSAES-OAEP"===t)t={encode:function(e,t){return o.pkcs1.encode_rsa_oaep(t,e,r)}};else if(-1!==["RAW","NONE","NULL",null].indexOf(t))t={encode:function(e){return e}};else if("string"==typeof t)throw new Error('Unsupported encryption scheme: "'+t+'".');var i=t.encode(e,n,!0);return l.rsa.encrypt(i,n,!0)},verify:function(e,t,r,i){"string"==typeof r?r=r.toUpperCase():void 0===r&&(r="RSASSA-PKCS1-V1_5"),void 0===i&&(i={_parseAllDigestBytes:!0}),"_parseAllDigestBytes"in i||(i._parseAllDigestBytes=!0),"RSASSA-PKCS1-V1_5"===r?r={verify:function(e,t){t=v(t,n,!0);var r=a.fromDer(t,{parseAllBytes:i._parseAllDigestBytes}),s={},l=[];if(!a.validate(r,f,s,l))throw(c=new Error("ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value.")).errors=l,c;var c,p=a.derToOid(s.algorithmIdentifier);if(p!==o.oids.md2&&p!==o.oids.md5&&p!==o.oids.sha1&&p!==o.oids.sha224&&p!==o.oids.sha256&&p!==o.oids.sha384&&p!==o.oids.sha512&&p!==o.oids["sha512-224"]&&p!==o.oids["sha512-256"])throw(c=new Error("Unknown RSASSA-PKCS1-v1_5 DigestAlgorithm identifier.")).oid=p,c;if((p===o.oids.md2||p===o.oids.md5)&&!("parameters"in s))throw new Error("ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value. Missing algorithm identifer NULL parameters.");return e===s.digest}}:"NONE"!==r&&"NULL"!==r&&null!==r||(r={verify:function(e,t){return e===v(t,n,!0)}});var s=l.rsa.decrypt(t,n,!0,!1);return r.verify(e,s,n.n.bitLength())}};return n},l.setRsaPrivateKey=l.rsa.setPrivateKey=function(e,t,n,r,i,a,s,c){var p={n:e,e:t,d:n,p:r,q:i,dP:a,dQ:s,qInv:c,decrypt:function(e,t,n){"string"==typeof t?t=t.toUpperCase():void 0===t&&(t="RSAES-PKCS1-V1_5");var r=l.rsa.decrypt(e,p,!1,!1);if("RSAES-PKCS1-V1_5"===t)t={decode:v};else if("RSA-OAEP"===t||"RSAES-OAEP"===t)t={decode:function(e,t){return o.pkcs1.decode_rsa_oaep(t,e,n)}};else{if(-1===["RAW","NONE","NULL",null].indexOf(t))throw new Error('Unsupported encryption scheme: "'+t+'".');t={decode:function(e){return e}}}return t.decode(r,p,!1)},sign:function(e,t){var n=!1;"string"==typeof t&&(t=t.toUpperCase()),void 0===t||"RSASSA-PKCS1-V1_5"===t?(t={encode:h},n=1):"NONE"!==t&&"NULL"!==t&&null!==t||(t={encode:function(){return e}},n=1);var o=t.encode(e,p.n.bitLength());return l.rsa.encrypt(o,p,n)}};return p},l.wrapRsaPrivateKey=function(e){return a.create(a.Class.UNIVERSAL,a.Type.SEQUENCE,!0,[a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,a.integerToDer(0).getBytes()),a.create(a.Class.UNIVERSAL,a.Type.SEQUENCE,!0,[a.create(a.Class.UNIVERSAL,a.Type.OID,!1,a.oidToDer(l.oids.rsaEncryption).getBytes()),a.create(a.Class.UNIVERSAL,a.Type.NULL,!1,"")]),a.create(a.Class.UNIVERSAL,a.Type.OCTETSTRING,!1,a.toDer(e).getBytes())])},l.privateKeyFromAsn1=function(e){var t,n,i,s,c,d,g,f,h={},m=[];if(a.validate(e,p,h,m)&&(e=a.fromDer(o.util.createBuffer(h.privateKey))),h={},m=[],!a.validate(e,u,h,m)){var y=new Error("Cannot read private key. ASN.1 object does not contain an RSAPrivateKey.");throw y.errors=m,y}return t=o.util.createBuffer(h.privateKeyModulus).toHex(),n=o.util.createBuffer(h.privateKeyPublicExponent).toHex(),i=o.util.createBuffer(h.privateKeyPrivateExponent).toHex(),s=o.util.createBuffer(h.privateKeyPrime1).toHex(),c=o.util.createBuffer(h.privateKeyPrime2).toHex(),d=o.util.createBuffer(h.privateKeyExponent1).toHex(),g=o.util.createBuffer(h.privateKeyExponent2).toHex(),f=o.util.createBuffer(h.privateKeyCoefficient).toHex(),l.setRsaPrivateKey(new r(t,16),new r(n,16),new r(i,16),new r(s,16),new r(c,16),new r(d,16),new r(g,16),new r(f,16))},l.privateKeyToAsn1=l.privateKeyToRSAPrivateKey=function(e){return a.create(a.Class.UNIVERSAL,a.Type.SEQUENCE,!0,[a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,a.integerToDer(0).getBytes()),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.n)),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.e)),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.d)),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.p)),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.q)),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.dP)),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.dQ)),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.qInv))])},l.publicKeyFromAsn1=function(e){var t={},n=[];if(a.validate(e,g,t,n)){var i,s=a.derToOid(t.publicKeyOid);if(s!==l.oids.rsaEncryption)throw(i=new Error("Cannot read public key. Unknown OID.")).oid=s,i;e=t.rsaPublicKey}if(n=[],!a.validate(e,d,t,n))throw(i=new Error("Cannot read public key. ASN.1 object does not contain an RSAPublicKey.")).errors=n,i;var c=o.util.createBuffer(t.publicKeyModulus).toHex(),p=o.util.createBuffer(t.publicKeyExponent).toHex();return l.setRsaPublicKey(new r(c,16),new r(p,16))},l.publicKeyToAsn1=l.publicKeyToSubjectPublicKeyInfo=function(e){return a.create(a.Class.UNIVERSAL,a.Type.SEQUENCE,!0,[a.create(a.Class.UNIVERSAL,a.Type.SEQUENCE,!0,[a.create(a.Class.UNIVERSAL,a.Type.OID,!1,a.oidToDer(l.oids.rsaEncryption).getBytes()),a.create(a.Class.UNIVERSAL,a.Type.NULL,!1,"")]),a.create(a.Class.UNIVERSAL,a.Type.BITSTRING,!1,[l.publicKeyToRSAPublicKey(e)])])},l.publicKeyToRSAPublicKey=function(e){return a.create(a.Class.UNIVERSAL,a.Type.SEQUENCE,!0,[a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.n)),a.create(a.Class.UNIVERSAL,a.Type.INTEGER,!1,O(e.e))])}},28804:(e,t,n)=>{var o=n(83418);n(43730),n(63290);var r=e.exports=o.sha1=o.sha1||{};o.md.sha1=o.md.algorithms.sha1=r,r.create=function(){a||(i=String.fromCharCode(128),i+=o.util.fillString(String.fromCharCode(0),64),a=!0);var e=null,t=o.util.createBuffer(),n=new Array(80),r={algorithm:"sha1",blockLength:64,digestLength:20,messageLength:0,fullMessageLength:null,messageLengthSize:8,start:function(){r.messageLength=0,r.fullMessageLength=r.messageLength64=[];for(var n=r.messageLengthSize/4,i=0;i>>0,l>>>0];for(var c=r.fullMessageLength.length-1;c>=0;--c)r.fullMessageLength[c]+=l[1],l[1]=l[0]+(r.fullMessageLength[c]/4294967296>>>0),r.fullMessageLength[c]=r.fullMessageLength[c]>>>0,l[0]=l[1]/4294967296>>>0;return t.putBytes(i),s(e,n,t),(t.read>2048||0===t.length())&&t.compact(),r},r.digest=function(){var a=o.util.createBuffer();a.putBytes(t.bytes());var l,c=r.fullMessageLength[r.fullMessageLength.length-1]+r.messageLengthSize&r.blockLength-1;a.putBytes(i.substr(0,r.blockLength-c));for(var p=8*r.fullMessageLength[0],u=0;u>>0,a.putInt32(p>>>0),p=l>>>0;a.putInt32(p);var d={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3,h4:e.h4};s(d,n,a);var g=o.util.createBuffer();return g.putInt32(d.h0),g.putInt32(d.h1),g.putInt32(d.h2),g.putInt32(d.h3),g.putInt32(d.h4),g},r};var i=null,a=!1;function s(e,t,n){for(var o,r,i,a,s,l,c,p=n.length();p>=64;){for(r=e.h0,i=e.h1,a=e.h2,s=e.h3,l=e.h4,c=0;c<16;++c)o=n.getInt32(),t[c]=o,o=(r<<5|r>>>27)+(s^i&(a^s))+l+1518500249+o,l=s,s=a,a=(i<<30|i>>>2)>>>0,i=r,r=o;for(;c<20;++c)o=(o=t[c-3]^t[c-8]^t[c-14]^t[c-16])<<1|o>>>31,t[c]=o,o=(r<<5|r>>>27)+(s^i&(a^s))+l+1518500249+o,l=s,s=a,a=(i<<30|i>>>2)>>>0,i=r,r=o;for(;c<32;++c)o=(o=t[c-3]^t[c-8]^t[c-14]^t[c-16])<<1|o>>>31,t[c]=o,o=(r<<5|r>>>27)+(i^a^s)+l+1859775393+o,l=s,s=a,a=(i<<30|i>>>2)>>>0,i=r,r=o;for(;c<40;++c)o=(o=t[c-6]^t[c-16]^t[c-28]^t[c-32])<<2|o>>>30,t[c]=o,o=(r<<5|r>>>27)+(i^a^s)+l+1859775393+o,l=s,s=a,a=(i<<30|i>>>2)>>>0,i=r,r=o;for(;c<60;++c)o=(o=t[c-6]^t[c-16]^t[c-28]^t[c-32])<<2|o>>>30,t[c]=o,o=(r<<5|r>>>27)+(i&a|s&(i^a))+l+2400959708+o,l=s,s=a,a=(i<<30|i>>>2)>>>0,i=r,r=o;for(;c<80;++c)o=(o=t[c-6]^t[c-16]^t[c-28]^t[c-32])<<2|o>>>30,t[c]=o,o=(r<<5|r>>>27)+(i^a^s)+l+3395469782+o,l=s,s=a,a=(i<<30|i>>>2)>>>0,i=r,r=o;e.h0=e.h0+r|0,e.h1=e.h1+i|0,e.h2=e.h2+a|0,e.h3=e.h3+s|0,e.h4=e.h4+l|0,p-=64}}},51792:(e,t,n)=>{var o=n(83418);n(43730),n(63290);var r=e.exports=o.sha256=o.sha256||{};o.md.sha256=o.md.algorithms.sha256=r,r.create=function(){a||(i=String.fromCharCode(128),i+=o.util.fillString(String.fromCharCode(0),64),s=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=!0);var e=null,t=o.util.createBuffer(),n=new Array(64),r={algorithm:"sha256",blockLength:64,digestLength:32,messageLength:0,fullMessageLength:null,messageLengthSize:8,start:function(){r.messageLength=0,r.fullMessageLength=r.messageLength64=[];for(var n=r.messageLengthSize/4,i=0;i>>0,s>>>0];for(var c=r.fullMessageLength.length-1;c>=0;--c)r.fullMessageLength[c]+=s[1],s[1]=s[0]+(r.fullMessageLength[c]/4294967296>>>0),r.fullMessageLength[c]=r.fullMessageLength[c]>>>0,s[0]=s[1]/4294967296>>>0;return t.putBytes(i),l(e,n,t),(t.read>2048||0===t.length())&&t.compact(),r},r.digest=function(){var a=o.util.createBuffer();a.putBytes(t.bytes());var s,c=r.fullMessageLength[r.fullMessageLength.length-1]+r.messageLengthSize&r.blockLength-1;a.putBytes(i.substr(0,r.blockLength-c));for(var p=8*r.fullMessageLength[0],u=0;u>>0,a.putInt32(p>>>0),p=s>>>0;a.putInt32(p);var d={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3,h4:e.h4,h5:e.h5,h6:e.h6,h7:e.h7};l(d,n,a);var g=o.util.createBuffer();return g.putInt32(d.h0),g.putInt32(d.h1),g.putInt32(d.h2),g.putInt32(d.h3),g.putInt32(d.h4),g.putInt32(d.h5),g.putInt32(d.h6),g.putInt32(d.h7),g},r};var i=null,a=!1,s=null;function l(e,t,n){for(var o,r,i,a,l,c,p,u,d,g,f,h,m,y=n.length();y>=64;){for(l=0;l<16;++l)t[l]=n.getInt32();for(;l<64;++l)o=((o=t[l-2])>>>17|o<<15)^(o>>>19|o<<13)^o>>>10,r=((r=t[l-15])>>>7|r<<25)^(r>>>18|r<<14)^r>>>3,t[l]=o+t[l-7]+r+t[l-16]|0;for(c=e.h0,p=e.h1,u=e.h2,d=e.h3,g=e.h4,f=e.h5,h=e.h6,m=e.h7,l=0;l<64;++l)i=(c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10),a=c&p|u&(c^p),o=m+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(h^g&(f^h))+s[l]+t[l],m=h,h=f,f=g,g=d+o>>>0,d=u,u=p,p=c,c=o+(r=i+a)>>>0;e.h0=e.h0+c|0,e.h1=e.h1+p|0,e.h2=e.h2+u|0,e.h3=e.h3+d|0,e.h4=e.h4+g|0,e.h5=e.h5+f|0,e.h6=e.h6+h|0,e.h7=e.h7+m|0,y-=64}}},64301:(e,t,n)=>{var o=n(83418);n(43730),n(63290);var r=e.exports=o.sha512=o.sha512||{};o.md.sha512=o.md.algorithms.sha512=r;var i=o.sha384=o.sha512.sha384=o.sha512.sha384||{};i.create=function(){return r.create("SHA-384")},o.md.sha384=o.md.algorithms.sha384=i,o.sha512.sha256=o.sha512.sha256||{create:function(){return r.create("SHA-512/256")}},o.md["sha512/256"]=o.md.algorithms["sha512/256"]=o.sha512.sha256,o.sha512.sha224=o.sha512.sha224||{create:function(){return r.create("SHA-512/224")}},o.md["sha512/224"]=o.md.algorithms["sha512/224"]=o.sha512.sha224,r.create=function(e){if(s||(a=String.fromCharCode(128),a+=o.util.fillString(String.fromCharCode(0),128),l=[[1116352408,3609767458],[1899447441,602891725],[3049323471,3964484399],[3921009573,2173295548],[961987163,4081628472],[1508970993,3053834265],[2453635748,2937671579],[2870763221,3664609560],[3624381080,2734883394],[310598401,1164996542],[607225278,1323610764],[1426881987,3590304994],[1925078388,4068182383],[2162078206,991336113],[2614888103,633803317],[3248222580,3479774868],[3835390401,2666613458],[4022224774,944711139],[264347078,2341262773],[604807628,2007800933],[770255983,1495990901],[1249150122,1856431235],[1555081692,3175218132],[1996064986,2198950837],[2554220882,3999719339],[2821834349,766784016],[2952996808,2566594879],[3210313671,3203337956],[3336571891,1034457026],[3584528711,2466948901],[113926993,3758326383],[338241895,168717936],[666307205,1188179964],[773529912,1546045734],[1294757372,1522805485],[1396182291,2643833823],[1695183700,2343527390],[1986661051,1014477480],[2177026350,1206759142],[2456956037,344077627],[2730485921,1290863460],[2820302411,3158454273],[3259730800,3505952657],[3345764771,106217008],[3516065817,3606008344],[3600352804,1432725776],[4094571909,1467031594],[275423344,851169720],[430227734,3100823752],[506948616,1363258195],[659060556,3750685593],[883997877,3785050280],[958139571,3318307427],[1322822218,3812723403],[1537002063,2003034995],[1747873779,3602036899],[1955562222,1575990012],[2024104815,1125592928],[2227730452,2716904306],[2361852424,442776044],[2428436474,593698344],[2756734187,3733110249],[3204031479,2999351573],[3329325298,3815920427],[3391569614,3928383900],[3515267271,566280711],[3940187606,3454069534],[4118630271,4000239992],[116418474,1914138554],[174292421,2731055270],[289380356,3203993006],[460393269,320620315],[685471733,587496836],[852142971,1086792851],[1017036298,365543100],[1126000580,2618297676],[1288033470,3409855158],[1501505948,4234509866],[1607167915,987167468],[1816402316,1246189591]],(c={})["SHA-512"]=[[1779033703,4089235720],[3144134277,2227873595],[1013904242,4271175723],[2773480762,1595750129],[1359893119,2917565137],[2600822924,725511199],[528734635,4215389547],[1541459225,327033209]],c["SHA-384"]=[[3418070365,3238371032],[1654270250,914150663],[2438529370,812702999],[355462360,4144912697],[1731405415,4290775857],[2394180231,1750603025],[3675008525,1694076839],[1203062813,3204075428]],c["SHA-512/256"]=[[573645204,4230739756],[2673172387,3360449730],[596883563,1867755857],[2520282905,1497426621],[2519219938,2827943907],[3193839141,1401305490],[721525244,746961066],[246885852,2177182882]],c["SHA-512/224"]=[[2352822216,424955298],[1944164710,2312950998],[502970286,855612546],[1738396948,1479516111],[258812777,2077511080],[2011393907,79989058],[1067287976,1780299464],[286451373,2446758561]],s=!0),void 0===e&&(e="SHA-512"),!(e in c))throw new Error("Invalid SHA-512 algorithm: "+e);for(var t=c[e],n=null,r=o.util.createBuffer(),i=new Array(80),u=0;u<80;++u)i[u]=new Array(2);var d=64;switch(e){case"SHA-384":d=48;break;case"SHA-512/256":d=32;break;case"SHA-512/224":d=28}var g={algorithm:e.replace("-","").toLowerCase(),blockLength:128,digestLength:d,messageLength:0,fullMessageLength:null,messageLengthSize:16,start:function(){g.messageLength=0,g.fullMessageLength=g.messageLength128=[];for(var e=g.messageLengthSize/4,i=0;i>>0,a>>>0];for(var s=g.fullMessageLength.length-1;s>=0;--s)g.fullMessageLength[s]+=a[1],a[1]=a[0]+(g.fullMessageLength[s]/4294967296>>>0),g.fullMessageLength[s]=g.fullMessageLength[s]>>>0,a[0]=a[1]/4294967296>>>0;return r.putBytes(e),p(n,i,r),(r.read>2048||0===r.length())&&r.compact(),g},g.digest=function(){var t=o.util.createBuffer();t.putBytes(r.bytes());var s,l=g.fullMessageLength[g.fullMessageLength.length-1]+g.messageLengthSize&g.blockLength-1;t.putBytes(a.substr(0,g.blockLength-l));for(var c=8*g.fullMessageLength[0],u=0;u>>0,t.putInt32(c>>>0),c=s>>>0;t.putInt32(c);var d=new Array(n.length);for(u=0;u=128;){for(_=0;_<16;++_)t[_][0]=n.getInt32()>>>0,t[_][1]=n.getInt32()>>>0;for(;_<80;++_)o=(((C=(R=t[_-2])[0])>>>19|(I=R[1])<<13)^(I>>>29|C<<3)^C>>>6)>>>0,r=((C<<13|I>>>19)^(I<<3|C>>>29)^(C<<26|I>>>6))>>>0,i=(((C=(D=t[_-15])[0])>>>1|(I=D[1])<<31)^(C>>>8|I<<24)^C>>>7)>>>0,a=((C<<31|I>>>1)^(C<<24|I>>>8)^(C<<25|I>>>7))>>>0,N=t[_-7],L=t[_-16],I=r+N[1]+a+L[1],t[_][0]=o+N[0]+i+L[0]+(I/4294967296>>>0)>>>0,t[_][1]=I>>>0;for(f=e[0][0],h=e[0][1],m=e[1][0],y=e[1][1],v=e[2][0],b=e[2][1],O=e[3][0],w=e[3][1],P=e[4][0],x=e[4][1],S=e[5][0],T=e[5][1],A=e[6][0],E=e[6][1],j=e[7][0],k=e[7][1],_=0;_<80;++_)p=((P>>>14|x<<18)^(P>>>18|x<<14)^(x>>>9|P<<23))>>>0,u=(A^P&(S^A))>>>0,s=((f>>>28|h<<4)^(h>>>2|f<<30)^(h>>>7|f<<25))>>>0,c=((f<<4|h>>>28)^(h<<30|f>>>2)^(h<<25|f>>>7))>>>0,d=(f&m|v&(f^m))>>>0,g=(h&y|b&(h^y))>>>0,I=k+(((P<<18|x>>>14)^(P<<14|x>>>18)^(x<<23|P>>>9))>>>0)+((E^x&(T^E))>>>0)+l[_][1]+t[_][1],o=j+p+u+l[_][0]+t[_][0]+(I/4294967296>>>0)>>>0,r=I>>>0,i=s+d+((I=c+g)/4294967296>>>0)>>>0,a=I>>>0,j=A,k=E,A=S,E=T,S=P,T=x,P=O+o+((I=w+r)/4294967296>>>0)>>>0,x=I>>>0,O=v,w=b,v=m,b=y,m=f,y=h,f=o+i+((I=r+a)/4294967296>>>0)>>>0,h=I>>>0;I=e[0][1]+h,e[0][0]=e[0][0]+f+(I/4294967296>>>0)>>>0,e[0][1]=I>>>0,I=e[1][1]+y,e[1][0]=e[1][0]+m+(I/4294967296>>>0)>>>0,e[1][1]=I>>>0,I=e[2][1]+b,e[2][0]=e[2][0]+v+(I/4294967296>>>0)>>>0,e[2][1]=I>>>0,I=e[3][1]+w,e[3][0]=e[3][0]+O+(I/4294967296>>>0)>>>0,e[3][1]=I>>>0,I=e[4][1]+x,e[4][0]=e[4][0]+P+(I/4294967296>>>0)>>>0,e[4][1]=I>>>0,I=e[5][1]+T,e[5][0]=e[5][0]+S+(I/4294967296>>>0)>>>0,e[5][1]=I>>>0,I=e[6][1]+E,e[6][0]=e[6][0]+A+(I/4294967296>>>0)>>>0,e[6][1]=I>>>0,I=e[7][1]+k,e[7][0]=e[7][0]+j+(I/4294967296>>>0)>>>0,e[7][1]=I>>>0,B-=128}}},588:(e,t,n)=>{var o=n(83418);n(43882),n(85469),n(30960),n(28804),n(63290);var r=e.exports=o.ssh=o.ssh||{};function i(e,t){var n=t.toString(16);n[0]>="8"&&(n="00"+n);var r=o.util.hexToBytes(n);e.putInt32(r.length),e.putBytes(r)}function a(e,t){e.putInt32(t.length),e.putString(t)}function s(){for(var e=o.md.sha1.create(),t=arguments.length,n=0;n{var o=n(83418);n(10001),n(85469),n(30960),n(30115),n(63969),n(59018),n(28804),n(63290);var r=function(e,t,n,r){var i=o.util.createBuffer(),a=e.length>>1,s=a+(1&e.length),l=e.substr(0,s),c=e.substr(a,s),p=o.util.createBuffer(),u=o.hmac.create();n=t+n;var d=Math.ceil(r/16),g=Math.ceil(r/20);u.start("MD5",l);var f=o.util.createBuffer();p.putBytes(n);for(var h=0;h0&&(c.queue(e,c.createAlert(e,{level:c.Alert.Level.warning,description:c.Alert.Description.no_renegotiation})),c.flush(e)),e.process()},c.parseHelloMessage=function(e,t,n){var r=null,i=e.entity===c.ConnectionEnd.client;if(n<38)e.error(e,{message:i?"Invalid ServerHello message. Message too short.":"Invalid ClientHello message. Message too short.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.illegal_parameter}});else{var a=t.fragment,l=a.length();if(r={version:{major:a.getByte(),minor:a.getByte()},random:o.util.createBuffer(a.getBytes(32)),session_id:s(a,1),extensions:[]},i?(r.cipher_suite=a.getBytes(2),r.compression_method=a.getByte()):(r.cipher_suites=s(a,2),r.compression_methods=s(a,1)),(l=n-(l-a.length()))>0){for(var p=s(a,2);p.length()>0;)r.extensions.push({type:[p.getByte(),p.getByte()],data:s(p,2)});if(!i)for(var u=0;u0&&0===g.getByte();)e.session.extensions.server_name.serverNameList.push(s(g,2).getBytes())}}if(e.session.version&&(r.version.major!==e.session.version.major||r.version.minor!==e.session.version.minor))return e.error(e,{message:"TLS version change is disallowed during renegotiation.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.protocol_version}});if(i)e.session.cipherSuite=c.getCipherSuite(r.cipher_suite);else for(var f=o.util.createBuffer(r.cipher_suites.bytes());f.length()>0&&(e.session.cipherSuite=c.getCipherSuite(f.getBytes(2)),null===e.session.cipherSuite););if(null===e.session.cipherSuite)return e.error(e,{message:"No cipher suites in common.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.handshake_failure},cipherSuite:o.util.bytesToHex(r.cipher_suite)});e.session.compressionMethod=i?r.compression_method:c.CompressionMethod.none}return r},c.createSecurityParameters=function(e,t){var n=e.entity===c.ConnectionEnd.client,o=t.random.bytes(),r=n?e.session.sp.client_random:o,i=n?o:c.createRandom().getBytes();e.session.sp={entity:e.entity,prf_algorithm:c.PRFAlgorithm.tls_prf_sha256,bulk_cipher_algorithm:null,cipher_type:null,enc_key_length:null,block_length:null,fixed_iv_length:null,record_iv_length:null,mac_algorithm:null,mac_length:null,mac_key_length:null,compression_algorithm:e.session.compressionMethod,pre_master_secret:null,master_secret:null,client_random:r,server_random:i}},c.handleServerHello=function(e,t,n){var o=c.parseHelloMessage(e,t,n);if(!e.fail){if(!(o.version.minor<=e.version.minor))return e.error(e,{message:"Incompatible TLS version.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.protocol_version}});e.version.minor=o.version.minor,e.session.version=e.version;var r=o.session_id.bytes();r.length>0&&r===e.session.id?(e.expect=f,e.session.resuming=!0,e.session.sp.server_random=o.random.bytes()):(e.expect=p,e.session.resuming=!1,c.createSecurityParameters(e,o)),e.session.id=r,e.process()}},c.handleClientHello=function(e,t,n){var r=c.parseHelloMessage(e,t,n);if(!e.fail){var i=r.session_id.bytes(),a=null;if(e.sessionCache&&(null===(a=e.sessionCache.getSession(i))?i="":(a.version.major!==r.version.major||a.version.minor>r.version.minor)&&(a=null,i="")),0===i.length&&(i=o.random.getBytes(32)),e.session.id=i,e.session.clientHelloVersion=r.version,e.session.sp={},a)e.version=e.session.version=a.version,e.session.sp=a.sp;else{for(var s,l=1;l0;)r=s(l.certificate_list,3),i=o.asn1.fromDer(r),r=o.pki.certificateFromAsn1(i,!0),p.push(r)}catch(t){return e.error(e,{message:"Could not parse certificate list.",cause:t,send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.bad_certificate}})}var d=e.entity===c.ConnectionEnd.client;!d&&!0!==e.verifyClient||0!==p.length?0===p.length?e.expect=d?u:b:(d?e.session.serverCertificate=p[0]:e.session.clientCertificate=p[0],c.verifyCertificateChain(e,p)&&(e.expect=d?u:b)):e.error(e,{message:d?"No server certificate provided.":"No client certificate provided.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.illegal_parameter}}),e.process()},c.handleServerKeyExchange=function(e,t,n){if(n>0)return e.error(e,{message:"Invalid key parameters. Only RSA is supported.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.unsupported_certificate}});e.expect=d,e.process()},c.handleClientKeyExchange=function(e,t,n){if(n<48)return e.error(e,{message:"Invalid key parameters. Only RSA is supported.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.unsupported_certificate}});var r=t.fragment,i={enc_pre_master_secret:s(r,2).getBytes()},a=null;if(e.getPrivateKey)try{a=e.getPrivateKey(e,e.session.serverCertificate),a=o.pki.privateKeyFromPem(a)}catch(t){e.error(e,{message:"Could not get private key.",cause:t,send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.internal_error}})}if(null===a)return e.error(e,{message:"No private key set.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.internal_error}});try{var l=e.session.sp;l.pre_master_secret=a.decrypt(i.enc_pre_master_secret);var p=e.session.clientHelloVersion;if(p.major!==l.pre_master_secret.charCodeAt(0)||p.minor!==l.pre_master_secret.charCodeAt(1))throw new Error("TLS version rollback attack detected.")}catch(e){l.pre_master_secret=o.random.getBytes(48)}e.expect=w,null!==e.session.clientCertificate&&(e.expect=O),e.process()},c.handleCertificateRequest=function(e,t,n){if(n<3)return e.error(e,{message:"Invalid CertificateRequest. Message too short.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.illegal_parameter}});var o=t.fragment,r={certificate_types:s(o,1),certificate_authorities:s(o,2)};e.session.certificateRequest=r,e.expect=g,e.process()},c.handleCertificateVerify=function(e,t,n){if(n<2)return e.error(e,{message:"Invalid CertificateVerify. Message too short.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.illegal_parameter}});var r=t.fragment;r.read-=4;var i=r.bytes();r.read+=4;var a={signature:s(r,2).getBytes()},l=o.util.createBuffer();l.putBuffer(e.session.md5.digest()),l.putBuffer(e.session.sha1.digest()),l=l.getBytes();try{if(!e.session.clientCertificate.publicKey.verify(l,a.signature,"NONE"))throw new Error("CertificateVerify signature does not match.");e.session.md5.update(i),e.session.sha1.update(i)}catch(t){return e.error(e,{message:"Bad signature in CertificateVerify.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.handshake_failure}})}e.expect=w,e.process()},c.handleServerHelloDone=function(e,t,n){if(n>0)return e.error(e,{message:"Invalid ServerHelloDone message. Invalid length.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.record_overflow}});if(null===e.serverCertificate){var r={message:"No server certificate provided. Not enough security.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.insufficient_security}},i=e.verify(e,r.alert.description,0,[]);if(!0!==i)return(i||0===i)&&("object"!=typeof i||o.util.isArray(i)?"number"==typeof i&&(r.alert.description=i):(i.message&&(r.message=i.message),i.alert&&(r.alert.description=i.alert))),e.error(e,r)}null!==e.session.certificateRequest&&(t=c.createRecord(e,{type:c.ContentType.handshake,data:c.createCertificate(e)}),c.queue(e,t)),t=c.createRecord(e,{type:c.ContentType.handshake,data:c.createClientKeyExchange(e)}),c.queue(e,t),e.expect=y;var a=function(e,t){null!==e.session.certificateRequest&&null!==e.session.clientCertificate&&c.queue(e,c.createRecord(e,{type:c.ContentType.handshake,data:c.createCertificateVerify(e,t)})),c.queue(e,c.createRecord(e,{type:c.ContentType.change_cipher_spec,data:c.createChangeCipherSpec()})),e.state.pending=c.createConnectionState(e),e.state.current.write=e.state.pending.write,c.queue(e,c.createRecord(e,{type:c.ContentType.handshake,data:c.createFinished(e)})),e.expect=f,c.flush(e),e.process()};if(null===e.session.certificateRequest||null===e.session.clientCertificate)return a(e,null);c.getClientSignature(e,a)},c.handleChangeCipherSpec=function(e,t){if(1!==t.fragment.getByte())return e.error(e,{message:"Invalid ChangeCipherSpec message received.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.illegal_parameter}});var n=e.entity===c.ConnectionEnd.client;(e.session.resuming&&n||!e.session.resuming&&!n)&&(e.state.pending=c.createConnectionState(e)),e.state.current.read=e.state.pending.read,(!e.session.resuming&&n||e.session.resuming&&!n)&&(e.state.pending=null),e.expect=n?h:P,e.process()},c.handleFinished=function(e,t,n){var i=t.fragment;i.read-=4;var a=i.bytes();i.read+=4;var s=t.fragment.getBytes();(i=o.util.createBuffer()).putBuffer(e.session.md5.digest()),i.putBuffer(e.session.sha1.digest());var l=e.entity===c.ConnectionEnd.client,p=l?"server finished":"client finished",u=e.session.sp;if((i=r(u.master_secret,p,i.getBytes(),12)).getBytes()!==s)return e.error(e,{message:"Invalid verify_data in Finished message.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.decrypt_error}});e.session.md5.update(a),e.session.sha1.update(a),(e.session.resuming&&l||!e.session.resuming&&!l)&&(c.queue(e,c.createRecord(e,{type:c.ContentType.change_cipher_spec,data:c.createChangeCipherSpec()})),e.state.current.write=e.state.pending.write,e.state.pending=null,c.queue(e,c.createRecord(e,{type:c.ContentType.handshake,data:c.createFinished(e)}))),e.expect=l?m:x,e.handshaking=!1,++e.handshakes,e.peerCertificate=l?e.session.serverCertificate:e.session.clientCertificate,c.flush(e),e.isConnected=!0,e.connected(e),e.process()},c.handleAlert=function(e,t){var n,o=t.fragment,r={level:o.getByte(),description:o.getByte()};switch(r.description){case c.Alert.Description.close_notify:n="Connection closed.";break;case c.Alert.Description.unexpected_message:n="Unexpected message.";break;case c.Alert.Description.bad_record_mac:n="Bad record MAC.";break;case c.Alert.Description.decryption_failed:n="Decryption failed.";break;case c.Alert.Description.record_overflow:n="Record overflow.";break;case c.Alert.Description.decompression_failure:n="Decompression failed.";break;case c.Alert.Description.handshake_failure:n="Handshake failure.";break;case c.Alert.Description.bad_certificate:n="Bad certificate.";break;case c.Alert.Description.unsupported_certificate:n="Unsupported certificate.";break;case c.Alert.Description.certificate_revoked:n="Certificate revoked.";break;case c.Alert.Description.certificate_expired:n="Certificate expired.";break;case c.Alert.Description.certificate_unknown:n="Certificate unknown.";break;case c.Alert.Description.illegal_parameter:n="Illegal parameter.";break;case c.Alert.Description.unknown_ca:n="Unknown certificate authority.";break;case c.Alert.Description.access_denied:n="Access denied.";break;case c.Alert.Description.decode_error:n="Decode error.";break;case c.Alert.Description.decrypt_error:n="Decrypt error.";break;case c.Alert.Description.export_restriction:n="Export restriction.";break;case c.Alert.Description.protocol_version:n="Unsupported protocol version.";break;case c.Alert.Description.insufficient_security:n="Insufficient security.";break;case c.Alert.Description.internal_error:n="Internal error.";break;case c.Alert.Description.user_canceled:n="User canceled.";break;case c.Alert.Description.no_renegotiation:n="Renegotiation not supported.";break;default:n="Unknown error."}if(r.description===c.Alert.Description.close_notify)return e.close();e.error(e,{message:n,send:!1,origin:e.entity===c.ConnectionEnd.client?"server":"client",alert:r}),e.process()},c.handleHandshake=function(e,t){var n=t.fragment,r=n.getByte(),i=n.getInt24();if(i>n.length())return e.fragmented=t,t.fragment=o.util.createBuffer(),n.read-=4,e.process();e.fragmented=null,n.read-=4;var a=n.bytes(i+4);n.read+=4,r in M[e.entity][e.expect]?(e.entity!==c.ConnectionEnd.server||e.open||e.fail||(e.handshaking=!0,e.session={version:null,extensions:{server_name:{serverNameList:[]}},cipherSuite:null,compressionMethod:null,serverCertificate:null,clientCertificate:null,md5:o.md.md5.create(),sha1:o.md.sha1.create()}),r!==c.HandshakeType.hello_request&&r!==c.HandshakeType.certificate_verify&&r!==c.HandshakeType.finished&&(e.session.md5.update(a),e.session.sha1.update(a)),M[e.entity][e.expect][r](e,t,i)):c.handleUnexpected(e,t)},c.handleApplicationData=function(e,t){e.data.putBuffer(t.fragment),e.dataReady(e),e.process()},c.handleHeartbeat=function(e,t){var n=t.fragment,r=n.getByte(),i=n.getInt16(),a=n.getBytes(i);if(r===c.HeartbeatMessageType.heartbeat_request){if(e.handshaking||i>a.length)return e.process();c.queue(e,c.createRecord(e,{type:c.ContentType.heartbeat,data:c.createHeartbeat(c.HeartbeatMessageType.heartbeat_response,a)})),c.flush(e)}else if(r===c.HeartbeatMessageType.heartbeat_response){if(a!==e.expectedHeartbeatPayload)return e.process();e.heartbeatReceived&&e.heartbeatReceived(e,o.util.createBuffer(a))}e.process()};var p=1,u=2,d=3,g=4,f=5,h=6,m=7,y=8,v=1,b=2,O=3,w=4,P=5,x=6,S=c.handleUnexpected,T=c.handleChangeCipherSpec,A=c.handleAlert,E=c.handleHandshake,j=c.handleApplicationData,k=c.handleHeartbeat,_=[];_[c.ConnectionEnd.client]=[[S,A,E,S,k],[S,A,E,S,k],[S,A,E,S,k],[S,A,E,S,k],[S,A,E,S,k],[T,A,S,S,k],[S,A,E,S,k],[S,A,E,j,k],[S,A,E,S,k]],_[c.ConnectionEnd.server]=[[S,A,E,S,k],[S,A,E,S,k],[S,A,E,S,k],[S,A,E,S,k],[T,A,S,S,k],[S,A,E,S,k],[S,A,E,j,k],[S,A,E,S,k]];var C=c.handleHelloRequest,I=c.handleServerHello,R=c.handleCertificate,N=c.handleServerKeyExchange,D=c.handleCertificateRequest,L=c.handleServerHelloDone,B=c.handleFinished,M=[];M[c.ConnectionEnd.client]=[[S,S,I,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S],[C,S,S,S,S,S,S,S,S,S,S,R,N,D,L,S,S,S,S,S,S],[C,S,S,S,S,S,S,S,S,S,S,S,N,D,L,S,S,S,S,S,S],[C,S,S,S,S,S,S,S,S,S,S,S,S,D,L,S,S,S,S,S,S],[C,S,S,S,S,S,S,S,S,S,S,S,S,S,L,S,S,S,S,S,S],[C,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S],[C,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,B],[C,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S],[C,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S]];var F=c.handleClientHello,U=c.handleClientKeyExchange,q=c.handleCertificateVerify;M[c.ConnectionEnd.server]=[[S,F,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S],[S,S,S,S,S,S,S,S,S,S,S,R,S,S,S,S,S,S,S,S,S],[S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,U,S,S,S,S],[S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,q,S,S,S,S,S],[S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S],[S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,B],[S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S],[S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S,S]],c.generateKeys=function(e,t){var n=r,o=t.client_random+t.server_random;e.session.resuming||(t.master_secret=n(t.pre_master_secret,"master secret",o,48).bytes(),t.pre_master_secret=null),o=t.server_random+t.client_random;var i=2*t.mac_key_length+2*t.enc_key_length,a=e.version.major===c.Versions.TLS_1_0.major&&e.version.minor===c.Versions.TLS_1_0.minor;a&&(i+=2*t.fixed_iv_length);var s=n(t.master_secret,"key expansion",o,i),l={client_write_MAC_key:s.getBytes(t.mac_key_length),server_write_MAC_key:s.getBytes(t.mac_key_length),client_write_key:s.getBytes(t.enc_key_length),server_write_key:s.getBytes(t.enc_key_length)};return a&&(l.client_write_IV=s.getBytes(t.fixed_iv_length),l.server_write_IV=s.getBytes(t.fixed_iv_length)),l},c.createConnectionState=function(e){var t=e.entity===c.ConnectionEnd.client,n=function(){var e={sequenceNumber:[0,0],macKey:null,macLength:0,macFunction:null,cipherState:null,cipherFunction:function(e){return!0},compressionState:null,compressFunction:function(e){return!0},updateSequenceNumber:function(){4294967295===e.sequenceNumber[1]?(e.sequenceNumber[1]=0,++e.sequenceNumber[0]):++e.sequenceNumber[1]}};return e},o={read:n(),write:n()};if(o.read.update=function(e,t){return o.read.cipherFunction(t,o.read)?o.read.compressFunction(e,t,o.read)||e.error(e,{message:"Could not decompress record.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.decompression_failure}}):e.error(e,{message:"Could not decrypt record or bad MAC.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.bad_record_mac}}),!e.fail},o.write.update=function(e,t){return o.write.compressFunction(e,t,o.write)?o.write.cipherFunction(t,o.write)||e.error(e,{message:"Could not encrypt record.",send:!1,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.internal_error}}):e.error(e,{message:"Could not compress record.",send:!1,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.internal_error}}),!e.fail},e.session){var r=e.session.sp;switch(e.session.cipherSuite.initSecurityParameters(r),r.keys=c.generateKeys(e,r),o.read.macKey=t?r.keys.server_write_MAC_key:r.keys.client_write_MAC_key,o.write.macKey=t?r.keys.client_write_MAC_key:r.keys.server_write_MAC_key,e.session.cipherSuite.initConnectionState(o,e,r),r.compression_algorithm){case c.CompressionMethod.none:break;case c.CompressionMethod.deflate:o.read.compressFunction=a,o.write.compressFunction=i;break;default:throw new Error("Unsupported compression algorithm.")}}return o},c.createRandom=function(){var e=new Date,t=+e+6e4*e.getTimezoneOffset(),n=o.util.createBuffer();return n.putInt32(t),n.putBytes(o.random.getBytes(28)),n},c.createRecord=function(e,t){return t.data?{type:t.type,version:{major:e.version.major,minor:e.version.minor},length:t.data.length(),fragment:t.data}:null},c.createAlert=function(e,t){var n=o.util.createBuffer();return n.putByte(t.level),n.putByte(t.description),c.createRecord(e,{type:c.ContentType.alert,data:n})},c.createClientHello=function(e){e.session.clientHelloVersion={major:e.version.major,minor:e.version.minor};for(var t=o.util.createBuffer(),n=0;n0&&(f+=2);var h=e.session.id,m=h.length+1+2+4+28+2+i+1+s+f,y=o.util.createBuffer();return y.putByte(c.HandshakeType.client_hello),y.putInt24(m),y.putByte(e.version.major),y.putByte(e.version.minor),y.putBytes(e.session.sp.client_random),l(y,1,o.util.createBuffer(h)),l(y,2,t),l(y,1,a),f>0&&l(y,2,p),y},c.createServerHello=function(e){var t=e.session.id,n=t.length+1+2+4+28+2+1,r=o.util.createBuffer();return r.putByte(c.HandshakeType.server_hello),r.putInt24(n),r.putByte(e.version.major),r.putByte(e.version.minor),r.putBytes(e.session.sp.server_random),l(r,1,o.util.createBuffer(t)),r.putByte(e.session.cipherSuite.id[0]),r.putByte(e.session.cipherSuite.id[1]),r.putByte(e.session.compressionMethod),r},c.createCertificate=function(e){var t,n=e.entity===c.ConnectionEnd.client,r=null;e.getCertificate&&(t=n?e.session.certificateRequest:e.session.extensions.server_name.serverNameList,r=e.getCertificate(e,t));var i=o.util.createBuffer();if(null!==r)try{o.util.isArray(r)||(r=[r]);for(var a=null,s=0;sc.MaxFragment;)r.push(c.createRecord(e,{type:t.type,data:o.util.createBuffer(i.slice(0,c.MaxFragment))})),i=i.slice(c.MaxFragment);i.length>0&&r.push(c.createRecord(e,{type:t.type,data:o.util.createBuffer(i)}))}for(var a=0;a0&&(r=n.order[0]),null!==r&&r in n.cache)for(var i in t=n.cache[r],delete n.cache[r],n.order)if(n.order[i]===r){n.order.splice(i,1);break}return t},n.setSession=function(e,t){if(n.order.length===n.capacity){var r=n.order.shift();delete n.cache[r]}r=o.util.bytesToHex(e),n.order.push(r),n.cache[r]=t}}return n},c.createConnection=function(e){var t;t=e.caStore?o.util.isArray(e.caStore)?o.pki.createCaStore(e.caStore):e.caStore:o.pki.createCaStore();var n=e.cipherSuites||null;if(null===n)for(var r in n=[],c.CipherSuites)n.push(c.CipherSuites[r]);var i=e.server?c.ConnectionEnd.server:c.ConnectionEnd.client,a=e.sessionCache?c.createSessionCache(e.sessionCache):null,s={version:{major:c.Version.major,minor:c.Version.minor},entity:i,sessionId:e.sessionId,caStore:t,sessionCache:a,cipherSuites:n,connected:e.connected,virtualHost:e.virtualHost||null,verifyClient:e.verifyClient||!1,verify:e.verify||function(e,t,n,o){return t},verifyOptions:e.verifyOptions||{},getCertificate:e.getCertificate||null,getPrivateKey:e.getPrivateKey||null,getSignature:e.getSignature||null,input:o.util.createBuffer(),tlsData:o.util.createBuffer(),data:o.util.createBuffer(),tlsDataReady:e.tlsDataReady,dataReady:e.dataReady,heartbeatReceived:e.heartbeatReceived,closed:e.closed,error:function(t,n){n.origin=n.origin||(t.entity===c.ConnectionEnd.client?"client":"server"),n.send&&(c.queue(t,c.createAlert(t,n.alert)),c.flush(t));var o=!1!==n.fatal;o&&(t.fail=!0),e.error(t,n),o&&t.close(!1)},deflate:e.deflate||null,inflate:e.inflate||null,reset:function(e){s.version={major:c.Version.major,minor:c.Version.minor},s.record=null,s.session=null,s.peerCertificate=null,s.state={pending:null,current:null},s.expect=(s.entity,c.ConnectionEnd.client,0),s.fragmented=null,s.records=[],s.open=!1,s.handshakes=0,s.handshaking=!1,s.isConnected=!1,s.fail=!(e||void 0===e),s.input.clear(),s.tlsData.clear(),s.data.clear(),s.state.current=c.createConnectionState(s)}};return s.reset(),s.handshake=function(e){if(s.entity!==c.ConnectionEnd.client)s.error(s,{message:"Cannot initiate handshake as a server.",fatal:!1});else if(s.handshaking)s.error(s,{message:"Handshake already in progress.",fatal:!1});else{s.fail&&!s.open&&0===s.handshakes&&(s.fail=!1),s.handshaking=!0;var t=null;(e=e||"").length>0&&(s.sessionCache&&(t=s.sessionCache.getSession(e)),null===t&&(e="")),0===e.length&&s.sessionCache&&null!==(t=s.sessionCache.getSession())&&(e=t.id),s.session={id:e,version:null,cipherSuite:null,compressionMethod:null,serverCertificate:null,certificateRequest:null,clientCertificate:null,sp:{},md5:o.md.md5.create(),sha1:o.md.sha1.create()},t&&(s.version=t.version,s.session.sp=t.sp),s.session.sp.client_random=c.createRandom().getBytes(),s.open=!0,c.queue(s,c.createRecord(s,{type:c.ContentType.handshake,data:c.createClientHello(s)})),c.flush(s)}},s.process=function(e){var t=0;return e&&s.input.putBytes(e),s.fail||(null!==s.record&&s.record.ready&&s.record.fragment.isEmpty()&&(s.record=null),null===s.record&&(t=function(e){var t=0,n=e.input,r=n.length();if(r<5)t=5-r;else{e.record={type:n.getByte(),version:{major:n.getByte(),minor:n.getByte()},length:n.getInt16(),fragment:o.util.createBuffer(),ready:!1};var i=e.record.version.major===e.version.major;i&&e.session&&e.session.version&&(i=e.record.version.minor===e.version.minor),i||e.error(e,{message:"Incompatible TLS version.",send:!0,alert:{level:c.Alert.Level.fatal,description:c.Alert.Description.protocol_version}})}return t}(s)),s.fail||null===s.record||s.record.ready||(t=function(e){var t=0,n=e.input,o=n.length();return o{var o=n(83418),r=n(40976),i=e.exports=o.util=o.util||{};function a(e){if(8!==e&&16!==e&&24!==e&&32!==e)throw new Error("Only 8, 16, 24, or 32 bits supported: "+e)}function s(e){if(this.data="",this.read=0,"string"==typeof e)this.data=e;else if(i.isArrayBuffer(e)||i.isArrayBufferView(e))if("undefined"!=typeof Buffer&&e instanceof Buffer)this.data=e.toString("binary");else{var t=new Uint8Array(e);try{this.data=String.fromCharCode.apply(null,t)}catch(e){for(var n=0;n15?(n=Date.now(),a(e)):(t.push(e),1===t.length&&r.setAttribute("a",o=!o))}}i.nextTick=i.setImmediate}(),i.isNodejs="undefined"!=typeof process&&process.versions&&process.versions.node,i.globalScope=i.isNodejs?global:"undefined"==typeof self?window:self,i.isArray=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},i.isArrayBuffer=function(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer},i.isArrayBufferView=function(e){return e&&i.isArrayBuffer(e.buffer)&&void 0!==e.byteLength},i.ByteBuffer=s,i.ByteStringBuffer=s,i.ByteStringBuffer.prototype._optimizeConstructedString=function(e){this._constructedStringLength+=e,this._constructedStringLength>4096&&(this.data.substr(0,1),this._constructedStringLength=0)},i.ByteStringBuffer.prototype.length=function(){return this.data.length-this.read},i.ByteStringBuffer.prototype.isEmpty=function(){return this.length()<=0},i.ByteStringBuffer.prototype.putByte=function(e){return this.putBytes(String.fromCharCode(e))},i.ByteStringBuffer.prototype.fillWithByte=function(e,t){e=String.fromCharCode(e);for(var n=this.data;t>0;)1&t&&(n+=e),(t>>>=1)>0&&(e+=e);return this.data=n,this._optimizeConstructedString(t),this},i.ByteStringBuffer.prototype.putBytes=function(e){return this.data+=e,this._optimizeConstructedString(e.length),this},i.ByteStringBuffer.prototype.putString=function(e){return this.putBytes(i.encodeUtf8(e))},i.ByteStringBuffer.prototype.putInt16=function(e){return this.putBytes(String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},i.ByteStringBuffer.prototype.putInt24=function(e){return this.putBytes(String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},i.ByteStringBuffer.prototype.putInt32=function(e){return this.putBytes(String.fromCharCode(e>>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},i.ByteStringBuffer.prototype.putInt16Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255))},i.ByteStringBuffer.prototype.putInt24Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255)+String.fromCharCode(e>>16&255))},i.ByteStringBuffer.prototype.putInt32Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>24&255))},i.ByteStringBuffer.prototype.putInt=function(e,t){a(t);var n="";do{t-=8,n+=String.fromCharCode(e>>t&255)}while(t>0);return this.putBytes(n)},i.ByteStringBuffer.prototype.putSignedInt=function(e,t){return e<0&&(e+=2<0);return t},i.ByteStringBuffer.prototype.getSignedInt=function(e){var t=this.getInt(e),n=2<=n&&(t-=n<<1),t},i.ByteStringBuffer.prototype.getBytes=function(e){var t;return e?(e=Math.min(this.length(),e),t=this.data.slice(this.read,this.read+e),this.read+=e):0===e?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t},i.ByteStringBuffer.prototype.bytes=function(e){return void 0===e?this.data.slice(this.read):this.data.slice(this.read,this.read+e)},i.ByteStringBuffer.prototype.at=function(e){return this.data.charCodeAt(this.read+e)},i.ByteStringBuffer.prototype.setAt=function(e,t){return this.data=this.data.substr(0,this.read+e)+String.fromCharCode(t)+this.data.substr(this.read+e+1),this},i.ByteStringBuffer.prototype.last=function(){return this.data.charCodeAt(this.data.length-1)},i.ByteStringBuffer.prototype.copy=function(){var e=i.createBuffer(this.data);return e.read=this.read,e},i.ByteStringBuffer.prototype.compact=function(){return this.read>0&&(this.data=this.data.slice(this.read),this.read=0),this},i.ByteStringBuffer.prototype.clear=function(){return this.data="",this.read=0,this},i.ByteStringBuffer.prototype.truncate=function(e){var t=Math.max(0,this.length()-e);return this.data=this.data.substr(this.read,t),this.read=0,this},i.ByteStringBuffer.prototype.toHex=function(){for(var e="",t=this.read;t=e)return this;t=Math.max(t||this.growSize,e);var n=new Uint8Array(this.data.buffer,this.data.byteOffset,this.data.byteLength),o=new Uint8Array(this.length()+t);return o.set(n),this.data=new DataView(o.buffer),this},i.DataBuffer.prototype.putByte=function(e){return this.accommodate(1),this.data.setUint8(this.write++,e),this},i.DataBuffer.prototype.fillWithByte=function(e,t){this.accommodate(t);for(var n=0;n>8&65535),this.data.setInt8(this.write,e>>16&255),this.write+=3,this},i.DataBuffer.prototype.putInt32=function(e){return this.accommodate(4),this.data.setInt32(this.write,e),this.write+=4,this},i.DataBuffer.prototype.putInt16Le=function(e){return this.accommodate(2),this.data.setInt16(this.write,e,!0),this.write+=2,this},i.DataBuffer.prototype.putInt24Le=function(e){return this.accommodate(3),this.data.setInt8(this.write,e>>16&255),this.data.setInt16(this.write,e>>8&65535,!0),this.write+=3,this},i.DataBuffer.prototype.putInt32Le=function(e){return this.accommodate(4),this.data.setInt32(this.write,e,!0),this.write+=4,this},i.DataBuffer.prototype.putInt=function(e,t){a(t),this.accommodate(t/8);do{t-=8,this.data.setInt8(this.write++,e>>t&255)}while(t>0);return this},i.DataBuffer.prototype.putSignedInt=function(e,t){return a(t),this.accommodate(t/8),e<0&&(e+=2<0);return t},i.DataBuffer.prototype.getSignedInt=function(e){var t=this.getInt(e),n=2<=n&&(t-=n<<1),t},i.DataBuffer.prototype.getBytes=function(e){var t;return e?(e=Math.min(this.length(),e),t=this.data.slice(this.read,this.read+e),this.read+=e):0===e?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t},i.DataBuffer.prototype.bytes=function(e){return void 0===e?this.data.slice(this.read):this.data.slice(this.read,this.read+e)},i.DataBuffer.prototype.at=function(e){return this.data.getUint8(this.read+e)},i.DataBuffer.prototype.setAt=function(e,t){return this.data.setUint8(e,t),this},i.DataBuffer.prototype.last=function(){return this.data.getUint8(this.write-1)},i.DataBuffer.prototype.copy=function(){return new i.DataBuffer(this)},i.DataBuffer.prototype.compact=function(){if(this.read>0){var e=new Uint8Array(this.data.buffer,this.read),t=new Uint8Array(e.byteLength);t.set(e),this.data=new DataView(t),this.write-=this.read,this.read=0}return this},i.DataBuffer.prototype.clear=function(){return this.data=new DataView(new ArrayBuffer(0)),this.read=this.write=0,this},i.DataBuffer.prototype.truncate=function(e){return this.write=Math.max(0,this.length()-e),this.read=Math.min(this.read,this.write),this},i.DataBuffer.prototype.toHex=function(){for(var e="",t=this.read;t0;)1&t&&(n+=e),(t>>>=1)>0&&(e+=e);return n},i.xorBytes=function(e,t,n){for(var o="",r="",i="",a=0,s=0;n>0;--n,++a)r=e.charCodeAt(a)^t.charCodeAt(a),s>=10&&(o+=i,i="",s=0),i+=String.fromCharCode(r),++s;return o+i},i.hexToBytes=function(e){var t="",n=0;for(!0&e.length&&(n=1,t+=String.fromCharCode(parseInt(e[0],16)));n>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e)};var l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=[62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],p="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";i.encode64=function(e,t){for(var n,o,r,i="",a="",s=0;s>2),i+=l.charAt((3&n)<<4|o>>4),isNaN(o)?i+="==":(i+=l.charAt((15&o)<<2|r>>6),i+=isNaN(r)?"=":l.charAt(63&r)),t&&i.length>t&&(a+=i.substr(0,t)+"\r\n",i=i.substr(t));return a+i},i.decode64=function(e){e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var t,n,o,r,i="",a=0;a>4),64!==o&&(i+=String.fromCharCode((15&n)<<4|o>>2),64!==r&&(i+=String.fromCharCode((3&o)<<6|r)));return i},i.encodeUtf8=function(e){return unescape(encodeURIComponent(e))},i.decodeUtf8=function(e){return decodeURIComponent(escape(e))},i.binary={raw:{},hex:{},base64:{},base58:{},baseN:{encode:r.encode,decode:r.decode}},i.binary.raw.encode=function(e){return String.fromCharCode.apply(null,e)},i.binary.raw.decode=function(e,t,n){var o=t;o||(o=new Uint8Array(e.length));for(var r=n=n||0,i=0;i>2),i+=l.charAt((3&n)<<4|o>>4),isNaN(o)?i+="==":(i+=l.charAt((15&o)<<2|r>>6),i+=isNaN(r)?"=":l.charAt(63&r)),t&&i.length>t&&(a+=i.substr(0,t)+"\r\n",i=i.substr(t));return a+i},i.binary.base64.decode=function(e,t,n){var o,r,i,a,s=t;s||(s=new Uint8Array(3*Math.ceil(e.length/4))),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var l=0,p=n=n||0;l>4,64!==i&&(s[p++]=(15&r)<<4|i>>2,64!==a&&(s[p++]=(3&i)<<6|a));return t?p-n:s.subarray(0,p)},i.binary.base58.encode=function(e,t){return i.binary.baseN.encode(e,p,t)},i.binary.base58.decode=function(e,t){return i.binary.baseN.decode(e,p,t)},i.text={utf8:{},utf16:{}},i.text.utf8.encode=function(e,t,n){e=i.encodeUtf8(e);var o=t;o||(o=new Uint8Array(e.length));for(var r=n=n||0,a=0;a0&&i.push(n),a=o.lastIndex;var s=t[0][1];switch(s){case"s":case"o":r");break;case"%":i.push("%");break;default:i.push("<%"+s+"?>")}}return i.push(e.substring(a)),i.join("")},i.formatNumber=function(e,t,n,o){var r=e,i=isNaN(t=Math.abs(t))?2:t,a=void 0===n?",":n,s=void 0===o?".":o,l=r<0?"-":"",c=parseInt(r=Math.abs(+r||0).toFixed(i),10)+"",p=c.length>3?c.length%3:0;return l+(p?c.substr(0,p)+s:"")+c.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+s)+(i?a+Math.abs(r-c).toFixed(i).slice(2):"")},i.formatSize=function(e){return e>=1073741824?i.formatNumber(e/1073741824,2,".","")+" GiB":e>=1048576?i.formatNumber(e/1048576,2,".","")+" MiB":e>=1024?i.formatNumber(e/1024,0)+" KiB":i.formatNumber(e,0)+" bytes"},i.bytesFromIP=function(e){return-1!==e.indexOf(".")?i.bytesFromIPv4(e):-1!==e.indexOf(":")?i.bytesFromIPv6(e):null},i.bytesFromIPv4=function(e){if(4!==(e=e.split(".")).length)return null;for(var t=i.createBuffer(),n=0;nn[o].end-n[o].start&&(o=n.length-1)):n.push({start:l,end:l})}t.push(a)}if(n.length>0){var c=n[o];c.end-c.start>0&&(t.splice(c.start,c.end-c.start+1,""),0===c.start&&t.unshift(""),7===c.end&&t.push(""))}return t.join(":")},i.estimateCores=function(e,t){if("function"==typeof e&&(t=e,e={}),e=e||{},"cores"in i&&!e.update)return t(null,i.cores);if("undefined"!=typeof navigator&&"hardwareConcurrency"in navigator&&navigator.hardwareConcurrency>0)return i.cores=navigator.hardwareConcurrency,t(null,i.cores);if("undefined"==typeof Worker)return i.cores=1,t(null,i.cores);if("undefined"==typeof Blob)return i.cores=2,t(null,i.cores);var n=URL.createObjectURL(new Blob(["(",function(){self.addEventListener("message",(function(e){for(var t=Date.now(),n=t+4;Date.now()s.st&&r.str.st&&s.st{var o=n(83418);n(43882),n(10001),n(86875),n(43730),n(39028),n(43793),n(30115),n(95032),n(9120),n(63290);var r=o.asn1,i=e.exports=o.pki=o.pki||{},a=i.oids,s={};s.CN=a.commonName,s.commonName="CN",s.C=a.countryName,s.countryName="C",s.L=a.localityName,s.localityName="L",s.ST=a.stateOrProvinceName,s.stateOrProvinceName="ST",s.O=a.organizationName,s.organizationName="O",s.OU=a.organizationalUnitName,s.organizationalUnitName="OU",s.E=a.emailAddress,s.emailAddress="E";var l=o.pki.rsa.publicKeyValidator,c={name:"Certificate",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"tbsCertificate",value:[{name:"Certificate.TBSCertificate.version",tagClass:r.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.version.integer",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"certVersion"}]},{name:"Certificate.TBSCertificate.serialNumber",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"certSerialNumber"},{name:"Certificate.TBSCertificate.signature",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate.signature.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"certinfoSignatureOid"},{name:"Certificate.TBSCertificate.signature.parameters",tagClass:r.Class.UNIVERSAL,optional:!0,captureAsn1:"certinfoSignatureParams"}]},{name:"Certificate.TBSCertificate.issuer",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"certIssuer"},{name:"Certificate.TBSCertificate.validity",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate.validity.notBefore (utc)",tagClass:r.Class.UNIVERSAL,type:r.Type.UTCTIME,constructed:!1,optional:!0,capture:"certValidity1UTCTime"},{name:"Certificate.TBSCertificate.validity.notBefore (generalized)",tagClass:r.Class.UNIVERSAL,type:r.Type.GENERALIZEDTIME,constructed:!1,optional:!0,capture:"certValidity2GeneralizedTime"},{name:"Certificate.TBSCertificate.validity.notAfter (utc)",tagClass:r.Class.UNIVERSAL,type:r.Type.UTCTIME,constructed:!1,optional:!0,capture:"certValidity3UTCTime"},{name:"Certificate.TBSCertificate.validity.notAfter (generalized)",tagClass:r.Class.UNIVERSAL,type:r.Type.GENERALIZEDTIME,constructed:!1,optional:!0,capture:"certValidity4GeneralizedTime"}]},{name:"Certificate.TBSCertificate.subject",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"certSubject"},l,{name:"Certificate.TBSCertificate.issuerUniqueID",tagClass:r.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.issuerUniqueID.id",tagClass:r.Class.UNIVERSAL,type:r.Type.BITSTRING,constructed:!1,captureBitStringValue:"certIssuerUniqueId"}]},{name:"Certificate.TBSCertificate.subjectUniqueID",tagClass:r.Class.CONTEXT_SPECIFIC,type:2,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.subjectUniqueID.id",tagClass:r.Class.UNIVERSAL,type:r.Type.BITSTRING,constructed:!1,captureBitStringValue:"certSubjectUniqueId"}]},{name:"Certificate.TBSCertificate.extensions",tagClass:r.Class.CONTEXT_SPECIFIC,type:3,constructed:!0,captureAsn1:"certExtensions",optional:!0}]},{name:"Certificate.signatureAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.signatureAlgorithm.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"certSignatureOid"},{name:"Certificate.TBSCertificate.signature.parameters",tagClass:r.Class.UNIVERSAL,optional:!0,captureAsn1:"certSignatureParams"}]},{name:"Certificate.signatureValue",tagClass:r.Class.UNIVERSAL,type:r.Type.BITSTRING,constructed:!1,captureBitStringValue:"certSignature"}]},p={name:"rsapss",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"rsapss.hashAlgorithm",tagClass:r.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,value:[{name:"rsapss.hashAlgorithm.AlgorithmIdentifier",tagClass:r.Class.UNIVERSAL,type:r.Class.SEQUENCE,constructed:!0,optional:!0,value:[{name:"rsapss.hashAlgorithm.AlgorithmIdentifier.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"hashOid"}]}]},{name:"rsapss.maskGenAlgorithm",tagClass:r.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier",tagClass:r.Class.UNIVERSAL,type:r.Class.SEQUENCE,constructed:!0,optional:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"maskGenOid"},{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.params",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.params.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"maskGenHashOid"}]}]}]},{name:"rsapss.saltLength",tagClass:r.Class.CONTEXT_SPECIFIC,type:2,optional:!0,value:[{name:"rsapss.saltLength.saltLength",tagClass:r.Class.UNIVERSAL,type:r.Class.INTEGER,constructed:!1,capture:"saltLength"}]},{name:"rsapss.trailerField",tagClass:r.Class.CONTEXT_SPECIFIC,type:3,optional:!0,value:[{name:"rsapss.trailer.trailer",tagClass:r.Class.UNIVERSAL,type:r.Class.INTEGER,constructed:!1,capture:"trailer"}]}]},u={name:"CertificationRequestInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"certificationRequestInfo",value:[{name:"CertificationRequestInfo.integer",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"certificationRequestInfoVersion"},{name:"CertificationRequestInfo.subject",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"certificationRequestInfoSubject"},l,{name:"CertificationRequestInfo.attributes",tagClass:r.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,capture:"certificationRequestInfoAttributes",value:[{name:"CertificationRequestInfo.attributes",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"CertificationRequestInfo.attributes.type",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1},{name:"CertificationRequestInfo.attributes.value",tagClass:r.Class.UNIVERSAL,type:r.Type.SET,constructed:!0}]}]}]},d={name:"CertificationRequest",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"csr",value:[u,{name:"CertificationRequest.signatureAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"CertificationRequest.signatureAlgorithm.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"csrSignatureOid"},{name:"CertificationRequest.signatureAlgorithm.parameters",tagClass:r.Class.UNIVERSAL,optional:!0,captureAsn1:"csrSignatureParams"}]},{name:"CertificationRequest.signature",tagClass:r.Class.UNIVERSAL,type:r.Type.BITSTRING,constructed:!1,captureBitStringValue:"csrSignature"}]};function g(e,t){"string"==typeof t&&(t={shortName:t});for(var n,o=null,r=0;null===o&&r128)throw new Error('Invalid "nsComment" content.');e.value=r.create(r.Class.UNIVERSAL,r.Type.IA5STRING,!1,e.comment)}else if("subjectKeyIdentifier"===e.name&&t.cert){var g=t.cert.generateSubjectKeyIdentifier();e.subjectKeyIdentifier=g.toHex(),e.value=r.create(r.Class.UNIVERSAL,r.Type.OCTETSTRING,!1,g.getBytes())}else if("authorityKeyIdentifier"===e.name&&t.cert){if(e.value=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[]),p=e.value.value,e.keyIdentifier){var f=!0===e.keyIdentifier?t.cert.generateSubjectKeyIdentifier().getBytes():e.keyIdentifier;p.push(r.create(r.Class.CONTEXT_SPECIFIC,0,!1,f))}if(e.authorityCertIssuer){var h=[r.create(r.Class.CONTEXT_SPECIFIC,4,!0,[y(!0===e.authorityCertIssuer?t.cert.issuer:e.authorityCertIssuer)])];p.push(r.create(r.Class.CONTEXT_SPECIFIC,1,!0,h))}if(e.serialNumber){var m=o.util.hexToBytes(!0===e.serialNumber?t.cert.serialNumber:e.serialNumber);p.push(r.create(r.Class.CONTEXT_SPECIFIC,2,!1,m))}}else if("cRLDistributionPoints"===e.name){e.value=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[]),p=e.value.value;var v,b=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[]),O=r.create(r.Class.CONTEXT_SPECIFIC,0,!0,[]);for(d=0;d2)throw new Error("Cannot read notBefore/notAfter validity times; more than two times were provided in the certificate.");if(u.length<2)throw new Error("Cannot read notBefore/notAfter validity times; they were not provided as either UTCTime or GeneralizedTime.");if(l.validity.notBefore=u[0],l.validity.notAfter=u[1],l.tbsCertificate=n.tbsCertificate,t){l.md=h({signatureOid:l.signatureOid,type:"certificate"});var d=r.toDer(l.tbsCertificate);l.md.update(d.getBytes())}var m=o.md.sha1.create(),y=r.toDer(n.certIssuer);m.update(y.getBytes()),l.issuer.getField=function(e){return g(l.issuer,e)},l.issuer.addField=function(e){v([e]),l.issuer.attributes.push(e)},l.issuer.attributes=i.RDNAttributesAsArray(n.certIssuer),n.certIssuerUniqueId&&(l.issuer.uniqueId=n.certIssuerUniqueId),l.issuer.hash=m.digest().toHex();var b=o.md.sha1.create(),O=r.toDer(n.certSubject);return b.update(O.getBytes()),l.subject.getField=function(e){return g(l.subject,e)},l.subject.addField=function(e){v([e]),l.subject.attributes.push(e)},l.subject.attributes=i.RDNAttributesAsArray(n.certSubject),n.certSubjectUniqueId&&(l.subject.uniqueId=n.certSubjectUniqueId),l.subject.hash=b.digest().toHex(),n.certExtensions?l.extensions=i.certificateExtensionsFromAsn1(n.certExtensions):l.extensions=[],l.publicKey=i.publicKeyFromAsn1(n.subjectPublicKeyInfo),l},i.certificateExtensionsFromAsn1=function(e){for(var t=[],n=0;n1&&(n=l.value.charCodeAt(1),i=l.value.length>2?l.value.charCodeAt(2):0),t.digitalSignature=128==(128&n),t.nonRepudiation=64==(64&n),t.keyEncipherment=32==(32&n),t.dataEncipherment=16==(16&n),t.keyAgreement=8==(8&n),t.keyCertSign=4==(4&n),t.cRLSign=2==(2&n),t.encipherOnly=1==(1&n),t.decipherOnly=128==(128&i)}else if("basicConstraints"===t.name){(l=r.fromDer(t.value)).value.length>0&&l.value[0].type===r.Type.BOOLEAN?t.cA=0!==l.value[0].value.charCodeAt(0):t.cA=!1;var s=null;l.value.length>0&&l.value[0].type===r.Type.INTEGER?s=l.value[0].value:l.value.length>1&&(s=l.value[1].value),null!==s&&(t.pathLenConstraint=r.derToInteger(s))}else if("extKeyUsage"===t.name)for(var l=r.fromDer(t.value),c=0;c1&&(n=l.value.charCodeAt(1)),t.client=128==(128&n),t.server=64==(64&n),t.email=32==(32&n),t.objsign=16==(16&n),t.reserved=8==(8&n),t.sslCA=4==(4&n),t.emailCA=2==(2&n),t.objCA=1==(1&n);else if("subjectAltName"===t.name||"issuerAltName"===t.name){var u;t.altNames=[],l=r.fromDer(t.value);for(var d=0;d=P&&e0&&a.value.push(i.certificateExtensionsToAsn1(e.extensions)),a},i.getCertificationRequestInfo=function(e){return r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.INTEGER,!1,r.integerToDer(e.version).getBytes()),y(e.subject),i.publicKeyToAsn1(e.publicKey),w(e)])},i.distinguishedNameToAsn1=function(e){return y(e)},i.certificateToAsn1=function(e){var t=e.tbsCertificate||i.getTBSCertificate(e);return r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[t,r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[r.create(r.Class.UNIVERSAL,r.Type.OID,!1,r.oidToDer(e.signatureOid).getBytes()),O(e.signatureOid,e.signatureParameters)]),r.create(r.Class.UNIVERSAL,r.Type.BITSTRING,!1,String.fromCharCode(0)+e.signature)])},i.certificateExtensionsToAsn1=function(e){var t=r.create(r.Class.CONTEXT_SPECIFIC,3,!0,[]),n=r.create(r.Class.UNIVERSAL,r.Type.SEQUENCE,!0,[]);t.value.push(n);for(var o=0;op.validity.notAfter)&&(l={message:"Certificate is not valid yet or has expired.",error:i.certificateError.certificate_expired,notBefore:p.validity.notBefore,notAfter:p.validity.notAfter,now:a}),null===l){if(null===(u=t[0]||e.getIssuer(p))&&p.isIssuer(p)&&(d=!0,u=p),u){var g=u;o.util.isArray(g)||(g=[g]);for(var f=!1;!f&&g.length>0;){u=g.shift();try{f=u.verify(p)}catch(e){}}f||(l={message:"Certificate signature is invalid.",error:i.certificateError.bad_certificate})}null!==l||u&&!d||e.hasCertificate(p)||(l={message:"Certificate is not trusted.",error:i.certificateError.unknown_ca})}if(null===l&&u&&!p.isIssuer(u)&&(l={message:"Certificate issuer is invalid.",error:i.certificateError.bad_certificate}),null===l)for(var h={keyUsage:!0,basicConstraints:!0},m=0;null===l&&mv.pathLenConstraint&&(l={message:"Certificate basicConstraints pathLenConstraint violated.",error:i.certificateError.bad_certificate})}var O=null===l||l.error,w=n.verify?n.verify(O,c,r):O;if(!0!==w)throw!0===O&&(l={message:"The application rejected the certificate.",error:i.certificateError.bad_certificate}),(w||0===w)&&("object"!=typeof w||o.util.isArray(w)?"string"==typeof w&&(l.error=w):(w.message&&(l.message=w.message),w.error&&(l.error=w.error))),l;l=null,s=!1,++c}while(t.length>0);return!0}},62319:(e,t,n)=>{"use strict";var o=n(6113);function r(e,t){return function(e,t){var n;if(void 0===(n="passthrough"!==t.algorithm?o.createHash(t.algorithm):new p).write&&(n.write=n.update,n.end=n.update),c(t,n).dispatch(e),n.update||n.end(""),n.digest)return n.digest("buffer"===t.encoding?void 0:t.encoding);var r=n.read();return"buffer"===t.encoding?r:r.toString(t.encoding)}(e,t=s(e,t))}(t=e.exports=r).sha1=function(e){return r(e)},t.keys=function(e){return r(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},t.MD5=function(e){return r(e,{algorithm:"md5",encoding:"hex"})},t.keysMD5=function(e){return r(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var i=o.getHashes?o.getHashes().slice():["sha1","md5"];i.push("passthrough");var a=["buffer","hex","binary","base64"];function s(e,t){t=t||{};var n={};if(n.algorithm=t.algorithm||"sha1",n.encoding=t.encoding||"hex",n.excludeValues=!!t.excludeValues,n.algorithm=n.algorithm.toLowerCase(),n.encoding=n.encoding.toLowerCase(),n.ignoreUnknown=!0===t.ignoreUnknown,n.respectType=!1!==t.respectType,n.respectFunctionNames=!1!==t.respectFunctionNames,n.respectFunctionProperties=!1!==t.respectFunctionProperties,n.unorderedArrays=!0===t.unorderedArrays,n.unorderedSets=!1!==t.unorderedSets,n.unorderedObjects=!1!==t.unorderedObjects,n.replacer=t.replacer||void 0,n.excludeKeys=t.excludeKeys||void 0,void 0===e)throw new Error("Object argument required.");for(var o=0;o=0)return this.dispatch("[CIRCULAR:"+r+"]");if(n.push(t),"undefined"!=typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(t))return o("buffer:"),o(t);if("object"===a||"function"===a||"asyncfunction"===a){var s=Object.keys(t);e.unorderedObjects&&(s=s.sort()),!1===e.respectType||l(t)||s.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(s=s.filter((function(t){return!e.excludeKeys(t)}))),o("object:"+s.length+":");var c=this;return s.forEach((function(n){c.dispatch(n),o(":"),e.excludeValues||c.dispatch(t[n]),o(",")}))}if(!this["_"+a]){if(e.ignoreUnknown)return o("["+a+"]");throw new Error('Unknown object type "'+a+'"')}this["_"+a](t)},_array:function(t,r){r=void 0!==r?r:!1!==e.unorderedArrays;var i=this;if(o("array:"+t.length+":"),!r||t.length<=1)return t.forEach((function(e){return i.dispatch(e)}));var a=[],s=t.map((function(t){var o=new p,r=n.slice();return c(e,o,r).dispatch(t),a=a.concat(r.slice(n.length)),o.read().toString()}));return n=n.concat(a),s.sort(),this._array(s,!1)},_date:function(e){return o("date:"+e.toJSON())},_symbol:function(e){return o("symbol:"+e.toString())},_error:function(e){return o("error:"+e.toString())},_boolean:function(e){return o("bool:"+e.toString())},_string:function(e){o("string:"+e.length+":"),o(e.toString())},_function:function(t){o("fn:"),l(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return o("number:"+e.toString())},_xml:function(e){return o("xml:"+e.toString())},_null:function(){return o("Null")},_undefined:function(){return o("Undefined")},_regexp:function(e){return o("regex:"+e.toString())},_uint8array:function(e){return o("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return o("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return o("int8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return o("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return o("int16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return o("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return o("int32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return o("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return o("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return o("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return o("url:"+e.toString())},_map:function(t){o("map:");var n=Array.from(t);return this._array(n,!1!==e.unorderedSets)},_set:function(t){o("set:");var n=Array.from(t);return this._array(n,!1!==e.unorderedSets)},_file:function(e){return o("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return o("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return o("domwindow")},_bigint:function(e){return o("bigint:"+e.toString())},_process:function(){return o("process")},_timer:function(){return o("timer")},_pipe:function(){return o("pipe")},_tcp:function(){return o("tcp")},_udp:function(){return o("udp")},_tty:function(){return o("tty")},_statwatcher:function(){return o("statwatcher")},_securecontext:function(){return o("securecontext")},_connection:function(){return o("connection")},_zlib:function(){return o("zlib")},_context:function(){return o("context")},_nodescript:function(){return o("nodescript")},_httpparser:function(){return o("httpparser")},_dataview:function(){return o("dataview")},_signal:function(){return o("signal")},_fsevent:function(){return o("fsevent")},_tlswrap:function(){return o("tlswrap")}}}function p(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}t.writeToStream=function(e,t,n){return void 0===n&&(n=t,t={}),c(t=s(e,t),n).dispatch(e)}},31741:(e,t,n)=>{var o="function"==typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&r&&"function"==typeof r.get?r.get:null,a=o&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,p=s&&Set.prototype.forEach,u="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,g="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,h=Object.prototype.toString,m=Function.prototype.toString,y=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,O=String.prototype.toUpperCase,w=String.prototype.toLowerCase,P=RegExp.prototype.test,x=Array.prototype.concat,S=Array.prototype.join,T=Array.prototype.slice,A=Math.floor,E="function"==typeof BigInt?BigInt.prototype.valueOf:null,j=Object.getOwnPropertySymbols,k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,_="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,R=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function N(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||P.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var o=e<0?-A(-e):A(e);if(o!==e){var r=String(o),i=v.call(t,r.length+1);return b.call(r,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var D=n(11709),L=D.custom,B=V(L)?L:null;function M(e,t,n){var o="double"===(n.quoteStyle||t)?'"':"'";return o+e+o}function F(e){return b.call(String(e),/"/g,""")}function U(e){return!("[object Array]"!==W(e)||C&&"object"==typeof e&&C in e)}function q(e){return!("[object RegExp]"!==W(e)||C&&"object"==typeof e&&C in e)}function V(e){if(_)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!k)return!1;try{return k.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,o,r){var s=n||{};if(G(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(G(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!G(s,"customInspect")||s.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(G(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(G(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var h=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return J(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var O=String(t);return h?N(t,O):O}if("bigint"==typeof t){var P=String(t)+"n";return h?N(t,P):P}var A=void 0===s.depth?5:s.depth;if(void 0===o&&(o=0),o>=A&&A>0&&"object"==typeof t)return U(t)?"[Array]":"[Object]";var j,L=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=S.call(Array(e.indent+1)," ")}return{base:n,prev:S.call(Array(t+1),n)}}(s,o);if(void 0===r)r=[];else if(z(r,t)>=0)return"[Circular]";function H(t,n,i){if(n&&(r=T.call(r)).push(n),i){var a={depth:s.depth};return G(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,o+1,r)}return e(t,s,o+1,r)}if("function"==typeof t&&!q(t)){var Y=function(e){if(e.name)return e.name;var t=y.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ee=Z(t,H);return"[Function"+(Y?": "+Y:" (anonymous)")+"]"+(ee.length>0?" { "+S.call(ee,", ")+" }":"")}if(V(t)){var te=_?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(t);return"object"!=typeof t||_?te:K(te)}if((j=t)&&"object"==typeof j&&("undefined"!=typeof HTMLElement&&j instanceof HTMLElement||"string"==typeof j.nodeName&&"function"==typeof j.getAttribute)){for(var ne="<"+w.call(String(t.nodeName)),oe=t.attributes||[],re=0;re"}if(U(t)){if(0===t.length)return"[]";var ie=Z(t,H);return L&&!function(e){for(var t=0;t=0)return!1;return!0}(ie)?"["+X(ie,L)+"]":"[ "+S.call(ie,", ")+" ]"}if(function(e){return!("[object Error]"!==W(e)||C&&"object"==typeof e&&C in e)}(t)){var ae=Z(t,H);return"cause"in Error.prototype||!("cause"in t)||I.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+S.call(ae,", ")+" }":"{ ["+String(t)+"] "+S.call(x.call("[cause]: "+H(t.cause),ae),", ")+" }"}if("object"==typeof t&&l){if(B&&"function"==typeof t[B]&&D)return D(t,{depth:A-o});if("symbol"!==l&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return a.call(t,(function(e,n){se.push(H(n,t,!0)+" => "+H(e,t))})),Q("Map",i.call(t),se,L)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[];return p.call(t,(function(e){le.push(H(e,t))})),Q("Set",c.call(t),le,L)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return $("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{u.call(e,u)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return $("WeakSet");if(function(e){if(!g||!e||"object"!=typeof e)return!1;try{return g.call(e),!0}catch(e){}return!1}(t))return $("WeakRef");if(function(e){return!("[object Number]"!==W(e)||C&&"object"==typeof e&&C in e)}(t))return K(H(Number(t)));if(function(e){if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}(t))return K(H(E.call(t)));if(function(e){return!("[object Boolean]"!==W(e)||C&&"object"==typeof e&&C in e)}(t))return K(f.call(t));if(function(e){return!("[object String]"!==W(e)||C&&"object"==typeof e&&C in e)}(t))return K(H(String(t)));if(!function(e){return!("[object Date]"!==W(e)||C&&"object"==typeof e&&C in e)}(t)&&!q(t)){var ce=Z(t,H),pe=R?R(t)===Object.prototype:t instanceof Object||t.constructor===Object,ue=t instanceof Object?"":"null prototype",de=!pe&&C&&Object(t)===t&&C in t?v.call(W(t),8,-1):ue?"Object":"",ge=(pe||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||ue?"["+S.call(x.call([],de||[],ue||[]),": ")+"] ":"");return 0===ce.length?ge+"{}":L?ge+"{"+X(ce,L)+"}":ge+"{ "+S.call(ce,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function G(e,t){return H.call(e,t)}function W(e){return h.call(e)}function z(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,o=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return J(v.call(e,0,t.maxStringLength),t)+o}return M(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Y),"single",t)}function Y(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+O.call(t.toString(16))}function K(e){return"Object("+e+")"}function $(e){return e+" { ? }"}function Q(e,t,n,o){return e+" ("+t+") {"+(o?X(n,o):S.call(n,", "))+"}"}function X(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+S.call(e,","+n)+"\n"+t.prev}function Z(e,t){var n=U(e),o=[];if(n){o.length=e.length;for(var r=0;r{e.exports=n(73837).inspect},36219:(e,t,n)=>{var o=n(42065);function r(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function i(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},n=e.name||"Function wrapped with `once`";return t.onceError=n+" shouldn't be called more than once",t.called=!1,t}e.exports=o(r),e.exports.strict=o(i),r.proto=r((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return r(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return i(this)},configurable:!0})}))},53567:function(e,t,n){"use strict";var o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.OpenAIApi=t.OpenAIApiFactory=t.OpenAIApiFp=t.OpenAIApiAxiosParamCreator=t.CreateImageRequestResponseFormatEnum=t.CreateImageRequestSizeEnum=void 0;const r=n(41354),i=n(60938),a=n(85103);t.CreateImageRequestSizeEnum={_256x256:"256x256",_512x512:"512x512",_1024x1024:"1024x1024"},t.CreateImageRequestResponseFormatEnum={Url:"url",B64Json:"b64_json"},t.OpenAIApiAxiosParamCreator=function(e){return{cancelFineTune:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("cancelFineTune","fineTuneId",t);const o="/fine-tunes/{fine_tune_id}/cancel".replace("{fine_tune_id}",encodeURIComponent(String(t))),r=new URL(o,i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"POST"},a),n);i.setSearchParams(r,{});let l=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),l),n.headers),{url:i.toPathString(r),options:s}})),createAnswer:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createAnswer","createAnswerRequest",t);const o=new URL("/answers",i.DUMMY_BASE_URL);let r;e&&(r=e.baseOptions);const a=Object.assign(Object.assign({method:"POST"},r),n),s={"Content-Type":"application/json"};i.setSearchParams(o,{});let l=r&&r.headers?r.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},s),l),n.headers),a.data=i.serializeDataIfNeeded(t,a,e),{url:i.toPathString(o),options:a}})),createClassification:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createClassification","createClassificationRequest",t);const o=new URL("/classifications",i.DUMMY_BASE_URL);let r;e&&(r=e.baseOptions);const a=Object.assign(Object.assign({method:"POST"},r),n),s={"Content-Type":"application/json"};i.setSearchParams(o,{});let l=r&&r.headers?r.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},s),l),n.headers),a.data=i.serializeDataIfNeeded(t,a,e),{url:i.toPathString(o),options:a}})),createCompletion:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createCompletion","createCompletionRequest",t);const o=new URL("/completions",i.DUMMY_BASE_URL);let r;e&&(r=e.baseOptions);const a=Object.assign(Object.assign({method:"POST"},r),n),s={"Content-Type":"application/json"};i.setSearchParams(o,{});let l=r&&r.headers?r.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},s),l),n.headers),a.data=i.serializeDataIfNeeded(t,a,e),{url:i.toPathString(o),options:a}})),createEdit:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createEdit","createEditRequest",t);const o=new URL("/edits",i.DUMMY_BASE_URL);let r;e&&(r=e.baseOptions);const a=Object.assign(Object.assign({method:"POST"},r),n),s={"Content-Type":"application/json"};i.setSearchParams(o,{});let l=r&&r.headers?r.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},s),l),n.headers),a.data=i.serializeDataIfNeeded(t,a,e),{url:i.toPathString(o),options:a}})),createEmbedding:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createEmbedding","createEmbeddingRequest",t);const o=new URL("/embeddings",i.DUMMY_BASE_URL);let r;e&&(r=e.baseOptions);const a=Object.assign(Object.assign({method:"POST"},r),n),s={"Content-Type":"application/json"};i.setSearchParams(o,{});let l=r&&r.headers?r.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},s),l),n.headers),a.data=i.serializeDataIfNeeded(t,a,e),{url:i.toPathString(o),options:a}})),createFile:(t,n,r={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createFile","file",t),i.assertParamExists("createFile","purpose",n);const o=new URL("/files",i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"POST"},a),r),l={},c=new(e&&e.formDataCtor||FormData);void 0!==t&&c.append("file",t),void 0!==n&&c.append("purpose",n),l["Content-Type"]="multipart/form-data",i.setSearchParams(o,{});let p=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign(Object.assign({},l),c.getHeaders()),p),r.headers),s.data=c,{url:i.toPathString(o),options:s}})),createFineTune:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createFineTune","createFineTuneRequest",t);const o=new URL("/fine-tunes",i.DUMMY_BASE_URL);let r;e&&(r=e.baseOptions);const a=Object.assign(Object.assign({method:"POST"},r),n),s={"Content-Type":"application/json"};i.setSearchParams(o,{});let l=r&&r.headers?r.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},s),l),n.headers),a.data=i.serializeDataIfNeeded(t,a,e),{url:i.toPathString(o),options:a}})),createImage:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createImage","createImageRequest",t);const o=new URL("/images/generations",i.DUMMY_BASE_URL);let r;e&&(r=e.baseOptions);const a=Object.assign(Object.assign({method:"POST"},r),n),s={"Content-Type":"application/json"};i.setSearchParams(o,{});let l=r&&r.headers?r.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},s),l),n.headers),a.data=i.serializeDataIfNeeded(t,a,e),{url:i.toPathString(o),options:a}})),createImageEdit:(t,n,r,a,s,l,c,p={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createImageEdit","image",t),i.assertParamExists("createImageEdit","mask",n),i.assertParamExists("createImageEdit","prompt",r);const o=new URL("/images/edits",i.DUMMY_BASE_URL);let u;e&&(u=e.baseOptions);const d=Object.assign(Object.assign({method:"POST"},u),p),g={},f=new(e&&e.formDataCtor||FormData);void 0!==t&&f.append("image",t),void 0!==n&&f.append("mask",n),void 0!==r&&f.append("prompt",r),void 0!==a&&f.append("n",a),void 0!==s&&f.append("size",s),void 0!==l&&f.append("response_format",l),void 0!==c&&f.append("user",c),g["Content-Type"]="multipart/form-data",i.setSearchParams(o,{});let h=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign(Object.assign({},g),f.getHeaders()),h),p.headers),d.data=f,{url:i.toPathString(o),options:d}})),createImageVariation:(t,n,r,a,s,l={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createImageVariation","image",t);const o=new URL("/images/variations",i.DUMMY_BASE_URL);let c;e&&(c=e.baseOptions);const p=Object.assign(Object.assign({method:"POST"},c),l),u={},d=new(e&&e.formDataCtor||FormData);void 0!==t&&d.append("image",t),void 0!==n&&d.append("n",n),void 0!==r&&d.append("size",r),void 0!==a&&d.append("response_format",a),void 0!==s&&d.append("user",s),u["Content-Type"]="multipart/form-data",i.setSearchParams(o,{});let g=c&&c.headers?c.headers:{};return p.headers=Object.assign(Object.assign(Object.assign(Object.assign({},u),d.getHeaders()),g),l.headers),p.data=d,{url:i.toPathString(o),options:p}})),createModeration:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createModeration","createModerationRequest",t);const o=new URL("/moderations",i.DUMMY_BASE_URL);let r;e&&(r=e.baseOptions);const a=Object.assign(Object.assign({method:"POST"},r),n),s={"Content-Type":"application/json"};i.setSearchParams(o,{});let l=r&&r.headers?r.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},s),l),n.headers),a.data=i.serializeDataIfNeeded(t,a,e),{url:i.toPathString(o),options:a}})),createSearch:(t,n,r={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("createSearch","engineId",t),i.assertParamExists("createSearch","createSearchRequest",n);const o="/engines/{engine_id}/search".replace("{engine_id}",encodeURIComponent(String(t))),a=new URL(o,i.DUMMY_BASE_URL);let s;e&&(s=e.baseOptions);const l=Object.assign(Object.assign({method:"POST"},s),r),c={"Content-Type":"application/json"};i.setSearchParams(a,{});let p=s&&s.headers?s.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),p),r.headers),l.data=i.serializeDataIfNeeded(n,l,e),{url:i.toPathString(a),options:l}})),deleteFile:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("deleteFile","fileId",t);const o="/files/{file_id}".replace("{file_id}",encodeURIComponent(String(t))),r=new URL(o,i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"DELETE"},a),n);i.setSearchParams(r,{});let l=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),l),n.headers),{url:i.toPathString(r),options:s}})),deleteModel:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("deleteModel","model",t);const o="/models/{model}".replace("{model}",encodeURIComponent(String(t))),r=new URL(o,i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"DELETE"},a),n);i.setSearchParams(r,{});let l=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),l),n.headers),{url:i.toPathString(r),options:s}})),downloadFile:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("downloadFile","fileId",t);const o="/files/{file_id}/content".replace("{file_id}",encodeURIComponent(String(t))),r=new URL(o,i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"GET"},a),n);i.setSearchParams(r,{});let l=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),l),n.headers),{url:i.toPathString(r),options:s}})),listEngines:(t={})=>o(this,void 0,void 0,(function*(){const n=new URL("/engines",i.DUMMY_BASE_URL);let o;e&&(o=e.baseOptions);const r=Object.assign(Object.assign({method:"GET"},o),t);i.setSearchParams(n,{});let a=o&&o.headers?o.headers:{};return r.headers=Object.assign(Object.assign(Object.assign({},{}),a),t.headers),{url:i.toPathString(n),options:r}})),listFiles:(t={})=>o(this,void 0,void 0,(function*(){const n=new URL("/files",i.DUMMY_BASE_URL);let o;e&&(o=e.baseOptions);const r=Object.assign(Object.assign({method:"GET"},o),t);i.setSearchParams(n,{});let a=o&&o.headers?o.headers:{};return r.headers=Object.assign(Object.assign(Object.assign({},{}),a),t.headers),{url:i.toPathString(n),options:r}})),listFineTuneEvents:(t,n,r={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("listFineTuneEvents","fineTuneId",t);const o="/fine-tunes/{fine_tune_id}/events".replace("{fine_tune_id}",encodeURIComponent(String(t))),a=new URL(o,i.DUMMY_BASE_URL);let s;e&&(s=e.baseOptions);const l=Object.assign(Object.assign({method:"GET"},s),r),c={};void 0!==n&&(c.stream=n),i.setSearchParams(a,c);let p=s&&s.headers?s.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},{}),p),r.headers),{url:i.toPathString(a),options:l}})),listFineTunes:(t={})=>o(this,void 0,void 0,(function*(){const n=new URL("/fine-tunes",i.DUMMY_BASE_URL);let o;e&&(o=e.baseOptions);const r=Object.assign(Object.assign({method:"GET"},o),t);i.setSearchParams(n,{});let a=o&&o.headers?o.headers:{};return r.headers=Object.assign(Object.assign(Object.assign({},{}),a),t.headers),{url:i.toPathString(n),options:r}})),listModels:(t={})=>o(this,void 0,void 0,(function*(){const n=new URL("/models",i.DUMMY_BASE_URL);let o;e&&(o=e.baseOptions);const r=Object.assign(Object.assign({method:"GET"},o),t);i.setSearchParams(n,{});let a=o&&o.headers?o.headers:{};return r.headers=Object.assign(Object.assign(Object.assign({},{}),a),t.headers),{url:i.toPathString(n),options:r}})),retrieveEngine:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("retrieveEngine","engineId",t);const o="/engines/{engine_id}".replace("{engine_id}",encodeURIComponent(String(t))),r=new URL(o,i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"GET"},a),n);i.setSearchParams(r,{});let l=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),l),n.headers),{url:i.toPathString(r),options:s}})),retrieveFile:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("retrieveFile","fileId",t);const o="/files/{file_id}".replace("{file_id}",encodeURIComponent(String(t))),r=new URL(o,i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"GET"},a),n);i.setSearchParams(r,{});let l=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),l),n.headers),{url:i.toPathString(r),options:s}})),retrieveFineTune:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("retrieveFineTune","fineTuneId",t);const o="/fine-tunes/{fine_tune_id}".replace("{fine_tune_id}",encodeURIComponent(String(t))),r=new URL(o,i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"GET"},a),n);i.setSearchParams(r,{});let l=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),l),n.headers),{url:i.toPathString(r),options:s}})),retrieveModel:(t,n={})=>o(this,void 0,void 0,(function*(){i.assertParamExists("retrieveModel","model",t);const o="/models/{model}".replace("{model}",encodeURIComponent(String(t))),r=new URL(o,i.DUMMY_BASE_URL);let a;e&&(a=e.baseOptions);const s=Object.assign(Object.assign({method:"GET"},a),n);i.setSearchParams(r,{});let l=a&&a.headers?a.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},{}),l),n.headers),{url:i.toPathString(r),options:s}}))}},t.OpenAIApiFp=function(e){const n=t.OpenAIApiAxiosParamCreator(e);return{cancelFineTune(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.cancelFineTune(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createAnswer(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.createAnswer(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createClassification(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.createClassification(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createCompletion(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.createCompletion(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createEdit(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.createEdit(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createEmbedding(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.createEmbedding(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createFile(t,s,l){return o(this,void 0,void 0,(function*(){const o=yield n.createFile(t,s,l);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createFineTune(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.createFineTune(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createImage(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.createImage(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createImageEdit(t,s,l,c,p,u,d,g){return o(this,void 0,void 0,(function*(){const o=yield n.createImageEdit(t,s,l,c,p,u,d,g);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createImageVariation(t,s,l,c,p,u){return o(this,void 0,void 0,(function*(){const o=yield n.createImageVariation(t,s,l,c,p,u);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createModeration(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.createModeration(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},createSearch(t,s,l){return o(this,void 0,void 0,(function*(){const o=yield n.createSearch(t,s,l);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},deleteFile(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.deleteFile(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},deleteModel(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.deleteModel(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},downloadFile(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.downloadFile(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},listEngines(t){return o(this,void 0,void 0,(function*(){const o=yield n.listEngines(t);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},listFiles(t){return o(this,void 0,void 0,(function*(){const o=yield n.listFiles(t);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},listFineTuneEvents(t,s,l){return o(this,void 0,void 0,(function*(){const o=yield n.listFineTuneEvents(t,s,l);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},listFineTunes(t){return o(this,void 0,void 0,(function*(){const o=yield n.listFineTunes(t);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},listModels(t){return o(this,void 0,void 0,(function*(){const o=yield n.listModels(t);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},retrieveEngine(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.retrieveEngine(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},retrieveFile(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.retrieveFile(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},retrieveFineTune(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.retrieveFineTune(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))},retrieveModel(t,s){return o(this,void 0,void 0,(function*(){const o=yield n.retrieveModel(t,s);return i.createRequestFunction(o,r.default,a.BASE_PATH,e)}))}}},t.OpenAIApiFactory=function(e,n,o){const r=t.OpenAIApiFp(e);return{cancelFineTune:(e,t)=>r.cancelFineTune(e,t).then((e=>e(o,n))),createAnswer:(e,t)=>r.createAnswer(e,t).then((e=>e(o,n))),createClassification:(e,t)=>r.createClassification(e,t).then((e=>e(o,n))),createCompletion:(e,t)=>r.createCompletion(e,t).then((e=>e(o,n))),createEdit:(e,t)=>r.createEdit(e,t).then((e=>e(o,n))),createEmbedding:(e,t)=>r.createEmbedding(e,t).then((e=>e(o,n))),createFile:(e,t,i)=>r.createFile(e,t,i).then((e=>e(o,n))),createFineTune:(e,t)=>r.createFineTune(e,t).then((e=>e(o,n))),createImage:(e,t)=>r.createImage(e,t).then((e=>e(o,n))),createImageEdit:(e,t,i,a,s,l,c,p)=>r.createImageEdit(e,t,i,a,s,l,c,p).then((e=>e(o,n))),createImageVariation:(e,t,i,a,s,l)=>r.createImageVariation(e,t,i,a,s,l).then((e=>e(o,n))),createModeration:(e,t)=>r.createModeration(e,t).then((e=>e(o,n))),createSearch:(e,t,i)=>r.createSearch(e,t,i).then((e=>e(o,n))),deleteFile:(e,t)=>r.deleteFile(e,t).then((e=>e(o,n))),deleteModel:(e,t)=>r.deleteModel(e,t).then((e=>e(o,n))),downloadFile:(e,t)=>r.downloadFile(e,t).then((e=>e(o,n))),listEngines:e=>r.listEngines(e).then((e=>e(o,n))),listFiles:e=>r.listFiles(e).then((e=>e(o,n))),listFineTuneEvents:(e,t,i)=>r.listFineTuneEvents(e,t,i).then((e=>e(o,n))),listFineTunes:e=>r.listFineTunes(e).then((e=>e(o,n))),listModels:e=>r.listModels(e).then((e=>e(o,n))),retrieveEngine:(e,t)=>r.retrieveEngine(e,t).then((e=>e(o,n))),retrieveFile:(e,t)=>r.retrieveFile(e,t).then((e=>e(o,n))),retrieveFineTune:(e,t)=>r.retrieveFineTune(e,t).then((e=>e(o,n))),retrieveModel:(e,t)=>r.retrieveModel(e,t).then((e=>e(o,n)))}};class s extends a.BaseAPI{cancelFineTune(e,n){return t.OpenAIApiFp(this.configuration).cancelFineTune(e,n).then((e=>e(this.axios,this.basePath)))}createAnswer(e,n){return t.OpenAIApiFp(this.configuration).createAnswer(e,n).then((e=>e(this.axios,this.basePath)))}createClassification(e,n){return t.OpenAIApiFp(this.configuration).createClassification(e,n).then((e=>e(this.axios,this.basePath)))}createCompletion(e,n){return t.OpenAIApiFp(this.configuration).createCompletion(e,n).then((e=>e(this.axios,this.basePath)))}createEdit(e,n){return t.OpenAIApiFp(this.configuration).createEdit(e,n).then((e=>e(this.axios,this.basePath)))}createEmbedding(e,n){return t.OpenAIApiFp(this.configuration).createEmbedding(e,n).then((e=>e(this.axios,this.basePath)))}createFile(e,n,o){return t.OpenAIApiFp(this.configuration).createFile(e,n,o).then((e=>e(this.axios,this.basePath)))}createFineTune(e,n){return t.OpenAIApiFp(this.configuration).createFineTune(e,n).then((e=>e(this.axios,this.basePath)))}createImage(e,n){return t.OpenAIApiFp(this.configuration).createImage(e,n).then((e=>e(this.axios,this.basePath)))}createImageEdit(e,n,o,r,i,a,s,l){return t.OpenAIApiFp(this.configuration).createImageEdit(e,n,o,r,i,a,s,l).then((e=>e(this.axios,this.basePath)))}createImageVariation(e,n,o,r,i,a){return t.OpenAIApiFp(this.configuration).createImageVariation(e,n,o,r,i,a).then((e=>e(this.axios,this.basePath)))}createModeration(e,n){return t.OpenAIApiFp(this.configuration).createModeration(e,n).then((e=>e(this.axios,this.basePath)))}createSearch(e,n,o){return t.OpenAIApiFp(this.configuration).createSearch(e,n,o).then((e=>e(this.axios,this.basePath)))}deleteFile(e,n){return t.OpenAIApiFp(this.configuration).deleteFile(e,n).then((e=>e(this.axios,this.basePath)))}deleteModel(e,n){return t.OpenAIApiFp(this.configuration).deleteModel(e,n).then((e=>e(this.axios,this.basePath)))}downloadFile(e,n){return t.OpenAIApiFp(this.configuration).downloadFile(e,n).then((e=>e(this.axios,this.basePath)))}listEngines(e){return t.OpenAIApiFp(this.configuration).listEngines(e).then((e=>e(this.axios,this.basePath)))}listFiles(e){return t.OpenAIApiFp(this.configuration).listFiles(e).then((e=>e(this.axios,this.basePath)))}listFineTuneEvents(e,n,o){return t.OpenAIApiFp(this.configuration).listFineTuneEvents(e,n,o).then((e=>e(this.axios,this.basePath)))}listFineTunes(e){return t.OpenAIApiFp(this.configuration).listFineTunes(e).then((e=>e(this.axios,this.basePath)))}listModels(e){return t.OpenAIApiFp(this.configuration).listModels(e).then((e=>e(this.axios,this.basePath)))}retrieveEngine(e,n){return t.OpenAIApiFp(this.configuration).retrieveEngine(e,n).then((e=>e(this.axios,this.basePath)))}retrieveFile(e,n){return t.OpenAIApiFp(this.configuration).retrieveFile(e,n).then((e=>e(this.axios,this.basePath)))}retrieveFineTune(e,n){return t.OpenAIApiFp(this.configuration).retrieveFineTune(e,n).then((e=>e(this.axios,this.basePath)))}retrieveModel(e,n){return t.OpenAIApiFp(this.configuration).retrieveModel(e,n).then((e=>e(this.axios,this.basePath)))}}t.OpenAIApi=s},85103:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RequiredError=t.BaseAPI=t.COLLECTION_FORMATS=t.BASE_PATH=void 0;const o=n(41354);t.BASE_PATH="https://api.openai.com/v1".replace(/\/+$/,""),t.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:"\t",pipes:"|"},t.BaseAPI=class{constructor(e,n=t.BASE_PATH,r=o.default){this.basePath=n,this.axios=r,e&&(this.configuration=e,this.basePath=e.basePath||this.basePath)}};class r extends Error{constructor(e,t){super(t),this.field=e,this.name="RequiredError"}}t.RequiredError=r},60938:function(e,t,n){"use strict";var o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.createRequestFunction=t.toPathString=t.serializeDataIfNeeded=t.setSearchParams=t.setOAuthToObject=t.setBearerAuthToObject=t.setBasicAuthToObject=t.setApiKeyToObject=t.assertParamExists=t.DUMMY_BASE_URL=void 0;const r=n(85103);function i(e,t,n=""){"object"==typeof t?Array.isArray(t)?t.forEach((t=>i(e,t,n))):Object.keys(t).forEach((o=>i(e,t[o],`${n}${""!==n?".":""}${o}`))):e.has(n)?e.append(n,t):e.set(n,t)}t.DUMMY_BASE_URL="https://example.com",t.assertParamExists=function(e,t,n){if(null==n)throw new r.RequiredError(t,`Required parameter ${t} was null or undefined when calling ${e}.`)},t.setApiKeyToObject=function(e,t,n){return o(this,void 0,void 0,(function*(){if(n&&n.apiKey){const o="function"==typeof n.apiKey?yield n.apiKey(t):yield n.apiKey;e[t]=o}}))},t.setBasicAuthToObject=function(e,t){t&&(t.username||t.password)&&(e.auth={username:t.username,password:t.password})},t.setBearerAuthToObject=function(e,t){return o(this,void 0,void 0,(function*(){if(t&&t.accessToken){const n="function"==typeof t.accessToken?yield t.accessToken():yield t.accessToken;e.Authorization="Bearer "+n}}))},t.setOAuthToObject=function(e,t,n,r){return o(this,void 0,void 0,(function*(){if(r&&r.accessToken){const o="function"==typeof r.accessToken?yield r.accessToken(t,n):yield r.accessToken;e.Authorization="Bearer "+o}}))},t.setSearchParams=function(e,...t){const n=new URLSearchParams(e.search);i(n,t),e.search=n.toString()},t.serializeDataIfNeeded=function(e,t,n){const o="string"!=typeof e;return(o&&n&&n.isJsonMime?n.isJsonMime(t.headers["Content-Type"]):o)?JSON.stringify(void 0!==e?e:{}):e||""},t.toPathString=function(e){return e.pathname+e.search+e.hash},t.createRequestFunction=function(e,t,n,o){return(r=t,i=n)=>{const a=Object.assign(Object.assign({},e.options),{url:((null==o?void 0:o.basePath)||i)+e.url});return r.request(a)}}},832:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Configuration=void 0;const o=n(25043);t.Configuration=class{constructor(e={}){this.apiKey=e.apiKey,this.organization=e.organization,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.baseOptions=e.baseOptions,this.formDataCtor=e.formDataCtor,this.baseOptions||(this.baseOptions={}),this.baseOptions.headers=Object.assign({"User-Agent":`OpenAI/NodeJS/${o.version}`,Authorization:`Bearer ${this.apiKey}`},this.baseOptions.headers),this.organization&&(this.baseOptions.headers["OpenAI-Organization"]=this.organization),this.formDataCtor||(this.formDataCtor=n(87534))}isJsonMime(e){const t=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==e&&(t.test(e)||"application/json-patch+json"===e.toLowerCase())}}},72487:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(53567),t),r(n(832),t)},58537:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.googleProtobufAnyFromProto3JSON=t.googleProtobufAnyToProto3JSON=void 0;const o=n(98108),r=n(36792),i=new Set(["google.protobuf.Any","google.protobuf.Duration","google.protobuf.FieldMask","google.protobuf.ListValue","google.protobuf.Struct","google.protobuf.Timestamp","google.protobuf.Value"]);t.googleProtobufAnyToProto3JSON=function(e,t){const n=e.type_url.replace(/^.*\//,"");let o;try{o=e.$type.root.lookupType(n)}catch(e){throw new Error(`googleProtobufAnyToProto3JSON: cannot find type ${n}: ${e}`)}const a=o.decode(e.value),s=(0,r.toProto3JSON)(a,t);return i.has(n)?{"@type":e.type_url,value:s}:(s["@type"]=e.type_url,s)},t.googleProtobufAnyFromProto3JSON=function(e,t){if(null===t||"object"!=typeof t||Array.isArray(t))throw new Error("googleProtobufAnyFromProto3JSON: must be an object to decode google.protobuf.Any");const n=t["@type"];if(!n||"string"!=typeof n)throw new Error("googleProtobufAnyFromProto3JSON: JSON serialization of google.protobuf.Any must contain @type field");const r=n.replace(/^.*\//,"");let a;try{a=e.lookupType(r)}catch(e){throw new Error(`googleProtobufAnyFromProto3JSON: cannot find type ${r}: ${e}`)}let s=t;if(i.has(r)){if(!("value"in t))throw new Error(`googleProtobufAnyFromProto3JSON: JSON representation of google.protobuf.Any with type ${r} must contain the value field`);s=t.value}const l=(0,o.fromProto3JSON)(a,s);if(null===l)return{type_url:n,value:null};const c=a.encode(l).finish();return{type_url:n,value:Buffer.from(c,0,c.byteLength).toString("base64")}}},51643:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bytesFromProto3JSON=t.bytesToProto3JSON=void 0,t.bytesToProto3JSON=function(e){return Buffer.isBuffer(e)?e.toString("base64"):Buffer.from(e.buffer,0,e.byteLength).toString("base64")},t.bytesFromProto3JSON=function(e){return Buffer.from(e,"base64")}},2604:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.googleProtobufDurationFromProto3JSON=t.googleProtobufDurationToProto3JSON=void 0,t.googleProtobufDurationToProto3JSON=function(e){let t=e.seconds.toString();return"number"==typeof e.nanos&&e.nanos>0&&(t+="."+e.nanos.toString().padStart(9,"0").replace(/^((?:\d\d\d)+?)(?:0*)$/,"$1")),t+="s",t},t.googleProtobufDurationFromProto3JSON=function(e){const t=e.match(/^(\d*)(?:\.(\d*))?s$/);if(!t)throw new Error(`googleProtobufDurationFromProto3JSON: incorrect value ${e} passed as google.protobuf.Duration`);let n=0,o=0;"string"==typeof t[1]&&t[1].length>0&&(n=parseInt(t[1])),"string"==typeof t[2]&&t[2].length>0&&(o=parseInt(t[2].padEnd(9,"0")));const r={};return 0!==n&&(r.seconds=n),0!==o&&(r.nanos=o),r}},5340:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveEnumValueToNumber=t.resolveEnumValueToString=void 0,t.resolveEnumValueToString=function(e,t){if("number"==typeof t){const n=e.valuesById[t];return void 0===n?t:n}if("string"==typeof t)return t;throw new Error("resolveEnumValueToString: enum value must be a string or a number")},t.resolveEnumValueToNumber=function(e,t){if("number"==typeof t)return t;if("string"==typeof t){const n=e.values[t];return void 0===n?t:n}throw new Error("resolveEnumValueToNumber: enum value must be a string or a number")}},63e3:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.googleProtobufFieldMaskFromProto3JSON=t.googleProtobufFieldMaskToProto3JSON=void 0,t.googleProtobufFieldMaskToProto3JSON=function(e){return e.paths.join(",")},t.googleProtobufFieldMaskFromProto3JSON=function(e){return{paths:e.split(",")}}},98108:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromProto3JSON=t.fromProto3JSONToInternalRepresentation=void 0;const o=n(58537),r=n(51643),i=n(5340),a=n(65484),s=n(94437),l=n(2604),c=n(16438),p=n(29974),u=n(63e3);function d(e,t){const n="string"==typeof e?e:(0,s.getFullyQualifiedTypeName)(e);if("string"!=typeof e&&"values"in e)return".google.protobuf.NullValue"===n?"NULL_VALUE":(0,i.resolveEnumValueToString)(e,t);if("string"!=typeof e&&e.resolveAll(),"string"==typeof e)return t;if(".google.protobuf.Value"===n)return(0,a.googleProtobufValueFromProto3JSON)(t);if(s.wrapperTypes.has(n)){if(null!==t&&"object"==typeof t||Array.isArray(t))throw new Error(`fromProto3JSONToInternalRepresentation: JSON representation for ${n} expects a string, a number, or a boolean, but got ${typeof t}`);return(0,p.wrapperFromProto3JSON)(n,t)}if(null===t)return null;if(".google.protobuf.Any"===n)return(0,o.googleProtobufAnyFromProto3JSON)(e.root,t);if(".google.protobuf.Struct"===n){if("object"!=typeof t)throw new Error("fromProto3JSONToInternalRepresentation: google.protobuf.Struct must be an object but got "+typeof t);if(Array.isArray(t))throw new Error("fromProto3JSONToInternalRepresentation: google.protobuf.Struct must be an object but got an array");return(0,a.googleProtobufStructFromProto3JSON)(t)}if(".google.protobuf.ListValue"===n){if(!Array.isArray(t))throw new Error("fromProto3JSONToInternalRepresentation: google.protobuf.ListValue must be an array but got "+typeof t);return(0,a.googleProtobufListValueFromProto3JSON)(t)}if(".google.protobuf.Duration"===n){if("string"!=typeof t)throw new Error("fromProto3JSONToInternalRepresentation: google.protobuf.Duration must be a string but got "+typeof t);return(0,l.googleProtobufDurationFromProto3JSON)(t)}if(".google.protobuf.Timestamp"===n){if("string"!=typeof t)throw new Error("fromProto3JSONToInternalRepresentation: google.protobuf.Timestamp must be a string but got "+typeof t);return(0,c.googleProtobufTimestampFromProto3JSON)(t)}if(".google.protobuf.FieldMask"===n){if("string"!=typeof t)throw new Error("fromProto3JSONToInternalRepresentation: google.protobuf.FieldMask must be a string but got "+typeof t);return(0,u.googleProtobufFieldMaskFromProto3JSON)(t)}const g={};for(const[n,o]of Object.entries(t)){const t=e.fields[n];if(!t)continue;const i=t.resolvedType,a=t.type;if(t.repeated){if(!Array.isArray(o))throw new Error(`fromProto3JSONToInternalRepresentation: expected an array for field ${n}`);g[n]=o.map((e=>d(i||a,e)))}else if(t.map){const e={};for(const[t,n]of Object.entries(o))e[t]=d(i||a,n);g[n]=e}else if(a.match(/^(?:(?:(?:u?int|fixed)(?:32|64))|float|double)$/)){if("number"!=typeof o&&"string"!=typeof o)throw new Error(`fromProto3JSONToInternalRepresentation: field ${n} of type ${t.type} cannot contain value ${o}`);g[n]=o}else if("string"===a){if("string"!=typeof o)throw new Error(`fromProto3JSONToInternalRepresentation: field ${n} of type ${t.type} cannot contain value ${o}`);g[n]=o}else if("bool"===a){if("boolean"!=typeof o)throw new Error(`fromProto3JSONToInternalRepresentation: field ${n} of type ${t.type} cannot contain value ${o}`);g[n]=o}else if("bytes"===a){if("string"!=typeof o)throw new Error(`fromProto3JSONToInternalRepresentation: field ${n} of type ${t.type} cannot contain value ${o}`);g[n]=(0,r.bytesFromProto3JSON)(o)}else{(0,s.assert)(null!==i,`Expected to be able to resolve type for field ${t.name}`);const e=d(i,o);g[n]=e}}return g}t.fromProto3JSONToInternalRepresentation=d,t.fromProto3JSON=function(e,t){const n=d(e,t);return null===n?null:((0,s.assert)("object"==typeof n&&!Array.isArray(n),`fromProto3JSON: expected an object, not ${t}`),e.fromObject(n))}},95218:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromProto3JSON=t.toProto3JSON=void 0;var o=n(36792);Object.defineProperty(t,"toProto3JSON",{enumerable:!0,get:function(){return o.toProto3JSON}});var r=n(98108);Object.defineProperty(t,"fromProto3JSON",{enumerable:!0,get:function(){return r.fromProto3JSON}})},16438:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.googleProtobufTimestampFromProto3JSON=t.googleProtobufTimestampToProto3JSON=void 0,t.googleProtobufTimestampToProto3JSON=function(e){var t;const n=e.seconds,o=new Date(1e3*n).toISOString();let r=null===(t=e.nanos)||void 0===t?void 0:t.toString().padStart(9,"0");for(;r&&r.length>3&&r.endsWith("000");)r=r.slice(0,-3);return o.replace(/(?:\.\d{0,9})/,"."+r)},t.googleProtobufTimestampFromProto3JSON=function(e){if(!e.match(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?/))throw new Error(`googleProtobufDurationFromProto3JSON: incorrect value ${e} passed as google.protobuf.Duration`);const t=new Date(e).getTime(),n=Math.floor(t/1e3);let o=0;const r=e.split(".")[1];r&&(o=parseInt(r.slice(0,-1).padEnd(9,"0")));const i={};return 0!==n&&(i.seconds=n),0!==o&&(i.nanos=o),i}},36792:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toProto3JSON=void 0;const o=n(58537),r=n(51643),i=n(94437),a=n(5340),s=n(65484),l=n(2604),c=n(16438),p=n(29974),u=n(63e3),d=e=>e;t.toProto3JSON=function e(t,n){const g=t.$type;if(!g)throw new Error("Cannot serialize object to proto3 JSON since its .$type is unknown. Use Type.fromObject(obj) before calling toProto3JSON.");g.resolveAll();const f=(0,i.getFullyQualifiedTypeName)(g);if(".google.protobuf.Any"===f)return(0,o.googleProtobufAnyToProto3JSON)(t,n);if(".google.protobuf.Value"===f)return(0,s.googleProtobufValueToProto3JSON)(t);if(".google.protobuf.Struct"===f)return(0,s.googleProtobufStructToProto3JSON)(t);if(".google.protobuf.ListValue"===f)return(0,s.googleProtobufListValueToProto3JSON)(t);if(".google.protobuf.Duration"===f)return(0,l.googleProtobufDurationToProto3JSON)(t);if(".google.protobuf.Timestamp"===f)return(0,c.googleProtobufTimestampToProto3JSON)(t);if(".google.protobuf.FieldMask"===f)return(0,u.googleProtobufFieldMaskToProto3JSON)(t);if(i.wrapperTypes.has(f))return(0,p.wrapperToProto3JSON)(t);const h={};for(const[o,s]of Object.entries(t)){const t=g.fields[o],l=t.resolvedType,c=l?(0,i.getFullyQualifiedTypeName)(l):null;if(null!==s)if(Array.isArray(s)){if(0===s.length)continue;h[o]=s.map(l?t=>e(t,n):d)}else if(t.map){const t={};for(const[o,r]of Object.entries(s))t[o]=l?e(r,n):r;h[o]=t}else if(".google.protobuf.NullValue"!==c)if(l&&"values"in l&&null!==s)(null==n?void 0:n.numericEnums)?h[o]=(0,a.resolveEnumValueToNumber)(l,s):h[o]=(0,a.resolveEnumValueToString)(l,s);else if(l)h[o]=e(s,n);else if("string"!=typeof s&&"number"!=typeof s&&"boolean"!=typeof s&&null!==s)Buffer.isBuffer(s)||s instanceof Uint8Array?h[o]=(0,r.bytesToProto3JSON)(s):((0,i.assert)("Long"===s.constructor.name,`toProto3JSON: don't know how to convert field ${o} with value ${s}`),h[o]=s.toString());else{if("number"==typeof s&&!Number.isFinite(s)){h[o]=s.toString();continue}h[o]=s}else h[o]=null;else h[o]=null}return h}},94437:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.wrapperTypes=t.getFullyQualifiedTypeName=void 0,t.getFullyQualifiedTypeName=function(e){let t="";for(;e.parent;)t=`.${e.name}${t}`,e=e.parent;return t},t.wrapperTypes=new Set([".google.protobuf.DoubleValue",".google.protobuf.FloatValue",".google.protobuf.Int64Value",".google.protobuf.UInt64Value",".google.protobuf.Int32Value",".google.protobuf.UInt32Value",".google.protobuf.BoolValue",".google.protobuf.StringValue",".google.protobuf.BytesValue"]),t.assert=function(e,t){if(!e)throw new Error(t)}},65484:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.googleProtobufValueFromProto3JSON=t.googleProtobufListValueFromProto3JSON=t.googleProtobufStructFromProto3JSON=t.googleProtobufValueToProto3JSON=t.googleProtobufListValueToProto3JSON=t.googleProtobufStructToProto3JSON=void 0;const o=n(94437);function r(e){const t={},n=e.fields;for(const[e,o]of Object.entries(n))t[e]=a(o);return t}function i(e){return(0,o.assert)(Array.isArray(e.values),"ListValue internal representation must contain array of values"),e.values.map(a)}function a(e){return Object.prototype.hasOwnProperty.call(e,"nullValue")?null:Object.prototype.hasOwnProperty.call(e,"numberValue")&&"number"==typeof e.numberValue?Number.isFinite(e.numberValue)?e.numberValue:e.numberValue.toString():Object.prototype.hasOwnProperty.call(e,"stringValue")&&"string"==typeof e.stringValue?e.stringValue:Object.prototype.hasOwnProperty.call(e,"boolValue")&&"boolean"==typeof e.boolValue?e.boolValue:Object.prototype.hasOwnProperty.call(e,"structValue")&&"object"==typeof e.structValue?r(e.structValue):Object.prototype.hasOwnProperty.call(e,"listValue")&&"object"==typeof e&&"object"==typeof e.listValue?i(e.listValue):null}function s(e){const t={};for(const[n,o]of Object.entries(e))t[n]=c(o);return{fields:t}}function l(e){return{values:e.map((e=>c(e)))}}function c(e){if(null===e)return{nullValue:"NULL_VALUE"};if("number"==typeof e)return{numberValue:e};if("string"==typeof e)return{stringValue:e};if("boolean"==typeof e)return{boolValue:e};if(Array.isArray(e))return{listValue:l(e)};if("object"==typeof e)return{structValue:s(e)};throw new Error("googleProtobufValueFromProto3JSON: incorrect parameter type: "+typeof e)}t.googleProtobufStructToProto3JSON=r,t.googleProtobufListValueToProto3JSON=i,t.googleProtobufValueToProto3JSON=a,t.googleProtobufStructFromProto3JSON=s,t.googleProtobufListValueFromProto3JSON=l,t.googleProtobufValueFromProto3JSON=c},29974:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapperFromProto3JSON=t.wrapperToProto3JSON=void 0;const o=n(51643),r=n(94437);t.wrapperToProto3JSON=function(e){return Object.prototype.hasOwnProperty.call(e,"value")?Buffer.isBuffer(e.value)||e.value instanceof Uint8Array?(0,o.bytesToProto3JSON)(e.value):"object"==typeof e.value?((0,r.assert)("Long"===e.value.constructor.name,`wrapperToProto3JSON: expected to see a number, a string, a boolean, or a Long, but got ${e.value}`),e.value.toString()):"number"!=typeof e.value||Number.isFinite(e.value)?e.value:e.value.toString():null},t.wrapperFromProto3JSON=function(e,t){if(null===t)return{value:null};if(".google.protobuf.BytesValue"===e){if("string"!=typeof t)throw new Error("numberWrapperFromProto3JSON: expected to get a string for google.protobuf.BytesValue but got "+typeof t);return{value:(0,o.bytesFromProto3JSON)(t)}}return{value:t}}},37589:(e,t,n)=>{"use strict";var o=n(1747);e.exports=t=o.descriptor=o.Root.fromJSON(n(32186)).lookup(".google.protobuf");var r=o.Namespace,i=o.Root,a=o.Enum,s=o.Type,l=o.Field,c=o.MapField,p=o.OneOf,u=o.Service,d=o.Method;function g(e,n,o){var c=t.FileDescriptorProto.create({name:e.filename||(e.fullName.substring(1).replace(/\./g,"_")||"root")+".proto"});o&&(c.syntax=o),e instanceof i||(c.package=e.fullName.substring(1));for(var p,d=0;d{"use strict";e.exports=n(53173)},1740:(e,t,n)=>{"use strict";e.exports=n(91428)},25207:e=>{"use strict";e.exports=o;var t,n=/\/|\./;function o(e,t){n.test(e)||(e="google/protobuf/"+e+".proto",t={nested:{google:{nested:{protobuf:{nested:t}}}}}),o[e]=t}o("any",{Any:{fields:{type_url:{type:"string",id:1},value:{type:"bytes",id:2}}}}),o("duration",{Duration:t={fields:{seconds:{type:"int64",id:1},nanos:{type:"int32",id:2}}}}),o("timestamp",{Timestamp:t}),o("empty",{Empty:{fields:{}}}),o("struct",{Struct:{fields:{fields:{keyType:"string",type:"Value",id:1}}},Value:{oneofs:{kind:{oneof:["nullValue","numberValue","stringValue","boolValue","structValue","listValue"]}},fields:{nullValue:{type:"NullValue",id:1},numberValue:{type:"double",id:2},stringValue:{type:"string",id:3},boolValue:{type:"bool",id:4},structValue:{type:"Struct",id:5},listValue:{type:"ListValue",id:6}}},NullValue:{values:{NULL_VALUE:0}},ListValue:{fields:{values:{rule:"repeated",type:"Value",id:1}}}}),o("wrappers",{DoubleValue:{fields:{value:{type:"double",id:1}}},FloatValue:{fields:{value:{type:"float",id:1}}},Int64Value:{fields:{value:{type:"int64",id:1}}},UInt64Value:{fields:{value:{type:"uint64",id:1}}},Int32Value:{fields:{value:{type:"int32",id:1}}},UInt32Value:{fields:{value:{type:"uint32",id:1}}},BoolValue:{fields:{value:{type:"bool",id:1}}},StringValue:{fields:{value:{type:"string",id:1}}},BytesValue:{fields:{value:{type:"bytes",id:1}}}}),o("field_mask",{FieldMask:{fields:{paths:{rule:"repeated",type:"string",id:1}}}}),o.get=function(e){return o[e]||null}},1257:(e,t,n)=>{"use strict";var o=t,r=n(53116),i=n(44211);function a(e,t,n,o){var i=!1;if(t.resolvedType)if(t.resolvedType instanceof r){e("switch(d%s){",o);for(var a=t.resolvedType.values,s=Object.keys(a),l=0;l>>0",o,o);break;case"int32":case"sint32":case"sfixed32":e("m%s=d%s|0",o,o);break;case"uint64":c=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e("if(util.Long)")("(m%s=util.Long.fromValue(d%s)).unsigned=%j",o,o,c)('else if(typeof d%s==="string")',o)("m%s=parseInt(d%s,10)",o,o)('else if(typeof d%s==="number")',o)("m%s=d%s",o,o)('else if(typeof d%s==="object")',o)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)",o,o,o,c?"true":"");break;case"bytes":e('if(typeof d%s==="string")',o)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)",o,o,o)("else if(d%s.length >= 0)",o)("m%s=d%s",o,o);break;case"string":e("m%s=String(d%s)",o,o);break;case"bool":e("m%s=Boolean(d%s)",o,o)}}return e}function s(e,t,n,o){if(t.resolvedType)t.resolvedType instanceof r?e("d%s=o.enums===String?(types[%i].values[m%s]===undefined?m%s:types[%i].values[m%s]):m%s",o,n,o,o,n,o,o):e("d%s=types[%i].toObject(m%s,o)",o,n,o);else{var i=!1;switch(t.type){case"double":case"float":e("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s",o,o,o,o);break;case"uint64":i=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e('if(typeof m%s==="number")',o)("d%s=o.longs===String?String(m%s):m%s",o,o,o)("else")("d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s",o,o,o,o,i?"true":"",o);break;case"bytes":e("d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s",o,o,o,o,o);break;default:e("d%s=m%s",o,o)}}return e}o.fromObject=function(e){var t=e.fieldsArray,n=i.codegen(["d"],e.name+"$fromObject")("if(d instanceof this.ctor)")("return d");if(!t.length)return n("return new this.ctor");n("var m=new this.ctor");for(var o=0;o{"use strict";e.exports=function(e){var t=i.codegen(["r","l"],e.name+"$decode")("if(!(r instanceof Reader))")("r=Reader.create(r)")("var c=l===undefined?r.len:r.pos+l,m=new this.ctor"+(e.fieldsArray.filter((function(e){return e.map})).length?",k,value":""))("while(r.pos>>3){");for(var n=0;n>>3){")("case 1: k=r.%s(); break",s.keyType)("case 2:"),void 0===r.basic[l]?t("value=types[%i].decode(r,r.uint32())",n):t("value=r.%s()",l),t("break")("default:")("r.skipType(tag2&7)")("break")("}")("}"),void 0!==r.long[s.keyType]?t('%s[typeof k==="object"?util.longToHash(k):k]=value',c):t("%s[k]=value",c)):s.repeated?(t("if(!(%s&&%s.length))",c,c)("%s=[]",c),void 0!==r.packed[l]&&t("if((t&7)===2){")("var c2=r.uint32()+r.pos")("while(r.pos{"use strict";e.exports=function(e){for(var t,n=i.codegen(["m","w"],e.name+"$encode")("if(!w)")("w=Writer.create()"),s=e.fieldsArray.slice().sort(i.compareFieldsById),l=0;l>>0,8|r.mapKey[c.keyType],c.keyType),void 0===d?n("types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()",p,t):n(".uint32(%i).%s(%s[ks[i]]).ldelim()",16|d,u,t),n("}")("}")):c.repeated?(n("if(%s!=null&&%s.length){",t,t),c.packed&&void 0!==r.packed[u]?n("w.uint32(%i).fork()",(c.id<<3|2)>>>0)("for(var i=0;i<%s.length;++i)",t)("w.%s(%s[i])",u,t)("w.ldelim()"):(n("for(var i=0;i<%s.length;++i)",t),void 0===d?a(n,c,p,t+"[i]"):n("w.uint32(%i).%s(%s[i])",(c.id<<3|d)>>>0,u,t)),n("}")):(c.optional&&n("if(%s!=null&&Object.hasOwnProperty.call(m,%j))",t,c.name),void 0===d?a(n,c,p,t):n("w.uint32(%i).%s(%s)",(c.id<<3|d)>>>0,u,t))}return n("return w")};var o=n(53116),r=n(38393),i=n(44211);function a(e,t,n,o){return t.resolvedType.group?e("types[%i].encode(%s,w.uint32(%i)).uint32(%i)",n,o,(t.id<<3|3)>>>0,(t.id<<3|4)>>>0):e("types[%i].encode(%s,w.uint32(%i).fork()).ldelim()",n,o,(t.id<<3|2)>>>0)}},53116:(e,t,n)=>{"use strict";e.exports=a;var o=n(69660);((a.prototype=Object.create(o.prototype)).constructor=a).className="Enum";var r=n(23602),i=n(44211);function a(e,t,n,r,i,a){if(o.call(this,e,n),t&&"object"!=typeof t)throw TypeError("values must be an object");if(this.valuesById={},this.values=Object.create(this.valuesById),this.comment=r,this.comments=i||{},this.valuesOptions=a,this.reserved=void 0,t)for(var s=Object.keys(t),l=0;l{"use strict";e.exports=c;var o=n(69660);((c.prototype=Object.create(o.prototype)).constructor=c).className="Field";var r,i=n(53116),a=n(38393),s=n(44211),l=/^required|optional|repeated$/;function c(e,t,n,r,i,c,p){if(s.isObject(r)?(p=i,c=r,r=i=void 0):s.isObject(i)&&(p=c,c=i,i=void 0),o.call(this,e,c),!s.isInteger(t)||t<0)throw TypeError("id must be a non-negative integer");if(!s.isString(n))throw TypeError("type must be a string");if(void 0!==r&&!l.test(r=r.toString().toLowerCase()))throw TypeError("rule must be a string rule");if(void 0!==i&&!s.isString(i))throw TypeError("extend must be a string");"proto3_optional"===r&&(r="optional"),this.rule=r&&"optional"!==r?r:void 0,this.type=n,this.id=t,this.extend=i||void 0,this.required="required"===r,this.optional=!this.required,this.repeated="repeated"===r,this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=!!s.Long&&void 0!==a.long[n],this.bytes="bytes"===n,this.resolvedType=null,this.extensionField=null,this.declaringField=null,this._packed=null,this.comment=p}c.fromJSON=function(e,t){return new c(e,t.id,t.type,t.rule,t.extend,t.options,t.comment)},Object.defineProperty(c.prototype,"packed",{get:function(){return null===this._packed&&(this._packed=!1!==this.getOption("packed")),this._packed}}),c.prototype.setOption=function(e,t,n){return"packed"===e&&(this._packed=null),o.prototype.setOption.call(this,e,t,n)},c.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return s.toObject(["rule","optional"!==this.rule&&this.rule||void 0,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",t?this.comment:void 0])},c.prototype.resolve=function(){if(this.resolved)return this;if(void 0===(this.typeDefault=a.defaults[this.type])?(this.resolvedType=(this.declaringField?this.declaringField.parent:this.parent).lookupTypeOrEnum(this.type),this.resolvedType instanceof r?this.typeDefault=null:this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]):this.options&&this.options.proto3_optional&&(this.typeDefault=null),this.options&&null!=this.options.default&&(this.typeDefault=this.options.default,this.resolvedType instanceof i&&"string"==typeof this.typeDefault&&(this.typeDefault=this.resolvedType.values[this.typeDefault])),this.options&&(!0!==this.options.packed&&(void 0===this.options.packed||!this.resolvedType||this.resolvedType instanceof i)||delete this.options.packed,Object.keys(this.options).length||(this.options=void 0)),this.long)this.typeDefault=s.Long.fromNumber(this.typeDefault,"u"===this.type.charAt(0)),Object.freeze&&Object.freeze(this.typeDefault);else if(this.bytes&&"string"==typeof this.typeDefault){var e;s.base64.test(this.typeDefault)?s.base64.decode(this.typeDefault,e=s.newBuffer(s.base64.length(this.typeDefault)),0):s.utf8.write(this.typeDefault,e=s.newBuffer(s.utf8.length(this.typeDefault)),0),this.typeDefault=e}return this.map?this.defaultValue=s.emptyObject:this.repeated?this.defaultValue=s.emptyArray:this.defaultValue=this.typeDefault,this.parent instanceof r&&(this.parent.ctor.prototype[this.name]=this.defaultValue),o.prototype.resolve.call(this)},c.d=function(e,t,n,o){return"function"==typeof t?t=s.decorateType(t).name:t&&"object"==typeof t&&(t=s.decorateEnum(t).name),function(r,i){s.decorateType(r.constructor).add(new c(i,e,t,n,{default:o}))}},c._configure=function(e){r=e}},96542:(e,t,n)=>{"use strict";var o=e.exports=n(91428);o.build="light",o.load=function(e,t,n){return"function"==typeof t?(n=t,t=new o.Root):t||(t=new o.Root),t.load(e,n)},o.loadSync=function(e,t){return t||(t=new o.Root),t.loadSync(e)},o.encoder=n(95078),o.decoder=n(54830),o.verifier=n(21514),o.converter=n(1257),o.ReflectionObject=n(69660),o.Namespace=n(23602),o.Root=n(28040),o.Enum=n(53116),o.Type=n(25224),o.Field=n(27234),o.OneOf=n(37652),o.MapField=n(29043),o.Service=n(28671),o.Method=n(50146),o.Message=n(21806),o.wrappers=n(56267),o.types=n(38393),o.util=n(44211),o.ReflectionObject._configure(o.Root),o.Namespace._configure(o.Type,o.Service,o.Enum),o.Root._configure(o.Type),o.Field._configure(o.Type)},91428:(e,t,n)=>{"use strict";var o=t;function r(){o.util._configure(),o.Writer._configure(o.BufferWriter),o.Reader._configure(o.BufferReader)}o.build="minimal",o.Writer=n(97550),o.BufferWriter=n(62501),o.Reader=n(38775),o.BufferReader=n(82583),o.util=n(13219),o.rpc=n(61808),o.roots=n(92250),o.configure=r,r()},53173:(e,t,n)=>{"use strict";var o=e.exports=n(96542);o.build="full",o.tokenize=n(23441),o.parse=n(86565),o.common=n(25207),o.Root._configure(o.Type,o.parse,o.common)},29043:(e,t,n)=>{"use strict";e.exports=a;var o=n(27234);((a.prototype=Object.create(o.prototype)).constructor=a).className="MapField";var r=n(38393),i=n(44211);function a(e,t,n,r,a,s){if(o.call(this,e,t,r,void 0,void 0,a,s),!i.isString(n))throw TypeError("keyType must be a string");this.keyType=n,this.resolvedKeyType=null,this.map=!0}a.fromJSON=function(e,t){return new a(e,t.id,t.keyType,t.type,t.options,t.comment)},a.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return i.toObject(["keyType",this.keyType,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",t?this.comment:void 0])},a.prototype.resolve=function(){if(this.resolved)return this;if(void 0===r.mapKey[this.keyType])throw Error("invalid key type: "+this.keyType);return o.prototype.resolve.call(this)},a.d=function(e,t,n){return"function"==typeof n?n=i.decorateType(n).name:n&&"object"==typeof n&&(n=i.decorateEnum(n).name),function(o,r){i.decorateType(o.constructor).add(new a(r,e,t,n))}}},21806:(e,t,n)=>{"use strict";e.exports=r;var o=n(13219);function r(e){if(e)for(var t=Object.keys(e),n=0;n{"use strict";e.exports=i;var o=n(69660);((i.prototype=Object.create(o.prototype)).constructor=i).className="Method";var r=n(44211);function i(e,t,n,i,a,s,l,c,p){if(r.isObject(a)?(l=a,a=s=void 0):r.isObject(s)&&(l=s,s=void 0),void 0!==t&&!r.isString(t))throw TypeError("type must be a string");if(!r.isString(n))throw TypeError("requestType must be a string");if(!r.isString(i))throw TypeError("responseType must be a string");o.call(this,e,l),this.type=t||"rpc",this.requestType=n,this.requestStream=!!a||void 0,this.responseType=i,this.responseStream=!!s||void 0,this.resolvedRequestType=null,this.resolvedResponseType=null,this.comment=c,this.parsedOptions=p}i.fromJSON=function(e,t){return new i(e,t.type,t.requestType,t.responseType,t.requestStream,t.responseStream,t.options,t.comment,t.parsedOptions)},i.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return r.toObject(["type","rpc"!==this.type&&this.type||void 0,"requestType",this.requestType,"requestStream",this.requestStream,"responseType",this.responseType,"responseStream",this.responseStream,"options",this.options,"comment",t?this.comment:void 0,"parsedOptions",this.parsedOptions])},i.prototype.resolve=function(){return this.resolved?this:(this.resolvedRequestType=this.parent.lookupType(this.requestType),this.resolvedResponseType=this.parent.lookupType(this.responseType),o.prototype.resolve.call(this))}},23602:(e,t,n)=>{"use strict";e.exports=u;var o=n(69660);((u.prototype=Object.create(o.prototype)).constructor=u).className="Namespace";var r,i,a,s=n(27234),l=n(44211),c=n(37652);function p(e,t){if(e&&e.length){for(var n={},o=0;ot)return!0;return!1},u.isReservedName=function(e,t){if(e)for(var n=0;n0;){var o=e.shift();if(n.nested&&n.nested[o]){if(!((n=n.nested[o])instanceof u))throw Error("path conflicts with non-namespace objects")}else n.add(n=new u(o))}return t&&n.addJSON(t),n},u.prototype.resolveAll=function(){for(var e=this.nestedArray,t=0;t-1)return o}else if(o instanceof u&&(o=o.lookup(e.slice(1),t,!0)))return o}else for(var r=0;r{"use strict";e.exports=i,i.className="ReflectionObject";var o,r=n(44211);function i(e,t){if(!r.isString(e))throw TypeError("name must be a string");if(t&&!r.isObject(t))throw TypeError("options must be an object");this.options=t,this.parsedOptions=null,this.name=e,this.parent=null,this.resolved=!1,this.comment=null,this.filename=null}Object.defineProperties(i.prototype,{root:{get:function(){for(var e=this;null!==e.parent;)e=e.parent;return e}},fullName:{get:function(){for(var e=[this.name],t=this.parent;t;)e.unshift(t.name),t=t.parent;return e.join(".")}}}),i.prototype.toJSON=function(){throw Error()},i.prototype.onAdd=function(e){this.parent&&this.parent!==e&&this.parent.remove(this),this.parent=e,this.resolved=!1;var t=e.root;t instanceof o&&t._handleAdd(this)},i.prototype.onRemove=function(e){var t=e.root;t instanceof o&&t._handleRemove(this),this.parent=null,this.resolved=!1},i.prototype.resolve=function(){return this.resolved||this.root instanceof o&&(this.resolved=!0),this},i.prototype.getOption=function(e){if(this.options)return this.options[e]},i.prototype.setOption=function(e,t,n){return n&&this.options&&void 0!==this.options[e]||((this.options||(this.options={}))[e]=t),this},i.prototype.setParsedOption=function(e,t,n){this.parsedOptions||(this.parsedOptions=[]);var o=this.parsedOptions;if(n){var i=o.find((function(t){return Object.prototype.hasOwnProperty.call(t,e)}));if(i){var a=i[e];r.setProperty(a,n,t)}else(i={})[e]=r.setProperty({},n,t),o.push(i)}else{var s={};s[e]=t,o.push(s)}return this},i.prototype.setOptions=function(e,t){if(e)for(var n=Object.keys(e),o=0;o{"use strict";e.exports=a;var o=n(69660);((a.prototype=Object.create(o.prototype)).constructor=a).className="OneOf";var r=n(27234),i=n(44211);function a(e,t,n,r){if(Array.isArray(t)||(n=t,t=void 0),o.call(this,e,n),void 0!==t&&!Array.isArray(t))throw TypeError("fieldNames must be an Array");this.oneof=t||[],this.fieldsArray=[],this.comment=r}function s(e){if(e.parent)for(var t=0;t-1&&this.oneof.splice(t,1),e.partOf=null,this},a.prototype.onAdd=function(e){o.prototype.onAdd.call(this,e);for(var t=0;t{"use strict";e.exports=S,S.filename=null,S.defaults={keepCase:!1};var o=n(23441),r=n(28040),i=n(25224),a=n(27234),s=n(29043),l=n(37652),c=n(53116),p=n(28671),u=n(50146),d=n(38393),g=n(44211),f=/^[1-9][0-9]*$/,h=/^-?[1-9][0-9]*$/,m=/^0[x][0-9a-fA-F]+$/,y=/^-?0[x][0-9a-fA-F]+$/,v=/^0[0-7]+$/,b=/^-?0[0-7]+$/,O=/^(?![eE])[0-9]*(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?$/,w=/^[a-zA-Z_][a-zA-Z_0-9]*$/,P=/^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*$/,x=/^(?:\.[a-zA-Z_][a-zA-Z_0-9]*)+$/;function S(e,t,n){t instanceof r||(n=t,t=new r),n||(n=S.defaults);var T,A,E,j,k,_=n.preferTrailingComment||!1,C=o(e,n.alternateCommentMode||!1),I=C.next,R=C.push,N=C.peek,D=C.skip,L=C.cmnt,B=!0,M=!1,F=t,U=n.keepCase?function(e){return e}:g.camelCase;function q(e,t,n){var o=S.filename;return n||(S.filename=null),Error("illegal "+(t||"token")+" '"+e+"' ("+(o?o+", ":"")+"line "+C.line+")")}function V(){var e,t=[];do{if('"'!==(e=I())&&"'"!==e)throw q(e);t.push(I()),D(e),e=N()}while('"'===e||"'"===e);return t.join("")}function H(e){var t=I();switch(t){case"'":case'"':return R(t),V();case"true":case"TRUE":return!0;case"false":case"FALSE":return!1}try{return function(e,t){var n=1;switch("-"===e.charAt(0)&&(n=-1,e=e.substring(1)),e){case"inf":case"INF":case"Inf":return n*(1/0);case"nan":case"NAN":case"Nan":case"NaN":return NaN;case"0":return 0}if(f.test(e))return n*parseInt(e,10);if(m.test(e))return n*parseInt(e,16);if(v.test(e))return n*parseInt(e,8);if(O.test(e))return n*parseFloat(e);throw q(e,"number",!0)}(t)}catch(n){if(e&&P.test(t))return t;throw q(t,"value")}}function G(e,t){var n,o;do{!t||'"'!==(n=N())&&"'"!==n?e.push([o=W(I()),D("to",!0)?W(I()):o]):e.push(V())}while(D(",",!0));D(";")}function W(e,t){switch(e){case"max":case"MAX":case"Max":return 536870911;case"0":return 0}if(!t&&"-"===e.charAt(0))throw q(e,"id");if(h.test(e))return parseInt(e,10);if(y.test(e))return parseInt(e,16);if(b.test(e))return parseInt(e,8);throw q(e,"id")}function z(){if(void 0!==T)throw q("package");if(T=I(),!P.test(T))throw q(T,"name");F=F.define(T),D(";")}function J(){var e,t=N();switch(t){case"weak":e=E||(E=[]),I();break;case"public":I();default:e=A||(A=[])}t=V(),D(";"),e.push(t)}function Y(){if(D("="),j=V(),!(M="proto3"===j)&&"proto2"!==j)throw q(j,"syntax");D(";")}function K(e,t){switch(t){case"option":return ee(e,t),D(";"),!0;case"message":return Q(e,t),!0;case"enum":return Z(e,t),!0;case"service":return function(e,t){if(!w.test(t=I()))throw q(t,"service name");var n=new p(t);$(n,(function(e){if(!K(n,e)){if("rpc"!==e)throw q(e);!function(e,t){var n=L(),o=t;if(!w.test(t=I()))throw q(t,"name");var r,i,a,s,l=t;if(D("("),D("stream",!0)&&(i=!0),!P.test(t=I()))throw q(t);if(r=t,D(")"),D("returns"),D("("),D("stream",!0)&&(s=!0),!P.test(t=I()))throw q(t);a=t,D(")");var c=new u(l,o,r,a,i,s);c.comment=n,$(c,(function(e){if("option"!==e)throw q(e);ee(c,e),D(";")})),e.add(c)}(n,e)}})),e.add(n)}(e,t),!0;case"extend":return function(e,t){if(!P.test(t=I()))throw q(t,"reference");var n=t;$(null,(function(t){switch(t){case"required":case"repeated":X(e,t,n);break;case"optional":X(e,M?"proto3_optional":"optional",n);break;default:if(!M||!P.test(t))throw q(t);R(t),X(e,"optional",n)}}))}(e,t),!0}return!1}function $(e,t,n){var o=C.line;if(e&&("string"!=typeof e.comment&&(e.comment=L()),e.filename=S.filename),D("{",!0)){for(var r;"}"!==(r=I());)t(r);D(";",!0)}else n&&n(),D(";"),e&&("string"!=typeof e.comment||_)&&(e.comment=L(o)||e.comment)}function Q(e,t){if(!w.test(t=I()))throw q(t,"type name");var n=new i(t);$(n,(function(e){if(!K(n,e))switch(e){case"map":!function(e){D("<");var t=I();if(void 0===d.mapKey[t])throw q(t,"type");D(",");var n=I();if(!P.test(n))throw q(n,"type");D(">");var o=I();if(!w.test(o))throw q(o,"name");D("=");var r=new s(U(o),W(I()),t,n);$(r,(function(e){if("option"!==e)throw q(e);ee(r,e),D(";")}),(function(){oe(r)})),e.add(r)}(n);break;case"required":case"repeated":X(n,e);break;case"optional":X(n,M?"proto3_optional":"optional");break;case"oneof":!function(e,t){if(!w.test(t=I()))throw q(t,"name");var n=new l(U(t));$(n,(function(e){"option"===e?(ee(n,e),D(";")):(R(e),X(n,"optional"))})),e.add(n)}(n,e);break;case"extensions":G(n.extensions||(n.extensions=[]));break;case"reserved":G(n.reserved||(n.reserved=[]),!0);break;default:if(!M||!P.test(e))throw q(e);R(e),X(n,"optional")}})),e.add(n)}function X(e,t,n){var o=I();if("group"!==o){if(!P.test(o))throw q(o,"type");var r=I();if(!w.test(r))throw q(r,"name");r=U(r),D("=");var s=new a(r,W(I()),o,t,n);if($(s,(function(e){if("option"!==e)throw q(e);ee(s,e),D(";")}),(function(){oe(s)})),"proto3_optional"===t){var c=new l("_"+r);s.setOption("proto3_optional",!0),c.add(s),e.add(c)}else e.add(s);M||!s.repeated||void 0===d.packed[o]&&void 0!==d.basic[o]||s.setOption("packed",!1,!0)}else!function(e,t){var n=I();if(!w.test(n))throw q(n,"name");var o=g.lcFirst(n);n===o&&(n=g.ucFirst(n)),D("=");var r=W(I()),s=new i(n);s.group=!0;var l=new a(o,r,n,t);l.filename=S.filename,$(s,(function(e){switch(e){case"option":ee(s,e),D(";");break;case"required":case"repeated":X(s,e);break;case"optional":X(s,M?"proto3_optional":"optional");break;case"message":Q(s,e);break;case"enum":Z(s,e);break;default:throw q(e)}})),e.add(s).add(l)}(e,t)}function Z(e,t){if(!w.test(t=I()))throw q(t,"name");var n=new c(t);$(n,(function(e){switch(e){case"option":ee(n,e),D(";");break;case"reserved":G(n.reserved||(n.reserved=[]),!0);break;default:!function(e,t){if(!w.test(t))throw q(t,"name");D("=");var n=W(I(),!0),o={options:void 0,setOption:function(e,t){void 0===this.options&&(this.options={}),this.options[e]=t}};$(o,(function(e){if("option"!==e)throw q(e);ee(o,e),D(";")}),(function(){oe(o)})),e.add(t,n,o.comment,o.options)}(n,e)}})),e.add(n)}function ee(e,t){var n=D("(",!0);if(!P.test(t=I()))throw q(t,"name");var o,r=t,i=r;n&&(D(")"),i=r="("+r+")",t=N(),x.test(t)&&(o=t.slice(1),r+=t,I())),D("="),function(e,t,n,o){e.setParsedOption&&e.setParsedOption(t,n,o)}(e,i,te(e,r),o)}function te(e,t){if(D("{",!0)){for(var n={};!D("}",!0);){if(!w.test(k=I()))throw q(k,"name");var o,r=k;if(D(":",!0),"{"===N())o=te(e,t+"."+k);else if("["===N()){var i;if(o=[],D("[",!0)){do{i=H(!0),o.push(i)}while(D(",",!0));D("]"),void 0!==i&&ne(e,t+"."+k,i)}}else o=H(!0),ne(e,t+"."+k,o);var a=n[r];a&&(o=[].concat(a).concat(o)),n[r]=o,D(",",!0),D(";",!0)}return n}var s=H(!0);return ne(e,t,s),s}function ne(e,t,n){e.setOption&&e.setOption(t,n)}function oe(e){if(D("[",!0)){do{ee(e,"option")}while(D(",",!0));D("]")}return e}for(;null!==(k=I());)switch(k){case"package":if(!B)throw q(k);z();break;case"import":if(!B)throw q(k);J();break;case"syntax":if(!B)throw q(k);Y();break;case"option":ee(F,k),D(";");break;default:if(K(F,k)){B=!1;continue}throw q(k)}return S.filename=null,{package:T,imports:A,weakImports:E,syntax:j,root:t}}},38775:(e,t,n)=>{"use strict";e.exports=l;var o,r=n(13219),i=r.LongBits,a=r.utf8;function s(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function l(e){this.buf=e,this.pos=0,this.len=e.length}var c,p="undefined"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new l(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new l(e);throw Error("illegal buffer")},u=function(){return r.Buffer?function(e){return(l.create=function(e){return r.Buffer.isBuffer(e)?new o(e):p(e)})(e)}:p};function d(){var e=new i(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw s(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw s(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function g(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function f(){if(this.pos+8>this.len)throw s(this,8);return new i(g(this.buf,this.pos+=4),g(this.buf,this.pos+=4))}l.create=u(),l.prototype._slice=r.Array.prototype.subarray||r.Array.prototype.slice,l.prototype.uint32=(c=4294967295,function(){if(c=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return c;if((this.pos+=5)>this.len)throw this.pos=this.len,s(this,10);return c}),l.prototype.int32=function(){return 0|this.uint32()},l.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},l.prototype.bool=function(){return 0!==this.uint32()},l.prototype.fixed32=function(){if(this.pos+4>this.len)throw s(this,4);return g(this.buf,this.pos+=4)},l.prototype.sfixed32=function(){if(this.pos+4>this.len)throw s(this,4);return 0|g(this.buf,this.pos+=4)},l.prototype.float=function(){if(this.pos+4>this.len)throw s(this,4);var e=r.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},l.prototype.double=function(){if(this.pos+8>this.len)throw s(this,4);var e=r.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},l.prototype.bytes=function(){var e=this.uint32(),t=this.pos,n=this.pos+e;if(n>this.len)throw s(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,n):t===n?new this.buf.constructor(0):this._slice.call(this.buf,t,n)},l.prototype.string=function(){var e=this.bytes();return a.read(e,0,e.length)},l.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw s(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw s(this)}while(128&this.buf[this.pos++]);return this},l.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(e=7&this.uint32());)this.skipType(e);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},l._configure=function(e){o=e,l.create=u(),o._configure();var t=r.Long?"toLong":"toNumber";r.merge(l.prototype,{int64:function(){return d.call(this)[t](!1)},uint64:function(){return d.call(this)[t](!0)},sint64:function(){return d.call(this).zzDecode()[t](!1)},fixed64:function(){return f.call(this)[t](!0)},sfixed64:function(){return f.call(this)[t](!1)}})}},82583:(e,t,n)=>{"use strict";e.exports=i;var o=n(38775);(i.prototype=Object.create(o.prototype)).constructor=i;var r=n(13219);function i(e){o.call(this,e)}i._configure=function(){r.Buffer&&(i.prototype._slice=r.Buffer.prototype.slice)},i.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))},i._configure()},28040:(e,t,n)=>{"use strict";e.exports=u;var o=n(23602);((u.prototype=Object.create(o.prototype)).constructor=u).className="Root";var r,i,a,s=n(27234),l=n(53116),c=n(37652),p=n(44211);function u(e){o.call(this,"",e),this.deferred=[],this.files=[]}function d(){}u.fromJSON=function(e,t){return t||(t=new u),e.options&&t.setOptions(e.options),t.addJSON(e.nested)},u.prototype.resolvePath=p.path.resolve,u.prototype.fetch=p.fetch,u.prototype.load=function e(t,n,o){"function"==typeof n&&(o=n,n=void 0);var r=this;if(!o)return p.asPromise(e,r,t,n);var s=o===d;function l(e,t){if(o){var n=o;if(o=null,s)throw e;n(e,t)}}function c(e){var t=e.lastIndexOf("google/protobuf/");if(t>-1){var n=e.substring(t);if(n in a)return n}return null}function u(e,t){try{if(p.isString(t)&&"{"===t.charAt(0)&&(t=JSON.parse(t)),p.isString(t)){i.filename=e;var o,a=i(t,r,n),u=0;if(a.imports)for(;u-1))if(r.files.push(e),e in a)s?u(e,a[e]):(++f,setTimeout((function(){--f,u(e,a[e])})));else if(s){var n;try{n=p.fs.readFileSync(e).toString("utf8")}catch(e){return void(t||l(e))}u(e,n)}else++f,r.fetch(e,(function(n,i){--f,o&&(n?t?f||l(null,r):l(n):u(e,i))}))}var f=0;p.isString(t)&&(t=[t]);for(var h,m=0;m-1&&this.deferred.splice(t,1)}}else if(e instanceof l)g.test(e.name)&&delete e.parent[e.name];else if(e instanceof o){for(var n=0;n{"use strict";e.exports={}},61808:(e,t,n)=>{"use strict";t.Service=n(26613)},26613:(e,t,n)=>{"use strict";e.exports=r;var o=n(13219);function r(e,t,n){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");o.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(n)}(r.prototype=Object.create(o.EventEmitter.prototype)).constructor=r,r.prototype.rpcCall=function e(t,n,r,i,a){if(!i)throw TypeError("request must be specified");var s=this;if(!a)return o.asPromise(e,s,t,n,r,i);if(s.rpcImpl)try{return s.rpcImpl(t,n[s.requestDelimited?"encodeDelimited":"encode"](i).finish(),(function(e,n){if(e)return s.emit("error",e,t),a(e);if(null!==n){if(!(n instanceof r))try{n=r[s.responseDelimited?"decodeDelimited":"decode"](n)}catch(e){return s.emit("error",e,t),a(e)}return s.emit("data",n,t),a(null,n)}s.end(!0)}))}catch(e){return s.emit("error",e,t),void setTimeout((function(){a(e)}),0)}else setTimeout((function(){a(Error("already ended"))}),0)},r.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},28671:(e,t,n)=>{"use strict";e.exports=s;var o=n(23602);((s.prototype=Object.create(o.prototype)).constructor=s).className="Service";var r=n(50146),i=n(44211),a=n(61808);function s(e,t){o.call(this,e,t),this.methods={},this._methodsArray=null}function l(e){return e._methodsArray=null,e}s.fromJSON=function(e,t){var n=new s(e,t.options);if(t.methods)for(var o=Object.keys(t.methods),i=0;i{"use strict";e.exports=u;var t=/[\s{}=;:[\],'"()<>]/g,n=/(?:"([^"\\]*(?:\\.[^"\\]*)*)")/g,o=/(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g,r=/^ *[*/]+ */,i=/^\s*\*?\/*/,a=/\n/g,s=/\s/,l=/\\(.?)/g,c={0:"\0",r:"\r",n:"\n",t:"\t"};function p(e){return e.replace(l,(function(e,t){switch(t){case"\\":case"":return t;default:return c[t]||""}}))}function u(e,l){e=e.toString();var c=0,u=e.length,d=1,g=0,f={},h=[],m=null;function y(e){return Error("illegal "+e+" (line "+d+")")}function v(t){return e.charAt(t)}function b(t,n,o){var s,c={type:e.charAt(t++),lineEmpty:!1,leading:o},p=t-(l?2:3);do{if(--p<0||"\n"===(s=e.charAt(p))){c.lineEmpty=!0;break}}while(" "===s||"\t"===s);for(var u=e.substring(t,n).split(a),h=0;h0)return h.shift();if(m)return function(){var t="'"===m?o:n;t.lastIndex=c-1;var r=t.exec(e);if(!r)throw y("string");return c=t.lastIndex,x(m),m=null,p(r[1])}();var r,i,a,g,f,P=0===c;do{if(c===u)return null;for(r=!1;s.test(a=v(c));)if("\n"===a&&(P=!0,++d),++c===u)return null;if("/"===v(c)){if(++c===u)throw y("comment");if("/"===v(c))if(l){if(g=c,f=!1,O(c)){f=!0;do{if((c=w(c))===u)break;if(c++,!P)break}while(O(c))}else c=Math.min(u,w(c)+1);f&&(b(g,c,P),P=!0),d++,r=!0}else{for(f="/"===v(g=c+1);"\n"!==v(++c);)if(c===u)return null;++c,f&&(b(g,c-1,P),P=!0),++d,r=!0}else{if("*"!==(a=v(c)))return"/";g=c+1,f=l||"*"===v(g);do{if("\n"===a&&++d,++c===u)throw y("comment");i=a,a=v(c)}while("*"!==i||"/"!==a);++c,f&&(b(g,c-2,P),P=!0),r=!0}}}while(r);var S=c;if(t.lastIndex=0,!t.test(v(S++)))for(;S{"use strict";e.exports=v;var o=n(23602);((v.prototype=Object.create(o.prototype)).constructor=v).className="Type";var r=n(53116),i=n(37652),a=n(27234),s=n(29043),l=n(28671),c=n(21806),p=n(38775),u=n(97550),d=n(44211),g=n(95078),f=n(54830),h=n(21514),m=n(1257),y=n(56267);function v(e,t){o.call(this,e,t),this.fields={},this.oneofs=void 0,this.extensions=void 0,this.reserved=void 0,this.group=void 0,this._fieldsById=null,this._fieldsArray=null,this._oneofsArray=null,this._ctor=null}function b(e){return e._fieldsById=e._fieldsArray=e._oneofsArray=null,delete e.encode,delete e.decode,delete e.verify,e}Object.defineProperties(v.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var e=Object.keys(this.fields),t=0;t{"use strict";var o=t,r=n(44211),i=["double","float","int32","uint32","sint32","fixed32","sfixed32","int64","uint64","sint64","fixed64","sfixed64","bool","string","bytes"];function a(e,t){var n=0,o={};for(t|=0;n{"use strict";var o,r,i=e.exports=n(13219),a=n(92250);i.codegen=n(44879),i.fetch=n(21492),i.path=n(83323),i.fs=i.inquire("fs"),i.toArray=function(e){if(e){for(var t=Object.keys(e),n=new Array(t.length),o=0;o0)t[r]=e(t[r]||{},n,o);else{var i=t[r];i&&(o=[].concat(i).concat(o)),t[r]=o}return t}(e,t=t.split("."),n)},Object.defineProperty(i,"decorateRoot",{get:function(){return a.decorated||(a.decorated=new(n(28040)))}})},57543:(e,t,n)=>{"use strict";e.exports=r;var o=n(13219);function r(e,t){this.lo=e>>>0,this.hi=t>>>0}var i=r.zero=new r(0,0);i.toNumber=function(){return 0},i.zzEncode=i.zzDecode=function(){return this},i.length=function(){return 1};var a=r.zeroHash="\0\0\0\0\0\0\0\0";r.fromNumber=function(e){if(0===e)return i;var t=e<0;t&&(e=-e);var n=e>>>0,o=(e-n)/4294967296>>>0;return t&&(o=~o>>>0,n=~n>>>0,++n>4294967295&&(n=0,++o>4294967295&&(o=0))),new r(n,o)},r.from=function(e){if("number"==typeof e)return r.fromNumber(e);if(o.isString(e)){if(!o.Long)return r.fromNumber(parseInt(e,10));e=o.Long.fromString(e)}return e.low||e.high?new r(e.low>>>0,e.high>>>0):i},r.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,n=~this.hi>>>0;return t||(n=n+1>>>0),-(t+4294967296*n)}return this.lo+4294967296*this.hi},r.prototype.toLong=function(e){return o.Long?new o.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var s=String.prototype.charCodeAt;r.fromHash=function(e){return e===a?i:new r((s.call(e,0)|s.call(e,1)<<8|s.call(e,2)<<16|s.call(e,3)<<24)>>>0,(s.call(e,4)|s.call(e,5)<<8|s.call(e,6)<<16|s.call(e,7)<<24)>>>0)},r.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},r.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},r.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},r.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,n=this.hi>>>24;return 0===n?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:n<128?9:10}},13219:function(e,t,n){"use strict";var o=t;function r(e,t,n){for(var o=Object.keys(t),r=0;re,set:void 0,enumerable:!1,configurable:!0},toString:{value(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),t}o.asPromise=n(1461),o.base64=n(86604),o.EventEmitter=n(71986),o.float=n(93644),o.inquire=n(14813),o.utf8=n(88413),o.pool=n(68964),o.LongBits=n(57543),o.isNode=Boolean("undefined"!=typeof global&&global&&global.process&&global.process.versions&&global.process.versions.node),o.global=o.isNode&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&self||this,o.emptyArray=Object.freeze?Object.freeze([]):[],o.emptyObject=Object.freeze?Object.freeze({}):{},o.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},o.isString=function(e){return"string"==typeof e||e instanceof String},o.isObject=function(e){return e&&"object"==typeof e},o.isset=o.isSet=function(e,t){var n=e[t];return!(null==n||!e.hasOwnProperty(t))&&("object"!=typeof n||(Array.isArray(n)?n.length:Object.keys(n).length)>0)},o.Buffer=function(){try{var e=o.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),o._Buffer_from=null,o._Buffer_allocUnsafe=null,o.newBuffer=function(e){return"number"==typeof e?o.Buffer?o._Buffer_allocUnsafe(e):new o.Array(e):o.Buffer?o._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},o.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,o.Long=o.global.dcodeIO&&o.global.dcodeIO.Long||o.global.Long||o.inquire("long"),o.key2Re=/^true|false|0|1$/,o.key32Re=/^-?(?:0|[1-9][0-9]*)$/,o.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,o.longToHash=function(e){return e?o.LongBits.from(e).toHash():o.LongBits.zeroHash},o.longFromHash=function(e,t){var n=o.LongBits.fromHash(e);return o.Long?o.Long.fromBits(n.lo,n.hi,t):n.toNumber(Boolean(t))},o.merge=r,o.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},o.newError=i,o.ProtocolError=i("ProtocolError"),o.oneOfGetter=function(e){for(var t={},n=0;n-1;--n)if(1===t[e[n]]&&void 0!==this[e[n]]&&null!==this[e[n]])return e[n]}},o.oneOfSetter=function(e){return function(t){for(var n=0;n{"use strict";e.exports=function(e){var t=r.codegen(["m"],e.name+"$verify")('if(typeof m!=="object"||m===null)')("return%j","object expected"),n={};e.oneofsArray.length&&t("var p={}");for(var o=0;o{"use strict";var o=t,r=n(21806);o[".google.protobuf.Any"]={fromObject:function(e){if(e&&e["@type"]){var t=e["@type"].substring(e["@type"].lastIndexOf("/")+1),n=this.lookup(t);if(n){var o="."===e["@type"].charAt(0)?e["@type"].slice(1):e["@type"];return-1===o.indexOf("/")&&(o="/"+o),this.create({type_url:o,value:n.encode(n.fromObject(e)).finish()})}}return this.fromObject(e)},toObject:function(e,t){var n="",o="";if(t&&t.json&&e.type_url&&e.value){o=e.type_url.substring(e.type_url.lastIndexOf("/")+1),n=e.type_url.substring(0,e.type_url.lastIndexOf("/")+1);var i=this.lookup(o);i&&(e=i.decode(e.value))}if(!(e instanceof this.ctor)&&e instanceof r){var a=e.$type.toObject(e,t);return""===n&&(n="type.googleapis.com/"),o=n+("."===e.$type.fullName[0]?e.$type.fullName.slice(1):e.$type.fullName),a["@type"]=o,a}return this.toObject(e,t)}}},97550:(e,t,n)=>{"use strict";e.exports=u;var o,r=n(13219),i=r.LongBits,a=r.base64,s=r.utf8;function l(e,t,n){this.fn=e,this.len=t,this.next=void 0,this.val=n}function c(){}function p(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function u(){this.len=0,this.head=new l(c,0,0),this.tail=this.head,this.states=null}var d=function(){return r.Buffer?function(){return(u.create=function(){return new o})()}:function(){return new u}};function g(e,t,n){t[n]=255&e}function f(e,t){this.len=e,this.next=void 0,this.val=t}function h(e,t,n){for(;e.hi;)t[n++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[n++]=127&e.lo|128,e.lo=e.lo>>>7;t[n++]=e.lo}function m(e,t,n){t[n]=255&e,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}u.create=d(),u.alloc=function(e){return new r.Array(e)},r.Array!==Array&&(u.alloc=r.pool(u.alloc,r.Array.prototype.subarray)),u.prototype._push=function(e,t,n){return this.tail=this.tail.next=new l(e,t,n),this.len+=t,this},f.prototype=Object.create(l.prototype),f.prototype.fn=function(e,t,n){for(;e>127;)t[n++]=127&e|128,e>>>=7;t[n]=e},u.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new f((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},u.prototype.int32=function(e){return e<0?this._push(h,10,i.fromNumber(e)):this.uint32(e)},u.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},u.prototype.uint64=function(e){var t=i.from(e);return this._push(h,t.length(),t)},u.prototype.int64=u.prototype.uint64,u.prototype.sint64=function(e){var t=i.from(e).zzEncode();return this._push(h,t.length(),t)},u.prototype.bool=function(e){return this._push(g,1,e?1:0)},u.prototype.fixed32=function(e){return this._push(m,4,e>>>0)},u.prototype.sfixed32=u.prototype.fixed32,u.prototype.fixed64=function(e){var t=i.from(e);return this._push(m,4,t.lo)._push(m,4,t.hi)},u.prototype.sfixed64=u.prototype.fixed64,u.prototype.float=function(e){return this._push(r.float.writeFloatLE,4,e)},u.prototype.double=function(e){return this._push(r.float.writeDoubleLE,8,e)};var y=r.Array.prototype.set?function(e,t,n){t.set(e,n)}:function(e,t,n){for(var o=0;o>>0;if(!t)return this._push(g,1,0);if(r.isString(e)){var n=u.alloc(t=a.length(e));a.decode(e,n,0),e=n}return this.uint32(t)._push(y,t,e)},u.prototype.string=function(e){var t=s.length(e);return t?this.uint32(t)._push(s.write,t,e):this._push(g,1,0)},u.prototype.fork=function(){return this.states=new p(this),this.head=this.tail=new l(c,0,0),this.len=0,this},u.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new l(c,0,0),this.len=0),this},u.prototype.ldelim=function(){var e=this.head,t=this.tail,n=this.len;return this.reset().uint32(n),n&&(this.tail.next=e.next,this.tail=t,this.len+=n),this},u.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),n=0;e;)e.fn(e.val,t,n),n+=e.len,e=e.next;return t},u._configure=function(e){o=e,u.create=d(),o._configure()}},62501:(e,t,n)=>{"use strict";e.exports=i;var o=n(97550);(i.prototype=Object.create(o.prototype)).constructor=i;var r=n(13219);function i(){o.call(this)}function a(e,t,n){e.length<40?r.utf8.write(e,t,n):t.utf8Write?t.utf8Write(e,n):t.write(e,n)}i._configure=function(){i.alloc=r._Buffer_allocUnsafe,i.writeBytesBuffer=r.Buffer&&r.Buffer.prototype instanceof Uint8Array&&"set"===r.Buffer.prototype.set.name?function(e,t,n){t.set(e,n)}:function(e,t,n){if(e.copy)e.copy(t,n,0,e.length);else for(var o=0;o>>0;return this.uint32(t),t&&this._push(i.writeBytesBuffer,t,e),this},i.prototype.string=function(e){var t=r.Buffer.byteLength(e);return this.uint32(t),t&&this._push(a,t,e),this},i._configure()},67841:(e,t,n)=>{"use strict";var o=n(57310).parse,r={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},i=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function a(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.getProxyForUrl=function(e){var t="string"==typeof e?o(e):e||{},n=t.protocol,s=t.host,l=t.port;if("string"!=typeof s||!s||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(a("npm_config_no_proxy")||a("no_proxy")).toLowerCase();return!n||"*"!==n&&n.split(/[,\s]/).every((function(n){if(!n)return!0;var o=n.match(/^(.+):(\d+)$/),r=o?o[1]:n,a=o?parseInt(o[2]):0;return!(!a||a===t)||(/^[.*]/.test(r)?("*"===r.charAt(0)&&(r=r.slice(1)),!i.call(e,r)):e!==r)}))}(s=s.replace(/:\d*$/,""),l=parseInt(l)||r[n]||0))return"";var c=a("npm_config_"+n+"_proxy")||a(n+"_proxy")||a("npm_config_proxy")||a("all_proxy");return c&&-1===c.indexOf("://")&&(c=n+"://"+c),c}},24746:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:o}},46163:(e,t,n)=>{"use strict";var o=n(31799),r=n(38112),i=n(24746);e.exports={formats:i,parse:r,stringify:o}},38112:(e,t,n)=>{"use strict";var o=n(6669),r=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:o.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,o){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),c=s?i.slice(0,s.index):i,p=[];if(c){if(!n.plainObjects&&r.call(Object.prototype,c)&&!n.allowPrototypes)return;p.push(c)}for(var u=0;n.depth>0&&null!==(s=a.exec(i))&&u=0;--i){var a,s=e[i];if("[]"===s&&n.parseArrays)a=[].concat(r);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,p=parseInt(c,10);n.parseArrays||""!==c?!isNaN(p)&&s!==c&&String(p)===c&&p>=0&&n.parseArrays&&p<=n.arrayLimit?(a=[])[p]=r:"__proto__"!==c&&(a[c]=r):a={0:r}}r=a}return r}(p,t,n,o)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||o.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var p="string"==typeof e?function(e,t){var n,c={},p=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,u=t.parameterLimit===1/0?void 0:t.parameterLimit,d=p.split(t.delimiter,u),g=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(m=i(m)?[m]:m),r.call(c,h)?c[h]=o.combine(c[h],m):c[h]=m}return c}(e,n):e,u=n.plainObjects?Object.create(null):{},d=Object.keys(p),g=0;g{"use strict";var o=n(44852),r=n(6669),i=n(24746),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=String.prototype.split,p=Array.prototype.push,u=function(e,t){p.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,g=i.default,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:g,formatter:i.formatters[g],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h={},m=function e(t,n,i,a,s,p,d,g,m,y,v,b,O,w,P,x){for(var S,T=t,A=x,E=0,j=!1;void 0!==(A=A.get(h))&&!j;){var k=A.get(t);if(E+=1,void 0!==k){if(k===E)throw new RangeError("Cyclic object value");j=!0}void 0===A.get(h)&&(E=0)}if("function"==typeof g?T=g(n,T):T instanceof Date?T=v(T):"comma"===i&&l(T)&&(T=r.maybeMap(T,(function(e){return e instanceof Date?v(e):e}))),null===T){if(s)return d&&!w?d(n,f.encoder,P,"key",b):n;T=""}if("string"==typeof(S=T)||"number"==typeof S||"boolean"==typeof S||"symbol"==typeof S||"bigint"==typeof S||r.isBuffer(T)){if(d){var _=w?n:d(n,f.encoder,P,"key",b);if("comma"===i&&w){for(var C=c.call(String(T),","),I="",R=0;R0?T.join(",")||null:void 0}];else if(l(g))N=g;else{var L=Object.keys(T);N=m?L.sort(m):L}for(var B=a&&l(T)&&1===T.length?n+"[]":n,M=0;M0?w+O:""}},6669:(e,t,n)=>{"use strict";var o=n(24746),r=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},o=0;o1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var o=[],r=0;r=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||i===o.RFC1738&&(40===p||41===p)?l+=s.charAt(c):p<128?l+=a[p]:p<2048?l+=a[192|p>>6]+a[128|63&p]:p<55296||p>=57344?l+=a[224|p>>12]+a[128|p>>6&63]+a[128|63&p]:(c+=1,p=65536+((1023&p)<<10|1023&s.charCodeAt(c)),l+=a[240|p>>18]+a[128|p>>12&63]+a[128|p>>6&63]+a[128|63&p])}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],o=0;o{"use strict";const t={};function n(e,n,o){o||(o=Error);class r extends o{constructor(e,t,o){super(function(e,t,o){return"string"==typeof n?n:n(e,t,o)}(e,t,o))}}r.prototype.name=o.name,r.prototype.code=e,t[e]=r}function o(e,t){if(Array.isArray(e)){const n=e.length;return e=e.map((e=>String(e))),n>2?`one of ${t} ${e.slice(0,n-1).join(", ")}, or `+e[n-1]:2===n?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}return`of ${t} ${String(e)}`}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,n){let r;var i;let a;if("string"==typeof t&&(i="not ",t.substr(0,i.length)===i)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))a=`The ${e} ${r} ${o(t,"type")}`;else{a=`The "${e}" ${"number"!=typeof l&&(l=0),l+".".length>(s=e).length||-1===s.indexOf(".",l)?"argument":"property"} ${r} ${o(t,"type")}`}var s,l;return a+=". Received type "+typeof n,a}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},56009:(e,t,n)=>{"use strict";var o=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=c;var r=n(46285),i=n(42352);n(44236)(c,r);for(var a=o(i.prototype),s=0;s{"use strict";e.exports=r;var o=n(90016);function r(e){if(!(this instanceof r))return new r(e);o.call(this,e)}n(44236)(r,o),r.prototype._transform=function(e,t,n){n(null,e)}},46285:(e,t,n)=>{"use strict";var o;e.exports=S,S.ReadableState=x,n(82361).EventEmitter;var r,i=function(e,t){return e.listeners(t).length},a=n(61606),s=n(14300).Buffer,l=global.Uint8Array||function(){},c=n(73837);r=c&&c.debuglog?c.debuglog("stream"):function(){};var p,u,d,g=n(63047),f=n(13742),h=n(56871).getHighWaterMark,m=n(26081).q,y=m.ERR_INVALID_ARG_TYPE,v=m.ERR_STREAM_PUSH_AFTER_EOF,b=m.ERR_METHOD_NOT_IMPLEMENTED,O=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(44236)(S,a);var w=f.errorOrDestroy,P=["error","close","destroy","pause","resume"];function x(e,t,r){o=o||n(56009),e=e||{},"boolean"!=typeof r&&(r=t instanceof o),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=h(this,e,"readableHighWaterMark",r),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=n(23457).s),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function S(e){if(o=o||n(56009),!(this instanceof S))return new S(e);var t=this instanceof o;this._readableState=new x(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function T(e,t,n,o,i){r("readableAddChunk",t);var a,c=e._readableState;if(null===t)c.reading=!1,function(e,t){if(r("onEofChunk"),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?k(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,_(e)))}}(e,c);else if(i||(a=function(e,t){var n,o;return o=t,s.isBuffer(o)||o instanceof l||"string"==typeof t||void 0===t||e.objectMode||(n=new y("chunk",["string","Buffer","Uint8Array"],t)),n}(c,t)),a)w(e,a);else if(c.objectMode||t&&t.length>0)if("string"==typeof t||c.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),o)c.endEmitted?w(e,new O):A(e,c,t,!0);else if(c.ended)w(e,new v);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!n?(t=c.decoder.write(t),c.objectMode||0!==t.length?A(e,c,t,!1):C(e,c)):A(e,c,t,!1)}else o||(c.reading=!1,C(e,c));return!c.ended&&(c.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=E?e=E:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function k(e){var t=e._readableState;r("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(r("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(_,e))}function _(e){var t=e._readableState;r("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,L(e)}function C(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function N(e){r("readable nexttick read 0"),e.read(0)}function D(e,t){r("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(r("flow",t.flowing);t.flowing&&null!==e.read(););}function B(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function M(e){var t=e._readableState;r("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(F,t,e))}function F(e,t){if(r("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function U(e,t){for(var n=0,o=e.length;n=t.highWaterMark:t.length>0)||t.ended))return r("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?M(this):k(this),null;if(0===(e=j(e,t))&&t.ended)return 0===t.length&&M(this),null;var o,i=t.needReadable;return r("need readable",i),(0===t.length||t.length-e0?B(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&M(this)),null!==o&&this.emit("data",o),o},S.prototype._read=function(e){w(this,new b("_read()"))},S.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,r("pipe count=%d opts=%j",o.pipesCount,t);var a=t&&!1===t.end||e===process.stdout||e===process.stderr?f:s;function s(){r("onend"),e.end()}o.endEmitted?process.nextTick(a):n.once("end",a),e.on("unpipe",(function t(i,a){r("onunpipe"),i===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,r("cleanup"),e.removeListener("close",d),e.removeListener("finish",g),e.removeListener("drain",l),e.removeListener("error",u),e.removeListener("unpipe",t),n.removeListener("end",s),n.removeListener("end",f),n.removeListener("data",p),c=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}));var l=function(e){return function(){var t=e._readableState;r("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,L(e))}}(n);e.on("drain",l);var c=!1;function p(t){r("ondata");var i=e.write(t);r("dest.write",i),!1===i&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==U(o.pipes,e))&&!c&&(r("false write response, pause",o.awaitDrain),o.awaitDrain++),n.pause())}function u(t){r("onerror",t),f(),e.removeListener("error",u),0===i(e,"error")&&w(e,t)}function d(){e.removeListener("finish",g),f()}function g(){r("onfinish"),e.removeListener("close",d),f()}function f(){r("unpipe"),n.unpipe(e)}return n.on("data",p),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",u),e.once("close",d),e.once("finish",g),e.emit("pipe",n),o.flowing||(r("pipe resume"),n.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var o=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,r("on readable",o.length,o.reading),o.length?k(this):o.reading||process.nextTick(N,this))),n},S.prototype.addListener=S.prototype.on,S.prototype.removeListener=function(e,t){var n=a.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick(R,this),n},S.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||process.nextTick(R,this),t},S.prototype.resume=function(){var e=this._readableState;return e.flowing||(r("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(D,e,t))}(this,e)),e.paused=!1,this},S.prototype.pause=function(){return r("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(r("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(e){var t=this,n=this._readableState,o=!1;for(var i in e.on("end",(function(){if(r("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){r("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i||(n.objectMode||i&&i.length)&&(t.push(i)||(o=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a{"use strict";e.exports=p;var o=n(26081).q,r=o.ERR_METHOD_NOT_IMPLEMENTED,i=o.ERR_MULTIPLE_CALLBACK,a=o.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=o.ERR_TRANSFORM_WITH_LENGTH_0,l=n(56009);function c(e,t){var n=this._transformState;n.transforming=!1;var o=n.writecb;if(null===o)return this.emit("error",new i);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),o(e);var r=this._readableState;r.reading=!1,(r.needReadable||r.length{"use strict";function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var o=e.entry;for(e.entry=null;o;){var r=o.callback;t.pendingcb--,r(undefined),o=o.next}t.corkedRequestsFree.next=e}(t,e)}}var r;e.exports=S,S.WritableState=x;var i,a={deprecate:n(64096)},s=n(61606),l=n(14300).Buffer,c=global.Uint8Array||function(){},p=n(13742),u=n(56871).getHighWaterMark,d=n(26081).q,g=d.ERR_INVALID_ARG_TYPE,f=d.ERR_METHOD_NOT_IMPLEMENTED,h=d.ERR_MULTIPLE_CALLBACK,m=d.ERR_STREAM_CANNOT_PIPE,y=d.ERR_STREAM_DESTROYED,v=d.ERR_STREAM_NULL_VALUES,b=d.ERR_STREAM_WRITE_AFTER_END,O=d.ERR_UNKNOWN_ENCODING,w=p.errorOrDestroy;function P(){}function x(e,t,i){r=r||n(56009),e=e||{},"boolean"!=typeof i&&(i=t instanceof r),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=u(this,e,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===e.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,o=n.sync,r=n.writecb;if("function"!=typeof r)throw new h;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,o,r){--t.pendingcb,n?(process.nextTick(r,o),process.nextTick(_,e,t),e._writableState.errorEmitted=!0,w(e,o)):(r(o),e._writableState.errorEmitted=!0,w(e,o),_(e,t))}(e,n,o,t,r);else{var i=j(n)||e.destroyed;i||n.corked||n.bufferProcessing||!n.bufferedRequest||E(e,n),o?process.nextTick(A,e,n,i,r):A(e,n,i,r)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function S(e){var t=this instanceof(r=r||n(56009));if(!t&&!i.call(S,this))return new S(e);this._writableState=new x(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),s.call(this)}function T(e,t,n,o,r,i,a){t.writelen=o,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):n?e._writev(r,t.onwrite):e._write(r,i,t.onwrite),t.sync=!1}function A(e,t,n,o){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,o(),_(e,t)}function E(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),a=t.corkedRequestsFree;a.entry=n;for(var s=0,l=!0;n;)i[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;i.allBuffers=l,T(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,p=n.encoding,u=n.callback;if(T(e,t,!1,t.objectMode?1:c.length,c,p,u),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function j(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(n){t.pendingcb--,n&&w(e,n),t.prefinished=!0,e.emit("prefinish"),_(e,t)}))}function _(e,t){var n=j(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,process.nextTick(k,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var o=e._readableState;(!o||o.autoDestroy&&o.endEmitted)&&e.destroy()}return n}n(44236)(S,s),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(i=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(e){return!!i.call(this,e)||this===S&&e&&e._writableState instanceof x}})):i=function(e){return e instanceof this},S.prototype.pipe=function(){w(this,new m)},S.prototype.write=function(e,t,n){var o,r=this._writableState,i=!1,a=!r.objectMode&&(o=e,l.isBuffer(o)||o instanceof c);return a&&!l.isBuffer(e)&&(e=function(e){return l.from(e)}(e)),"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=P),r.ending?function(e,t){var n=new b;w(e,n),process.nextTick(t,n)}(this,n):(a||function(e,t,n,o){var r;return null===n?r=new v:"string"==typeof n||t.objectMode||(r=new g("chunk",["string","Buffer"],n)),!r||(w(e,r),process.nextTick(o,r),!1)}(this,r,e,n))&&(r.pendingcb++,i=function(e,t,n,o,r,i){if(!n){var a=function(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=l.from(t,n)),t}(t,o,r);o!==a&&(n=!0,r="buffer",o=a)}var s=t.objectMode?1:o.length;t.length+=s;var c=t.length-1))throw new O(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(e,t,n){n(new f("_write()"))},S.prototype._writev=null,S.prototype.end=function(e,t,n){var o=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),o.corked&&(o.corked=1,this.uncork()),o.ending||function(e,t,n){t.ending=!0,_(e,t),n&&(t.finished?process.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,o,n),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),S.prototype.destroy=p.destroy,S.prototype._undestroy=p.undestroy,S.prototype._destroy=function(e,t){t(e)}},55321:(e,t,n)=>{"use strict";var o;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(63640),a=Symbol("lastResolve"),s=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),p=Symbol("lastPromise"),u=Symbol("handlePromise"),d=Symbol("stream");function g(e,t){return{value:e,done:t}}function f(e){var t=e[a];if(null!==t){var n=e[d].read();null!==n&&(e[p]=null,e[a]=null,e[s]=null,t(g(n,!1)))}}function h(e){process.nextTick(f,e)}var m=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((r(o={get stream(){return this[d]},next:function(){var e=this,t=this[l];if(null!==t)return Promise.reject(t);if(this[c])return Promise.resolve(g(void 0,!0));if(this[d].destroyed)return new Promise((function(t,n){process.nextTick((function(){e[l]?n(e[l]):t(g(void 0,!0))}))}));var n,o=this[p];if(o)n=new Promise(function(e,t){return function(n,o){e.then((function(){t[c]?n(g(void 0,!0)):t[u](n,o)}),o)}}(o,this));else{var r=this[d].read();if(null!==r)return Promise.resolve(g(r,!1));n=new Promise(this[u])}return this[p]=n,n}},Symbol.asyncIterator,(function(){return this})),r(o,"return",(function(){var e=this;return new Promise((function(t,n){e[d].destroy(null,(function(e){e?n(e):t(g(void 0,!0))}))}))})),o),m);e.exports=function(e){var t,n=Object.create(y,(r(t={},d,{value:e,writable:!0}),r(t,a,{value:null,writable:!0}),r(t,s,{value:null,writable:!0}),r(t,l,{value:null,writable:!0}),r(t,c,{value:e._readableState.endEmitted,writable:!0}),r(t,u,{value:function(e,t){var o=n[d].read();o?(n[p]=null,n[a]=null,n[s]=null,e(g(o,!1))):(n[a]=e,n[s]=t)},writable:!0}),t));return n[p]=null,i(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[s];return null!==t&&(n[p]=null,n[a]=null,n[s]=null,t(e)),void(n[l]=e)}var o=n[a];null!==o&&(n[p]=null,n[a]=null,n[s]=null,o(g(void 0,!0))),n[c]=!0})),e.on("readable",h.bind(null,n)),n}},63047:(e,t,n)=>{"use strict";function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){for(var n=0;n0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,n,o,r=a.allocUnsafe(e>>>0),i=this.head,s=0;i;)t=i.data,n=r,o=s,a.prototype.copy.call(t,n,o),s+=i.data.length,i=i.next;return r}},{key:"consume",value:function(e,t){var n;return er.length?r.length:e;if(i===r.length?o+=r:o+=r.slice(0,e),0==(e-=i)){i===r.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=r.slice(i));break}++n}return this.length-=n,o}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),n=this.head,o=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var r=n.data,i=e>r.length?r.length:e;if(r.copy(t,t.length-e,0,i),0==(e-=i)){i===r.length?(++o,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=r.slice(i));break}++o}return this.length-=o,t}},{key:l,value:function(e,t){return s(this,function(e){for(var t=1;t{"use strict";function t(e,t){o(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function o(e,t){e.emit("error",t)}e.exports={destroy:function(e,r){var i=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(r?r(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(o,this,e)):process.nextTick(o,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!r&&e?i._writableState?i._writableState.errorEmitted?process.nextTick(n,i):(i._writableState.errorEmitted=!0,process.nextTick(t,i,e)):process.nextTick(t,i,e):r?(process.nextTick(n,i),r(e)):process.nextTick(n,i)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,o=e._writableState;n&&n.autoDestroy||o&&o.autoDestroy?e.destroy(t):e.emit("error",t)}}},63640:(e,t,n)=>{"use strict";var o=n(26081).q.ERR_STREAM_PREMATURE_CLOSE;function r(){}e.exports=function e(t,n,i){if("function"==typeof n)return e(t,null,n);n||(n={}),i=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,o=new Array(n),r=0;r{"use strict";function o(e,t,n,o,r,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(o,r)}function r(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function s(e){o(a,r,i,s,l,"next",e)}function l(e){o(a,r,i,s,l,"throw",e)}s(void 0)}))}}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(26081).q.ERR_INVALID_ARG_TYPE;e.exports=function(e,t,n){var o;if(t&&"function"==typeof t.next)o=t;else if(t&&t[Symbol.asyncIterator])o=t[Symbol.asyncIterator]();else{if(!t||!t[Symbol.iterator])throw new s("iterable",["Iterable"],t);o=t[Symbol.iterator]()}var l=new e(function(e){for(var t=1;t{"use strict";var o,r=n(26081).q,i=r.ERR_MISSING_ARGS,a=r.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function l(e,t,r,i){i=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(i);var s=!1;e.on("close",(function(){s=!0})),void 0===o&&(o=n(63640)),o(e,{readable:t,writable:r},(function(e){if(e)return i(e);s=!0,i()}));var l=!1;return function(t){if(!s&&!l)return l=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void i(t||new a("pipe"))}}function c(e){e()}function p(e,t){return e.pipe(t)}function u(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}e.exports=function(){for(var e=arguments.length,t=new Array(e),n=0;n0,(function(e){o||(o=e),e&&a.forEach(c),i||(a.forEach(c),r(o))}))}));return t.reduce(p)}},56871:(e,t,n)=>{"use strict";var o=n(26081).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,r){var i=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,r,n);if(null!=i){if(!isFinite(i)||Math.floor(i)!==i||i<0)throw new o(r?n:"highWaterMark",i);return Math.floor(i)}return e.objectMode?16:16384}}},61606:(e,t,n)=>{e.exports=n(12781)},74282:(e,t,n)=>{var o=n(12781);"disable"===process.env.READABLE_STREAM&&o?(e.exports=o.Readable,Object.assign(e.exports,o),e.exports.Stream=o):((t=e.exports=n(46285)).Stream=o||t,t.Readable=t,t.Writable=n(42352),t.Duplex=n(56009),t.Transform=n(90016),t.PassThrough=n(68339),t.finished=n(63640),t.pipeline=n(58995))},50129:(e,t,n)=>{"use strict";const{PassThrough:o}=n(12781),r=n(71053)("retry-request"),i=n(93405),a={objectMode:!1,retries:2,maxRetryDelay:64,retryDelayMultiplier:2,totalTimeout:600,noResponseRetries:2,currentRetryAttempt:0,shouldRetryFn:function(e){const t=[[100,199],[429,429],[500,599]],n=e.statusCode;let o;for(r(`Response status: ${n}`);o=t.shift();)if(n>=o[0]&&n<=o[1])return!0}};function s(e){const{maxRetryDelay:t,retryDelayMultiplier:n,retryNumber:o,timeOfFirstRequest:r,totalTimeout:i}=e,a=1e3*t,s=1e3*i,l=Math.floor(1e3*Math.random()),c=1e3*Math.pow(n,o)+l,p=s-(Date.now()-r);return Math.min(c,p,a)}e.exports=function(e,t,l){const c="function"!=typeof arguments[arguments.length-1];"function"==typeof t&&(l=t);const p=t&&"number"==typeof t.currentRetryAttempt;if(void 0===(t=i({},a,t)).request)try{t.request=n(Object(function(){var e=new Error("Cannot find module 'request'");throw e.code="MODULE_NOT_FOUND",e}()))}catch(e){throw new Error("A request library must be provided to retry-request.")}let u,d,g,f,h=t.currentRetryAttempt,m=0,y=!1;const v={abort:function(){f&&f.abort&&f.abort()}};c&&(u=new o({objectMode:t.objectMode}),u.abort=O);const b=Date.now();return h>0?P(h):w(),c?u:v;function O(){g=null,d&&(d.abort&&d.abort(),d.cancel&&d.cancel(),d.destroy?d.destroy():d.end&&d.end())}function w(){h++,r(`Current retry attempt: ${h}`),c?(y=!1,g=new o({objectMode:t.objectMode}),d=t.request(e),setImmediate((()=>{u.emit("request")})),d.on("error",(e=>{y||(y=!0,x(e))})).on("response",((e,t)=>{y||(y=!0,x(null,e,t))})).on("complete",u.emit.bind(u,"complete")),d.pipe(g)):f=t.request(e,x)}function P(e){c&&O();const n=s({maxRetryDelay:t.maxRetryDelay,retryDelayMultiplier:t.retryDelayMultiplier,retryNumber:e,timeOfFirstRequest:b,totalTimeout:t.totalTimeout});r(`Next retry delay: ${n}`),n<=0?m=t.noResponseRetries+1:setTimeout(w,n)}function x(e,n,o){if(e)return m++,void(m<=t.noResponseRetries?P(m):c?(u.emit("error",e),u.end()):l(e,n,o));(p?h:h-1){u.destroy(e)}))):l(e,n,o)}},e.exports.getNextRetryDelay=s},21607:(e,t,n)=>{var o=n(14300),r=o.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=o:(i(o,t),t.Buffer=a),a.prototype=Object.create(r.prototype),i(r,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var o=r(e);return void 0!==t?"string"==typeof n?o.fill(t,n):o.fill(t):o.fill(0),o},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o.SlowBuffer(e)}},44852:(e,t,n)=>{"use strict";var o=n(28487),r=n(2864),i=n(31741),a=o("%TypeError%"),s=o("%WeakMap%",!0),l=o("%Map%",!0),c=r("WeakMap.prototype.get",!0),p=r("WeakMap.prototype.set",!0),u=r("WeakMap.prototype.has",!0),d=r("Map.prototype.get",!0),g=r("Map.prototype.set",!0),f=r("Map.prototype.has",!0),h=function(e,t){for(var n,o=e;null!==(n=o.next);o=n)if(n.key===t)return o.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,o={assert:function(e){if(!o.has(e))throw new a("Side channel does not contain "+i(e))},get:function(o){if(s&&o&&("object"==typeof o||"function"==typeof o)){if(e)return c(e,o)}else if(l){if(t)return d(t,o)}else if(n)return function(e,t){var n=h(e,t);return n&&n.value}(n,o)},has:function(o){if(s&&o&&("object"==typeof o||"function"==typeof o)){if(e)return u(e,o)}else if(l){if(t)return f(t,o)}else if(n)return function(e,t){return!!h(e,t)}(n,o);return!1},set:function(o,r){s&&o&&("object"==typeof o||"function"==typeof o)?(e||(e=new s),p(e,o,r)):l?(t||(t=new l),g(t,o,r)):(n||(n={key:{},next:null}),function(e,t,n){var o=h(e,t);o?o.value=n:e.next={key:t,next:e.next,value:n}}(n,o,r))}};return o}},64801:e=>{e.exports=function(e){var t,n=e._readableState;return n?n.objectMode||"number"==typeof e._duplexState?e.read():e.read((t=n).buffer.length?t.buffer.head?t.buffer.head.data.length:t.buffer[0].length:t.length):null}},23457:(e,t,n)=>{"use strict";var o=n(21607).Buffer,r=o.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(o.isEncoding===r||!r(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=p,this.end=u,t=3;break;default:return this.write=d,void(this.end=g)}this.lastNeed=0,this.lastTotal=0,this.lastChar=o.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var o=n.charCodeAt(n.length-1);if(o>=55296&&o<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function p(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function g(e){return e&&e.length?this.write(e):""}t.s=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0?(r>0&&(e.lastNeed=r-1),r):--o=0?(r>0&&(e.lastNeed=r-2),r):--o=0?(r>0&&(2===r?r=0:e.lastNeed=r-3),r):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var o=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,o),e.toString("utf8",t,o)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},65587:e=>{function t(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert"].forEach((function(e){t.prototype[e]=function(){return this._defaults.push({fn:e,arguments}),this}})),t.prototype._setDefaults=function(e){this._defaults.forEach((function(t){e[t.fn].apply(e,t.arguments)}))},e.exports=t},2971:e=>{"use strict";e.exports=function(e){return null!==e&&"object"==typeof e}},61439:(e,t,n)=>{"use strict";const o=n(86418).US,r=n(86418).Qr,i=n(57310).parse,a=n(53637),s=n(65587);let l=n(38891);function c(e){if(!(this instanceof c))return new c(e);s.call(this),this.jar=new o,e&&(e.ca&&this.ca(e.ca),e.key&&this.key(e.key),e.pfx&&this.pfx(e.pfx),e.cert&&this.cert(e.cert))}e.exports=c,c.prototype=Object.create(s.prototype),c.prototype._saveCookies=function(e){const t=e.headers["set-cookie"];t&&this.jar.setCookies(t)},c.prototype._attachCookies=function(e){const t=i(e.url),n=r(t.hostname,t.pathname,"https:"==t.protocol),o=this.jar.getCookies(n).toValueString();e.cookies=o},l.forEach((e=>{const t=e.toUpperCase();c.prototype[e]=function(e,n){const o=new a.Request(t,e);return o.on("response",this._saveCookies.bind(this)),o.on("redirect",this._saveCookies.bind(this)),o.on("redirect",this._attachCookies.bind(this,o)),this._attachCookies(o),this._setDefaults(o),n&&o.end(n),o}})),c.prototype.del=c.prototype.delete},53637:(e,t,n)=>{"use strict";const o=n(68314)("superagent"),r=n(46425),i=n(90504),a=n(84177),s=n(57310).parse,l=n(57310).format,c=n(57310).resolve;let p=n(38891);const u=n(12781),d=n(44016),g=n(53519).R,f=n(93405),h=n(11886),m=n(95687),y=n(13685),v=n(57147),b=n(46163),O=n(59796),w=n(73837),P=n(86160),x=n(38736);function S(e,n){return"function"==typeof n?new t.Request("GET",e).end(n):1==arguments.length?new t.Request("GET",e):new t.Request(e,n)}function T(){}function A(e){const t=`node-superagent/${P.version}`;e._header={"user-agent":t},e.header={"User-Agent":t}}function E(e,t){u.call(this),"string"!=typeof t&&(t=l(t)),this._agent=!1,this._formData=null,this.method=e,this.url=t,A(this),this.writable=!0,this._redirects=0,this.redirects("HEAD"===e?0:5),this.cookies="",this.qs={},this._query=[],this.qsRaw=this._query,this._redirectList=[],this._streamRequest=!1,this.once("end",this.clearTimeout.bind(this))}function j(e){return/[\/+]json\b/.test(e)}function k(e){return~[301,302,303,305,307,308].indexOf(e)}(t=e.exports=S).Request=E,t.agent=n(61439),t.Response=a,h.define({"application/x-www-form-urlencoded":["form","urlencoded","form-data"]},!0),t.protocols={"http:":y,"https:":m},t.serialize={"application/x-www-form-urlencoded":b.stringify,"application/json":JSON.stringify},t.parse=n(37127),w.inherits(E,u),x(E.prototype),E.prototype.attach=function(e,t,n){if(t){if(this._data)throw Error("superagent can't mix .send() and .attach()");let r=n||{};"string"==typeof n&&(r={filename:n}),"string"==typeof t?(r.filename||(r.filename=t),o("creating `fs.ReadStream` instance for file: %s",t),t=v.createReadStream(t)):!r.filename&&t.path&&(r.filename=t.path),this._getFormData().append(e,t,r)}return this},E.prototype._getFormData=function(){return this._formData||(this._formData=new i,this._formData.on("error",(e=>{this.emit("error",e),this.abort()}))),this._formData},E.prototype.agent=function(e){return arguments.length?(this._agent=e,this):this._agent},E.prototype.type=function(e){return this.set("Content-Type",~e.indexOf("/")?e:h.lookup(e))},E.prototype.accept=function(e){return this.set("Accept",~e.indexOf("/")?e:h.lookup(e))},E.prototype.query=function(e){return"string"==typeof e?this._query.push(e):f(this.qs,e),this},E.prototype.write=function(e,t){const n=this.request();return this._streamRequest||(this._streamRequest=!0),n.write(e,t)},E.prototype.pipe=function(e,t){return this.piped=!0,this.buffer(!1),this.end(),this._pipeContinue(e,t)},E.prototype._pipeContinue=function(e,t){return this.req.once("response",(n=>{if(k(n.statusCode)&&this._redirects++!=this._maxRedirects)return this._redirect(n)._pipeContinue(e,t);if(this.res=n,this._emitResponse(),!this._aborted){if(this._shouldUnzip(n)){const o=O.createUnzip();o.on("error",(t=>{t&&"Z_BUF_ERROR"===t.code?e.emit("end"):e.emit("error",t)})),n.pipe(o).pipe(e,t)}else n.pipe(e,t);n.once("end",(()=>{this.emit("end")}))}})),e},E.prototype.buffer=function(e){return this._buffer=!1!==e,this},E.prototype._redirect=function(e){let t=e.headers.location;if(!t)return this.callback(new Error("No location header for redirect"),e);o("redirect %s -> %s",this.url,t),t=c(this.url,t),e.resume();let n=this.req._headers;const r=s(t).host!==s(this.url).host;return 301!=e.statusCode&&302!=e.statusCode||(n=d.cleanHeader(this.req._headers,r),this.method="HEAD"==this.method?"HEAD":"GET",this._data=null),303==e.statusCode&&(n=d.cleanHeader(this.req._headers,r),this.method="GET",this._data=null),delete n.host,delete this.req,delete this._formData,A(this),this._endCalled=!1,this.url=t,this.qs={},this._query.length=0,this.set(n),this.emit("redirect",e),this._redirectList.push(this.url),this.end(this._callback),this},E.prototype.auth=function(e,t,n){1===arguments.length&&(t=""),"object"==typeof t&&null!==t&&(n=t,t=""),n||(n={type:"basic"});var o=function(e){return new Buffer(e).toString("base64")};return this._auth(e,t,n,o)},E.prototype.ca=function(e){return this._ca=e,this},E.prototype.key=function(e){return this._key=e,this},E.prototype.pfx=function(e){return"object"!=typeof e||Buffer.isBuffer(e)?this._pfx=e:(this._pfx=e.pfx,this._passphrase=e.passphrase),this},E.prototype.cert=function(e){return this._cert=e,this},E.prototype.request=function(){if(this.req)return this.req;const e={};try{const e=b.stringify(this.qs,{indices:!1,strictNullHandling:!0});e&&(this.qs={},this._query.push(e)),this._finalizeQueryString()}catch(e){return this.emit("error",e)}let n=this.url;const o=this._retries;if(0!=n.indexOf("http")&&(n=`http://${n}`),n=s(n),!0===/^https?\+unix:/.test(n.protocol)){n.protocol=`${n.protocol.split("+")[0]}:`;const t=n.path.match(/^([^/]+)(.+)$/);e.socketPath=t[1].replace(/%2F/g,"/"),n.path=t[2]}e.method=this.method,e.port=n.port,e.path=n.path,e.host=n.hostname,e.ca=this._ca,e.key=this._key,e.pfx=this._pfx,e.cert=this._cert,e.passphrase=this._passphrase,e.agent=this._agent;const r=t.protocols[n.protocol],i=this.req=r.request(e);if(i.setNoDelay(!0),"HEAD"!=e.method&&i.setHeader("Accept-Encoding","gzip, deflate"),this.protocol=n.protocol,this.host=n.host,i.once("drain",(()=>{this.emit("drain")})),i.once("error",(e=>{this._aborted||this._retries===o&&(this.response||this.callback(e))})),n.auth){const e=n.auth.split(":");this.auth(e[0],e[1])}this.username&&this.password&&this.auth(this.username,this.password),this.cookies&&i.setHeader("Cookie",this.cookies);for(const e in this.header)this.header.hasOwnProperty(e)&&i.setHeader(e,this.header[e]);return i},E.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();const n=this._callback||T;if(this.clearTimeout(),this.called)return console.warn("superagent: double callback bug");if(this.called=!0,!e)try{if(this._isResponseOK(t))return n(e,t);let o="Unsuccessful HTTP response";t&&(o=y.STATUS_CODES[t.status]||o),(e=new Error(o)).status=t?t.status:void 0}catch(t){e=t}e.response=t,this._maxRetries&&(e.retries=this._retries-1),e&&this.listeners("error").length>0&&this.emit("error",e),n(e,t)},E.prototype._isHost=function(e){return Buffer.isBuffer(e)||e instanceof u||e instanceof i},E.prototype._emitResponse=function(e,t){const n=new a(this);return this.response=n,n.redirects=this._redirectList,void 0!==e&&(n.body=e),n.files=t,this.emit("response",n),n},E.prototype.end=function(e){return this.request(),o("%s %s",this.method,this.url),this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||T,this._end()},E.prototype._end=function(){let e=this._data;const n=this.req;let i=this._buffer;const a=this.method;if(this._setTimeouts(),"HEAD"!=a&&!n._headerSent){if("string"!=typeof e){let o=n.getHeader("Content-Type");o&&(o=o.split(";")[0]);let r=t.serialize[o];!r&&j(o)&&(r=t.serialize["application/json"]),r&&(e=r(e))}e&&!n.getHeader("Content-Length")&&n.setHeader("Content-Length",Buffer.isBuffer(e)?e.length:Buffer.byteLength(e))}n.once("response",(e=>{if(o("%s %s -> %s",this.method,this.url,e.statusCode),this._responseTimeoutTimer&&clearTimeout(this._responseTimeoutTimer),this.piped)return;const a=this._maxRedirects,s=d.type(e.headers["content-type"]||"")||"text/plain",l=s.split("/")[0],c="multipart"==l,p=k(e.statusCode);let u=this._parser;const f=this._responseType;if(this.res=e,p&&this._redirects++!=a)return this._redirect(e);if("HEAD"==this.method)return this.emit("end"),void this.callback(null,this._emitResponse());if(this._shouldUnzip(e)&&g(n,e),!u)if(f)u=t.parse.image,i=!0;else if(c){const e=new r.IncomingForm;u=e.parse.bind(e),i=!0}else!function(e){const t=e.split("/")[0];return"image"==t||"video"==t}(s)?t.parse[s]?u=t.parse[s]:"text"==l?(u=t.parse.text,i=!1!==i):j(s)?(u=t.parse["application/json"],i=!1!==i):i&&(u=t.parse.text):(u=t.parse.image,i=!0);(void 0===i&&function(e){const t=e.split("/"),n=t[0],o=t[1];return"text"==n||"x-www-form-urlencoded"==o}(s)||j(s))&&(i=!0);let h=!1;if(i){let t=this._maxResponseSize||2e8;e.on("data",(n=>{if(t-=n.byteLength||n.length,t<0){const t=Error("Maximum response size reached");t.code="ETOOLARGE",h=!1,e.destroy(t)}}))}if(u)try{h=i,u(e,((e,t,n)=>{if(!this.timedout)return e&&!this._aborted?this.callback(e):void(h&&(this.emit("end"),this.callback(null,this._emitResponse(t,n))))}))}catch(e){return void this.callback(e)}if(this.res=e,i)e.once("error",(e=>{h=!1,this.callback(e,null)})),h||e.once("end",(()=>{o("end %s %s",this.method,this.url),this.emit("end"),this.callback(null,this._emitResponse())}));else{if(o("unbuffered %s %s",this.method,this.url),this.callback(null,this._emitResponse()),c)return;e.once("end",(()=>{o("end %s %s",this.method,this.url),this.emit("end")}))}})),this.emit("request",this);const s=this._formData;if(s){const e=s.getHeaders();for(const t in e)o('setting FormData header: "%s: %s"',t,e[t]),n.setHeader(t,e[t]);s.getLength(((e,t)=>{o("got FormData Content-Length: %s",t),"number"==typeof t&&n.setHeader("Content-Length",t),s.pipe((()=>{const e=n.getHeader("Content-Length");let t=0;const o=new u.Transform;return o._transform=(n,o,r)=>{t+=n.length,this.emit("progress",{direction:"upload",lengthComputable:!0,loaded:t,total:e}),r(null,n)},o})()).pipe(n)}))}else n.end(e);return this},E.prototype._shouldUnzip=e=>204!==e.statusCode&&304!==e.statusCode&&"0"!==e.headers["content-length"]&&/^\s*(?:deflate|gzip)\s*$/.test(e.headers["content-encoding"]),-1==p.indexOf("del")&&(p=p.slice(0),p.push("del")),p.forEach((e=>{const t=e;e=(e="del"==e?"delete":e).toUpperCase(),S[t]=(t,n,o)=>{const r=S(e,t);return"function"==typeof n&&(o=n,n=null),n&&("GET"===e||"HEAD"===e?r.query(n):r.send(n)),o&&r.end(o),r}}))},77315:e=>{"use strict";e.exports=(e,t)=>{const n=[];e.on("data",(e=>{n.push(e)})),e.on("end",(()=>{t(null,Buffer.concat(n))}))}},37127:(e,t,n)=>{"use strict";t["application/x-www-form-urlencoded"]=n(77147),t["application/json"]=n(34337),t.text=n(84882);const o=n(77315);t["application/octet-stream"]=o,t["application/pdf"]=o,t.image=o},34337:e=>{"use strict";e.exports=function(e,t){e.text="",e.setEncoding("utf8"),e.on("data",(t=>{e.text+=t})),e.on("end",(()=>{try{var n=e.text&&JSON.parse(e.text)}catch(t){var o=t;o.rawResponse=e.text||null,o.statusCode=e.statusCode}finally{t(o,n)}}))}},84882:e=>{"use strict";e.exports=function(e,t){e.text="",e.setEncoding("utf8"),e.on("data",(t=>{e.text+=t})),e.on("end",t)}},77147:(e,t,n)=>{"use strict";const o=n(46163);e.exports=function(e,t){e.text="",e.setEncoding("ascii"),e.on("data",(t=>{e.text+=t})),e.on("end",(()=>{try{t(null,o.parse(e.text))}catch(e){t(e)}}))}},84177:(e,t,n)=>{"use strict";const o=n(73837),r=n(12781),i=n(26648);function a(e){r.call(this);const t=this.res=e.res;this.request=e,this.req=e.req,this.text=t.text,this.body=void 0!==t.body?t.body:{},this.files=t.files||{},this.buffered="string"==typeof this.text,this.header=this.headers=t.headers,this._setStatusProperties(t.statusCode),this._setHeaderProperties(this.header),this.setEncoding=t.setEncoding.bind(t),t.on("data",this.emit.bind(this,"data")),t.on("end",this.emit.bind(this,"end")),t.on("close",this.emit.bind(this,"close")),t.on("error",this.emit.bind(this,"error"))}e.exports=a,o.inherits(a,r),i(a.prototype),a.prototype.destroy=function(e){this.res.destroy(e)},a.prototype.pause=function(){this.res.pause()},a.prototype.resume=function(){this.res.resume()},a.prototype.toError=function(){const e=this.req,t=e.method,n=e.path,o=`cannot ${t} ${n} (${this.status})`,r=new Error(o);return r.status=this.status,r.text=this.text,r.method=t,r.path=n,r},a.prototype.setStatusProperties=function(e){return console.warn("In superagent 2.x setStatusProperties is a private method"),this._setStatusProperties(e)},a.prototype.toJSON=function(){return{req:this.request.toJSON(),header:this.header,status:this.status,text:this.text}}},53519:(e,t,n)=>{"use strict";const o=n(71576).StringDecoder,r=n(12781),i=n(59796);t.R=(e,t)=>{const n=i.createUnzip(),a=new r;let s;a.req=e,n.on("error",(e=>{e&&"Z_BUF_ERROR"===e.code?a.emit("end"):a.emit("error",e)})),t.pipe(n),t.setEncoding=e=>{s=new o(e)},n.on("data",(e=>{if(s){const t=s.write(e);t.length&&a.emit("data",t)}else a.emit("data",e)})),n.on("end",(()=>{a.emit("end")}));const l=t.on;t.on=function(e,n){return"data"==e||"end"==e?a.on(e,n):"error"==e?(a.on(e,n),l.call(t,e,n)):l.call(t,e,n),this}}},38736:(e,t,n)=>{"use strict";var o=n(2971);function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}e.exports=r,r.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},r.prototype.parse=function(e){return this._parser=e,this},r.prototype.responseType=function(e){return this._responseType=e,this},r.prototype.serialize=function(e){return this._serializer=e,this},r.prototype.timeout=function(e){if(!e||"object"!=typeof e)return this._timeout=e,this._responseTimeout=0,this;for(var t in e)switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;default:console.warn("Unknown timeout option",t)}return this},r.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};var i=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];r.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&t.status>=500&&501!=t.status)return!0;if(e){if(e.code&&~i.indexOf(e.code))return!0;if(e.timeout&&"ECONNABORTED"==e.code)return!0;if(e.crossDomain)return!0}return!1},r.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},r.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){n.end((function(n,o){n?t(n):e(o)}))}))}return this._fullfilledPromise.then(e,t)},r.prototype.catch=function(e){return this.then(void 0,e)},r.prototype.use=function(e){return e(this),this},r.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},r.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},r.prototype.get=function(e){return this._header[e.toLowerCase()]},r.prototype.getHeader=r.prototype.get,r.prototype.set=function(e,t){if(o(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},r.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},r.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),o(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)this.field(e,t[r]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},r.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},r.prototype._auth=function(e,t,n,o){switch(n.type){case"basic":this.set("Authorization","Basic "+o(e+":"+t));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer "+e)}return this},r.prototype.withCredentials=function(e){return null==e&&(e=!0),this._withCredentials=e,this},r.prototype.redirects=function(e){return this._maxRedirects=e,this},r.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw TypeError("Invalid argument");return this._maxResponseSize=e,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(e){var t=o(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&o(this._data))for(var r in e)this._data[r]=e[r];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)||n||this.type("json"),this},r.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},r.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},r.prototype._appendQueryString=function(){console.trace("Unsupported")},r.prototype._timeoutError=function(e,t,n){if(!this._aborted){var o=new Error(e+t+"ms exceeded");o.timeout=t,o.code="ECONNABORTED",o.errno=n,this.timedout=!0,this.abort(),this.callback(o)}},r.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},26648:(e,t,n)=>{"use strict";var o=n(44016);function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}e.exports=r,r.prototype.get=function(e){return this.header[e.toLowerCase()]},r.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=o.type(t);var n=o.params(t);for(var r in n)this[r]=n[r];this.links={};try{e.link&&(this.links=o.parseLinks(e.link))}catch(e){}},r.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e}},44016:(e,t)=>{"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce((function(e,t){var n=t.split(/ *= */),o=n.shift(),r=n.shift();return o&&r&&(e[o]=r),e}),{})},t.parseLinks=function(e){return e.split(/ *, */).reduce((function(e,t){var n=t.split(/ *; */),o=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=o,e}),{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},94985:(e,t,n)=>{"use strict";const o=n(22037),r=n(76224),i=n(5506),{env:a}=process;let s;function l(e,t={}){return 0!==(n=function(e,{streamIsTTY:t,sniffFlags:n=!0}={}){const r=function(){if("FORCE_COLOR"in a)return"true"===a.FORCE_COLOR?1:"false"===a.FORCE_COLOR?0:0===a.FORCE_COLOR.length?1:Math.min(Number.parseInt(a.FORCE_COLOR,10),3)}();void 0!==r&&(s=r);const l=n?s:r;if(0===l)return 0;if(n){if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2}if(e&&!t&&void 0===l)return 0;const c=l||0;if("dumb"===a.TERM)return c;if("win32"===process.platform){const e=o.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((e=>e in a))||"codeship"===a.CI_NAME?1:c;if("TEAMCITY_VERSION"in a)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0;if("truecolor"===a.COLORTERM)return 3;if("TERM_PROGRAM"in a){const e=Number.parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:c}(e,{streamIsTTY:e&&e.isTTY,...t}))&&{level:n,hasBasic:!0,has256:n>=2,has16m:n>=3};var n}i("no-color")||i("no-colors")||i("color=false")||i("color=never")?s=0:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(s=1),e.exports={supportsColor:l,stdout:l({isTTY:r.isatty(1)}),stderr:l({isTTY:r.isatty(2)})}},69097:(e,t,n)=>{"use strict";var o=n(85477),r=n(53198),i={TRANSITIONAL:0,NONTRANSITIONAL:1};function a(e){return e.split("\0").map((function(e){return e.normalize("NFC")})).join("\0")}function s(e){for(var t=0,n=r.length-1;t<=n;){var o=Math.floor((t+n)/2),i=r[o];if(i[0][0]<=e&&i[0][1]>=e)return i;i[0][0]>e?n=o-1:t=o+1}return null}var l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function c(e){return e.replace(l,"_").length}var p=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function u(e,t){"xn--"===e.substr(0,4)&&(e=o.toUnicode(e));var n=!1;(a(e)!==e||"-"===e[3]&&"-"===e[4]||"-"===e[0]||"-"===e[e.length-1]||-1!==e.indexOf(".")||0===e.search(p))&&(n=!0);for(var r=c(e),l=0;l253||0===s.length)&&(i.error=!0);for(var l=0;l63||0===a.length){i.error=!0;break}}return i.error?null:a.join(".")},e.exports.toUnicode=function(e,t){var n=d(e,t,i.NONTRANSITIONAL);return{domain:n.string,error:n.error}},e.exports.PROCESSING_OPTIONS=i},97853:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAction=void 0;const o=n(42036),r=n(26127),i=n(63534),a=n(5737),s=n(974);t.createAction=function e(t){if(null==t)return;let n=t,l=e(t.nextAction);switch(n.type){case o.ActionType.STORAGE:return new s.StorageActionHandler(n,l);case o.ActionType.CODE:return new r.CodeActionHandler(n,l);case o.ActionType.PIECE:return new i.PieceActionHandler(n,l);case o.ActionType.LOOP_ON_ITEMS:return new a.LoopOnItemActionHandler(n,e(t.firstLoopAction),l)}}},72150:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseActionHandler=void 0,t.BaseActionHandler=class{constructor(e,t){this.action=e,this.nextAction=t}}},26127:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeActionHandler=void 0;const o=n(41312),r=n(76672),i=n(42036),a=n(72150);class s extends a.BaseActionHandler{constructor(e,t){super(e,t),this.variableService=new o.VariableService}async execute(e,t){const n=new i.StepOutput,o=this.variableService.resolve(this.action.settings.input,e);n.input=o;try{const e=new r.CodeExecutor;return n.output=await e.executeCode(this.action.settings.artifactPackagedId,o),n.status=i.StepOutputStatus.SUCCEEDED,n}catch(e){return n.errorMessage=e.message,n.status=i.StepOutputStatus.FAILED,n}}}t.CodeActionHandler=s},5737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoopOnItemActionHandler=void 0;const o=n(37100),r=n(41312),i=n(72150),a=n(42036);class s extends i.BaseActionHandler{constructor(e,t,n){super(e,n),this.action=e,this.variableService=new r.VariableService,this.firstLoopAction=t}getError(e){var t,n;if(void 0===(null===(t=e.output)||void 0===t?void 0:t.iterations))throw new Error("Iteration can't be undefined");for(const t of null===(n=e.output)||void 0===n?void 0:n.iterations)for(const e of Object.values(t))if(e.status===a.StepOutputStatus.FAILED)return e.errorMessage}async execute(e,t){const n=this.variableService.resolve(this.action.settings,e),r=new a.LoopOnItemsStepOutput;r.input=n,r.output={current_iteration:1,current_item:void 0,iterations:[]},e.insertStep(r,this.action.name,t);const i=r.output;try{for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PieceActionHandler=void 0;const o=n(41312),r=n(42036),i=n(72150),a=n(96429);class s extends i.BaseActionHandler{constructor(e,t){super(e,t),this.variableService=new o.VariableService}async execute(e,t){const n=new r.StepOutput,o=this.variableService.resolve(this.action.settings.input,e);n.input=o;try{const e=new a.PieceExecutor;return n.output=await e.exec(this.action.settings.pieceName,this.action.settings.actionName,o),n.status=r.StepOutputStatus.SUCCEEDED,n}catch(e){return n.errorMessage=e.message,n.status=r.StepOutputStatus.FAILED,n}}}t.PieceActionHandler=s},974:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StorageActionHandler=void 0;const o=n(75077),r=n(41312),i=n(42036),a=n(72150),s=n(42036),l=n(5789);class c extends a.BaseActionHandler{constructor(e,t){super(e,t),this.variableService=new r.VariableService}async execute(e,t){var n,r,a,c;const p=new i.StepOutput;try{let t;const u={Authorization:"Bearer "+o.globals.workerToken},d=this.variableService.resolve(this.action.settings.key,e);switch(this.action.settings.operation){case s.StoreOperation.GET:t=null!==(r=null===(n=(await l.default.get(o.globals.apiUrl+"/v1/store-entries?key="+d,{headers:u})).data)||void 0===n?void 0:n.value)&&void 0!==r?r:null;break;case s.StoreOperation.PUT:const i={value:this.variableService.resolve(this.action.settings.value,e),key:d};t=null!==(c=null===(a=(await(0,l.default)({method:"POST",url:o.globals.apiUrl+"/v1/store-entries",data:i,headers:u})).data)||void 0===a?void 0:a.value)&&void 0!==c?c:null}p.output={value:t},p.status=i.StepOutputStatus.SUCCEEDED}catch(e){console.error(e),p.status=i.StepOutputStatus.FAILED}return Promise.resolve(p)}}t.StorageActionHandler=c},76672:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeExecutor=void 0;const o=n(75077);t.CodeExecutor=class{async executeCode(e,t){try{const n=e+".js",r=`${o.globals.codeDirectory}/${n}`;return await this.runCode(r,t)}catch(e){throw e}}async runCode(e,t){return await require(e).code(t)}}},37100:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlowExecutor=void 0;const o=n(13736),r=n(75077),i=n(42036),a=n(97853);t.FlowExecutor=class{constructor(e){this.executionState=e}async executeFlow(e,t){var n;try{const o=(new Date).getTime(),r=this.prepareFlow(e,t),i=await this.iterateFlow((0,a.createAction)(null===(n=r.trigger)||void 0===n?void 0:n.nextAction),[]),s=(new Date).getTime()-o;return this.getExecutionOutput(i,s)}catch(e){return console.error(e),{status:i.ExecutionOutputStatus.FAILED,executionState:this.executionState,duration:0,errorMessage:{stepName:"Flow Execution",errorMessage:e.message}}}}getExecutionOutput(e,t){return e?{status:i.ExecutionOutputStatus.SUCCEEDED,executionState:this.executionState,duration:t,errorMessage:void 0}:{status:i.ExecutionOutputStatus.FAILED,executionState:this.executionState,duration:t,errorMessage:this.getError()}}getError(){for(const[e,t]of Object.entries(this.executionState.steps))if(t.status===i.StepOutputStatus.FAILED)return{stepName:e,errorMessage:t.errorMessage}}async iterateFlow(e,t){if(void 0===e)return!0;const n=(new Date).getTime(),o=await e.execute(this.executionState,t),r=(new Date).getTime();return o.duration=r-n,this.executionState.insertStep(o,e.action.name,t),o.status!==i.StepOutputStatus.FAILED&&await this.iterateFlow(e.nextAction,t)}prepareFlow(e,t){try{const n=o.Utils.parseJsonFile(`${r.globals.collectionDirectory}/${e}.json`),i=o.Utils.parseJsonFile(`${r.globals.flowDirectory}/${t}.json`);let a=new Map(n.configs.map((e=>[e.key,e.value])));return this.executionState.insertConfigs(a),i}catch(e){throw Error(e.message)}}}},96429:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PieceExecutor=void 0;const o=n(86928);t.PieceExecutor=class{async exec(e,t,n){const o=this.getPiece(e);return await o.getAction(t).run({propsValue:n})}getPiece(e){const t=o.pieces.find((t=>t.name===e));if(!t)throw new Error(`error=piece_not_found piece_name=${e}`);return t}}},75077:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.globals=void 0,t.globals=new class{constructor(){this._collectionDirectory="./collections",this._flowDirectory="./flows",this._codeDirectory="./codes",this._inputFile="./input.json",this._outputFile="./output.json",this._executorFile="./executor.js",this._workerToken="",this._apiUrl=""}set apiUrl(e){this._apiUrl=e}get apiUrl(){return this._apiUrl}set workerToken(e){this._workerToken=e}get workerToken(){return this._workerToken}get collectionDirectory(){return this._collectionDirectory}get flowDirectory(){return this._flowDirectory}get codeDirectory(){return this._codeDirectory}get inputFile(){return this._inputFile}get outputFile(){return this._outputFile}get executorFile(){return this._executorFile}}},41312:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VariableService=void 0;const o=n(39378),r=n(39378);class i{constructor(){this.VARIABLE_TOKEN=RegExp("\\$\\{(.*?)\\}","g"),this.CONFIGS="configs",this.CONTEXT="context",this.STEPS="steps"}findPath(e){const t=e.split(".");return t.length>0&&t[0]!==this.CONFIGS&&t[0]!==this.CONTEXT&&t.splice(0,0,this.STEPS),t.join(".")}resolveInput(e,t){return null!==e.match(this.VARIABLE_TOKEN)&&1===e.match(this.VARIABLE_TOKEN).length&&e.match(this.VARIABLE_TOKEN)[0]===e?i.copyFromMap(t,this.findPath(e.substring(2,e.length-1))):e.replace(this.VARIABLE_TOKEN,((e,n)=>{const o=i.copyFromMap(t,this.findPath(n));return void 0===o?"":(0,r.isString)(o)?o:JSON.stringify(o)}))}static copyFromMap(e,t){const n=(0,o.get)(e,t);return void 0===n?"":n}resolveInternally(e,t){return null==e?e:(0,r.isString)(e)?this.resolveInput(e,t):(Array.isArray(e)?e.forEach(((n,o)=>e[o]=this.resolveInternally(n,t))):"object"==typeof e&&Object.entries(e).forEach((([n,o])=>{e[n]=this.resolveInternally(o,t)})),e)}getExecutionStateObject(e){const t={configs:{},steps:{}};return Object.entries(e.configs).forEach((([e,n])=>{t.configs[e]=n})),Object.entries(e.lastStepState).forEach((([e,n])=>{t.steps[e]=n})),t}resolve(e,t){return this.resolveInternally(JSON.parse(JSON.stringify(e)),this.getExecutionStateObject(t))}}t.VariableService=i},13736:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Utils=void 0;const o=n(57147);t.Utils=class{static parseJsonFile(e){try{const t=(0,o.readFileSync)(e,"utf-8");return JSON.parse(t.toString())}catch(e){throw Error(e.message)}}static writeToJsonFile(e,t){(0,o.writeFileSync)(e,JSON.stringify(t,((e,t)=>t instanceof Map?Object.fromEntries(t):t)),"utf-8")}}},64096:(e,t,n)=>{e.exports=n(73837).deprecate},70513:e=>{"use strict";var t={};function n(e){return e<0?-1:1}function o(e,t){t.unsigned||--e;const o=t.unsigned?0:-Math.pow(2,e),r=Math.pow(2,e)-1,i=t.moduloBitLength?Math.pow(2,t.moduloBitLength):Math.pow(2,e),a=t.moduloBitLength?Math.pow(2,t.moduloBitLength-1):Math.pow(2,e-1);return function(e,s){s||(s={});let l=+e;if(s.enforceRange){if(!Number.isFinite(l))throw new TypeError("Argument is not a finite number");if(l=n(l)*Math.floor(Math.abs(l)),lr)throw new TypeError("Argument is not in byte range");return l}if(!isNaN(l)&&s.clamp)return l=function(e){return e%1==.5&&0==(1&e)?Math.floor(e):Math.round(e)}(l),lr&&(l=r),l;if(!Number.isFinite(l)||0===l)return 0;if(l=n(l)*Math.floor(Math.abs(l)),l%=i,!t.unsigned&&l>=a)return l-i;if(t.unsigned)if(l<0)l+=i;else if(-0===l)return 0;return l}}e.exports=t,t.void=function(){},t.boolean=function(e){return!!e},t.byte=o(8,{unsigned:!1}),t.octet=o(8,{unsigned:!0}),t.short=o(16,{unsigned:!1}),t["unsigned short"]=o(16,{unsigned:!0}),t.long=o(32,{unsigned:!1}),t["unsigned long"]=o(32,{unsigned:!0}),t["long long"]=o(32,{unsigned:!1,moduloBitLength:64}),t["unsigned long long"]=o(32,{unsigned:!0,moduloBitLength:64}),t.double=function(e){const t=+e;if(!Number.isFinite(t))throw new TypeError("Argument is not a finite floating-point value");return t},t["unrestricted double"]=function(e){const t=+e;if(isNaN(t))throw new TypeError("Argument is NaN");return t},t.float=t.double,t["unrestricted float"]=t["unrestricted double"],t.DOMString=function(e,t){return t||(t={}),t.treatNullAsEmptyString&&null===e?"":String(e)},t.ByteString=function(e,t){const n=String(e);let o;for(let e=0;void 0!==(o=n.codePointAt(e));++e)if(o>255)throw new TypeError("Argument is not a valid bytestring");return n},t.USVString=function(e){const t=String(e),n=t.length,o=[];for(let e=0;e57343)o.push(String.fromCodePoint(r));else if(56320<=r&&r<=57343)o.push(String.fromCodePoint(65533));else if(e===n-1)o.push(String.fromCodePoint(65533));else{const n=t.charCodeAt(e+1);if(56320<=n&&n<=57343){const t=1023&r,i=1023&n;o.push(String.fromCodePoint(65536+1024*t+i)),++e}else o.push(String.fromCodePoint(65533))}}return o.join("")},t.Date=function(e,t){if(!(e instanceof Date))throw new TypeError("Argument is not a Date object");if(!isNaN(e))return e},t.RegExp=function(e,t){return e instanceof RegExp||(e=new RegExp(e)),e}},65036:(e,t,n)=>{"use strict";const o=n(13794);t.implementation=class{constructor(e){const t=e[0],n=e[1];let r=null;if(void 0!==n&&(r=o.basicURLParse(n),"failure"===r))throw new TypeError("Invalid base URL");const i=o.basicURLParse(t,{baseURL:r});if("failure"===i)throw new TypeError("Invalid URL");this._url=i}get href(){return o.serializeURL(this._url)}set href(e){const t=o.basicURLParse(e);if("failure"===t)throw new TypeError("Invalid URL");this._url=t}get origin(){return o.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(e){o.basicURLParse(e+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){o.cannotHaveAUsernamePasswordPort(this._url)||o.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){o.cannotHaveAUsernamePasswordPort(this._url)||o.setThePassword(this._url,e)}get host(){const e=this._url;return null===e.host?"":null===e.port?o.serializeHost(e.host):o.serializeHost(e.host)+":"+o.serializeInteger(e.port)}set host(e){this._url.cannotBeABaseURL||o.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){return null===this._url.host?"":o.serializeHost(this._url.host)}set hostname(e){this._url.cannotBeABaseURL||o.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){return null===this._url.port?"":o.serializeInteger(this._url.port)}set port(e){o.cannotHaveAUsernamePasswordPort(this._url)||(""===e?this._url.port=null:o.basicURLParse(e,{url:this._url,stateOverride:"port"}))}get pathname(){return this._url.cannotBeABaseURL?this._url.path[0]:0===this._url.path.length?"":"/"+this._url.path.join("/")}set pathname(e){this._url.cannotBeABaseURL||(this._url.path=[],o.basicURLParse(e,{url:this._url,stateOverride:"path start"}))}get search(){return null===this._url.query||""===this._url.query?"":"?"+this._url.query}set search(e){const t=this._url;if(""===e)return void(t.query=null);const n="?"===e[0]?e.substring(1):e;t.query="",o.basicURLParse(n,{url:t,stateOverride:"query"})}get hash(){return null===this._url.fragment||""===this._url.fragment?"":"#"+this._url.fragment}set hash(e){if(""===e)return void(this._url.fragment=null);const t="#"===e[0]?e.substring(1):e;this._url.fragment="",o.basicURLParse(t,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}},55873:(e,t,n)=>{"use strict";const o=n(70513),r=n(85961),i=n(65036),a=r.implSymbol;function s(t){if(!this||this[a]||!(this instanceof s))throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");if(arguments.length<1)throw new TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.");const n=[];for(let e=0;e!!e&&e[a]instanceof i.implementation,create(e,t){let n=Object.create(s.prototype);return this.setup(n,e,t),n},setup(e,t,n){n||(n={}),n.wrapper=e,e[a]=new i.implementation(t,n),e[a][r.wrapperSymbol]=e},interface:s,expose:{Window:{URL:s},Worker:{URL:s}}}},89897:(e,t,n)=>{"use strict";t.URL=n(55873).interface,n(13794).serializeURL,n(13794).serializeURLOrigin,n(13794).basicURLParse,n(13794).setTheUsername,n(13794).setThePassword,n(13794).serializeHost,n(13794).serializeInteger,n(13794).parseURL},13794:(e,t,n)=>{"use strict";const o=n(85477),r=n(69097),i={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},a=Symbol("failure");function s(e){return o.ucs2.decode(e).length}function l(e,t){const n=e[t];return isNaN(n)?void 0:String.fromCodePoint(n)}function c(e){return e>=48&&e<=57}function p(e){return e>=65&&e<=90||e>=97&&e<=122}function u(e){return c(e)||e>=65&&e<=70||e>=97&&e<=102}function d(e){return"."===e||"%2e"===e.toLowerCase()}function g(e){return 2===e.length&&p(e.codePointAt(0))&&(":"===e[1]||"|"===e[1])}function f(e){return void 0!==i[e]}function h(e){return f(e.scheme)}function m(e){let t=e.toString(16).toUpperCase();return 1===t.length&&(t="0"+t),"%"+t}function y(e){return e<=31||e>126}const v=new Set([32,34,35,60,62,63,96,123,125]);function b(e){return y(e)||v.has(e)}const O=new Set([47,58,59,61,64,91,92,93,94,124]);function w(e){return b(e)||O.has(e)}function P(e,t){const n=String.fromCodePoint(e);return t(e)?function(e){const t=new Buffer(e);let n="";for(let e=0;e=2&&"0"===e.charAt(0)&&"x"===e.charAt(1).toLowerCase()?(e=e.substring(2),t=16):e.length>=2&&"0"===e.charAt(0)&&(e=e.substring(1),t=8),""===e?0:(10===t?/[^0-9]/:16===t?/[^0-9A-Fa-f]/:/[^0-7]/).test(e)?a:parseInt(e,t)}function S(e,t){if("["===e[0])return"]"!==e[e.length-1]?a:function(e){const t=[0,0,0,0,0,0,0,0];let n=0,r=null,i=0;if(58===(e=o.ucs2.decode(e))[i]){if(58!==e[i+1])return a;i+=2,++n,r=n}for(;i6)return a;let o=0;for(;void 0!==e[i];){let r=null;if(o>0){if(!(46===e[i]&&o<4))return a;++i}if(!c(e[i]))return a;for(;c(e[i]);){const t=parseInt(l(e,i));if(null===r)r=t;else{if(0===r)return a;r=10*r+t}if(r>255)return a;++i}t[n]=256*t[n]+r,++o,2!==o&&4!==o||++n}if(4!==o)return a;break}if(58===e[i]){if(++i,void 0===e[i])return a}else if(void 0!==e[i])return a;t[n]=o,++n}if(null!==r){let e=n-r;for(n=7;0!==n&&e>0;){const o=t[r+e-1];t[r+e-1]=t[n],t[n]=o,--n,--e}}else if(null===r&&8!==n)return a;return t}(e.substring(1,e.length-1));if(!t)return function(e){if(-1!==e.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/))return a;let t="";const n=o.ucs2.decode(e);for(let e=0;e1&&t.pop(),t.length>4)return e;const n=[];for(const o of t){if(""===o)return e;const t=x(o);if(t===a)return e;n.push(t)}for(let e=0;e255)return a;if(n[n.length-1]>=Math.pow(256,5-n.length))return a;let o=n.pop(),r=0;for(const e of n)o+=e*Math.pow(256,3-r),++r;return o}(i);return"number"==typeof s||s===a?s:i}function T(e){return"number"==typeof e?function(e){let t="",n=e;for(let e=1;e<=4;++e)t=String(n%256)+t,4!==e&&(t="."+t),n=Math.floor(n/256);return t}(e):e instanceof Array?"["+function(e){let t="";const n=function(e){let t=null,n=1,o=null,r=0;for(let i=0;in&&(t=o,n=r),o=null,r=0):(null===o&&(o=i),++r);return r>n&&(t=o,n=r),{idx:t,len:n}}(e).idx;let o=!1;for(let r=0;r<=7;++r)o&&0===e[r]||(o&&(o=!1),n!==r?(t+=e[r].toString(16),7!==r&&(t+=":")):(t+=0===r?"::":":",o=!0));return t}(e)+"]":e}function A(e){const t=e.path;var n;0!==t.length&&("file"===e.scheme&&1===t.length&&(n=t[0],/^[A-Za-z]:$/.test(n))||t.pop())}function E(e){return""!==e.username||""!==e.password}function j(e,t,n,r,i){if(this.pointer=0,this.input=e,this.base=t||null,this.encodingOverride=n||"utf-8",this.stateOverride=i,this.url=r,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:!1};const e=function(e){return e.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"")}(this.input);e!==this.input&&(this.parseError=!0),this.input=e}const s=function(e){return e.replace(/\u0009|\u000A|\u000D/g,"")}(this.input);for(s!==this.input&&(this.parseError=!0),this.input=s,this.state=i||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=o.ucs2.decode(this.input);this.pointer<=this.input.length;++this.pointer){const e=this.input[this.pointer],t=isNaN(e)?void 0:String.fromCodePoint(e),n=this["parse "+this.state](e,t);if(!n)break;if(n===a){this.failure=!0;break}}}j.prototype["parse scheme start"]=function(e,t){if(p(e))this.buffer+=t.toLowerCase(),this.state="scheme";else{if(this.stateOverride)return this.parseError=!0,a;this.state="no scheme",--this.pointer}return!0},j.prototype["parse scheme"]=function(e,t){if(function(e){return p(e)||c(e)}(e)||43===e||45===e||46===e)this.buffer+=t.toLowerCase();else if(58===e){if(this.stateOverride){if(h(this.url)&&!f(this.buffer))return!1;if(!h(this.url)&&f(this.buffer))return!1;if((E(this.url)||null!==this.url.port)&&"file"===this.buffer)return!1;if("file"===this.url.scheme&&(""===this.url.host||null===this.url.host))return!1}if(this.url.scheme=this.buffer,this.buffer="",this.stateOverride)return!1;"file"===this.url.scheme?(47===this.input[this.pointer+1]&&47===this.input[this.pointer+2]||(this.parseError=!0),this.state="file"):h(this.url)&&null!==this.base&&this.base.scheme===this.url.scheme?this.state="special relative or authority":h(this.url)?this.state="special authority slashes":47===this.input[this.pointer+1]?(this.state="path or authority",++this.pointer):(this.url.cannotBeABaseURL=!0,this.url.path.push(""),this.state="cannot-be-a-base-URL path")}else{if(this.stateOverride)return this.parseError=!0,a;this.buffer="",this.state="no scheme",this.pointer=-1}return!0},j.prototype["parse no scheme"]=function(e){return null===this.base||this.base.cannotBeABaseURL&&35!==e?a:(this.base.cannotBeABaseURL&&35===e?(this.url.scheme=this.base.scheme,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.url.cannotBeABaseURL=!0,this.state="fragment"):"file"===this.base.scheme?(this.state="file",--this.pointer):(this.state="relative",--this.pointer),!0)},j.prototype["parse special relative or authority"]=function(e){return 47===e&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="relative",--this.pointer),!0},j.prototype["parse path or authority"]=function(e){return 47===e?this.state="authority":(this.state="path",--this.pointer),!0},j.prototype["parse relative"]=function(e){return this.url.scheme=this.base.scheme,isNaN(e)?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query):47===e?this.state="relative slash":63===e?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):h(this.url)&&92===e?(this.parseError=!0,this.state="relative slash"):(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(0,this.base.path.length-1),this.state="path",--this.pointer),!0},j.prototype["parse relative slash"]=function(e){return!h(this.url)||47!==e&&92!==e?47===e?this.state="authority":(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer):(92===e&&(this.parseError=!0),this.state="special authority ignore slashes"),!0},j.prototype["parse special authority slashes"]=function(e){return 47===e&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="special authority ignore slashes",--this.pointer),!0},j.prototype["parse special authority ignore slashes"]=function(e){return 47!==e&&92!==e?(this.state="authority",--this.pointer):this.parseError=!0,!0},j.prototype["parse authority"]=function(e,t){if(64===e){this.parseError=!0,this.atFlag&&(this.buffer="%40"+this.buffer),this.atFlag=!0;const e=s(this.buffer);for(let t=0;tMath.pow(2,16)-1)return this.parseError=!0,a;this.url.port=e===(n=this.url.scheme,i[n])?null:e,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}var n;return!0};const k=new Set([47,92,63,35]);j.prototype["parse file"]=function(e){var t,n;return this.url.scheme="file",47===e||92===e?(92===e&&(this.parseError=!0),this.state="file slash"):null!==this.base&&"file"===this.base.scheme?isNaN(e)?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query):63===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):(this.input.length-this.pointer-1==0||(t=e,n=this.input[this.pointer+1],!p(t)||58!==n&&124!==n)||this.input.length-this.pointer-1>=2&&!k.has(this.input[this.pointer+2])?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),A(this.url)):this.parseError=!0,this.state="path",--this.pointer):(this.state="path",--this.pointer),!0},j.prototype["parse file slash"]=function(e){var t;return 47===e||92===e?(92===e&&(this.parseError=!0),this.state="file host"):(null!==this.base&&"file"===this.base.scheme&&(2===(t=this.base.path[0]).length&&p(t.codePointAt(0))&&":"===t[1]?this.url.path.push(this.base.path[0]):this.url.host=this.base.host),this.state="path",--this.pointer),!0},j.prototype["parse file host"]=function(e,t){if(isNaN(e)||47===e||92===e||63===e||35===e)if(--this.pointer,!this.stateOverride&&g(this.buffer))this.parseError=!0,this.state="path";else if(""===this.buffer){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let e=S(this.buffer,h(this.url));if(e===a)return a;if("localhost"===e&&(e=""),this.url.host=e,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=t;return!0},j.prototype["parse path start"]=function(e){return h(this.url)?(92===e&&(this.parseError=!0),this.state="path",47!==e&&92!==e&&--this.pointer):this.stateOverride||63!==e?this.stateOverride||35!==e?void 0!==e&&(this.state="path",47!==e&&--this.pointer):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},j.prototype["parse path"]=function(e){if(isNaN(e)||47===e||h(this.url)&&92===e||!this.stateOverride&&(63===e||35===e)){if(h(this.url)&&92===e&&(this.parseError=!0),".."===(t=(t=this.buffer).toLowerCase())||"%2e."===t||".%2e"===t||"%2e%2e"===t?(A(this.url),47===e||h(this.url)&&92===e||this.url.path.push("")):!d(this.buffer)||47===e||h(this.url)&&92===e?d(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&g(this.buffer)&&(""!==this.url.host&&null!==this.url.host&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)):this.url.path.push(""),this.buffer="","file"===this.url.scheme&&(void 0===e||63===e||35===e))for(;this.url.path.length>1&&""===this.url.path[0];)this.parseError=!0,this.url.path.shift();63===e&&(this.url.query="",this.state="query"),35===e&&(this.url.fragment="",this.state="fragment")}else 37!==e||u(this.input[this.pointer+1])&&u(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=P(e,b);var t;return!0},j.prototype["parse cannot-be-a-base-URL path"]=function(e){return 63===e?(this.url.query="",this.state="query"):35===e?(this.url.fragment="",this.state="fragment"):(isNaN(e)||37===e||(this.parseError=!0),37!==e||u(this.input[this.pointer+1])&&u(this.input[this.pointer+2])||(this.parseError=!0),isNaN(e)||(this.url.path[0]=this.url.path[0]+P(e,y))),!0},j.prototype["parse query"]=function(e,t){if(isNaN(e)||!this.stateOverride&&35===e){h(this.url)&&"ws"!==this.url.scheme&&"wss"!==this.url.scheme||(this.encodingOverride="utf-8");const t=new Buffer(this.buffer);for(let e=0;e126||34===t[e]||35===t[e]||60===t[e]||62===t[e]?this.url.query+=m(t[e]):this.url.query+=String.fromCodePoint(t[e]);this.buffer="",35===e&&(this.url.fragment="",this.state="fragment")}else 37!==e||u(this.input[this.pointer+1])&&u(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=t;return!0},j.prototype["parse fragment"]=function(e){return isNaN(e)||(0===e?this.parseError=!0:(37!==e||u(this.input[this.pointer+1])&&u(this.input[this.pointer+2])||(this.parseError=!0),this.url.fragment+=P(e,y))),!0},e.exports.serializeURL=function(e,t){let n=e.scheme+":";if(null!==e.host?(n+="//",""===e.username&&""===e.password||(n+=e.username,""!==e.password&&(n+=":"+e.password),n+="@"),n+=T(e.host),null!==e.port&&(n+=":"+e.port)):null===e.host&&"file"===e.scheme&&(n+="//"),e.cannotBeABaseURL)n+=e.path[0];else for(const t of e.path)n+="/"+t;return null!==e.query&&(n+="?"+e.query),t||null===e.fragment||(n+="#"+e.fragment),n},e.exports.serializeURLOrigin=function(t){switch(t.scheme){case"blob":try{return e.exports.serializeURLOrigin(e.exports.parseURL(t.path[0]))}catch(e){return"null"}case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(e){let t=e.scheme+"://";return t+=T(e.host),null!==e.port&&(t+=":"+e.port),t}({scheme:t.scheme,host:t.host,port:t.port});case"file":return"file://";default:return"null"}},e.exports.basicURLParse=function(e,t){void 0===t&&(t={});const n=new j(e,t.baseURL,t.encodingOverride,t.url,t.stateOverride);return n.failure?"failure":n.url},e.exports.setTheUsername=function(e,t){e.username="";const n=o.ucs2.decode(t);for(let t=0;t{"use strict";e.exports.mixin=function(e,t){const n=Object.getOwnPropertyNames(t);for(let o=0;o{e.exports=function e(t,n){if(t&&n)return e(t)(n);if("function"!=typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach((function(e){o[e]=t[e]})),o;function o(){for(var e=new Array(arguments.length),n=0;n{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},87406:(e,t,n)=>{"use strict";function o(e){var t=this;if(t instanceof o||(t=new o),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,r=arguments.length;n1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");o=this.head.next,n=this.head.value}for(var r=0;null!==o;r++)n=e(n,o.value,r),o=o.next;return n},o.prototype.reduceReverse=function(e,t){var n,o=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");o=this.tail.prev,n=this.tail.value}for(var r=this.length-1;null!==o;r--)n=e(n,o.value,r),o=o.prev;return n},o.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},o.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},o.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new o;if(tthis.length&&(t=this.length);for(var r=0,i=this.head;null!==i&&rthis.length&&(t=this.length);for(var r=this.length,i=this.tail;null!==i&&r>t;r--)i=i.prev;for(;null!==i&&r>e;r--,i=i.prev)n.push(i.value);return n},o.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var o=0,i=this.head;null!==i&&o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertPdfToText=void 0;const o=n(73953),r=n(39231),i=n(44944),a=n(33128),s=n(29692);t.convertPdfToText=(0,o.createAction)({name:"convert_pdf_to_text",displayName:"Convert pdf to text",description:"using google cloud vision will convert pdf to text",props:{serviceAccountCredentials:r.Property.LongText({displayName:"Service Account Credentials",required:!0}),allPages:r.Property.Checkbox({displayName:"Do you want to convert all pages ?",required:!1,description:"If checked, starting and ending page will be ignored"}),startingPage:r.Property.Number({displayName:"Starting Page",required:!1,description:"Starting page number"}),endingPage:r.Property.Number({displayName:"Ending Page",required:!1,description:"Ending page number"}),googleCloudStorageLocation:r.Property.ShortText({displayName:"Google Cloud Storage Location",required:!0,description:"gs://direct-upload/hello.pdf"})},async run({propsValue:e}){const t=function(e){const t={auth:e};return new i.ImageAnnotatorClient(t)}((0,a.createAuth)(e.serviceAccountCredentials)),n={mimeType:"application/pdf",gcsSource:{uri:e.googleCloudStorageLocation}};e.allPages&&(e.startingPage=1,e.endingPage=-1);const o=function(e,t,n){return{inputConfig:e,features:[{type:"DOCUMENT_TEXT_DETECTION"}],pages:n}}(n,0,[e.startingPage,e.endingPage]),r={requests:[o]},[l]=await t.batchAnnotateFiles(r);(0,s.assertNotNullOrUndefined)(l.responses,"No response from google cloud vision",0);const[c]=l.responses;(0,s.assertNotNullOrUndefined)(c.responses,"No response from google cloud vision",0);let p="";for(const e of c.responses)(0,s.assertNotNullOrUndefined)(e.fullTextAnnotation,"No response from google cloud vision",0),p+=`Page ${c.responses.indexOf(e)+1}:`,p+=e.fullTextAnnotation.text;return p}})},33128:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.googleAuthCommon=t.createAuth=void 0;const o=n(81173),r=e=>{const{client_email:t,private_key:n}=JSON.parse(e);return{client_email:t,private_key:n}};t.createAuth=e=>{const{client_email:t,private_key:n}=r(e);return new o.GoogleAuth({credentials:{client_email:t,private_key:n},scopes:"https://www.googleapis.com/auth/cloud-platform"})},t.googleAuthCommon={parseServiceAccountCredentials:r,createAuth:t.createAuth}},66407:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cloudVisionAI=void 0;const o=n(71754),r=n(49437);t.cloudVisionAI=(0,o.createPiece)({name:"cloudVisionAI",displayName:"Google Cloud Vision AI",logoUrl:"https://cdn.activepieces.com/pieces/googleCloud.png",actions:[r.convertPdfToText],triggers:[]})},49899:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.discordSendMessage=void 0;const o=n(28243),r=n(88488),i=n(73953),a=n(39231),s=n(60432);t.discordSendMessage=(0,i.createAction)({name:"send_message",description:"Send a discord message",displayName:"Send Message",props:{authentication:s.discordCommon.authentication,bot_token:s.discordCommon.bot_token,channel:s.discordCommon.channel,content:a.Property.LongText({displayName:"Message",required:!0})},async run(e){const t={method:r.HttpMethod.POST,url:`${s.discordCommon.baseUrl}/channels/${e.propsValue.channel}/messages`,headers:{Authorization:`Bot ${e.propsValue.bot_token}`},body:{content:e.propsValue.content}};return await o.httpClient.sendRequest(t)}})},60432:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.discordCommon=void 0;const o=n(39231),r=n(88488),i=n(28243);t.discordCommon={baseUrl:"https://discord.com/api",authentication:o.Property.OAuth2({displayName:"Authentication",required:!0,authUrl:"https://discord.com/oauth2/authorize",tokenUrl:"https://discord.com/api/oauth2/token",scope:["bot"],extra:{permissions:8}}),bot_token:o.Property.ShortText({displayName:"Bot token",required:!0}),channel:o.Property.Dropdown({displayName:"Channel",required:!0,refreshers:["authentication","bot_token"],options:async e=>{if(void 0===e.authentication||void 0===e.bot_token)return{disabled:!0,placeholder:"connect discord account and bot token",options:[]};const n=e.authentication.data.guild.id,o={method:r.HttpMethod.GET,url:`${t.discordCommon.baseUrl}/guilds/${n}/channels`,headers:{Authorization:`Bot ${e.bot_token}`}},{body:a}=await i.httpClient.sendRequest(o);return{disabled:!1,placeholder:"Select channel",options:a.map((e=>({label:e.name,value:e.id})))}}})}},20393:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.discord=void 0;const o=n(71754),r=n(49899);t.discord=(0,o.createPiece)({name:"discord",displayName:"Discord",logoUrl:"https://cdn.activepieces.com/pieces/discord.png",actions:[r.discordSendMessage],triggers:[]})},97722:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.githubCommon=void 0;const o=n(39231),r=n(88488),i=n(64068),a=n(28243);t.githubCommon={baseUrl:"https://api.github.com",authentication:o.Property.OAuth2({displayName:"Authentication",required:!0,authUrl:"https://github.com/login/oauth/authorize",tokenUrl:"https://github.com/login/oauth/access_token",scope:["admin:repo_hook","admin:org","repo"]}),repositoryDropdown:o.Property.Dropdown({displayName:"Repository",refreshers:["authentication"],required:!0,options:async e=>{if(void 0===e.authentication)return{disabled:!0,options:[]};const n=e.authentication;let o=await async function(e){const n={method:r.HttpMethod.GET,url:`${t.githubCommon.baseUrl}/user/repos`,queryParams:{per_page:"200"},authentication:{type:i.AuthenticationType.BEARER_TOKEN,token:e.access_token}};return(await a.httpClient.sendRequest(n)).body}(n);return{disabled:!1,options:o.map((e=>({label:e.owner.login+"/"+e.name,value:{owner:e.owner.login,repo:e.name}})))}}})}},19830:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.github=void 0;const o=n(71754),r=n(23859);t.github=(0,o.createPiece)({name:"github",displayName:"Github",logoUrl:"https://cdn.activepieces.com/pieces/github.png",actions:[],triggers:[r.githubNewRepoEvent]})},23859:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.githubNewRepoEvent=void 0;const o=n(98377),r=n(28243),i=n(88488),a=n(64068),s=n(39231),l=n(97722);t.githubNewRepoEvent=(0,o.createTrigger)({name:"new_repo_event",displayName:"New Repository Event",description:"Triggers when there is a new event on the repository",props:{authentication:l.githubCommon.authentication,repository:l.githubCommon.repositoryDropdown,events:s.Property.Dropdown({displayName:"Event",description:"List of repository events",required:!0,refreshers:[],options:async e=>({disabled:!1,options:[{label:"New star",value:["star"]}]})})},type:o.TriggerStrategy.WEBHOOK,async onEnable(e){var t;const{repo:n,owner:o}=e.propsValue.repository,s={method:i.HttpMethod.POST,url:`${l.githubCommon.baseUrl}/repos/${o}/${n}/hooks`,body:{owner:o,repo:n,active:!0,events:e.propsValue.events,config:{url:e.webhookUrl,content_type:"json",insecure_ssl:"0"}},authentication:{type:a.AuthenticationType.BEARER_TOKEN,token:e.propsValue.authentication.access_token},queryParams:{}};let{body:c}=await r.httpClient.sendRequest(s);await(null===(t=e.store)||void 0===t?void 0:t.save("_trigger",{webhookId:c.id,owner:o,repo:n}))},async onDisable(e){var t;const n=await(null===(t=e.store)||void 0===t?void 0:t.get("_trigger"));if(null!=n){const t={method:i.HttpMethod.DELETE,url:`${l.githubCommon.baseUrl}/repos/${n.owner}/${n.repo}/hooks/${n.webhookId}`,authentication:{type:a.AuthenticationType.BEARER_TOKEN,token:e.propsValue.authentication.access_token}};await r.httpClient.sendRequest(t)}},run:async e=>void 0!==e.payload.zen?[]:[e.payload]})},79682:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gmailSendEmailAction=void 0;const o=n(73953),r=n(88488),i=n(64068),a=n(28243),s=n(39231);t.gmailSendEmailAction=(0,o.createAction)({name:"send_email",description:"Send an email through a Gmail account",displayName:"Send Email",props:{authentication:s.Property.OAuth2({description:"",displayName:"Authentication",authUrl:"https://accounts.google.com/o/oauth2/auth",tokenUrl:"https://oauth2.googleapis.com/token",required:!0,scope:["https://mail.google.com/"]}),receiver:s.Property.ShortText({displayName:"receiver Email (To)",description:void 0,required:!0}),subject:s.Property.ShortText({displayName:"Subject",description:void 0,required:!0}),body_text:s.Property.ShortText({displayName:"Body (Text)",description:"Text version of the body for the email you want to send",required:!0}),body_html:s.Property.ShortText({displayName:"Body (HTML)",description:"HTML version of the body for the email you want to send",required:!1})},async run(e){const t={to:e.propsValue.receiver,subject:e.propsValue.subject,text:e.propsValue.body_text,html:e.propsValue.body_html},n=`To: ${t.to}\nSubject: ${t.subject}\nContent-Type: text/html\nContent-Transfer-Encoding: base64\n\n${t.html?t.html:t.text}`,o={raw:Buffer.from(n).toString("base64"),payload:{headers:[{name:"to",value:t.to},{name:"subject",value:t.subject}],mimeType:"text/html"}},s={method:r.HttpMethod.POST,url:"https://gmail.googleapis.com/gmail/v1/users/me/messages/send",body:o,authentication:{type:i.AuthenticationType.BEARER_TOKEN,token:e.propsValue.authentication.access_token},queryParams:{}};return await a.httpClient.sendRequest(s)}})},5935:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gmail=void 0;const o=n(71754),r=n(79682);t.gmail=(0,o.createPiece)({name:"gmail",logoUrl:"https://cdn.activepieces.com/pieces/gmail.png",actions:[r.gmailSendEmailAction],displayName:"Gmail",triggers:[]})},66565:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchTopStories=void 0;const o=n(73953),r=n(88488),i=n(28243),a=n(39231);t.fetchTopStories=(0,o.createAction)({name:"fetch_top_stories",displayName:"Fetch Top Stories",description:"Fetch top stories from hackernews",props:{number_of_stories:a.Property.Number({displayName:"Number of Stories",description:void 0,required:!0})},async run(e){const t="https://hacker-news.firebaseio.com/v0/",n=(await i.httpClient.sendRequest({method:r.HttpMethod.GET,url:`${t}topstories.json`})).body,o=[];for(let a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hackernews=void 0;const o=n(71754),r=n(66565);t.hackernews=(0,o.createPiece)({name:"hackernews",displayName:"Hackernews",logoUrl:"https://cdn.activepieces.com/pieces/hackernews.png",actions:[r.fetchTopStories],triggers:[]})},81596:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHubspotContact=void 0;const o=n(64068),r=n(28243),i=n(88488),a=n(73953),s=n(39231),l=n(9750);t.createHubspotContact=(0,a.createAction)({name:"create_contact",displayName:"Create Contact",description:"Creates a contact on hubspot",props:{authentication:l.hubspotCommons.authentication,firstName:s.Property.ShortText({displayName:"First Name",description:"First name of the new contact",required:!0}),lastName:s.Property.ShortText({displayName:"Last Name",description:"Last name of the new contact",required:!0}),zip:s.Property.ShortText({displayName:"Zip Code",description:"Zip code of the new contact",required:!1}),email:s.Property.ShortText({displayName:"Email",description:"Email of the new contact",required:!1})},async run(e){const t={...e.propsValue};delete t.authentication;const n={properties:Object.entries(t).map((e=>({property:e[0],value:e[1]})))},a={method:i.HttpMethod.POST,url:"https://api.hubapi.com/contacts/v1/contact/",body:n,authentication:{type:o.AuthenticationType.BEARER_TOKEN,token:e.propsValue.authentication.access_token},queryParams:{}};return{success:!0,request_body:n,response_body:(await r.httpClient.sendRequest(a)).body}}})},9750:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hubspotCommons=void 0;const o=n(39231);t.hubspotCommons={authentication:o.Property.OAuth2({description:"",displayName:"Authentication",authUrl:"https://app.hubspot.com/oauth/authorize",tokenUrl:"https://api.hubapi.com/oauth/v1/token",required:!0,scope:["crm.objects.contacts.write","crm.objects.contacts.read"]})}},39007:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hubspot=void 0;const o=n(71754),r=n(81596);t.hubspot=(0,o.createPiece)({name:"hubspot",displayName:"Hubspot",logoUrl:"https://cdn.activepieces.com/pieces/hubspot.png",actions:[r.createHubspotContact],triggers:[]})},35514:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPiece=t.pieces=void 0;const o=n(5935),r=n(85703),i=n(19830),a=n(20393),s=n(97950),l=n(39007),c=n(20082),p=n(66407),u=n(45975);t.pieces=[r.slack,o.gmail,a.discord,i.github,l.hubspot,s.hackernews,c.mailchimp,p.cloudVisionAI,u.openai],t.getPiece=e=>t.pieces.find((t=>e.toLowerCase()===t.name.toLowerCase()))},83976:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addMemberToList=void 0;const o=n(73953),r=n(39231),i=n(78221),a=n(96757);t.addMemberToList=(0,o.createAction)({name:"add_member_to_list",displayName:"Add Member to an Audience (List)",description:"Add a member to an existing Mailchimp audience (list)",props:{authentication:i.mailChimpAuth,email:r.Property.ShortText({displayName:"Email",description:"Email of the new contact",required:!0}),listId:r.Property.Dropdown({displayName:"Audience",refreshers:["authentication"],description:"Audience you want to add the contact to",required:!0,options:async e=>{if(void 0===e.authentication)return{disabled:!0,options:[],placeholder:"Please select an authentication"};const t=e.authentication;let n=(await async function(e){const t=e.access_token,n=await(0,i.getMailChimpServerPrefix)(t);return a.setConfig({accessToken:t,server:n}),console.log(`token:${t}`),console.log(`server ${n}`),await a.lists.getAllLists({fields:["lists.id","lists.name","total_items"],count:1e3})}(t)).lists;return{disabled:!1,options:n.map((e=>({label:e.name,value:e.id})))}}}),status:r.Property.Dropdown({displayName:"Status",refreshers:[],required:!0,options:async()=>({disabled:!1,options:[{label:"Subscribed",value:"subscribed"},{label:"Unsubscribed",value:"unsubscribed"},{label:"Cleaned",value:"cleaned"},{label:"Pending",value:"pending"},{label:"Transactional",value:"transactional"}]})})},async run(e){var t;const n=null===(t=e.propsValue.authentication)||void 0===t?void 0:t.access_token,o=await(0,i.getMailChimpServerPrefix)(n);return a.setConfig({accessToken:n,server:o}),await a.lists.addListMember(e.propsValue.listId,{email_address:e.propsValue.email,status:e.propsValue.status})}})},78221:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mailChimpAuth=t.getMailChimpServerPrefix=void 0;const o=n(28243),r=n(88488),i=n(39231);t.getMailChimpServerPrefix=async function(e){const t={method:r.HttpMethod.GET,url:"https://login.mailchimp.com/oauth2/metadata",headers:{Authorization:`OAuth ${e}`}};return(await o.httpClient.sendRequest(t)).body.dc},t.mailChimpAuth=i.Property.OAuth2({description:"",displayName:"Authentication",authUrl:"https://login.mailchimp.com/oauth2/authorize",tokenUrl:"https://login.mailchimp.com/oauth2/token",required:!0,scope:[]})},20082:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mailchimp=void 0;const o=n(71754),r=n(83976);t.mailchimp=(0,o.createPiece)({name:"mailchimp",displayName:"Mailchimp",logoUrl:"https://cdn.activepieces.com/pieces/mailchimp.png",actions:[r.addMemberToList],triggers:[]})},24520:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.askOpenAI=void 0;const o=n(73953),r=n(29692),i=n(72487),a=n(39231);t.askOpenAI=(0,o.createAction)({name:"ask_chatgpt",displayName:"Ask ChatGPT",description:"Using OpenAI will answer your question .",props:{apiKey:a.Property.ShortText({displayName:"Api Key",required:!0}),prompt:a.Property.LongText({displayName:"Question",required:!0,description:"The question to ask OpenAI."}),temperature:a.Property.Number({displayName:"Temperature",required:!1,description:"Controls the creativity of the generated text."}),maxTokens:a.Property.Number({displayName:"Maximum Tokens",required:!1,description:"The maximum number of tokens in the generated text."})},async run({propsValue:e}){var t;const n=new i.Configuration({apiKey:e.apiKey}),o=new i.OpenAIApi(n);let a=.9;e.temperature&&(a=e.temperature);let s=2048;e.maxTokens&&(s=e.maxTokens);const l=await o.createCompletion({model:"text-davinci-003",prompt:e.prompt,temperature:a,max_tokens:s,top_p:1,frequency_penalty:0,presence_penalty:.6});return(0,r.assertNotNullOrUndefined)(l,"Error generating text from OpenAI.",0),null===(t=l.data.choices[0].text)||void 0===t?void 0:t.trim()}})},45975:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openai=void 0;const o=n(71754),r=n(24520);t.openai=(0,o.createPiece)({name:"openai",displayName:"Open AI",logoUrl:"https://cdn.activepieces.com/pieces/openai.png",actions:[r.askOpenAI],triggers:[]})},51462:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slackSendMessageAction=void 0;const o=n(64068),r=n(88488),i=n(73953),a=n(28243),s=n(39231);t.slackSendMessageAction=(0,i.createAction)({name:"send_channel_message",displayName:"Send slack message",description:"Send slack message",props:{authentication:s.Property.OAuth2({description:"",displayName:"Authentication",authUrl:"https://slack.com/oauth/authorize",tokenUrl:"https://slack.com/api/oauth.access",required:!0,scope:["channels:read","channels:write","chat:write:bot"]}),channel:s.Property.Dropdown({displayName:"Channel",description:"Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. See [below](#channels) for more details.",required:!0,refreshers:["authentication"],async options(e){if(void 0===e.authentication)return{disabled:!0,placeholder:"connect slack account",options:[]};const t=e.authentication.access_token,n={method:r.HttpMethod.GET,url:"https://slack.com/api/conversations.list",authentication:{type:o.AuthenticationType.BEARER_TOKEN,token:t}};return{disabled:!1,placeholder:"Select channel",options:(await a.httpClient.sendRequest(n)).body.channels.map((e=>({label:e.name,value:e.id})))}}}),text:s.Property.LongText({displayName:"Message",description:"The text of your message",required:!0})},async run(e){let t=e.propsValue,n={text:t.text,channel:t.channel};const i={method:r.HttpMethod.POST,url:"https://slack.com/api/chat.postMessage",body:n,authentication:{type:o.AuthenticationType.BEARER_TOKEN,token:t.authentication.access_token},queryParams:{}};return{success:!0,request_body:n,response_body:await a.httpClient.sendRequest(i)}}})},85703:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slack=void 0;const o=n(51462),r=n(71754);t.slack=(0,r.createPiece)({name:"slack",displayName:"Slack",logoUrl:"https://cdn.activepieces.com/pieces/slack.png",actions:[o.slackSendMessageAction],triggers:[]})},64068:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthenticationType=void 0,(t.AuthenticationType||(t.AuthenticationType={})).BEARER_TOKEN="BEARER_TOKEN"},29692:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertNotUndefined=t.assertNotNull=t.assertNotNullOrUndefined=void 0,t.assertNotNullOrUndefined=function(e,t,n){if(0!==n)throw new Error(t);console.log(t)},t.assertNotNull=function(e,t,n){if(0!==n)throw new Error(t);console.log(t)},t.assertNotUndefined=function(e,t,n){if(0!==n)throw new Error(t);console.log(t)}},26791:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AxiosHttpClient=void 0;const o=n(5789),r=n(92224),i=n(2703);class a extends i.BaseHttpClient{constructor(e="",t=new r.DelegatingAuthenticationConverter,n=o.default){super(e,t),this.client=n}async sendRequest(e){const t=this.getUrl(e),n=this.getHeaders(e),r=this.getAxiosRequestMethod(e.method),i=await o.default.request({method:r,url:t,headers:n,data:e.body});return{status:i.status,headers:i.headers,body:i.data}}getAxiosRequestMethod(e){return e.toString()}}t.AxiosHttpClient=a},84373:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BearerTokenAuthenticationConverter=void 0;const o=n(71128);t.BearerTokenAuthenticationConverter=class{convert(e,t){return t[o.HttpHeader.AUTHORIZATION]=`Bearer ${e.token}`,t}}},92224:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DelegatingAuthenticationConverter=void 0;const o=n(84373),r=n(64068);t.DelegatingAuthenticationConverter=class{constructor(e=new o.BearerTokenAuthenticationConverter){this.converters={[r.AuthenticationType.BEARER_TOKEN]:e}}convert(e,t){return this.converters[e.type].convert(e,t)}}},2703:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseHttpClient=void 0;const o=n(41041),r=n(71128),i=n(83908);t.BaseHttpClient=class{constructor(e,t){this.baseUrl=e,this.authenticationConverter=t}getUrl(e){const t=new o.URL(`${this.baseUrl}${e.url}`);if(e.queryParams)for(const[n,o]of Object.entries(e.queryParams))t.searchParams.append(n,o);return t.toString()}getHeaders(e){let t={[r.HttpHeader.ACCEPT]:i.MediaType.APPLICATION_JSON};return e.authentication&&this.populateAuthentication(e.authentication,t),e.body&&(t[r.HttpHeader.CONTENT_TYPE]=i.MediaType.APPLICATION_JSON),e.headers&&(t={...t,...e.headers}),t}populateAuthentication(e,t){this.authenticationConverter.convert(e,t)}}},28243:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.httpClient=void 0;const o=n(26791);t.httpClient=new o.AxiosHttpClient},71128:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.HttpHeader=void 0,(n=t.HttpHeader||(t.HttpHeader={})).AUTHORIZATION="Authorization",n.ACCEPT="Accept",n.CONTENT_TYPE="ContentType"},88488:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.HttpMethod=void 0,(n=t.HttpMethod||(t.HttpMethod={})).CONNECT="CONNECT",n.DELETE="DELETE",n.GET="GET",n.HEAD="HEAD",n.OPTIONS="OPTIONS",n.PATCH="PATCH",n.POST="POST",n.PUT="PUT",n.TRACE="TRACE"},83908:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaType=void 0,(t.MediaType||(t.MediaType={})).APPLICATION_JSON="application/json"},73953:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAction=void 0;class n{constructor(e,t,n,o,r){this.name=e,this.displayName=t,this.description=n,this.props=o,this.run=r}}t.createAction=function(e){return new n(e.name,e.displayName,e.description,e.props,e.run)}},71754:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPiece=t.Piece=void 0;class n{constructor(e,t,n,o,r){this.name=e,this.displayName=t,this.logoUrl=n,this._actions=Object.fromEntries(o.map((e=>[e.name,e]))),this._triggers=Object.fromEntries(r.map((e=>[e.name,e])))}getAction(e){if(e in this._actions)return this._actions[e]}getTrigger(e){if(e in this._triggers)return this._triggers[e]}metadata(){return{name:this.name,displayName:this.displayName,logoUrl:this.logoUrl,actions:this._actions,triggers:this._triggers}}}t.Piece=n,t.createPiece=e=>new n(e.name,e.displayName,e.logoUrl,e.actions,e.triggers)},47445:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.PropertyType=void 0,(n=t.PropertyType||(t.PropertyType={})).SHORT_TEXT="SHORT_TEXT",n.LONG_TEXT="LONG_TEXT",n.DROPDOWN="DROPDOWN",n.NUMBER="NUMBER",n.CHECKBOX="CHECKBOX",n.OAUTH2="OAUTH2",n.SECRET_TEXT="SECRET_TEXT",n.CUSTOM_AUTH="CUSTOM_AUTH"},17091:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},98631:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},39231:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(47445),t),r(n(17091),t),r(n(98631),t),r(n(95212),t),r(n(8863),t)},95212:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8863:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Property=void 0;const o=n(47445);t.Property={ShortText:e=>({...e,valueSchema:void 0,type:o.PropertyType.SHORT_TEXT}),Checkbox:e=>({...e,valueSchema:void 0,type:o.PropertyType.CHECKBOX}),LongText:e=>({...e,valueSchema:void 0,type:o.PropertyType.LONG_TEXT}),Number:e=>({...e,valueSchema:void 0,type:o.PropertyType.NUMBER}),OAuth2:e=>({...e,valueSchema:void 0,type:o.PropertyType.OAUTH2}),Dropdown:e=>({...e,valueSchema:void 0,type:o.PropertyType.DROPDOWN}),SecretText:e=>({...e,valueSchema:void 0,type:o.PropertyType.SECRET_TEXT}),CustomAuth:e=>({...e,valueSchema:void 0,type:o.PropertyType.CUSTOM_AUTH})}},98377:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.createTrigger=t.TriggerStrategy=void 0,(n=t.TriggerStrategy||(t.TriggerStrategy={})).POLLING="POLLING",n.WEBHOOK="WEBHOOK";class o{constructor(e,t,n,o,r,i,a,s){this.name=e,this.displayName=t,this.description=n,this.props=o,this.type=r,this.onEnable=i,this.onDisable=a,this.run=s}}t.createTrigger=function(e){return new o(e.name,e.displayName,e.description,e.props,e.type,e.onEnable,e.onDisable,e.run)}},86928:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.TriggerStrategy=t.Piece=void 0,r(n(39231),t);var i=n(71754);Object.defineProperty(t,"Piece",{enumerable:!0,get:function(){return i.Piece}});var a=n(98377);Object.defineProperty(t,"TriggerStrategy",{enumerable:!0,get:function(){return a.TriggerStrategy}}),r(n(35514),t)},90033:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SignInRequest=void 0;const o=n(470);t.SignInRequest=o.Type.Object({email:o.Type.String({format:"email"}),password:o.Type.String({minLength:8,maxLength:25})})},17403:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SignUpRequest=void 0;const o=n(470);t.SignUpRequest=o.Type.Object({email:o.Type.String({format:"email"}),password:o.Type.String({minLength:8,maxLength:25}),firstName:o.Type.String(),lastName:o.Type.String(),trackEvents:o.Type.Boolean(),newsLetter:o.Type.Boolean()})},54881:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.PrincipalType=void 0,(n=t.PrincipalType||(t.PrincipalType={})).USER="USER",n.WORKER="WORKER"},58334:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExecuteCodeRequest=void 0;const o=n(470);t.ExecuteCodeRequest=o.Type.Object({artifact:o.Type.String(),input:o.Type.Object({})})},34216:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CollectionVersionState=void 0,(n=t.CollectionVersionState||(t.CollectionVersionState={})).LOCKED="LOCKED",n.DRAFT="DRAFT"},77241:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigType=void 0,(n=t.ConfigType||(t.ConfigType={})).CHECKBOX="CHECKBOX",n.NUMBER="NUMBER",n.DICTIONARY="DICTIONARY",n.LONG_TEXT="LONG_TEXT",n.SHORT_TEXT="SHORT_TEXT",n.CLOUD_OAUTH2="CLOUD_AUTH2",n.OAUTH2="OAUTH2"},33984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CreateCollectionSchema=void 0,t.CreateCollectionSchema={body:{type:"object",properties:{displayName:{type:"string"},projectId:{type:"string"}},required:["displayName","projectId"]}}},58442:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ListCollectionsSchema=void 0,t.ListCollectionsSchema={querystring:{type:"object",properties:{limit:{type:"number"},projectId:{type:"string"},cursor:{type:"string"}},required:["projectId"]}}},47591:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateCollectionSchema=void 0,t.UpdateCollectionSchema={body:{type:"object",properties:{displayName:{type:"string"}},required:["displayName"]}}},95810:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.apId=t.ApId=void 0;const o=n(470),r=n(15673);t.ApId=o.Type.String({pattern:"^[0-9a-zA-Z]{21}$"}),t.apId=(0,r.customAlphabet)("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",21)},38283:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CreateFlowRunRequest=void 0;const o=n(470);t.CreateFlowRunRequest=o.Type.Object({flowVersionId:o.Type.String(),collectionVersionId:o.Type.String(),payload:o.Type.Object({})})},59982:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ExecutionOutputStatus=void 0,(n=t.ExecutionOutputStatus||(t.ExecutionOutputStatus={})).SUCCEEDED="SUCCEEDED",n.FAILED="FAILED",n.RUNNING="RUNNING",n.INTERNAL_ERROR="INTERNAL_ERROR"},27984:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExecutionState=void 0;const o=n(15469);class r{constructor(){this.configs={},this.steps={},this.lastStepState={}}insertConfigs(e){if(e instanceof Map)e.forEach(((e,t)=>{this.configs[t]=e}));else{if("object"!=typeof e||Array.isArray(e))throw Error("Invalid configs type: "+typeof e);Object.entries(e).forEach((([e,t])=>{this.configs[e]=t}))}}insertStep(e,t,n){this.getTargetMap(n)[t]=e,this.updateLastStep(e.output,t)}updateLastStep(e,t){this.lastStepState[t]=r.deepClone(e)}static deepClone(e){if(void 0!==e)return null===e?null:JSON.parse(JSON.stringify(e))}getTargetMap(e){let t=this.steps;return e.forEach((e=>{if(void 0===t[e[0]])throw"Error in ancestor tree";const n=t[e[0]];if(!(n instanceof o.LoopOnItemsStepOutput))throw"Error in ancestor tree, Not instance of Loop On Items step output";t=n.output.iterations[e[1]]})),t}}t.ExecutionState=r},15469:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LoopOnItemsStepOutput=t.StepOutput=t.StepOutputStatus=void 0,(n=t.StepOutputStatus||(t.StepOutputStatus={})).RUNNING="RUNNING",n.SUCCEEDED="SUCCEEDED",n.FAILED="FAILED";class o{}t.StepOutput=o,t.LoopOnItemsStepOutput=class extends o{}},41921:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.RunEnvironment=void 0,(n=t.RunEnvironment||(t.RunEnvironment={})).PRODUCTION="PRODUCTION",n.TESTING="TESTING"},73442:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActionSchema=t.LoopOnItemsActionSchema=t.StorageActionSchema=t.StoreOperation=t.PieceActionSchema=t.CodeActionSchema=t.ActionType=void 0;const o=n(470);var r,i;!function(e){e.CODE="CODE",e.STORAGE="STORAGE",e.PIECE="PIECE",e.LOOP_ON_ITEMS="LOOP_ON_ITEMS"}(r=t.ActionType||(t.ActionType={})),t.CodeActionSchema=o.Type.Object({name:o.Type.String({}),displayName:o.Type.String({}),type:o.Type.Literal(r.CODE),settings:o.Type.Object({artifactSourceId:o.Type.String({}),input:o.Type.Object({})})}),t.PieceActionSchema=o.Type.Object({name:o.Type.String({}),displayName:o.Type.String({}),type:o.Type.Literal(r.PIECE),settings:o.Type.Object({pieceName:o.Type.String({}),actionName:o.Type.String({}),input:o.Type.Object({})})}),function(e){e.PUT="PUT",e.GET="GET"}(i=t.StoreOperation||(t.StoreOperation={})),t.StorageActionSchema=o.Type.Union([o.Type.Object({name:o.Type.String({}),displayName:o.Type.String({}),type:o.Type.Literal(r.STORAGE),settings:o.Type.Object({operation:o.Type.Literal(i.PUT),key:o.Type.String({minLength:1}),value:o.Type.Any({})})}),o.Type.Object({name:o.Type.String({}),displayName:o.Type.String({}),type:o.Type.Literal(r.STORAGE),settings:o.Type.Object({operation:o.Type.Literal(i.GET),key:o.Type.String({minLength:1})})})]),t.LoopOnItemsActionSchema=o.Type.Object({name:o.Type.String({}),displayName:o.Type.String({}),type:o.Type.Literal(r.STORAGE),settings:o.Type.Object({items:o.Type.Array(o.Type.Any({}))})}),t.ActionSchema=o.Type.Union([t.CodeActionSchema,t.PieceActionSchema,t.StorageActionSchema,t.LoopOnItemsActionSchema])},82481:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CreateFlowRequestSchema=void 0,t.CreateFlowRequestSchema={body:{type:"object",properties:{displayName:{type:"string"},collectionId:{type:"string"}},required:["displayName","collectionId"]}}},55708:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ListFlowsSchema=void 0,t.ListFlowsSchema={querystring:{type:"object",properties:{limit:{type:"number"},collectionId:{type:"string"},cursor:{type:"string"}},required:["collectionId"]}}},17210:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flowHelper=t.getStep=void 0;const o=n(906),r=n(73442),i=n(13458),a=n(64741),s=a.TypeCompiler.Compile(r.ActionSchema),l=a.TypeCompiler.Compile(i.TriggerSchema);function c(e){let t=!0,n=e.trigger;for(;void 0!==n;)t=t&&n.valid,n=n.nextAction;return t}function p(e,t){let n=e.trigger;for(;void 0!==n&&n.name!==t;)n=n.nextAction;return n}function u(e,t){var n;const o={displayName:e.displayName,name:e.name,valid:!1,nextAction:t};let i;switch(e.type){case r.ActionType.STORAGE:i={...o,type:r.ActionType.STORAGE,settings:e.settings};break;case r.ActionType.LOOP_ON_ITEMS:i={...o,type:r.ActionType.LOOP_ON_ITEMS,settings:e.settings};break;case r.ActionType.PIECE:i={...o,type:r.ActionType.PIECE,settings:e.settings};break;case r.ActionType.CODE:i={...o,type:r.ActionType.CODE,settings:e.settings}}return i.valid=(null===(n=e.valid)||void 0===n||n)&&s.Check(i),i}t.getStep=p,t.flowHelper={isValid:c,apply(e,t){const n=JSON.parse(JSON.stringify(e));switch(t.type){case o.FlowOperationType.CHANGE_NAME:n.displayName=t.request.displayName;break;case o.FlowOperationType.DELETE_ACTION:!function(e,t){let n=e.trigger;for(;void 0!==n.nextAction&&n.nextAction.name!==t.name;)n=n.nextAction;if(void 0!==n.nextAction){let e=n.nextAction;n.nextAction=e.nextAction}}(n,t.request);break;case o.FlowOperationType.ADD_ACTION:!function(e,t){let n=e.trigger;for(;void 0!==(null==n?void 0:n.nextAction)&&n.name!==t.parentAction;)n=n.nextAction;n.nextAction=u(t.action,n.nextAction)}(n,t.request);break;case o.FlowOperationType.UPDATE_ACTION:!function(e,t){let n=e.trigger;for(;void 0!==n.nextAction&&n.nextAction.name!==t.name;)n=n.nextAction;if(void 0!==n.nextAction){let e=n.nextAction;n.nextAction=u(t,e.nextAction)}}(n,t.request);break;case o.FlowOperationType.UPDATE_TRIGGER:n.trigger=function(e,t,n){var o;const r={displayName:t.displayName,name:e,valid:!1,nextAction:n};let a;switch(t.type){case i.TriggerType.EMPTY:a={...r,type:i.TriggerType.EMPTY,settings:t.settings};break;case i.TriggerType.SCHEDULE:a={...r,type:i.TriggerType.SCHEDULE,settings:t.settings};break;case i.TriggerType.PIECE:a={...r,type:i.TriggerType.PIECE,settings:t.settings};break;case i.TriggerType.WEBHOOK:a={...r,type:i.TriggerType.WEBHOOK,settings:t.settings}}return a.valid=(null===(o=t.valid)||void 0===o||o)&&l.Check(a),a}(n.trigger.name,t.request,n.trigger.nextAction)}return n.valid=c(n),n},getStep:p,clone:e=>JSON.parse(JSON.stringify(e))}},906:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlowOperationRequestSchema=t.FlowOperationType=void 0;const o=n(470);var r;!function(e){e.CHANGE_NAME="CHANGE_NAME",e.UPDATE_TRIGGER="UPDATE_TRIGGER",e.ADD_ACTION="ADD_ACTION",e.UPDATE_ACTION="UPDATE_ACTION",e.DELETE_ACTION="DELETE_ACTION"}(r=t.FlowOperationType||(t.FlowOperationType={})),t.FlowOperationRequestSchema=o.Type.Union([o.Type.Object({type:o.Type.Literal(r.CHANGE_NAME),request:o.Type.Object({displayName:o.Type.String()})}),o.Type.Object({type:o.Type.Literal(r.DELETE_ACTION),request:o.Type.Object({name:o.Type.String()})}),o.Type.Object({type:o.Type.Literal(r.UPDATE_ACTION),request:o.Type.Object({})}),o.Type.Object({type:o.Type.Literal(r.ADD_ACTION),request:o.Type.Object({})}),o.Type.Object({type:o.Type.Literal(r.UPDATE_TRIGGER),request:o.Type.Object({})})])},64391:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.FlowVersionState=void 0,(n=t.FlowVersionState||(t.FlowVersionState={})).LOCKED="LOCKED",n.DRAFT="DRAFT"},13458:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TriggerSchema=t.PieceTriggerSchema=t.ScheduleTriggerSchema=t.WebhookTriggerSchema=t.TriggerType=void 0;const o=n(470),r=n(71804),i=n(56601);var a;!function(e){e.SCHEDULE="SCHEDULE",e.EMPTY="EMPTY",e.WEBHOOK="WEBHOOK",e.PIECE="PIECE_TRIGGER"}(a=t.TriggerType||(t.TriggerType={})),t.WebhookTriggerSchema=o.Type.Object({name:o.Type.String({}),displayName:o.Type.String({}),type:o.Type.Literal(a.WEBHOOK),settings:o.Type.Object({})}),r.Format.Set("cronexpression",(e=>(0,i.isValidCron)(e,{seconds:!0}))),t.ScheduleTriggerSchema=o.Type.Object({name:o.Type.String({}),displayName:o.Type.String({}),type:o.Type.Literal(a.SCHEDULE),settings:o.Type.Object({cronExpression:o.Type.String({format:"cronexpression"})})}),t.PieceTriggerSchema=o.Type.Object({name:o.Type.String({}),displayName:o.Type.String({}),type:o.Type.Literal(a.PIECE),settings:o.Type.Object({pieceName:o.Type.String({}),triggerName:o.Type.String({}),input:o.Type.Object({})})}),t.TriggerSchema=o.Type.Union([t.WebhookTriggerSchema,t.ScheduleTriggerSchema,t.PieceTriggerSchema])},42036:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.ApId=t.apId=t.CreateFlowRequestSchema=t.UpdateCollectionSchema=t.CreateCollectionSchema=t.ListFlowsSchema=t.ListCollectionsSchema=t.FlowOperationType=t.ExecutionState=t.RunEnvironment=t.getStep=t.FlowVersionState=t.PieceOptionRequestSchema=t.CollectionVersionState=t.TriggerType=t.CreateFlowRunRequest=t.StepOutput=t.UserStatus=t.ActionType=t.PrincipalType=t.SignInRequest=t.SignUpRequest=t.PutStoreEntryRequest=t.flowHelper=t.ExecuteCodeRequest=t.CodeRunStatus=t.ClaimTokenFromCloudRequest=t.ClaimTokenWithSecretRequest=t.StepOutputStatus=t.StoreOperation=t.RefreshTokenFromCloudRequest=void 0;var i=n(96754);Object.defineProperty(t,"RefreshTokenFromCloudRequest",{enumerable:!0,get:function(){return i.RefreshTokenFromCloudRequest}});var a=n(73442);Object.defineProperty(t,"StoreOperation",{enumerable:!0,get:function(){return a.StoreOperation}}),r(n(15469),t),r(n(906),t),r(n(77241),t),r(n(40642),t),r(n(59982),t);var s=n(15469);Object.defineProperty(t,"StepOutputStatus",{enumerable:!0,get:function(){return s.StepOutputStatus}});var l=n(43090);Object.defineProperty(t,"ClaimTokenWithSecretRequest",{enumerable:!0,get:function(){return l.ClaimTokenWithSecretRequest}});var c=n(51278);Object.defineProperty(t,"ClaimTokenFromCloudRequest",{enumerable:!0,get:function(){return c.ClaimTokenFromCloudRequest}});var p=n(982);Object.defineProperty(t,"CodeRunStatus",{enumerable:!0,get:function(){return p.CodeRunStatus}});var u=n(58334);Object.defineProperty(t,"ExecuteCodeRequest",{enumerable:!0,get:function(){return u.ExecuteCodeRequest}});var d=n(17210);Object.defineProperty(t,"flowHelper",{enumerable:!0,get:function(){return d.flowHelper}});var g=n(36145);Object.defineProperty(t,"PutStoreEntryRequest",{enumerable:!0,get:function(){return g.PutStoreEntryRequest}});var f=n(17403);Object.defineProperty(t,"SignUpRequest",{enumerable:!0,get:function(){return f.SignUpRequest}});var h=n(90033);Object.defineProperty(t,"SignInRequest",{enumerable:!0,get:function(){return h.SignInRequest}});var m=n(54881);Object.defineProperty(t,"PrincipalType",{enumerable:!0,get:function(){return m.PrincipalType}});var y=n(73442);Object.defineProperty(t,"ActionType",{enumerable:!0,get:function(){return y.ActionType}});var v=n(76606);Object.defineProperty(t,"UserStatus",{enumerable:!0,get:function(){return v.UserStatus}});var b=n(15469);Object.defineProperty(t,"StepOutput",{enumerable:!0,get:function(){return b.StepOutput}});var O=n(38283);Object.defineProperty(t,"CreateFlowRunRequest",{enumerable:!0,get:function(){return O.CreateFlowRunRequest}});var w=n(13458);Object.defineProperty(t,"TriggerType",{enumerable:!0,get:function(){return w.TriggerType}});var P=n(34216);Object.defineProperty(t,"CollectionVersionState",{enumerable:!0,get:function(){return P.CollectionVersionState}});var x=n(20004);Object.defineProperty(t,"PieceOptionRequestSchema",{enumerable:!0,get:function(){return x.PieceOptionRequestSchema}});var S=n(64391);Object.defineProperty(t,"FlowVersionState",{enumerable:!0,get:function(){return S.FlowVersionState}});var T=n(17210);Object.defineProperty(t,"getStep",{enumerable:!0,get:function(){return T.getStep}});var A=n(41921);Object.defineProperty(t,"RunEnvironment",{enumerable:!0,get:function(){return A.RunEnvironment}});var E=n(27984);Object.defineProperty(t,"ExecutionState",{enumerable:!0,get:function(){return E.ExecutionState}});var j=n(906);Object.defineProperty(t,"FlowOperationType",{enumerable:!0,get:function(){return j.FlowOperationType}});var k=n(58442);Object.defineProperty(t,"ListCollectionsSchema",{enumerable:!0,get:function(){return k.ListCollectionsSchema}});var _=n(55708);Object.defineProperty(t,"ListFlowsSchema",{enumerable:!0,get:function(){return _.ListFlowsSchema}});var C=n(33984);Object.defineProperty(t,"CreateCollectionSchema",{enumerable:!0,get:function(){return C.CreateCollectionSchema}});var I=n(47591);Object.defineProperty(t,"UpdateCollectionSchema",{enumerable:!0,get:function(){return I.UpdateCollectionSchema}});var R=n(82481);Object.defineProperty(t,"CreateFlowRequestSchema",{enumerable:!0,get:function(){return R.CreateFlowRequestSchema}});var N=n(95810);Object.defineProperty(t,"apId",{enumerable:!0,get:function(){return N.apId}}),Object.defineProperty(t,"ApId",{enumerable:!0,get:function(){return N.ApId}})},68032:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(75133),t)},75133:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UpsertInstanceRequest=void 0;const o=n(470),r=n(22141);t.UpsertInstanceRequest=o.Type.Object({collectionId:o.Type.String(),status:o.Type.Enum(r.InstanceStatus)})},40642:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(68032),t),r(n(22141),t)},22141:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(10436),t)},10436:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.InstanceStatus=void 0,(n=t.InstanceStatus||(t.InstanceStatus={})).ENABLED="ENABLED",n.DISABLED="DISABLED"},51278:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClaimTokenFromCloudRequest=void 0;const o=n(470);t.ClaimTokenFromCloudRequest=o.Type.Object({pieceName:o.Type.String({}),code:o.Type.String({})})},43090:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClaimTokenWithSecretRequest=void 0;const o=n(470);t.ClaimTokenWithSecretRequest=o.Type.Object({tokenUrl:o.Type.String({}),clientId:o.Type.String({}),clientSecret:o.Type.String({}),redirectUrl:o.Type.String({}),code:o.Type.String({})})},96754:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RefreshTokenFromCloudRequest=void 0;const o=n(470);t.RefreshTokenFromCloudRequest=o.Type.Object({pieceName:o.Type.String({}),refreshToken:o.Type.String({})})},20004:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PieceOptionRequestSchema=void 0,t.PieceOptionRequestSchema={body:{type:"object",properties:{stepName:{type:"string"},configName:{type:"string"},configs:{type:"object"}},required:["stepName","configName","configs"]}}},36145:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PutStoreEntryRequest=void 0;const o=n(470);t.PutStoreEntryRequest=o.Type.Object({key:o.Type.String({}),value:o.Type.Any({})})},76606:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserStatus=void 0,(t.UserStatus||(t.UserStatus={})).VERIFIED="VERIFIED"},982:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CodeRunStatus=void 0,(n=t.CodeRunStatus||(t.CodeRunStatus={})).OK="OK",n.RUNTIME_ERROR="RUNTIME_ERROR",n.CRASHED="CRASHED",n.TIMEOUT="TIMEOUT",n.INTERNAL_ERROR="INTERNAL_ERROR",n.UNKNOWN_ERROR="UNKNOWN_ERROR"},39491:e=>{"use strict";e.exports=require("assert")},14300:e=>{"use strict";e.exports=require("buffer")},32081:e=>{"use strict";e.exports=require("child_process")},6113:e=>{"use strict";e.exports=require("crypto")},9523:e=>{"use strict";e.exports=require("dns")},82361:e=>{"use strict";e.exports=require("events")},57147:e=>{"use strict";e.exports=require("fs")},13685:e=>{"use strict";e.exports=require("http")},85158:e=>{"use strict";e.exports=require("http2")},95687:e=>{"use strict";e.exports=require("https")},41808:e=>{"use strict";e.exports=require("net")},41041:e=>{"use strict";e.exports=require("node:url")},22037:e=>{"use strict";e.exports=require("os")},71017:e=>{"use strict";e.exports=require("path")},85477:e=>{"use strict";e.exports=require("punycode")},63477:e=>{"use strict";e.exports=require("querystring")},12781:e=>{"use strict";e.exports=require("stream")},71576:e=>{"use strict";e.exports=require("string_decoder")},24404:e=>{"use strict";e.exports=require("tls")},76224:e=>{"use strict";e.exports=require("tty")},57310:e=>{"use strict";e.exports=require("url")},73837:e=>{"use strict";e.exports=require("util")},59796:e=>{"use strict";e.exports=require("zlib")},5789:(e,t,n)=>{"use strict";const o=n(87534),r=n(57310),i=n(67841),a=n(13685),s=n(95687),l=n(72679),c=n(59796),p=n(12781),u=n(82361);function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const g=d(o),f=d(r),h=d(a),m=d(s),y=d(l),v=d(c),b=d(p),O=d(u);function w(e,t){return function(){return e.apply(t,arguments)}}const{toString:P}=Object.prototype,{getPrototypeOf:x}=Object,S=(T=Object.create(null),e=>{const t=P.call(e);return T[t]||(T[t]=t.slice(8,-1).toLowerCase())});var T;const A=e=>(e=e.toLowerCase(),t=>S(t)===e),E=e=>t=>typeof t===e,{isArray:j}=Array,k=E("undefined"),_=A("ArrayBuffer"),C=E("string"),I=E("function"),R=E("number"),N=e=>null!==e&&"object"==typeof e,D=e=>{if("object"!==S(e))return!1;const t=x(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},L=A("Date"),B=A("File"),M=A("Blob"),F=A("FileList"),U=A("URLSearchParams");function q(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let o,r;if("object"!=typeof e&&(e=[e]),j(e))for(o=0,r=e.length;o0;)if(o=n[r],t===o.toLowerCase())return o;return null}const H="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,G=e=>!k(e)&&e!==H,W=(z="undefined"!=typeof Uint8Array&&x(Uint8Array),e=>z&&e instanceof z);var z;const J=A("HTMLFormElement"),Y=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),K=A("RegExp"),$=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};q(n,((n,r)=>{!1!==t(n,r,e)&&(o[r]=n)})),Object.defineProperties(e,o)},Q={isArray:j,isArrayBuffer:_,isBuffer:function(e){return null!==e&&!k(e)&&null!==e.constructor&&!k(e.constructor)&&I(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{const t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||P.call(e)===t||I(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&_(e.buffer),t},isString:C,isNumber:R,isBoolean:e=>!0===e||!1===e,isObject:N,isPlainObject:D,isUndefined:k,isDate:L,isFile:B,isBlob:M,isRegExp:K,isFunction:I,isStream:e=>N(e)&&I(e.pipe),isURLSearchParams:U,isTypedArray:W,isFileList:F,forEach:q,merge:function e(){const{caseless:t}=G(this)&&this||{},n={},o=(o,r)=>{const i=t&&V(n,r)||r;D(n[i])&&D(o)?n[i]=e(n[i],o):D(o)?n[i]=e({},o):j(o)?n[i]=o.slice():n[i]=o};for(let e=0,t=arguments.length;e(q(t,((t,o)=>{n&&I(t)?e[o]=w(t,n):e[o]=t}),{allOwnKeys:o}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,o)=>{let r,i,a;const s={};if(t=t||{},null==e)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)a=r[i],o&&!o(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&x(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:S,kindOfTest:A,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return-1!==o&&o===n},toArray:e=>{if(!e)return null;if(j(e))return e;let t=e.length;if(!R(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const n=o.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const o=[];for(;null!==(n=e.exec(t));)o.push(n);return o},isHTMLForm:J,hasOwnProperty:Y,hasOwnProp:Y,reduceDescriptors:$,freezeMethods:e=>{$(e,((t,n)=>{if(I(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const o=e[n];I(o)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},o=e=>{e.forEach((e=>{n[e]=!0}))};return j(e)?o(e):o(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[_-\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:V,global:H,isContextDefined:G,toJSONObject:e=>{const t=new Array(10),n=(e,o)=>{if(N(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[o]=e;const r=j(e)?[]:{};return q(e,((e,t)=>{const i=n(e,o+1);!k(i)&&(r[t]=i)})),t[o]=void 0,r}}return e};return n(e,0)}};function X(e,t,n,o,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),r&&(this.response=r)}Q.inherits(X,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Q.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Z=X.prototype,ee={};function te(e){return Q.isPlainObject(e)||Q.isArray(e)}function ne(e){return Q.endsWith(e,"[]")?e.slice(0,-2):e}function oe(e,t,n){return e?e.concat(t).map((function(e,t){return e=ne(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{ee[e]={value:e}})),Object.defineProperties(X,ee),Object.defineProperty(Z,"isAxiosError",{value:!0}),X.from=(e,t,n,o,r,i)=>{const a=Object.create(Z);return Q.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),X.call(a,e.message,t,n,o,r),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const re=Q.toFlatObject(Q,{},null,(function(e){return/^is[A-Z]/.test(e)}));function ie(e,t,n){if(!Q.isObject(e))throw new TypeError("target must be an object");t=t||new(g.default||FormData);const o=(n=Q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Q.isUndefined(t[e])}))).metaTokens,r=n.visitor||p,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&(l=t)&&Q.isFunction(l.append)&&"FormData"===l[Symbol.toStringTag]&&l[Symbol.iterator];var l;if(!Q.isFunction(r))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(Q.isDate(e))return e.toISOString();if(!s&&Q.isBlob(e))throw new X("Blob is not supported. Use a Buffer instead.");return Q.isArrayBuffer(e)||Q.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function p(e,n,r){let s=e;if(e&&!r&&"object"==typeof e)if(Q.endsWith(n,"{}"))n=o?n:n.slice(0,-2),e=JSON.stringify(e);else if(Q.isArray(e)&&function(e){return Q.isArray(e)&&!e.some(te)}(e)||Q.isFileList(e)||Q.endsWith(n,"[]")&&(s=Q.toArray(e)))return n=ne(n),s.forEach((function(e,o){!Q.isUndefined(e)&&null!==e&&t.append(!0===a?oe([n],o,i):null===a?n:n+"[]",c(e))})),!1;return!!te(e)||(t.append(oe(r,n,i),c(e)),!1)}const u=[],d=Object.assign(re,{defaultVisitor:p,convertValue:c,isVisitable:te});if(!Q.isObject(e))throw new TypeError("data must be an object");return function e(n,o){if(!Q.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+o.join("."));u.push(n),Q.forEach(n,(function(n,i){!0===(!(Q.isUndefined(n)||null===n)&&r.call(t,n,Q.isString(i)?i.trim():i,o,d))&&e(n,o?o.concat(i):[i])})),u.pop()}}(e),t}function ae(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function se(e,t){this._pairs=[],e&&ie(e,this,t)}const le=se.prototype;function ce(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function pe(e,t,n){if(!t)return e;const o=n&&n.encode||ce,r=n&&n.serialize;let i;if(i=r?r(t,n):Q.isURLSearchParams(t)?t.toString():new se(t,n).toString(o),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}le.append=function(e,t){this._pairs.push([e,t])},le.toString=function(e){const t=e?function(t){return e.call(this,t,ae)}:ae;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ue=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Q.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},de={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ge={isNode:!0,classes:{URLSearchParams:f.default.URLSearchParams,FormData:g.default,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]};function fe(e){function t(e,n,o,r){let i=e[r++];const a=Number.isFinite(+i),s=r>=e.length;return i=!i&&Q.isArray(o)?o.length:i,s?(Q.hasOwnProp(o,i)?o[i]=[o[i],n]:o[i]=n,!a):(o[i]&&Q.isObject(o[i])||(o[i]=[]),t(e,n,o[i],r)&&Q.isArray(o[i])&&(o[i]=function(e){const t={},n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o{t(function(e){return Q.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),o,n,0)})),n}return null}const he={"Content-Type":void 0},me={transitional:de,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",o=n.indexOf("application/json")>-1,r=Q.isObject(e);if(r&&Q.isHTMLForm(e)&&(e=new FormData(e)),Q.isFormData(e))return o&&o?JSON.stringify(fe(e)):e;if(Q.isArrayBuffer(e)||Q.isBuffer(e)||Q.isStream(e)||Q.isFile(e)||Q.isBlob(e))return e;if(Q.isArrayBufferView(e))return e.buffer;if(Q.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ie(e,new ge.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,o){return Q.isBuffer(e)?(this.append(t,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Q.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ie(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return r||o?(t.setContentType("application/json",!1),function(e,t,n){if(Q.isString(e))try{return(0,JSON.parse)(e),Q.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||me.transitional,n=t&&t.forcedJSONParsing,o="json"===this.responseType;if(e&&Q.isString(e)&&(n&&!this.responseType||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw X.from(e,X.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ge.classes.FormData,Blob:ge.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Q.forEach(["delete","get","head"],(function(e){me.headers[e]={}})),Q.forEach(["post","put","patch"],(function(e){me.headers[e]=Q.merge(he)}));const ye=me,ve=Q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),be=Symbol("internals");function Oe(e){return e&&String(e).trim().toLowerCase()}function we(e){return!1===e||null==e?e:Q.isArray(e)?e.map(we):String(e)}function Pe(e,t,n,o){return Q.isFunction(o)?o.call(this,t,n):Q.isString(t)?Q.isString(o)?-1!==t.indexOf(o):Q.isRegExp(o)?o.test(t):void 0:void 0}class xe{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function r(e,t,n){const r=Oe(t);if(!r)throw new Error("header name must be a non-empty string");const i=Q.findKey(o,r);(!i||void 0===o[i]||!0===n||void 0===n&&!1!==o[i])&&(o[i||t]=we(e))}const i=(e,t)=>Q.forEach(e,((e,n)=>r(e,n,t)));return Q.isPlainObject(e)||e instanceof this.constructor?i(e,t):Q.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z]+$/.test(e.trim())?i((e=>{const t={};let n,o,r;return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),n=e.substring(0,r).trim().toLowerCase(),o=e.substring(r+1).trim(),!n||t[n]&&ve[n]||("set-cookie"===n?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)})),t})(e),t):null!=e&&r(t,e,n),this}get(e,t){if(e=Oe(e)){const n=Q.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}(e);if(Q.isFunction(t))return t.call(this,e,n);if(Q.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Oe(e)){const n=Q.findKey(this,e);return!(!n||t&&!Pe(0,this[n],n,t))}return!1}delete(e,t){const n=this;let o=!1;function r(e){if(e=Oe(e)){const r=Q.findKey(n,e);!r||t&&!Pe(0,n[r],r,t)||(delete n[r],o=!0)}}return Q.isArray(e)?e.forEach(r):r(e),o}clear(){return Object.keys(this).forEach(this.delete.bind(this))}normalize(e){const t=this,n={};return Q.forEach(this,((o,r)=>{const i=Q.findKey(n,r);if(i)return t[i]=we(o),void delete t[r];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(r):String(r).trim();a!==r&&delete t[r],t[a]=we(o),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Q.forEach(this,((n,o)=>{null!=n&&!1!==n&&(t[o]=e&&Q.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[be]=this[be]={accessors:{}}).accessors,n=this.prototype;function o(e){const o=Oe(e);t[o]||(function(e,t){const n=Q.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{value:function(e,n,r){return this[o].call(this,t,e,n,r)},configurable:!0})}))}(n,e),t[o]=!0)}return Q.isArray(e)?e.forEach(o):o(e),this}}xe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]),Q.freezeMethods(xe.prototype),Q.freezeMethods(xe);const Se=xe;function Te(e,t){const n=this||ye,o=t||n,r=Se.from(o.headers);let i=o.data;return Q.forEach(e,(function(e){i=e.call(n,i,r.normalize(),t?t.status:void 0)})),r.normalize(),i}function Ae(e){return!(!e||!e.__CANCEL__)}function Ee(e,t,n){X.call(this,null==e?"canceled":e,X.ERR_CANCELED,t,n),this.name="CanceledError"}function je(e,t,n){const o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new X("Request failed with status code "+n.status,[X.ERR_BAD_REQUEST,X.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function ke(e,t){return e&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}Q.inherits(Ee,X,{__CANCEL__:!0});const _e="1.2.2";function Ce(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Ie=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function Re(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=o[a];r||(r=l),n[i]=s,o[i]=l;let p=a,u=0;for(;p!==i;)u+=n[p++],p%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-r!Q.isUndefined(t[e])))).chunkSize});const t=this,n=this[Ne]={length:e.length,timeWindow:e.timeWindow,ticksRate:e.ticksRate,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null},o=Re(n.ticksRate*e.samplesCount,n.timeWindow);this.on("newListener",(e=>{"progress"===e&&(n.isCaptured||(n.isCaptured=!0))}));let r=0;n.updateProgress=function(e,t){let n=0;const o=1e3/t;let r=null;return function(t,i){const a=Date.now();if(t||a-n>o)return r&&(clearTimeout(r),r=null),n=a,e.apply(null,i);r||(r=setTimeout((()=>(r=null,n=Date.now(),e.apply(null,i))),o-(a-n)))}}((function(){const e=n.length,i=n.bytesSeen,a=i-r;if(!a||t.destroyed)return;const s=o(a);r=i,process.nextTick((()=>{t.emit("progress",{loaded:i,total:e,progress:e?i/e:void 0,bytes:a,rate:s||void 0,estimated:s&&e&&i<=e?(e-i)/s:void 0})}))}),n.ticksRate);const i=()=>{n.updateProgress(!0)};this.once("end",i),this.once("error",i)}_read(e){const t=this[Ne];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const o=this,r=this[Ne],i=r.maxRate,a=this.readableHighWaterMark,s=r.timeWindow,l=i/(1e3/s),c=!1!==r.minChunkSize?Math.max(r.minChunkSize,.01*l):0,p=(e,t)=>{const n=Buffer.byteLength(e);let p,u=null,d=a,g=0;if(i){const e=Date.now();(!r.ts||(g=e-r.ts)>=s)&&(r.ts=e,p=l-r.bytes,r.bytes=p<0?-p:0,g=0),p=l-r.bytes}if(i){if(p<=0)return setTimeout((()=>{t(null,e)}),s-g);pd&&n-d>c&&(u=e.subarray(d),e=e.subarray(0,d)),function(e,t){const n=Buffer.byteLength(e);r.bytesSeen+=n,r.bytes+=n,r.isCaptured&&r.updateProgress(),o.push(e)?process.nextTick(t):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(t)}}(e,u?()=>{process.nextTick(t,null,u)}:t)};p(e,(function e(t,o){if(t)return n(t);o?p(o,e):n(null)}))}setLength(e){return this[Ne].length=+e,this}}const Le=De,Be={flush:v.default.constants.Z_SYNC_FLUSH,finishFlush:v.default.constants.Z_SYNC_FLUSH},Me={flush:v.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:v.default.constants.BROTLI_OPERATION_FLUSH},Fe=Q.isFunction(v.default.createBrotliDecompress),{http:Ue,https:qe}=y.default,Ve=/https:?/,He=ge.protocols.map((e=>e+":"));function Ge(e){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e)}function We(e,t,n){let o=t;if(!o&&!1!==o){const e=i.getProxyForUrl(n);e&&(o=new URL(e))}if(o){if(o.username&&(o.auth=(o.username||"")+":"+(o.password||"")),o.auth){(o.auth.username||o.auth.password)&&(o.auth=(o.auth.username||"")+":"+(o.auth.password||""));const t=Buffer.from(o.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=o.hostname||o.host;e.hostname=t,e.host=t,e.port=o.port,e.path=n,o.protocol&&(e.protocol=o.protocol.includes(":")?o.protocol:`${o.protocol}:`)}e.beforeRedirects.proxy=function(e){We(e,t,e.href)}}const ze="undefined"!=typeof process&&"process"===Q.kindOf(process)&&function(e){return new Promise((function(t,n){let o=e.data;const r=e.responseType,i=e.responseEncoding,a=e.method.toUpperCase();let s,l,c,p=!1;const u=new O.default;function d(){s||(s=!0,e.cancelToken&&e.cancelToken.unsubscribe(w),e.signal&&e.signal.removeEventListener("abort",w),u.removeAllListeners())}function g(e,o){l||(l=!0,o&&(p=!0,d()),o?n(e):t(e))}const f=function(e){g(e)},y=function(e){g(e,!0)};function w(t){u.emit("abort",!t||t.type?new Ee(null,e,c):t)}u.once("abort",y),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(w),e.signal&&(e.signal.aborted?w():e.signal.addEventListener("abort",w)));const P=ke(e.baseURL,e.url),x=new URL(P),S=x.protocol||He[0];if("data:"===S){let t;if("GET"!==a)return je(f,y,{status:405,statusText:"method not allowed",headers:{},config:e});try{t=function(e,t,n){const o=n&&n.Blob||ge.classes.Blob,r=Ce(e);if(void 0===t&&o&&(t=!0),"data"===r){e=r.length?e.slice(r.length+1):e;const n=Ie.exec(e);if(!n)throw new X("Invalid URL",X.ERR_INVALID_URL);const i=n[1],a=n[2],s=n[3],l=Buffer.from(decodeURIComponent(s),a?"base64":"utf8");if(t){if(!o)throw new X("Blob is not supported",X.ERR_NOT_SUPPORT);return new o([l],{type:i})}return l}throw new X("Unsupported protocol "+r,X.ERR_NOT_SUPPORT)}(e.url,"blob"===r,{Blob:e.env&&e.env.Blob})}catch(t){throw X.from(t,X.ERR_BAD_REQUEST,e)}return"text"===r?(t=t.toString(i),i&&"utf8"!==i||(o=Q.stripBOM(t))):"stream"===r&&(t=b.default.Readable.from(t)),je(f,y,{data:t,status:200,statusText:"OK",headers:new Se,config:e})}if(-1===He.indexOf(S))return y(new X("Unsupported protocol "+S,X.ERR_BAD_REQUEST,e));const T=Se.from(e.headers).normalize();T.set("User-Agent","axios/"+_e,!1);const A=e.onDownloadProgress,E=e.onUploadProgress,j=e.maxRate;let k,_;if(Q.isFormData(o)&&Q.isFunction(o.getHeaders))T.set(o.getHeaders());else if(o&&!Q.isStream(o)){if(Buffer.isBuffer(o));else if(Q.isArrayBuffer(o))o=Buffer.from(new Uint8Array(o));else{if(!Q.isString(o))return y(new X("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",X.ERR_BAD_REQUEST,e));o=Buffer.from(o,"utf-8")}if(T.set("Content-Length",o.length,!1),e.maxBodyLength>-1&&o.length>e.maxBodyLength)return y(new X("Request body larger than maxBodyLength limit",X.ERR_BAD_REQUEST,e))}const C=Q.toFiniteNumber(T.getContentLength());let I,R;Q.isArray(j)?(k=j[0],_=j[1]):k=_=j,o&&(E||k)&&(Q.isStream(o)||(o=b.default.Readable.from(o,{objectMode:!1})),o=b.default.pipeline([o,new Le({length:C,maxRate:Q.toFiniteNumber(k)})],Q.noop),E&&o.on("progress",(e=>{E(Object.assign(e,{upload:!0}))}))),e.auth&&(I=(e.auth.username||"")+":"+(e.auth.password||"")),!I&&x.username&&(I=x.username+":"+x.password),I&&T.delete("authorization");try{R=pe(x.pathname+x.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const n=new Error(t.message);return n.config=e,n.url=e.url,n.exists=!0,y(n)}T.set("Accept-Encoding","gzip, compress, deflate"+(Fe?", br":""),!1);const N={path:R,method:a,headers:T.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:I,protocol:S,beforeRedirect:Ge,beforeRedirects:{}};let D;e.socketPath?N.socketPath=e.socketPath:(N.hostname=x.hostname,N.port=x.port,We(N,e.proxy,S+"//"+x.hostname+(x.port?":"+x.port:"")+N.path));const L=Ve.test(N.protocol);if(N.agent=L?e.httpsAgent:e.httpAgent,e.transport?D=e.transport:0===e.maxRedirects?D=L?m.default:h.default:(e.maxRedirects&&(N.maxRedirects=e.maxRedirects),e.beforeRedirect&&(N.beforeRedirects.config=e.beforeRedirect),D=L?qe:Ue),e.maxBodyLength>-1?N.maxBodyLength=e.maxBodyLength:N.maxBodyLength=1/0,e.insecureHTTPParser&&(N.insecureHTTPParser=e.insecureHTTPParser),c=D.request(N,(function(t){if(c.destroyed)return;const n=[t],o=+t.headers["content-length"];if(A){const e=new Le({length:Q.toFiniteNumber(o),maxRate:Q.toFiniteNumber(_)});A&&e.on("progress",(e=>{A(Object.assign(e,{download:!0}))})),n.push(e)}let s=t;const l=t.req||c;if(!1!==e.decompress&&t.headers["content-encoding"])switch("HEAD"!==a&&204!==t.statusCode||delete t.headers["content-encoding"],t.headers["content-encoding"]){case"gzip":case"x-gzip":case"compress":case"x-compress":case"deflate":n.push(v.default.createUnzip(Be)),delete t.headers["content-encoding"];break;case"br":Fe&&(n.push(v.default.createBrotliDecompress(Me)),delete t.headers["content-encoding"])}s=n.length>1?b.default.pipeline(n,Q.noop):n[0];const g=b.default.finished(s,(()=>{g(),d()})),h={status:t.statusCode,statusText:t.statusMessage,headers:new Se(t.headers),config:e,request:l};if("stream"===r)h.data=s,je(f,y,h);else{const t=[];let n=0;s.on("data",(function(o){t.push(o),n+=o.length,e.maxContentLength>-1&&n>e.maxContentLength&&(p=!0,s.destroy(),y(new X("maxContentLength size of "+e.maxContentLength+" exceeded",X.ERR_BAD_RESPONSE,e,l)))})),s.on("aborted",(function(){if(p)return;const t=new X("maxContentLength size of "+e.maxContentLength+" exceeded",X.ERR_BAD_RESPONSE,e,l);s.destroy(t),y(t)})),s.on("error",(function(t){c.destroyed||y(X.from(t,null,e,l))})),s.on("end",(function(){try{let e=1===t.length?t[0]:Buffer.concat(t);"arraybuffer"!==r&&(e=e.toString(i),i&&"utf8"!==i||(e=Q.stripBOM(e))),h.data=e}catch(t){y(X.from(t,null,e,h.request,h))}je(f,y,h)}))}u.once("abort",(e=>{s.destroyed||(s.emit("error",e),s.destroy())}))})),u.once("abort",(e=>{y(e),c.destroy(e)})),c.on("error",(function(t){y(X.from(t,null,e,c))})),c.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(isNaN(t))return void y(new X("error trying to parse `config.timeout` to int",X.ERR_BAD_OPTION_VALUE,e,c));c.setTimeout(t,(function(){if(l)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||de;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),y(new X(t,n.clarifyTimeoutError?X.ETIMEDOUT:X.ECONNABORTED,e,c)),w()}))}if(Q.isStream(o)){let t=!1,n=!1;o.on("end",(()=>{t=!0})),o.once("error",(e=>{n=!0,c.destroy(e)})),o.on("close",(()=>{t||n||w(new Ee("Request stream has been aborted",e,c))})),o.pipe(c)}else c.end(o)}))},Je=ge.isStandardBrowserEnv?{write:function(e,t,n,o,r,i){const a=[];a.push(e+"="+encodeURIComponent(t)),Q.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Q.isString(o)&&a.push("path="+o),Q.isString(r)&&a.push("domain="+r),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},Ye=ge.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function o(n){let o=n;return e&&(t.setAttribute("href",o),o=t.href),t.setAttribute("href",o),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=o(window.location.href),function(e){const t=Q.isString(e)?o(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function Ke(e,t){let n=0;const o=Re(50,250);return r=>{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,l=o(s);n=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:r};c[t?"download":"upload"]=!0,e(c)}}const $e={http:ze,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let o=e.data;const r=Se.from(e.headers).normalize(),i=e.responseType;let a;function s(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}Q.isFormData(o)&&(ge.isStandardBrowserEnv||ge.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let l=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";r.set("Authorization","Basic "+btoa(t+":"+n))}const c=ke(e.baseURL,e.url);function p(){if(!l)return;const o=Se.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());je((function(e){t(e),s()}),(function(e){n(e),s()}),{data:i&&"text"!==i&&"json"!==i?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:o,config:e,request:l}),l=null}if(l.open(e.method.toUpperCase(),pe(c,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(p)},l.onabort=function(){l&&(n(new X("Request aborted",X.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new X("Network Error",X.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const o=e.transitional||de;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new X(t,o.clarifyTimeoutError?X.ETIMEDOUT:X.ECONNABORTED,e,l)),l=null},ge.isStandardBrowserEnv){const t=(e.withCredentials||Ye(c))&&e.xsrfCookieName&&Je.read(e.xsrfCookieName);t&&r.set(e.xsrfHeaderName,t)}void 0===o&&r.setContentType(null),"setRequestHeader"in l&&Q.forEach(r.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),Q.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),i&&"json"!==i&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",Ke(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Ke(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=t=>{l&&(n(!t||t.type?new Ee(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const u=Ce(c);u&&-1===ge.protocols.indexOf(u)?n(new X("Unsupported protocol "+u+":",X.ERR_BAD_REQUEST,e)):l.send(o||null)}))}};Q.forEach($e,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));function Qe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ee(null,e)}function Xe(e){return Qe(e),e.headers=Se.from(e.headers),e.data=Te.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),(e=>{e=Q.isArray(e)?e:[e];const{length:t}=e;let n,o;for(let r=0;re instanceof Se?e.toJSON():e;function et(e,t){t=t||{};const n={};function o(e,t,n){return Q.isPlainObject(e)&&Q.isPlainObject(t)?Q.merge.call({caseless:n},e,t):Q.isPlainObject(t)?Q.merge({},t):Q.isArray(t)?t.slice():t}function r(e,t,n){return Q.isUndefined(t)?Q.isUndefined(e)?void 0:o(void 0,e,n):o(e,t,n)}function i(e,t){if(!Q.isUndefined(t))return o(void 0,t)}function a(e,t){return Q.isUndefined(t)?Q.isUndefined(e)?void 0:o(void 0,e):o(void 0,t)}function s(n,r,i){return i in t?o(n,r):i in e?o(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>r(Ze(e),Ze(t),!0)};return Q.forEach(Object.keys(e).concat(Object.keys(t)),(function(o){const i=l[o]||r,a=i(e[o],t[o],o);Q.isUndefined(a)&&i!==s||(n[o]=a)})),n}const tt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{tt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const nt={};tt.transitional=function(e,t,n){function o(e,t){return"[Axios v1.2.2] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,r,i)=>{if(!1===e)throw new X(o(r," has been removed"+(t?" in "+t:"")),X.ERR_DEPRECATED);return t&&!nt[r]&&(nt[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,i)}};const ot={assertOptions:function(e,t,n){if("object"!=typeof e)throw new X("options must be an object",X.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const i=o[r],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new X("option "+i+" must be "+n,X.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new X("Unknown option "+i,X.ERR_BAD_OPTION)}},validators:tt},rt=ot.validators;class it{constructor(e){this.defaults=e,this.interceptors={request:new ue,response:new ue}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=et(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:r}=t;let i;void 0!==n&&ot.assertOptions(n,{silentJSONParsing:rt.transitional(rt.boolean),forcedJSONParsing:rt.transitional(rt.boolean),clarifyTimeoutError:rt.transitional(rt.boolean)},!1),void 0!==o&&ot.assertOptions(o,{encode:rt.function,serialize:rt.function},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase(),i=r&&Q.merge(r.common,r[t.method]),i&&Q.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete r[e]})),t.headers=Se.concat(i,r);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let p,u=0;if(!s){const e=[Xe.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),p=e.length,c=Promise.resolve(t);u{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const o=new Promise((e=>{n.subscribe(e),t=e})).then(e);return o.cancel=function(){n.unsubscribe(t)},o},e((function(e,o,r){n.reason||(n.reason=new Ee(e,o,r),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new st((function(t){e=t})),cancel:e}}}const lt=st,ct={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ct).forEach((([e,t])=>{ct[t]=e}));const pt=ct,ut=function e(t){const n=new at(t),o=w(at.prototype.request,n);return Q.extend(o,at.prototype,n,{allOwnKeys:!0}),Q.extend(o,n,null,{allOwnKeys:!0}),o.create=function(n){return e(et(t,n))},o}(ye);ut.Axios=at,ut.CanceledError=Ee,ut.CancelToken=lt,ut.isCancel=Ae,ut.VERSION=_e,ut.toFormData=ie,ut.AxiosError=X,ut.Cancel=ut.CanceledError,ut.all=function(e){return Promise.all(e)},ut.spread=function(e){return function(t){return e.apply(null,t)}},ut.isAxiosError=function(e){return Q.isObject(e)&&!0===e.isAxiosError},ut.mergeConfig=et,ut.AxiosHeaders=Se,ut.formToJSON=e=>fe(Q.isHTMLForm(e)?new FormData(e):e),ut.HttpStatusCode=pt,ut.default=ut,e.exports=ut},15673:(e,t,n)=>{let o,r,i=n(6113),{urlAlphabet:a}=n(44571),s=e=>{!o||o.lengtho.length&&(i.randomFillSync(o),r=0),r+=e},l=e=>(s(e-=0),o.subarray(r-e,r)),c=(e,t,n)=>{let o=(2<<31-Math.clz32(e.length-1|1))-1,r=Math.ceil(1.6*o*t/e.length);return(i=t)=>{let a="";for(;;){let t=n(r),s=r;for(;s--;)if(a+=e[t[s]&o]||"",a.length===i)return a}}};e.exports={nanoid:(e=21)=>{s(e-=0);let t="";for(let n=r-e;nc(e,t,l),customRandom:c,urlAlphabet:a,random:l}},44571:e=>{e.exports={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"}},54250:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FetchError:()=>g,Headers:()=>_,Request:()=>z,Response:()=>M,default:()=>Q});var o=n(12781),r=n(13685),i=n(57310),a=n(89897),s=n(95687),l=n(59796);const c=o.Readable,p=Symbol("buffer"),u=Symbol("type");class d{constructor(){this[u]="";const e=arguments[0],t=arguments[1],n=[];let o=0;if(e){const t=e,r=Number(t.length);for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:{},r=n.size;let i=void 0===r?0:r;var a=n.timeout;let s=void 0===a?0:a;null==e?e=null:b(e)?e=Buffer.from(e.toString()):O(e)||Buffer.isBuffer(e)||("[object ArrayBuffer]"===Object.prototype.toString.call(e)?e=Buffer.from(e):ArrayBuffer.isView(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):e instanceof o||(e=Buffer.from(String(e)))),this[h]={body:e,disturbed:!1,error:null},this.size=i,this.timeout=s,e instanceof o&&e.on("error",(function(e){const n="AbortError"===e.name?e:new g(`Invalid response body while trying to fetch ${t.url}: ${e.message}`,"system",e);t[h].error=n}))}function v(){var e=this;if(this[h].disturbed)return y.Promise.reject(new TypeError(`body used already for: ${this.url}`));if(this[h].disturbed=!0,this[h].error)return y.Promise.reject(this[h].error);let t=this.body;if(null===t)return y.Promise.resolve(Buffer.alloc(0));if(O(t)&&(t=t.stream()),Buffer.isBuffer(t))return y.Promise.resolve(t);if(!(t instanceof o))return y.Promise.resolve(Buffer.alloc(0));let n=[],r=0,i=!1;return new y.Promise((function(o,a){let s;e.timeout&&(s=setTimeout((function(){i=!0,a(new g(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))}),e.timeout)),t.on("error",(function(t){"AbortError"===t.name?(i=!0,a(t)):a(new g(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))})),t.on("data",(function(t){if(!i&&null!==t){if(e.size&&r+t.length>e.size)return i=!0,void a(new g(`content size at ${e.url} over limit: ${e.size}`,"max-size"));r+=t.length,n.push(t)}})),t.on("end",(function(){if(!i){clearTimeout(s);try{o(Buffer.concat(n,r))}catch(t){a(new g(`Could not create Buffer from response body for ${e.url}: ${t.message}`,"system",t))}}}))}))}function b(e){return"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&("URLSearchParams"===e.constructor.name||"[object URLSearchParams]"===Object.prototype.toString.call(e)||"function"==typeof e.sort)}function O(e){return"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function w(e){let t,n,r=e.body;if(e.bodyUsed)throw new Error("cannot clone body after it is used");return r instanceof o&&"function"!=typeof r.getBoundary&&(t=new m,n=new m,r.pipe(t),r.pipe(n),e[h].body=t,r=n),r}function P(e){return null===e?null:"string"==typeof e?"text/plain;charset=UTF-8":b(e)?"application/x-www-form-urlencoded;charset=UTF-8":O(e)?e.type||null:Buffer.isBuffer(e)||"[object ArrayBuffer]"===Object.prototype.toString.call(e)||ArrayBuffer.isView(e)?null:"function"==typeof e.getBoundary?`multipart/form-data;boundary=${e.getBoundary()}`:e instanceof o?null:"text/plain;charset=UTF-8"}function x(e){const t=e.body;return null===t?0:O(t)?t.size:Buffer.isBuffer(t)?t.length:t&&"function"==typeof t.getLengthSync&&(t._lengthRetrievers&&0==t._lengthRetrievers.length||t.hasKnownLength&&t.hasKnownLength())?t.getLengthSync():null}y.prototype={get body(){return this[h].body},get bodyUsed(){return this[h].disturbed},arrayBuffer(){return v.call(this).then((function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}))},blob(){let e=this.headers&&this.headers.get("content-type")||"";return v.call(this).then((function(t){return Object.assign(new d([],{type:e.toLowerCase()}),{[p]:t})}))},json(){var e=this;return v.call(this).then((function(t){try{return JSON.parse(t.toString())}catch(t){return y.Promise.reject(new g(`invalid json response body at ${e.url} reason: ${t.message}`,"invalid-json"))}}))},text(){return v.call(this).then((function(e){return e.toString()}))},buffer(){return v.call(this)},textConverted(){var e=this;return v.call(this).then((function(t){return function(e,t){if("function"!=typeof f)throw new Error("The package `encoding` must be installed to use the textConverted() function");const n=t.get("content-type");let o,r,i="utf-8";return n&&(o=/charset=([^;]*)/i.exec(n)),r=e.slice(0,1024).toString(),!o&&r&&(o=/0&&void 0!==arguments[0]?arguments[0]:void 0;if(this[k]=Object.create(null),e instanceof _){const t=e.raw(),n=Object.keys(t);for(const e of n)for(const n of t[e])this.append(e,n)}else if(null==e);else{if("object"!=typeof e)throw new TypeError("Provided initializer must be an object");{const t=e[Symbol.iterator];if(null!=t){if("function"!=typeof t)throw new TypeError("Header pairs must be iterable");const n=[];for(const t of e){if("object"!=typeof t||"function"!=typeof t[Symbol.iterator])throw new TypeError("Each header pair must be iterable");n.push(Array.from(t))}for(const e of n){if(2!==e.length)throw new TypeError("Each header pair must be a name/value tuple");this.append(e[0],e[1])}}else for(const t of Object.keys(e)){const n=e[t];this.append(t,n)}}}}get(e){A(e=`${e}`);const t=j(this[k],e);return void 0===t?null:this[k][t].join(", ")}forEach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=C(this),o=0;for(;o1&&void 0!==arguments[1]?arguments[1]:"key+value";const n=Object.keys(e[k]).sort();return n.map("key"===t?function(e){return e.toLowerCase()}:"value"===t?function(t){return e[k][t].join(", ")}:function(t){return[t.toLowerCase(),e[k][t].join(", ")]})}_.prototype.entries=_.prototype[Symbol.iterator],Object.defineProperty(_.prototype,Symbol.toStringTag,{value:"Headers",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(_.prototype,{get:{enumerable:!0},forEach:{enumerable:!0},set:{enumerable:!0},append:{enumerable:!0},has:{enumerable:!0},delete:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0}});const I=Symbol("internal");function R(e,t){const n=Object.create(N);return n[I]={target:e,kind:t,index:0},n}const N=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==N)throw new TypeError("Value of `this` is not a HeadersIterator");var e=this[I];const t=e.target,n=e.kind,o=e.index,r=C(t,n);return o>=r.length?{value:void 0,done:!0}:(this[I].index=o+1,{value:r[o],done:!1})}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));function D(e){const t=Object.assign({__proto__:null},e[k]),n=j(e[k],"Host");return void 0!==n&&(t[n]=t[n][0]),t}Object.defineProperty(N,Symbol.toStringTag,{value:"HeadersIterator",writable:!1,enumerable:!1,configurable:!0});const L=Symbol("Response internals"),B=r.STATUS_CODES;class M{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};y.call(this,e,t);const n=t.status||200,o=new _(t.headers);if(null!=e&&!o.has("Content-Type")){const t=P(e);t&&o.append("Content-Type",t)}this[L]={url:t.url,status:n,statusText:t.statusText||B[n],headers:o,counter:t.counter}}get url(){return this[L].url||""}get status(){return this[L].status}get ok(){return this[L].status>=200&&this[L].status<300}get redirected(){return this[L].counter>0}get statusText(){return this[L].statusText}get headers(){return this[L].headers}clone(){return new M(w(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}y.mixIn(M.prototype),Object.defineProperties(M.prototype,{url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}}),Object.defineProperty(M.prototype,Symbol.toStringTag,{value:"Response",writable:!1,enumerable:!1,configurable:!0});const F=Symbol("Request internals"),U=i.URL||a.URL,q=i.parse,V=i.format;function H(e){return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(e)&&(e=new U(e).toString()),q(e)}const G="destroy"in o.Readable.prototype;function W(e){return"object"==typeof e&&"object"==typeof e[F]}class z{constructor(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};W(e)?t=H(e.url):(t=e&&e.href?H(e.href):H(`${e}`),e={});let o=n.method||e.method||"GET";if(o=o.toUpperCase(),(null!=n.body||W(e)&&null!==e.body)&&("GET"===o||"HEAD"===o))throw new TypeError("Request with GET/HEAD method cannot have body");let r=null!=n.body?n.body:W(e)&&null!==e.body?w(e):null;y.call(this,r,{timeout:n.timeout||e.timeout||0,size:n.size||e.size||0});const i=new _(n.headers||e.headers||{});if(null!=r&&!i.has("Content-Type")){const e=P(r);e&&i.append("Content-Type",e)}let a=W(e)?e.signal:null;if("signal"in n&&(a=n.signal),null!=a&&!function(e){const t=e&&"object"==typeof e&&Object.getPrototypeOf(e);return!(!t||"AbortSignal"!==t.constructor.name)}(a))throw new TypeError("Expected signal to be an instanceof AbortSignal");this[F]={method:o,redirect:n.redirect||e.redirect||"follow",headers:i,parsedURL:t,signal:a},this.follow=void 0!==n.follow?n.follow:void 0!==e.follow?e.follow:20,this.compress=void 0!==n.compress?n.compress:void 0===e.compress||e.compress,this.counter=n.counter||e.counter||0,this.agent=n.agent||e.agent}get method(){return this[F].method}get url(){return V(this[F].parsedURL)}get headers(){return this[F].headers}get redirect(){return this[F].redirect}get signal(){return this[F].signal}clone(){return new z(this)}}function J(e){Error.call(this,e),this.type="aborted",this.message=e,Error.captureStackTrace(this,this.constructor)}y.mixIn(z.prototype),Object.defineProperty(z.prototype,Symbol.toStringTag,{value:"Request",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(z.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0}}),J.prototype=Object.create(Error.prototype),J.prototype.constructor=J,J.prototype.name="AbortError";const Y=i.URL||a.URL,K=o.PassThrough;function $(e,t){if(!$.Promise)throw new Error("native promise missing, set fetch.Promise to your favorite alternative");return y.Promise=$.Promise,new $.Promise((function(n,i){const a=new z(e,t),c=function(e){const t=e[F].parsedURL,n=new _(e[F].headers);if(n.has("Accept")||n.set("Accept","*/*"),!t.protocol||!t.hostname)throw new TypeError("Only absolute URLs are supported");if(!/^https?:$/.test(t.protocol))throw new TypeError("Only HTTP(S) protocols are supported");if(e.signal&&e.body instanceof o.Readable&&!G)throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8");let r=null;if(null==e.body&&/^(POST|PUT)$/i.test(e.method)&&(r="0"),null!=e.body){const t=x(e);"number"==typeof t&&(r=String(t))}r&&n.set("Content-Length",r),n.has("User-Agent")||n.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"),e.compress&&!n.has("Accept-Encoding")&&n.set("Accept-Encoding","gzip,deflate");let i=e.agent;return"function"==typeof i&&(i=i(t)),n.has("Connection")||i||n.set("Connection","close"),Object.assign({},t,{method:e.method,headers:D(n),agent:i})}(a),p=("https:"===c.protocol?s:r).request,u=a.signal;let d=null;const f=function(){let e=new J("The user aborted a request.");i(e),a.body&&a.body instanceof o.Readable&&a.body.destroy(e),d&&d.body&&d.body.emit("error",e)};if(u&&u.aborted)return void f();const h=function(){f(),v()},m=p(c);let y;function v(){m.abort(),u&&u.removeEventListener("abort",h),clearTimeout(y)}u&&u.addEventListener("abort",h),a.timeout&&m.once("socket",(function(e){y=setTimeout((function(){i(new g(`network timeout at: ${a.url}`,"request-timeout")),v()}),a.timeout)})),m.on("error",(function(e){i(new g(`request to ${a.url} failed, reason: ${e.message}`,"system",e)),v()})),m.on("response",(function(e){clearTimeout(y);const t=function(e){const t=new _;for(const n of Object.keys(e))if(!S.test(n))if(Array.isArray(e[n]))for(const o of e[n])T.test(o)||(void 0===t[k][n]?t[k][n]=[o]:t[k][n].push(o));else T.test(e[n])||(t[k][n]=[e[n]]);return t}(e.headers);if($.isRedirect(e.statusCode)){const o=t.get("Location");let r=null;try{r=null===o?null:new Y(o,a.url).toString()}catch(e){if("manual"!==a.redirect)return i(new g(`uri requested responds with an invalid redirect URL: ${o}`,"invalid-redirect")),void v()}switch(a.redirect){case"error":return i(new g(`uri requested responds with a redirect, redirect mode is set to error: ${a.url}`,"no-redirect")),void v();case"manual":if(null!==r)try{t.set("Location",r)}catch(e){i(e)}break;case"follow":if(null===r)break;if(a.counter>=a.follow)return i(new g(`maximum redirect reached at: ${a.url}`,"max-redirect")),void v();const o={headers:new _(a.headers),follow:a.follow,counter:a.counter+1,agent:a.agent,compress:a.compress,method:a.method,body:a.body,signal:a.signal,timeout:a.timeout,size:a.size};if(!function(e,t){const n=new Y(t).hostname,o=new Y(e).hostname;return n===o||"."===n[n.length-o.length-1]&&n.endsWith(o)}(a.url,r))for(const e of["authorization","www-authenticate","cookie","cookie2"])o.headers.delete(e);return 303!==e.statusCode&&a.body&&null===x(a)?(i(new g("Cannot follow redirect with body being a readable stream","unsupported-redirect")),void v()):(303!==e.statusCode&&(301!==e.statusCode&&302!==e.statusCode||"POST"!==a.method)||(o.method="GET",o.body=void 0,o.headers.delete("content-length")),n($(new z(r,o))),void v())}}e.once("end",(function(){u&&u.removeEventListener("abort",h)}));let o=e.pipe(new K);const r={url:a.url,status:e.statusCode,statusText:e.statusMessage,headers:t,size:a.size,timeout:a.timeout,counter:a.counter},s=t.get("Content-Encoding");if(!a.compress||"HEAD"===a.method||null===s||204===e.statusCode||304===e.statusCode)return d=new M(o,r),void n(d);const c={flush:l.Z_SYNC_FLUSH,finishFlush:l.Z_SYNC_FLUSH};if("gzip"==s||"x-gzip"==s)return o=o.pipe(l.createGunzip(c)),d=new M(o,r),void n(d);if("deflate"!=s&&"x-deflate"!=s){if("br"==s&&"function"==typeof l.createBrotliDecompress)return o=o.pipe(l.createBrotliDecompress()),d=new M(o,r),void n(d);d=new M(o,r),n(d)}else e.pipe(new K).once("data",(function(e){o=8==(15&e[0])?o.pipe(l.createInflate()):o.pipe(l.createInflateRaw()),d=new M(o,r),n(d)}))})),function(e,t){const n=t.body;null===n?e.end():O(n)?n.stream().pipe(e):Buffer.isBuffer(n)?(e.write(n),e.end()):n.pipe(e)}(m,a)}))}$.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},$.Promise=global.Promise;const Q=$},41548:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"cloud":{"nested":{"vision":{"nested":{"v1":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/cloud/vision/v1;vision","java_multiple_files":true,"java_outer_classname":"WebDetectionProto","java_package":"com.google.cloud.vision.v1","objc_class_prefix":"GCVN"},"nested":{"Vertex":{"fields":{"x":{"type":"int32","id":1},"y":{"type":"int32","id":2}}},"NormalizedVertex":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2}}},"BoundingPoly":{"fields":{"vertices":{"rule":"repeated","type":"Vertex","id":1},"normalizedVertices":{"rule":"repeated","type":"NormalizedVertex","id":2}}},"Position":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2},"z":{"type":"float","id":3}}},"ImageAnnotator":{"options":{"(google.api.default_host)":"vision.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-vision"},"methods":{"BatchAnnotateImages":{"requestType":"BatchAnnotateImagesRequest","responseType":"BatchAnnotateImagesResponse","options":{"(google.api.http).post":"/v1/images:annotate","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1/{parent=projects/*}/images:annotate","(google.api.http).additional_bindings.body":"*","(google.api.method_signature)":"requests"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/images:annotate","body":"*","additional_bindings":[{"post":"/v1/{parent=projects/*/locations/*}/images:annotate","body":"*"},{"post":"/v1/{parent=projects/*}/images:annotate","body":"*"}]}},{"(google.api.method_signature)":"requests"}]},"BatchAnnotateFiles":{"requestType":"BatchAnnotateFilesRequest","responseType":"BatchAnnotateFilesResponse","options":{"(google.api.http).post":"/v1/files:annotate","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1/{parent=projects/*}/files:annotate","(google.api.http).additional_bindings.body":"*","(google.api.method_signature)":"requests"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/files:annotate","body":"*","additional_bindings":[{"post":"/v1/{parent=projects/*/locations/*}/files:annotate","body":"*"},{"post":"/v1/{parent=projects/*}/files:annotate","body":"*"}]}},{"(google.api.method_signature)":"requests"}]},"AsyncBatchAnnotateImages":{"requestType":"AsyncBatchAnnotateImagesRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1/images:asyncBatchAnnotate","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1/{parent=projects/*}/images:asyncBatchAnnotate","(google.api.http).additional_bindings.body":"*","(google.api.method_signature)":"requests,output_config","(google.longrunning.operation_info).response_type":"AsyncBatchAnnotateImagesResponse","(google.longrunning.operation_info).metadata_type":"OperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/images:asyncBatchAnnotate","body":"*","additional_bindings":[{"post":"/v1/{parent=projects/*/locations/*}/images:asyncBatchAnnotate","body":"*"},{"post":"/v1/{parent=projects/*}/images:asyncBatchAnnotate","body":"*"}]}},{"(google.api.method_signature)":"requests,output_config"},{"(google.longrunning.operation_info)":{"response_type":"AsyncBatchAnnotateImagesResponse","metadata_type":"OperationMetadata"}}]},"AsyncBatchAnnotateFiles":{"requestType":"AsyncBatchAnnotateFilesRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1/files:asyncBatchAnnotate","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1/{parent=projects/*}/files:asyncBatchAnnotate","(google.api.http).additional_bindings.body":"*","(google.api.method_signature)":"requests","(google.longrunning.operation_info).response_type":"AsyncBatchAnnotateFilesResponse","(google.longrunning.operation_info).metadata_type":"OperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/files:asyncBatchAnnotate","body":"*","additional_bindings":[{"post":"/v1/{parent=projects/*/locations/*}/files:asyncBatchAnnotate","body":"*"},{"post":"/v1/{parent=projects/*}/files:asyncBatchAnnotate","body":"*"}]}},{"(google.api.method_signature)":"requests"},{"(google.longrunning.operation_info)":{"response_type":"AsyncBatchAnnotateFilesResponse","metadata_type":"OperationMetadata"}}]}}},"Likelihood":{"values":{"UNKNOWN":0,"VERY_UNLIKELY":1,"UNLIKELY":2,"POSSIBLE":3,"LIKELY":4,"VERY_LIKELY":5}},"Feature":{"fields":{"type":{"type":"Type","id":1},"maxResults":{"type":"int32","id":2},"model":{"type":"string","id":3}},"nested":{"Type":{"values":{"TYPE_UNSPECIFIED":0,"FACE_DETECTION":1,"LANDMARK_DETECTION":2,"LOGO_DETECTION":3,"LABEL_DETECTION":4,"TEXT_DETECTION":5,"DOCUMENT_TEXT_DETECTION":11,"SAFE_SEARCH_DETECTION":6,"IMAGE_PROPERTIES":7,"CROP_HINTS":9,"WEB_DETECTION":10,"PRODUCT_SEARCH":12,"OBJECT_LOCALIZATION":19}}}},"ImageSource":{"fields":{"gcsImageUri":{"type":"string","id":1},"imageUri":{"type":"string","id":2}}},"Image":{"fields":{"content":{"type":"bytes","id":1},"source":{"type":"ImageSource","id":2}}},"FaceAnnotation":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"fdBoundingPoly":{"type":"BoundingPoly","id":2},"landmarks":{"rule":"repeated","type":"Landmark","id":3},"rollAngle":{"type":"float","id":4},"panAngle":{"type":"float","id":5},"tiltAngle":{"type":"float","id":6},"detectionConfidence":{"type":"float","id":7},"landmarkingConfidence":{"type":"float","id":8},"joyLikelihood":{"type":"Likelihood","id":9},"sorrowLikelihood":{"type":"Likelihood","id":10},"angerLikelihood":{"type":"Likelihood","id":11},"surpriseLikelihood":{"type":"Likelihood","id":12},"underExposedLikelihood":{"type":"Likelihood","id":13},"blurredLikelihood":{"type":"Likelihood","id":14},"headwearLikelihood":{"type":"Likelihood","id":15}},"nested":{"Landmark":{"fields":{"type":{"type":"Type","id":3},"position":{"type":"Position","id":4}},"nested":{"Type":{"values":{"UNKNOWN_LANDMARK":0,"LEFT_EYE":1,"RIGHT_EYE":2,"LEFT_OF_LEFT_EYEBROW":3,"RIGHT_OF_LEFT_EYEBROW":4,"LEFT_OF_RIGHT_EYEBROW":5,"RIGHT_OF_RIGHT_EYEBROW":6,"MIDPOINT_BETWEEN_EYES":7,"NOSE_TIP":8,"UPPER_LIP":9,"LOWER_LIP":10,"MOUTH_LEFT":11,"MOUTH_RIGHT":12,"MOUTH_CENTER":13,"NOSE_BOTTOM_RIGHT":14,"NOSE_BOTTOM_LEFT":15,"NOSE_BOTTOM_CENTER":16,"LEFT_EYE_TOP_BOUNDARY":17,"LEFT_EYE_RIGHT_CORNER":18,"LEFT_EYE_BOTTOM_BOUNDARY":19,"LEFT_EYE_LEFT_CORNER":20,"RIGHT_EYE_TOP_BOUNDARY":21,"RIGHT_EYE_RIGHT_CORNER":22,"RIGHT_EYE_BOTTOM_BOUNDARY":23,"RIGHT_EYE_LEFT_CORNER":24,"LEFT_EYEBROW_UPPER_MIDPOINT":25,"RIGHT_EYEBROW_UPPER_MIDPOINT":26,"LEFT_EAR_TRAGION":27,"RIGHT_EAR_TRAGION":28,"LEFT_EYE_PUPIL":29,"RIGHT_EYE_PUPIL":30,"FOREHEAD_GLABELLA":31,"CHIN_GNATHION":32,"CHIN_LEFT_GONION":33,"CHIN_RIGHT_GONION":34,"LEFT_CHEEK_CENTER":35,"RIGHT_CHEEK_CENTER":36}}}}}},"LocationInfo":{"fields":{"latLng":{"type":"google.type.LatLng","id":1}}},"Property":{"fields":{"name":{"type":"string","id":1},"value":{"type":"string","id":2},"uint64Value":{"type":"uint64","id":3}}},"EntityAnnotation":{"fields":{"mid":{"type":"string","id":1},"locale":{"type":"string","id":2},"description":{"type":"string","id":3},"score":{"type":"float","id":4},"confidence":{"type":"float","id":5,"options":{"deprecated":true}},"topicality":{"type":"float","id":6},"boundingPoly":{"type":"BoundingPoly","id":7},"locations":{"rule":"repeated","type":"LocationInfo","id":8},"properties":{"rule":"repeated","type":"Property","id":9}}},"LocalizedObjectAnnotation":{"fields":{"mid":{"type":"string","id":1},"languageCode":{"type":"string","id":2},"name":{"type":"string","id":3},"score":{"type":"float","id":4},"boundingPoly":{"type":"BoundingPoly","id":5}}},"SafeSearchAnnotation":{"fields":{"adult":{"type":"Likelihood","id":1},"spoof":{"type":"Likelihood","id":2},"medical":{"type":"Likelihood","id":3},"violence":{"type":"Likelihood","id":4},"racy":{"type":"Likelihood","id":9}}},"LatLongRect":{"fields":{"minLatLng":{"type":"google.type.LatLng","id":1},"maxLatLng":{"type":"google.type.LatLng","id":2}}},"ColorInfo":{"fields":{"color":{"type":"google.type.Color","id":1},"score":{"type":"float","id":2},"pixelFraction":{"type":"float","id":3}}},"DominantColorsAnnotation":{"fields":{"colors":{"rule":"repeated","type":"ColorInfo","id":1}}},"ImageProperties":{"fields":{"dominantColors":{"type":"DominantColorsAnnotation","id":1}}},"CropHint":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"confidence":{"type":"float","id":2},"importanceFraction":{"type":"float","id":3}}},"CropHintsAnnotation":{"fields":{"cropHints":{"rule":"repeated","type":"CropHint","id":1}}},"CropHintsParams":{"fields":{"aspectRatios":{"rule":"repeated","type":"float","id":1}}},"WebDetectionParams":{"fields":{"includeGeoResults":{"type":"bool","id":2}}},"TextDetectionParams":{"fields":{"enableTextDetectionConfidenceScore":{"type":"bool","id":9},"advancedOcrOptions":{"rule":"repeated","type":"string","id":11}}},"ImageContext":{"fields":{"latLongRect":{"type":"LatLongRect","id":1},"languageHints":{"rule":"repeated","type":"string","id":2},"cropHintsParams":{"type":"CropHintsParams","id":4},"productSearchParams":{"type":"ProductSearchParams","id":5},"webDetectionParams":{"type":"WebDetectionParams","id":6},"textDetectionParams":{"type":"TextDetectionParams","id":12}}},"AnnotateImageRequest":{"fields":{"image":{"type":"Image","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3}}},"ImageAnnotationContext":{"fields":{"uri":{"type":"string","id":1},"pageNumber":{"type":"int32","id":2}}},"AnnotateImageResponse":{"fields":{"faceAnnotations":{"rule":"repeated","type":"FaceAnnotation","id":1},"landmarkAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":2},"logoAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":3},"labelAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":4},"localizedObjectAnnotations":{"rule":"repeated","type":"LocalizedObjectAnnotation","id":22},"textAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":5},"fullTextAnnotation":{"type":"TextAnnotation","id":12},"safeSearchAnnotation":{"type":"SafeSearchAnnotation","id":6},"imagePropertiesAnnotation":{"type":"ImageProperties","id":8},"cropHintsAnnotation":{"type":"CropHintsAnnotation","id":11},"webDetection":{"type":"WebDetection","id":13},"productSearchResults":{"type":"ProductSearchResults","id":14},"error":{"type":"google.rpc.Status","id":9},"context":{"type":"ImageAnnotationContext","id":21}}},"BatchAnnotateImagesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateImageRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"parent":{"type":"string","id":4}}},"BatchAnnotateImagesResponse":{"fields":{"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":1}}},"AnnotateFileRequest":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3},"pages":{"rule":"repeated","type":"int32","id":4}}},"AnnotateFileResponse":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":2},"totalPages":{"type":"int32","id":3},"error":{"type":"google.rpc.Status","id":4}}},"BatchAnnotateFilesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateFileRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"parent":{"type":"string","id":3}}},"BatchAnnotateFilesResponse":{"fields":{"responses":{"rule":"repeated","type":"AnnotateFileResponse","id":1}}},"AsyncAnnotateFileRequest":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3},"outputConfig":{"type":"OutputConfig","id":4}}},"AsyncAnnotateFileResponse":{"fields":{"outputConfig":{"type":"OutputConfig","id":1}}},"AsyncBatchAnnotateImagesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateImageRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"outputConfig":{"type":"OutputConfig","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"parent":{"type":"string","id":4}}},"AsyncBatchAnnotateImagesResponse":{"fields":{"outputConfig":{"type":"OutputConfig","id":1}}},"AsyncBatchAnnotateFilesRequest":{"fields":{"requests":{"rule":"repeated","type":"AsyncAnnotateFileRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"parent":{"type":"string","id":4}}},"AsyncBatchAnnotateFilesResponse":{"fields":{"responses":{"rule":"repeated","type":"AsyncAnnotateFileResponse","id":1}}},"InputConfig":{"fields":{"gcsSource":{"type":"GcsSource","id":1},"content":{"type":"bytes","id":3},"mimeType":{"type":"string","id":2}}},"OutputConfig":{"fields":{"gcsDestination":{"type":"GcsDestination","id":1},"batchSize":{"type":"int32","id":2}}},"GcsSource":{"fields":{"uri":{"type":"string","id":1}}},"GcsDestination":{"fields":{"uri":{"type":"string","id":1}}},"OperationMetadata":{"fields":{"state":{"type":"State","id":1},"createTime":{"type":"google.protobuf.Timestamp","id":5},"updateTime":{"type":"google.protobuf.Timestamp","id":6}},"nested":{"State":{"values":{"STATE_UNSPECIFIED":0,"CREATED":1,"RUNNING":2,"DONE":3,"CANCELLED":4}}}},"ProductSearchParams":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":9},"productSet":{"type":"string","id":6,"options":{"(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"productCategories":{"rule":"repeated","type":"string","id":7},"filter":{"type":"string","id":8}}},"ProductSearchResults":{"fields":{"indexTime":{"type":"google.protobuf.Timestamp","id":2},"results":{"rule":"repeated","type":"Result","id":5},"productGroupedResults":{"rule":"repeated","type":"GroupedResult","id":6}},"nested":{"Result":{"fields":{"product":{"type":"Product","id":1},"score":{"type":"float","id":2},"image":{"type":"string","id":3}}},"ObjectAnnotation":{"fields":{"mid":{"type":"string","id":1},"languageCode":{"type":"string","id":2},"name":{"type":"string","id":3},"score":{"type":"float","id":4}}},"GroupedResult":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"results":{"rule":"repeated","type":"Result","id":2},"objectAnnotations":{"rule":"repeated","type":"ObjectAnnotation","id":3}}}}},"ProductSearch":{"options":{"(google.api.default_host)":"vision.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-vision"},"methods":{"CreateProductSet":{"requestType":"CreateProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).post":"/v1/{parent=projects/*/locations/*}/productSets","(google.api.http).body":"product_set","(google.api.method_signature)":"parent,product_set,product_set_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{parent=projects/*/locations/*}/productSets","body":"product_set"}},{"(google.api.method_signature)":"parent,product_set,product_set_id"}]},"ListProductSets":{"requestType":"ListProductSetsRequest","responseType":"ListProductSetsResponse","options":{"(google.api.http).get":"/v1/{parent=projects/*/locations/*}/productSets","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{parent=projects/*/locations/*}/productSets"}},{"(google.api.method_signature)":"parent"}]},"GetProductSet":{"requestType":"GetProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).get":"/v1/{name=projects/*/locations/*/productSets/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=projects/*/locations/*/productSets/*}"}},{"(google.api.method_signature)":"name"}]},"UpdateProductSet":{"requestType":"UpdateProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).patch":"/v1/{product_set.name=projects/*/locations/*/productSets/*}","(google.api.http).body":"product_set","(google.api.method_signature)":"product_set,update_mask"},"parsedOptions":[{"(google.api.http)":{"patch":"/v1/{product_set.name=projects/*/locations/*/productSets/*}","body":"product_set"}},{"(google.api.method_signature)":"product_set,update_mask"}]},"DeleteProductSet":{"requestType":"DeleteProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1/{name=projects/*/locations/*/productSets/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1/{name=projects/*/locations/*/productSets/*}"}},{"(google.api.method_signature)":"name"}]},"CreateProduct":{"requestType":"CreateProductRequest","responseType":"Product","options":{"(google.api.http).post":"/v1/{parent=projects/*/locations/*}/products","(google.api.http).body":"product","(google.api.method_signature)":"parent,product,product_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{parent=projects/*/locations/*}/products","body":"product"}},{"(google.api.method_signature)":"parent,product,product_id"}]},"ListProducts":{"requestType":"ListProductsRequest","responseType":"ListProductsResponse","options":{"(google.api.http).get":"/v1/{parent=projects/*/locations/*}/products","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{parent=projects/*/locations/*}/products"}},{"(google.api.method_signature)":"parent"}]},"GetProduct":{"requestType":"GetProductRequest","responseType":"Product","options":{"(google.api.http).get":"/v1/{name=projects/*/locations/*/products/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=projects/*/locations/*/products/*}"}},{"(google.api.method_signature)":"name"}]},"UpdateProduct":{"requestType":"UpdateProductRequest","responseType":"Product","options":{"(google.api.http).patch":"/v1/{product.name=projects/*/locations/*/products/*}","(google.api.http).body":"product","(google.api.method_signature)":"product,update_mask"},"parsedOptions":[{"(google.api.http)":{"patch":"/v1/{product.name=projects/*/locations/*/products/*}","body":"product"}},{"(google.api.method_signature)":"product,update_mask"}]},"DeleteProduct":{"requestType":"DeleteProductRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1/{name=projects/*/locations/*/products/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1/{name=projects/*/locations/*/products/*}"}},{"(google.api.method_signature)":"name"}]},"CreateReferenceImage":{"requestType":"CreateReferenceImageRequest","responseType":"ReferenceImage","options":{"(google.api.http).post":"/v1/{parent=projects/*/locations/*/products/*}/referenceImages","(google.api.http).body":"reference_image","(google.api.method_signature)":"parent,reference_image,reference_image_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{parent=projects/*/locations/*/products/*}/referenceImages","body":"reference_image"}},{"(google.api.method_signature)":"parent,reference_image,reference_image_id"}]},"DeleteReferenceImage":{"requestType":"DeleteReferenceImageRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1/{name=projects/*/locations/*/products/*/referenceImages/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1/{name=projects/*/locations/*/products/*/referenceImages/*}"}},{"(google.api.method_signature)":"name"}]},"ListReferenceImages":{"requestType":"ListReferenceImagesRequest","responseType":"ListReferenceImagesResponse","options":{"(google.api.http).get":"/v1/{parent=projects/*/locations/*/products/*}/referenceImages","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{parent=projects/*/locations/*/products/*}/referenceImages"}},{"(google.api.method_signature)":"parent"}]},"GetReferenceImage":{"requestType":"GetReferenceImageRequest","responseType":"ReferenceImage","options":{"(google.api.http).get":"/v1/{name=projects/*/locations/*/products/*/referenceImages/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=projects/*/locations/*/products/*/referenceImages/*}"}},{"(google.api.method_signature)":"name"}]},"AddProductToProductSet":{"requestType":"AddProductToProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).post":"/v1/{name=projects/*/locations/*/productSets/*}:addProduct","(google.api.http).body":"*","(google.api.method_signature)":"name,product"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{name=projects/*/locations/*/productSets/*}:addProduct","body":"*"}},{"(google.api.method_signature)":"name,product"}]},"RemoveProductFromProductSet":{"requestType":"RemoveProductFromProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).post":"/v1/{name=projects/*/locations/*/productSets/*}:removeProduct","(google.api.http).body":"*","(google.api.method_signature)":"name,product"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{name=projects/*/locations/*/productSets/*}:removeProduct","body":"*"}},{"(google.api.method_signature)":"name,product"}]},"ListProductsInProductSet":{"requestType":"ListProductsInProductSetRequest","responseType":"ListProductsInProductSetResponse","options":{"(google.api.http).get":"/v1/{name=projects/*/locations/*/productSets/*}/products","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=projects/*/locations/*/productSets/*}/products"}},{"(google.api.method_signature)":"name"}]},"ImportProductSets":{"requestType":"ImportProductSetsRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1/{parent=projects/*/locations/*}/productSets:import","(google.api.http).body":"*","(google.api.method_signature)":"parent,input_config","(google.longrunning.operation_info).response_type":"ImportProductSetsResponse","(google.longrunning.operation_info).metadata_type":"BatchOperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{parent=projects/*/locations/*}/productSets:import","body":"*"}},{"(google.api.method_signature)":"parent,input_config"},{"(google.longrunning.operation_info)":{"response_type":"ImportProductSetsResponse","metadata_type":"BatchOperationMetadata"}}]},"PurgeProducts":{"requestType":"PurgeProductsRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1/{parent=projects/*/locations/*}/products:purge","(google.api.http).body":"*","(google.api.method_signature)":"parent","(google.longrunning.operation_info).response_type":"google.protobuf.Empty","(google.longrunning.operation_info).metadata_type":"BatchOperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{parent=projects/*/locations/*}/products:purge","body":"*"}},{"(google.api.method_signature)":"parent"},{"(google.longrunning.operation_info)":{"response_type":"google.protobuf.Empty","metadata_type":"BatchOperationMetadata"}}]}}},"Product":{"options":{"(google.api.resource).type":"vision.googleapis.com/Product","(google.api.resource).pattern":"projects/{project}/locations/{location}/products/{product}"},"fields":{"name":{"type":"string","id":1},"displayName":{"type":"string","id":2},"description":{"type":"string","id":3},"productCategory":{"type":"string","id":4,"options":{"(google.api.field_behavior)":"IMMUTABLE"}},"productLabels":{"rule":"repeated","type":"KeyValue","id":5}},"nested":{"KeyValue":{"fields":{"key":{"type":"string","id":1},"value":{"type":"string","id":2}}}}},"ProductSet":{"options":{"(google.api.resource).type":"vision.googleapis.com/ProductSet","(google.api.resource).pattern":"projects/{project}/locations/{location}/productSets/{product_set}"},"fields":{"name":{"type":"string","id":1},"displayName":{"type":"string","id":2},"indexTime":{"type":"google.protobuf.Timestamp","id":3,"options":{"(google.api.field_behavior)":"OUTPUT_ONLY"}},"indexError":{"type":"google.rpc.Status","id":4,"options":{"(google.api.field_behavior)":"OUTPUT_ONLY"}}}},"ReferenceImage":{"options":{"(google.api.resource).type":"vision.googleapis.com/ReferenceImage","(google.api.resource).pattern":"projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}"},"fields":{"name":{"type":"string","id":1},"uri":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"boundingPolys":{"rule":"repeated","type":"BoundingPoly","id":3,"options":{"(google.api.field_behavior)":"OPTIONAL"}}}},"CreateProductRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"product":{"type":"Product","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"productId":{"type":"string","id":3}}},"ListProductsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductsResponse":{"fields":{"products":{"rule":"repeated","type":"Product","id":1},"nextPageToken":{"type":"string","id":2}}},"GetProductRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"UpdateProductRequest":{"fields":{"product":{"type":"Product","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"updateMask":{"type":"google.protobuf.FieldMask","id":2}}},"DeleteProductRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"CreateProductSetRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"productSet":{"type":"ProductSet","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"productSetId":{"type":"string","id":3}}},"ListProductSetsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductSetsResponse":{"fields":{"productSets":{"rule":"repeated","type":"ProductSet","id":1},"nextPageToken":{"type":"string","id":2}}},"GetProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}}}},"UpdateProductSetRequest":{"fields":{"productSet":{"type":"ProductSet","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"updateMask":{"type":"google.protobuf.FieldMask","id":2}}},"DeleteProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}}}},"CreateReferenceImageRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}},"referenceImage":{"type":"ReferenceImage","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"referenceImageId":{"type":"string","id":3}}},"ListReferenceImagesRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListReferenceImagesResponse":{"fields":{"referenceImages":{"rule":"repeated","type":"ReferenceImage","id":1},"pageSize":{"type":"int32","id":2},"nextPageToken":{"type":"string","id":3}}},"GetReferenceImageRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ReferenceImage"}}}},"DeleteReferenceImageRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ReferenceImage"}}}},"AddProductToProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"product":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"RemoveProductFromProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"product":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"ListProductsInProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductsInProductSetResponse":{"fields":{"products":{"rule":"repeated","type":"Product","id":1},"nextPageToken":{"type":"string","id":2}}},"ImportProductSetsGcsSource":{"fields":{"csvFileUri":{"type":"string","id":1}}},"ImportProductSetsInputConfig":{"oneofs":{"source":{"oneof":["gcsSource"]}},"fields":{"gcsSource":{"type":"ImportProductSetsGcsSource","id":1}}},"ImportProductSetsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"inputConfig":{"type":"ImportProductSetsInputConfig","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"ImportProductSetsResponse":{"fields":{"referenceImages":{"rule":"repeated","type":"ReferenceImage","id":1},"statuses":{"rule":"repeated","type":"google.rpc.Status","id":2}}},"BatchOperationMetadata":{"fields":{"state":{"type":"State","id":1},"submitTime":{"type":"google.protobuf.Timestamp","id":2},"endTime":{"type":"google.protobuf.Timestamp","id":3}},"nested":{"State":{"values":{"STATE_UNSPECIFIED":0,"PROCESSING":1,"SUCCESSFUL":2,"FAILED":3,"CANCELLED":4}}}},"ProductSetPurgeConfig":{"fields":{"productSetId":{"type":"string","id":1}}},"PurgeProductsRequest":{"oneofs":{"target":{"oneof":["productSetPurgeConfig","deleteOrphanProducts"]}},"fields":{"productSetPurgeConfig":{"type":"ProductSetPurgeConfig","id":2},"deleteOrphanProducts":{"type":"bool","id":3},"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"force":{"type":"bool","id":4}}},"TextAnnotation":{"fields":{"pages":{"rule":"repeated","type":"Page","id":1},"text":{"type":"string","id":2}},"nested":{"DetectedLanguage":{"fields":{"languageCode":{"type":"string","id":1},"confidence":{"type":"float","id":2}}},"DetectedBreak":{"fields":{"type":{"type":"BreakType","id":1},"isPrefix":{"type":"bool","id":2}},"nested":{"BreakType":{"values":{"UNKNOWN":0,"SPACE":1,"SURE_SPACE":2,"EOL_SURE_SPACE":3,"HYPHEN":4,"LINE_BREAK":5}}}},"TextProperty":{"fields":{"detectedLanguages":{"rule":"repeated","type":"DetectedLanguage","id":1},"detectedBreak":{"type":"DetectedBreak","id":2}}}}},"Page":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"width":{"type":"int32","id":2},"height":{"type":"int32","id":3},"blocks":{"rule":"repeated","type":"Block","id":4},"confidence":{"type":"float","id":5}}},"Block":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"paragraphs":{"rule":"repeated","type":"Paragraph","id":3},"blockType":{"type":"BlockType","id":4},"confidence":{"type":"float","id":5}},"nested":{"BlockType":{"values":{"UNKNOWN":0,"TEXT":1,"TABLE":2,"PICTURE":3,"RULER":4,"BARCODE":5}}}},"Paragraph":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"words":{"rule":"repeated","type":"Word","id":3},"confidence":{"type":"float","id":4}}},"Word":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"symbols":{"rule":"repeated","type":"Symbol","id":3},"confidence":{"type":"float","id":4}}},"Symbol":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"text":{"type":"string","id":3},"confidence":{"type":"float","id":4}}},"WebDetection":{"fields":{"webEntities":{"rule":"repeated","type":"WebEntity","id":1},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":2},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":3},"pagesWithMatchingImages":{"rule":"repeated","type":"WebPage","id":4},"visuallySimilarImages":{"rule":"repeated","type":"WebImage","id":6},"bestGuessLabels":{"rule":"repeated","type":"WebLabel","id":8}},"nested":{"WebEntity":{"fields":{"entityId":{"type":"string","id":1},"score":{"type":"float","id":2},"description":{"type":"string","id":3}}},"WebImage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2}}},"WebPage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2},"pageTitle":{"type":"string","id":3},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":4},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":5}}},"WebLabel":{"fields":{"label":{"type":"string","id":1},"languageCode":{"type":"string","id":2}}}}}}},"v1p1beta1":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1;vision","java_multiple_files":true,"java_outer_classname":"WebDetectionProto","java_package":"com.google.cloud.vision.v1p1beta1"},"nested":{"Vertex":{"fields":{"x":{"type":"int32","id":1},"y":{"type":"int32","id":2}}},"BoundingPoly":{"fields":{"vertices":{"rule":"repeated","type":"Vertex","id":1}}},"Position":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2},"z":{"type":"float","id":3}}},"ImageAnnotator":{"options":{"(google.api.default_host)":"vision.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-vision"},"methods":{"BatchAnnotateImages":{"requestType":"BatchAnnotateImagesRequest","responseType":"BatchAnnotateImagesResponse","options":{"(google.api.http).post":"/v1p1beta1/images:annotate","(google.api.http).body":"*","(google.api.method_signature)":"requests"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p1beta1/images:annotate","body":"*"}},{"(google.api.method_signature)":"requests"}]}}},"Feature":{"fields":{"type":{"type":"Type","id":1},"maxResults":{"type":"int32","id":2},"model":{"type":"string","id":3}},"nested":{"Type":{"values":{"TYPE_UNSPECIFIED":0,"FACE_DETECTION":1,"LANDMARK_DETECTION":2,"LOGO_DETECTION":3,"LABEL_DETECTION":4,"TEXT_DETECTION":5,"DOCUMENT_TEXT_DETECTION":11,"SAFE_SEARCH_DETECTION":6,"IMAGE_PROPERTIES":7,"CROP_HINTS":9,"WEB_DETECTION":10}}}},"ImageSource":{"fields":{"gcsImageUri":{"type":"string","id":1},"imageUri":{"type":"string","id":2}}},"Image":{"fields":{"content":{"type":"bytes","id":1},"source":{"type":"ImageSource","id":2}}},"FaceAnnotation":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"fdBoundingPoly":{"type":"BoundingPoly","id":2},"landmarks":{"rule":"repeated","type":"Landmark","id":3},"rollAngle":{"type":"float","id":4},"panAngle":{"type":"float","id":5},"tiltAngle":{"type":"float","id":6},"detectionConfidence":{"type":"float","id":7},"landmarkingConfidence":{"type":"float","id":8},"joyLikelihood":{"type":"Likelihood","id":9},"sorrowLikelihood":{"type":"Likelihood","id":10},"angerLikelihood":{"type":"Likelihood","id":11},"surpriseLikelihood":{"type":"Likelihood","id":12},"underExposedLikelihood":{"type":"Likelihood","id":13},"blurredLikelihood":{"type":"Likelihood","id":14},"headwearLikelihood":{"type":"Likelihood","id":15}},"nested":{"Landmark":{"fields":{"type":{"type":"Type","id":3},"position":{"type":"Position","id":4}},"nested":{"Type":{"values":{"UNKNOWN_LANDMARK":0,"LEFT_EYE":1,"RIGHT_EYE":2,"LEFT_OF_LEFT_EYEBROW":3,"RIGHT_OF_LEFT_EYEBROW":4,"LEFT_OF_RIGHT_EYEBROW":5,"RIGHT_OF_RIGHT_EYEBROW":6,"MIDPOINT_BETWEEN_EYES":7,"NOSE_TIP":8,"UPPER_LIP":9,"LOWER_LIP":10,"MOUTH_LEFT":11,"MOUTH_RIGHT":12,"MOUTH_CENTER":13,"NOSE_BOTTOM_RIGHT":14,"NOSE_BOTTOM_LEFT":15,"NOSE_BOTTOM_CENTER":16,"LEFT_EYE_TOP_BOUNDARY":17,"LEFT_EYE_RIGHT_CORNER":18,"LEFT_EYE_BOTTOM_BOUNDARY":19,"LEFT_EYE_LEFT_CORNER":20,"RIGHT_EYE_TOP_BOUNDARY":21,"RIGHT_EYE_RIGHT_CORNER":22,"RIGHT_EYE_BOTTOM_BOUNDARY":23,"RIGHT_EYE_LEFT_CORNER":24,"LEFT_EYEBROW_UPPER_MIDPOINT":25,"RIGHT_EYEBROW_UPPER_MIDPOINT":26,"LEFT_EAR_TRAGION":27,"RIGHT_EAR_TRAGION":28,"LEFT_EYE_PUPIL":29,"RIGHT_EYE_PUPIL":30,"FOREHEAD_GLABELLA":31,"CHIN_GNATHION":32,"CHIN_LEFT_GONION":33,"CHIN_RIGHT_GONION":34}}}}}},"LocationInfo":{"fields":{"latLng":{"type":"google.type.LatLng","id":1}}},"Property":{"fields":{"name":{"type":"string","id":1},"value":{"type":"string","id":2},"uint64Value":{"type":"uint64","id":3}}},"EntityAnnotation":{"fields":{"mid":{"type":"string","id":1},"locale":{"type":"string","id":2},"description":{"type":"string","id":3},"score":{"type":"float","id":4},"confidence":{"type":"float","id":5},"topicality":{"type":"float","id":6},"boundingPoly":{"type":"BoundingPoly","id":7},"locations":{"rule":"repeated","type":"LocationInfo","id":8},"properties":{"rule":"repeated","type":"Property","id":9}}},"SafeSearchAnnotation":{"fields":{"adult":{"type":"Likelihood","id":1},"spoof":{"type":"Likelihood","id":2},"medical":{"type":"Likelihood","id":3},"violence":{"type":"Likelihood","id":4},"racy":{"type":"Likelihood","id":9}}},"LatLongRect":{"fields":{"minLatLng":{"type":"google.type.LatLng","id":1},"maxLatLng":{"type":"google.type.LatLng","id":2}}},"ColorInfo":{"fields":{"color":{"type":"google.type.Color","id":1},"score":{"type":"float","id":2},"pixelFraction":{"type":"float","id":3}}},"DominantColorsAnnotation":{"fields":{"colors":{"rule":"repeated","type":"ColorInfo","id":1}}},"ImageProperties":{"fields":{"dominantColors":{"type":"DominantColorsAnnotation","id":1}}},"CropHint":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"confidence":{"type":"float","id":2},"importanceFraction":{"type":"float","id":3}}},"CropHintsAnnotation":{"fields":{"cropHints":{"rule":"repeated","type":"CropHint","id":1}}},"CropHintsParams":{"fields":{"aspectRatios":{"rule":"repeated","type":"float","id":1}}},"WebDetectionParams":{"fields":{"includeGeoResults":{"type":"bool","id":2}}},"TextDetectionParams":{"fields":{"enableTextDetectionConfidenceScore":{"type":"bool","id":9},"advancedOcrOptions":{"rule":"repeated","type":"string","id":11}}},"ImageContext":{"fields":{"latLongRect":{"type":"LatLongRect","id":1},"languageHints":{"rule":"repeated","type":"string","id":2},"cropHintsParams":{"type":"CropHintsParams","id":4},"webDetectionParams":{"type":"WebDetectionParams","id":6},"textDetectionParams":{"type":"TextDetectionParams","id":12}}},"AnnotateImageRequest":{"fields":{"image":{"type":"Image","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3}}},"AnnotateImageResponse":{"fields":{"faceAnnotations":{"rule":"repeated","type":"FaceAnnotation","id":1},"landmarkAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":2},"logoAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":3},"labelAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":4},"textAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":5},"fullTextAnnotation":{"type":"TextAnnotation","id":12},"safeSearchAnnotation":{"type":"SafeSearchAnnotation","id":6},"imagePropertiesAnnotation":{"type":"ImageProperties","id":8},"cropHintsAnnotation":{"type":"CropHintsAnnotation","id":11},"webDetection":{"type":"WebDetection","id":13},"error":{"type":"google.rpc.Status","id":9}}},"BatchAnnotateImagesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateImageRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"BatchAnnotateImagesResponse":{"fields":{"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":1}}},"Likelihood":{"values":{"UNKNOWN":0,"VERY_UNLIKELY":1,"UNLIKELY":2,"POSSIBLE":3,"LIKELY":4,"VERY_LIKELY":5}},"TextAnnotation":{"fields":{"pages":{"rule":"repeated","type":"Page","id":1},"text":{"type":"string","id":2}},"nested":{"DetectedLanguage":{"fields":{"languageCode":{"type":"string","id":1},"confidence":{"type":"float","id":2}}},"DetectedBreak":{"fields":{"type":{"type":"BreakType","id":1},"isPrefix":{"type":"bool","id":2}},"nested":{"BreakType":{"values":{"UNKNOWN":0,"SPACE":1,"SURE_SPACE":2,"EOL_SURE_SPACE":3,"HYPHEN":4,"LINE_BREAK":5}}}},"TextProperty":{"fields":{"detectedLanguages":{"rule":"repeated","type":"DetectedLanguage","id":1},"detectedBreak":{"type":"DetectedBreak","id":2}}}}},"Page":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"width":{"type":"int32","id":2},"height":{"type":"int32","id":3},"blocks":{"rule":"repeated","type":"Block","id":4},"confidence":{"type":"float","id":5}}},"Block":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"paragraphs":{"rule":"repeated","type":"Paragraph","id":3},"blockType":{"type":"BlockType","id":4},"confidence":{"type":"float","id":5}},"nested":{"BlockType":{"values":{"UNKNOWN":0,"TEXT":1,"TABLE":2,"PICTURE":3,"RULER":4,"BARCODE":5}}}},"Paragraph":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"words":{"rule":"repeated","type":"Word","id":3},"confidence":{"type":"float","id":4}}},"Word":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"symbols":{"rule":"repeated","type":"Symbol","id":3},"confidence":{"type":"float","id":4}}},"Symbol":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"text":{"type":"string","id":3},"confidence":{"type":"float","id":4}}},"WebDetection":{"fields":{"webEntities":{"rule":"repeated","type":"WebEntity","id":1},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":2},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":3},"pagesWithMatchingImages":{"rule":"repeated","type":"WebPage","id":4},"visuallySimilarImages":{"rule":"repeated","type":"WebImage","id":6},"bestGuessLabels":{"rule":"repeated","type":"WebLabel","id":8}},"nested":{"WebEntity":{"fields":{"entityId":{"type":"string","id":1},"score":{"type":"float","id":2},"description":{"type":"string","id":3}}},"WebImage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2}}},"WebPage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2},"pageTitle":{"type":"string","id":3},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":4},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":5}}},"WebLabel":{"fields":{"label":{"type":"string","id":1},"languageCode":{"type":"string","id":2}}}}}}},"v1p2beta1":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1;vision","java_multiple_files":true,"java_outer_classname":"WebDetectionProto","java_package":"com.google.cloud.vision.v1p2beta1"},"nested":{"Vertex":{"fields":{"x":{"type":"int32","id":1},"y":{"type":"int32","id":2}}},"NormalizedVertex":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2}}},"BoundingPoly":{"fields":{"vertices":{"rule":"repeated","type":"Vertex","id":1},"normalizedVertices":{"rule":"repeated","type":"NormalizedVertex","id":2}}},"Position":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2},"z":{"type":"float","id":3}}},"ImageAnnotator":{"options":{"(google.api.default_host)":"vision.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-vision"},"methods":{"BatchAnnotateImages":{"requestType":"BatchAnnotateImagesRequest","responseType":"BatchAnnotateImagesResponse","options":{"(google.api.http).post":"/v1p2beta1/images:annotate","(google.api.http).body":"*","(google.api.method_signature)":"requests"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p2beta1/images:annotate","body":"*"}},{"(google.api.method_signature)":"requests"}]},"AsyncBatchAnnotateFiles":{"requestType":"AsyncBatchAnnotateFilesRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1p2beta1/files:asyncBatchAnnotate","(google.api.http).body":"*","(google.api.method_signature)":"requests","(google.longrunning.operation_info).response_type":"AsyncBatchAnnotateFilesResponse","(google.longrunning.operation_info).metadata_type":"OperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p2beta1/files:asyncBatchAnnotate","body":"*"}},{"(google.api.method_signature)":"requests"},{"(google.longrunning.operation_info)":{"response_type":"AsyncBatchAnnotateFilesResponse","metadata_type":"OperationMetadata"}}]}}},"Feature":{"fields":{"type":{"type":"Type","id":1},"maxResults":{"type":"int32","id":2},"model":{"type":"string","id":3}},"nested":{"Type":{"values":{"TYPE_UNSPECIFIED":0,"FACE_DETECTION":1,"LANDMARK_DETECTION":2,"LOGO_DETECTION":3,"LABEL_DETECTION":4,"TEXT_DETECTION":5,"DOCUMENT_TEXT_DETECTION":11,"SAFE_SEARCH_DETECTION":6,"IMAGE_PROPERTIES":7,"CROP_HINTS":9,"WEB_DETECTION":10}}}},"ImageSource":{"fields":{"gcsImageUri":{"type":"string","id":1},"imageUri":{"type":"string","id":2}}},"Image":{"fields":{"content":{"type":"bytes","id":1},"source":{"type":"ImageSource","id":2}}},"FaceAnnotation":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"fdBoundingPoly":{"type":"BoundingPoly","id":2},"landmarks":{"rule":"repeated","type":"Landmark","id":3},"rollAngle":{"type":"float","id":4},"panAngle":{"type":"float","id":5},"tiltAngle":{"type":"float","id":6},"detectionConfidence":{"type":"float","id":7},"landmarkingConfidence":{"type":"float","id":8},"joyLikelihood":{"type":"Likelihood","id":9},"sorrowLikelihood":{"type":"Likelihood","id":10},"angerLikelihood":{"type":"Likelihood","id":11},"surpriseLikelihood":{"type":"Likelihood","id":12},"underExposedLikelihood":{"type":"Likelihood","id":13},"blurredLikelihood":{"type":"Likelihood","id":14},"headwearLikelihood":{"type":"Likelihood","id":15}},"nested":{"Landmark":{"fields":{"type":{"type":"Type","id":3},"position":{"type":"Position","id":4}},"nested":{"Type":{"values":{"UNKNOWN_LANDMARK":0,"LEFT_EYE":1,"RIGHT_EYE":2,"LEFT_OF_LEFT_EYEBROW":3,"RIGHT_OF_LEFT_EYEBROW":4,"LEFT_OF_RIGHT_EYEBROW":5,"RIGHT_OF_RIGHT_EYEBROW":6,"MIDPOINT_BETWEEN_EYES":7,"NOSE_TIP":8,"UPPER_LIP":9,"LOWER_LIP":10,"MOUTH_LEFT":11,"MOUTH_RIGHT":12,"MOUTH_CENTER":13,"NOSE_BOTTOM_RIGHT":14,"NOSE_BOTTOM_LEFT":15,"NOSE_BOTTOM_CENTER":16,"LEFT_EYE_TOP_BOUNDARY":17,"LEFT_EYE_RIGHT_CORNER":18,"LEFT_EYE_BOTTOM_BOUNDARY":19,"LEFT_EYE_LEFT_CORNER":20,"RIGHT_EYE_TOP_BOUNDARY":21,"RIGHT_EYE_RIGHT_CORNER":22,"RIGHT_EYE_BOTTOM_BOUNDARY":23,"RIGHT_EYE_LEFT_CORNER":24,"LEFT_EYEBROW_UPPER_MIDPOINT":25,"RIGHT_EYEBROW_UPPER_MIDPOINT":26,"LEFT_EAR_TRAGION":27,"RIGHT_EAR_TRAGION":28,"LEFT_EYE_PUPIL":29,"RIGHT_EYE_PUPIL":30,"FOREHEAD_GLABELLA":31,"CHIN_GNATHION":32,"CHIN_LEFT_GONION":33,"CHIN_RIGHT_GONION":34}}}}}},"LocationInfo":{"fields":{"latLng":{"type":"google.type.LatLng","id":1}}},"Property":{"fields":{"name":{"type":"string","id":1},"value":{"type":"string","id":2},"uint64Value":{"type":"uint64","id":3}}},"EntityAnnotation":{"fields":{"mid":{"type":"string","id":1},"locale":{"type":"string","id":2},"description":{"type":"string","id":3},"score":{"type":"float","id":4},"confidence":{"type":"float","id":5},"topicality":{"type":"float","id":6},"boundingPoly":{"type":"BoundingPoly","id":7},"locations":{"rule":"repeated","type":"LocationInfo","id":8},"properties":{"rule":"repeated","type":"Property","id":9}}},"SafeSearchAnnotation":{"fields":{"adult":{"type":"Likelihood","id":1},"spoof":{"type":"Likelihood","id":2},"medical":{"type":"Likelihood","id":3},"violence":{"type":"Likelihood","id":4},"racy":{"type":"Likelihood","id":9}}},"LatLongRect":{"fields":{"minLatLng":{"type":"google.type.LatLng","id":1},"maxLatLng":{"type":"google.type.LatLng","id":2}}},"ColorInfo":{"fields":{"color":{"type":"google.type.Color","id":1},"score":{"type":"float","id":2},"pixelFraction":{"type":"float","id":3}}},"DominantColorsAnnotation":{"fields":{"colors":{"rule":"repeated","type":"ColorInfo","id":1}}},"ImageProperties":{"fields":{"dominantColors":{"type":"DominantColorsAnnotation","id":1}}},"CropHint":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"confidence":{"type":"float","id":2},"importanceFraction":{"type":"float","id":3}}},"CropHintsAnnotation":{"fields":{"cropHints":{"rule":"repeated","type":"CropHint","id":1}}},"CropHintsParams":{"fields":{"aspectRatios":{"rule":"repeated","type":"float","id":1}}},"WebDetectionParams":{"fields":{"includeGeoResults":{"type":"bool","id":2}}},"TextDetectionParams":{"fields":{"enableTextDetectionConfidenceScore":{"type":"bool","id":9},"advancedOcrOptions":{"rule":"repeated","type":"string","id":11}}},"ImageContext":{"fields":{"latLongRect":{"type":"LatLongRect","id":1},"languageHints":{"rule":"repeated","type":"string","id":2},"cropHintsParams":{"type":"CropHintsParams","id":4},"webDetectionParams":{"type":"WebDetectionParams","id":6},"textDetectionParams":{"type":"TextDetectionParams","id":12}}},"AnnotateImageRequest":{"fields":{"image":{"type":"Image","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3}}},"ImageAnnotationContext":{"fields":{"uri":{"type":"string","id":1},"pageNumber":{"type":"int32","id":2}}},"AnnotateImageResponse":{"fields":{"faceAnnotations":{"rule":"repeated","type":"FaceAnnotation","id":1},"landmarkAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":2},"logoAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":3},"labelAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":4},"textAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":5},"fullTextAnnotation":{"type":"TextAnnotation","id":12},"safeSearchAnnotation":{"type":"SafeSearchAnnotation","id":6},"imagePropertiesAnnotation":{"type":"ImageProperties","id":8},"cropHintsAnnotation":{"type":"CropHintsAnnotation","id":11},"webDetection":{"type":"WebDetection","id":13},"error":{"type":"google.rpc.Status","id":9},"context":{"type":"ImageAnnotationContext","id":21}}},"AnnotateFileResponse":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":2}}},"BatchAnnotateImagesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateImageRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"BatchAnnotateImagesResponse":{"fields":{"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":1}}},"AsyncAnnotateFileRequest":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3},"outputConfig":{"type":"OutputConfig","id":4}}},"AsyncAnnotateFileResponse":{"fields":{"outputConfig":{"type":"OutputConfig","id":1}}},"AsyncBatchAnnotateFilesRequest":{"fields":{"requests":{"rule":"repeated","type":"AsyncAnnotateFileRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"AsyncBatchAnnotateFilesResponse":{"fields":{"responses":{"rule":"repeated","type":"AsyncAnnotateFileResponse","id":1}}},"InputConfig":{"fields":{"gcsSource":{"type":"GcsSource","id":1},"mimeType":{"type":"string","id":2}}},"OutputConfig":{"fields":{"gcsDestination":{"type":"GcsDestination","id":1},"batchSize":{"type":"int32","id":2}}},"GcsSource":{"fields":{"uri":{"type":"string","id":1}}},"GcsDestination":{"fields":{"uri":{"type":"string","id":1}}},"OperationMetadata":{"fields":{"state":{"type":"State","id":1},"createTime":{"type":"google.protobuf.Timestamp","id":5},"updateTime":{"type":"google.protobuf.Timestamp","id":6}},"nested":{"State":{"values":{"STATE_UNSPECIFIED":0,"CREATED":1,"RUNNING":2,"DONE":3,"CANCELLED":4}}}},"Likelihood":{"values":{"UNKNOWN":0,"VERY_UNLIKELY":1,"UNLIKELY":2,"POSSIBLE":3,"LIKELY":4,"VERY_LIKELY":5}},"TextAnnotation":{"fields":{"pages":{"rule":"repeated","type":"Page","id":1},"text":{"type":"string","id":2}},"nested":{"DetectedLanguage":{"fields":{"languageCode":{"type":"string","id":1},"confidence":{"type":"float","id":2}}},"DetectedBreak":{"fields":{"type":{"type":"BreakType","id":1},"isPrefix":{"type":"bool","id":2}},"nested":{"BreakType":{"values":{"UNKNOWN":0,"SPACE":1,"SURE_SPACE":2,"EOL_SURE_SPACE":3,"HYPHEN":4,"LINE_BREAK":5}}}},"TextProperty":{"fields":{"detectedLanguages":{"rule":"repeated","type":"DetectedLanguage","id":1},"detectedBreak":{"type":"DetectedBreak","id":2}}}}},"Page":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"width":{"type":"int32","id":2},"height":{"type":"int32","id":3},"blocks":{"rule":"repeated","type":"Block","id":4},"confidence":{"type":"float","id":5}}},"Block":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"paragraphs":{"rule":"repeated","type":"Paragraph","id":3},"blockType":{"type":"BlockType","id":4},"confidence":{"type":"float","id":5}},"nested":{"BlockType":{"values":{"UNKNOWN":0,"TEXT":1,"TABLE":2,"PICTURE":3,"RULER":4,"BARCODE":5}}}},"Paragraph":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"words":{"rule":"repeated","type":"Word","id":3},"confidence":{"type":"float","id":4}}},"Word":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"symbols":{"rule":"repeated","type":"Symbol","id":3},"confidence":{"type":"float","id":4}}},"Symbol":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"text":{"type":"string","id":3},"confidence":{"type":"float","id":4}}},"WebDetection":{"fields":{"webEntities":{"rule":"repeated","type":"WebEntity","id":1},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":2},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":3},"pagesWithMatchingImages":{"rule":"repeated","type":"WebPage","id":4},"visuallySimilarImages":{"rule":"repeated","type":"WebImage","id":6},"bestGuessLabels":{"rule":"repeated","type":"WebLabel","id":8}},"nested":{"WebEntity":{"fields":{"entityId":{"type":"string","id":1},"score":{"type":"float","id":2},"description":{"type":"string","id":3}}},"WebImage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2}}},"WebPage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2},"pageTitle":{"type":"string","id":3},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":4},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":5}}},"WebLabel":{"fields":{"label":{"type":"string","id":1},"languageCode":{"type":"string","id":2}}}}}}},"v1p3beta1":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1;vision","java_multiple_files":true,"java_outer_classname":"WebDetectionProto","java_package":"com.google.cloud.vision.v1p3beta1","objc_class_prefix":"GCVN"},"nested":{"Vertex":{"fields":{"x":{"type":"int32","id":1},"y":{"type":"int32","id":2}}},"NormalizedVertex":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2}}},"BoundingPoly":{"fields":{"vertices":{"rule":"repeated","type":"Vertex","id":1},"normalizedVertices":{"rule":"repeated","type":"NormalizedVertex","id":2}}},"Position":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2},"z":{"type":"float","id":3}}},"ImageAnnotator":{"options":{"(google.api.default_host)":"vision.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-vision"},"methods":{"BatchAnnotateImages":{"requestType":"BatchAnnotateImagesRequest","responseType":"BatchAnnotateImagesResponse","options":{"(google.api.http).post":"/v1p3beta1/images:annotate","(google.api.http).body":"*","(google.api.method_signature)":"requests"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p3beta1/images:annotate","body":"*"}},{"(google.api.method_signature)":"requests"}]},"AsyncBatchAnnotateFiles":{"requestType":"AsyncBatchAnnotateFilesRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1p3beta1/files:asyncBatchAnnotate","(google.api.http).body":"*","(google.api.method_signature)":"requests","(google.longrunning.operation_info).response_type":"AsyncBatchAnnotateFilesResponse","(google.longrunning.operation_info).metadata_type":"OperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p3beta1/files:asyncBatchAnnotate","body":"*"}},{"(google.api.method_signature)":"requests"},{"(google.longrunning.operation_info)":{"response_type":"AsyncBatchAnnotateFilesResponse","metadata_type":"OperationMetadata"}}]}}},"Feature":{"fields":{"type":{"type":"Type","id":1},"maxResults":{"type":"int32","id":2},"model":{"type":"string","id":3}},"nested":{"Type":{"values":{"TYPE_UNSPECIFIED":0,"FACE_DETECTION":1,"LANDMARK_DETECTION":2,"LOGO_DETECTION":3,"LABEL_DETECTION":4,"TEXT_DETECTION":5,"DOCUMENT_TEXT_DETECTION":11,"SAFE_SEARCH_DETECTION":6,"IMAGE_PROPERTIES":7,"CROP_HINTS":9,"WEB_DETECTION":10,"PRODUCT_SEARCH":12,"OBJECT_LOCALIZATION":19}}}},"ImageSource":{"fields":{"gcsImageUri":{"type":"string","id":1},"imageUri":{"type":"string","id":2}}},"Image":{"fields":{"content":{"type":"bytes","id":1},"source":{"type":"ImageSource","id":2}}},"FaceAnnotation":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"fdBoundingPoly":{"type":"BoundingPoly","id":2},"landmarks":{"rule":"repeated","type":"Landmark","id":3},"rollAngle":{"type":"float","id":4},"panAngle":{"type":"float","id":5},"tiltAngle":{"type":"float","id":6},"detectionConfidence":{"type":"float","id":7},"landmarkingConfidence":{"type":"float","id":8},"joyLikelihood":{"type":"Likelihood","id":9},"sorrowLikelihood":{"type":"Likelihood","id":10},"angerLikelihood":{"type":"Likelihood","id":11},"surpriseLikelihood":{"type":"Likelihood","id":12},"underExposedLikelihood":{"type":"Likelihood","id":13},"blurredLikelihood":{"type":"Likelihood","id":14},"headwearLikelihood":{"type":"Likelihood","id":15}},"nested":{"Landmark":{"fields":{"type":{"type":"Type","id":3},"position":{"type":"Position","id":4}},"nested":{"Type":{"values":{"UNKNOWN_LANDMARK":0,"LEFT_EYE":1,"RIGHT_EYE":2,"LEFT_OF_LEFT_EYEBROW":3,"RIGHT_OF_LEFT_EYEBROW":4,"LEFT_OF_RIGHT_EYEBROW":5,"RIGHT_OF_RIGHT_EYEBROW":6,"MIDPOINT_BETWEEN_EYES":7,"NOSE_TIP":8,"UPPER_LIP":9,"LOWER_LIP":10,"MOUTH_LEFT":11,"MOUTH_RIGHT":12,"MOUTH_CENTER":13,"NOSE_BOTTOM_RIGHT":14,"NOSE_BOTTOM_LEFT":15,"NOSE_BOTTOM_CENTER":16,"LEFT_EYE_TOP_BOUNDARY":17,"LEFT_EYE_RIGHT_CORNER":18,"LEFT_EYE_BOTTOM_BOUNDARY":19,"LEFT_EYE_LEFT_CORNER":20,"RIGHT_EYE_TOP_BOUNDARY":21,"RIGHT_EYE_RIGHT_CORNER":22,"RIGHT_EYE_BOTTOM_BOUNDARY":23,"RIGHT_EYE_LEFT_CORNER":24,"LEFT_EYEBROW_UPPER_MIDPOINT":25,"RIGHT_EYEBROW_UPPER_MIDPOINT":26,"LEFT_EAR_TRAGION":27,"RIGHT_EAR_TRAGION":28,"LEFT_EYE_PUPIL":29,"RIGHT_EYE_PUPIL":30,"FOREHEAD_GLABELLA":31,"CHIN_GNATHION":32,"CHIN_LEFT_GONION":33,"CHIN_RIGHT_GONION":34}}}}}},"LocationInfo":{"fields":{"latLng":{"type":"google.type.LatLng","id":1}}},"Property":{"fields":{"name":{"type":"string","id":1},"value":{"type":"string","id":2},"uint64Value":{"type":"uint64","id":3}}},"EntityAnnotation":{"fields":{"mid":{"type":"string","id":1},"locale":{"type":"string","id":2},"description":{"type":"string","id":3},"score":{"type":"float","id":4},"confidence":{"type":"float","id":5},"topicality":{"type":"float","id":6},"boundingPoly":{"type":"BoundingPoly","id":7},"locations":{"rule":"repeated","type":"LocationInfo","id":8},"properties":{"rule":"repeated","type":"Property","id":9}}},"LocalizedObjectAnnotation":{"fields":{"mid":{"type":"string","id":1},"languageCode":{"type":"string","id":2},"name":{"type":"string","id":3},"score":{"type":"float","id":4},"boundingPoly":{"type":"BoundingPoly","id":5}}},"SafeSearchAnnotation":{"fields":{"adult":{"type":"Likelihood","id":1},"spoof":{"type":"Likelihood","id":2},"medical":{"type":"Likelihood","id":3},"violence":{"type":"Likelihood","id":4},"racy":{"type":"Likelihood","id":9}}},"LatLongRect":{"fields":{"minLatLng":{"type":"google.type.LatLng","id":1},"maxLatLng":{"type":"google.type.LatLng","id":2}}},"ColorInfo":{"fields":{"color":{"type":"google.type.Color","id":1},"score":{"type":"float","id":2},"pixelFraction":{"type":"float","id":3}}},"DominantColorsAnnotation":{"fields":{"colors":{"rule":"repeated","type":"ColorInfo","id":1}}},"ImageProperties":{"fields":{"dominantColors":{"type":"DominantColorsAnnotation","id":1}}},"CropHint":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"confidence":{"type":"float","id":2},"importanceFraction":{"type":"float","id":3}}},"CropHintsAnnotation":{"fields":{"cropHints":{"rule":"repeated","type":"CropHint","id":1}}},"CropHintsParams":{"fields":{"aspectRatios":{"rule":"repeated","type":"float","id":1}}},"WebDetectionParams":{"fields":{"includeGeoResults":{"type":"bool","id":2}}},"TextDetectionParams":{"fields":{"enableTextDetectionConfidenceScore":{"type":"bool","id":9},"advancedOcrOptions":{"rule":"repeated","type":"string","id":11}}},"ImageContext":{"fields":{"latLongRect":{"type":"LatLongRect","id":1},"languageHints":{"rule":"repeated","type":"string","id":2},"cropHintsParams":{"type":"CropHintsParams","id":4},"productSearchParams":{"type":"google.cloud.vision.v1p3beta1.ProductSearchParams","id":5},"webDetectionParams":{"type":"WebDetectionParams","id":6},"textDetectionParams":{"type":"TextDetectionParams","id":12}}},"AnnotateImageRequest":{"fields":{"image":{"type":"Image","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3}}},"ImageAnnotationContext":{"fields":{"uri":{"type":"string","id":1},"pageNumber":{"type":"int32","id":2}}},"AnnotateImageResponse":{"fields":{"faceAnnotations":{"rule":"repeated","type":"FaceAnnotation","id":1},"landmarkAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":2},"logoAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":3},"labelAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":4},"localizedObjectAnnotations":{"rule":"repeated","type":"LocalizedObjectAnnotation","id":22},"textAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":5},"fullTextAnnotation":{"type":"TextAnnotation","id":12},"safeSearchAnnotation":{"type":"SafeSearchAnnotation","id":6},"imagePropertiesAnnotation":{"type":"ImageProperties","id":8},"cropHintsAnnotation":{"type":"CropHintsAnnotation","id":11},"webDetection":{"type":"WebDetection","id":13},"productSearchResults":{"type":"google.cloud.vision.v1p3beta1.ProductSearchResults","id":14},"error":{"type":"google.rpc.Status","id":9},"context":{"type":"ImageAnnotationContext","id":21}}},"AnnotateFileResponse":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":2}}},"BatchAnnotateImagesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateImageRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"BatchAnnotateImagesResponse":{"fields":{"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":1}}},"AsyncAnnotateFileRequest":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3},"outputConfig":{"type":"OutputConfig","id":4}}},"AsyncAnnotateFileResponse":{"fields":{"outputConfig":{"type":"OutputConfig","id":1}}},"AsyncBatchAnnotateFilesRequest":{"fields":{"requests":{"rule":"repeated","type":"AsyncAnnotateFileRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"AsyncBatchAnnotateFilesResponse":{"fields":{"responses":{"rule":"repeated","type":"AsyncAnnotateFileResponse","id":1}}},"InputConfig":{"fields":{"gcsSource":{"type":"GcsSource","id":1},"mimeType":{"type":"string","id":2}}},"OutputConfig":{"fields":{"gcsDestination":{"type":"GcsDestination","id":1},"batchSize":{"type":"int32","id":2}}},"GcsSource":{"fields":{"uri":{"type":"string","id":1}}},"GcsDestination":{"fields":{"uri":{"type":"string","id":1}}},"Likelihood":{"values":{"UNKNOWN":0,"VERY_UNLIKELY":1,"UNLIKELY":2,"POSSIBLE":3,"LIKELY":4,"VERY_LIKELY":5}},"OperationMetadata":{"fields":{"state":{"type":"State","id":1},"createTime":{"type":"google.protobuf.Timestamp","id":5},"updateTime":{"type":"google.protobuf.Timestamp","id":6}},"nested":{"State":{"values":{"STATE_UNSPECIFIED":0,"CREATED":1,"RUNNING":2,"DONE":3,"CANCELLED":4}}}},"ProductSearchParams":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":9},"productSet":{"type":"string","id":6,"options":{"(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"productCategories":{"rule":"repeated","type":"string","id":7},"filter":{"type":"string","id":8}}},"ProductSearchResults":{"fields":{"indexTime":{"type":"google.protobuf.Timestamp","id":2},"results":{"rule":"repeated","type":"Result","id":5},"productGroupedResults":{"rule":"repeated","type":"GroupedResult","id":6}},"nested":{"Result":{"fields":{"product":{"type":"Product","id":1},"score":{"type":"float","id":2},"image":{"type":"string","id":3}}},"ObjectAnnotation":{"fields":{"mid":{"type":"string","id":1},"languageCode":{"type":"string","id":2},"name":{"type":"string","id":3},"score":{"type":"float","id":4}}},"GroupedResult":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"results":{"rule":"repeated","type":"Result","id":2},"objectAnnotations":{"rule":"repeated","type":"ObjectAnnotation","id":3}}}}},"ProductSearch":{"options":{"(google.api.default_host)":"vision.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-vision"},"methods":{"CreateProductSet":{"requestType":"CreateProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).post":"/v1p3beta1/{parent=projects/*/locations/*}/productSets","(google.api.http).body":"product_set","(google.api.method_signature)":"parent,product_set,product_set_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p3beta1/{parent=projects/*/locations/*}/productSets","body":"product_set"}},{"(google.api.method_signature)":"parent,product_set,product_set_id"}]},"ListProductSets":{"requestType":"ListProductSetsRequest","responseType":"ListProductSetsResponse","options":{"(google.api.http).get":"/v1p3beta1/{parent=projects/*/locations/*}/productSets","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p3beta1/{parent=projects/*/locations/*}/productSets"}},{"(google.api.method_signature)":"parent"}]},"GetProductSet":{"requestType":"GetProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).get":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}"}},{"(google.api.method_signature)":"name"}]},"UpdateProductSet":{"requestType":"UpdateProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).patch":"/v1p3beta1/{product_set.name=projects/*/locations/*/productSets/*}","(google.api.http).body":"product_set","(google.api.method_signature)":"product_set,update_mask"},"parsedOptions":[{"(google.api.http)":{"patch":"/v1p3beta1/{product_set.name=projects/*/locations/*/productSets/*}","body":"product_set"}},{"(google.api.method_signature)":"product_set,update_mask"}]},"DeleteProductSet":{"requestType":"DeleteProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}"}},{"(google.api.method_signature)":"name"}]},"CreateProduct":{"requestType":"CreateProductRequest","responseType":"Product","options":{"(google.api.http).post":"/v1p3beta1/{parent=projects/*/locations/*}/products","(google.api.http).body":"product","(google.api.method_signature)":"parent,product,product_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p3beta1/{parent=projects/*/locations/*}/products","body":"product"}},{"(google.api.method_signature)":"parent,product,product_id"}]},"ListProducts":{"requestType":"ListProductsRequest","responseType":"ListProductsResponse","options":{"(google.api.http).get":"/v1p3beta1/{parent=projects/*/locations/*}/products","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p3beta1/{parent=projects/*/locations/*}/products"}},{"(google.api.method_signature)":"parent"}]},"GetProduct":{"requestType":"GetProductRequest","responseType":"Product","options":{"(google.api.http).get":"/v1p3beta1/{name=projects/*/locations/*/products/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p3beta1/{name=projects/*/locations/*/products/*}"}},{"(google.api.method_signature)":"name"}]},"UpdateProduct":{"requestType":"UpdateProductRequest","responseType":"Product","options":{"(google.api.http).patch":"/v1p3beta1/{product.name=projects/*/locations/*/products/*}","(google.api.http).body":"product","(google.api.method_signature)":"product,update_mask"},"parsedOptions":[{"(google.api.http)":{"patch":"/v1p3beta1/{product.name=projects/*/locations/*/products/*}","body":"product"}},{"(google.api.method_signature)":"product,update_mask"}]},"DeleteProduct":{"requestType":"DeleteProductRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1p3beta1/{name=projects/*/locations/*/products/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1p3beta1/{name=projects/*/locations/*/products/*}"}},{"(google.api.method_signature)":"name"}]},"CreateReferenceImage":{"requestType":"CreateReferenceImageRequest","responseType":"ReferenceImage","options":{"(google.api.http).post":"/v1p3beta1/{parent=projects/*/locations/*/products/*}/referenceImages","(google.api.http).body":"reference_image","(google.api.method_signature)":"parent,reference_image,reference_image_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p3beta1/{parent=projects/*/locations/*/products/*}/referenceImages","body":"reference_image"}},{"(google.api.method_signature)":"parent,reference_image,reference_image_id"}]},"DeleteReferenceImage":{"requestType":"DeleteReferenceImageRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1p3beta1/{name=projects/*/locations/*/products/*/referenceImages/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1p3beta1/{name=projects/*/locations/*/products/*/referenceImages/*}"}},{"(google.api.method_signature)":"name"}]},"ListReferenceImages":{"requestType":"ListReferenceImagesRequest","responseType":"ListReferenceImagesResponse","options":{"(google.api.http).get":"/v1p3beta1/{parent=projects/*/locations/*/products/*}/referenceImages","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p3beta1/{parent=projects/*/locations/*/products/*}/referenceImages"}},{"(google.api.method_signature)":"parent"}]},"GetReferenceImage":{"requestType":"GetReferenceImageRequest","responseType":"ReferenceImage","options":{"(google.api.http).get":"/v1p3beta1/{name=projects/*/locations/*/products/*/referenceImages/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p3beta1/{name=projects/*/locations/*/products/*/referenceImages/*}"}},{"(google.api.method_signature)":"name"}]},"AddProductToProductSet":{"requestType":"AddProductToProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).post":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}:addProduct","(google.api.http).body":"*","(google.api.method_signature)":"name,product"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}:addProduct","body":"*"}},{"(google.api.method_signature)":"name,product"}]},"RemoveProductFromProductSet":{"requestType":"RemoveProductFromProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).post":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}:removeProduct","(google.api.http).body":"*","(google.api.method_signature)":"name,product"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}:removeProduct","body":"*"}},{"(google.api.method_signature)":"name,product"}]},"ListProductsInProductSet":{"requestType":"ListProductsInProductSetRequest","responseType":"ListProductsInProductSetResponse","options":{"(google.api.http).get":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}/products","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p3beta1/{name=projects/*/locations/*/productSets/*}/products"}},{"(google.api.method_signature)":"name"}]},"ImportProductSets":{"requestType":"ImportProductSetsRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1p3beta1/{parent=projects/*/locations/*}/productSets:import","(google.api.http).body":"*","(google.api.method_signature)":"parent,input_config","(google.longrunning.operation_info).response_type":"ImportProductSetsResponse","(google.longrunning.operation_info).metadata_type":"BatchOperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p3beta1/{parent=projects/*/locations/*}/productSets:import","body":"*"}},{"(google.api.method_signature)":"parent,input_config"},{"(google.longrunning.operation_info)":{"response_type":"ImportProductSetsResponse","metadata_type":"BatchOperationMetadata"}}]}}},"Product":{"options":{"(google.api.resource).type":"vision.googleapis.com/Product","(google.api.resource).pattern":"projects/{project}/locations/{location}/products/{product}"},"fields":{"name":{"type":"string","id":1},"displayName":{"type":"string","id":2},"description":{"type":"string","id":3},"productCategory":{"type":"string","id":4,"options":{"(google.api.field_behavior)":"IMMUTABLE"}},"productLabels":{"rule":"repeated","type":"KeyValue","id":5}},"nested":{"KeyValue":{"fields":{"key":{"type":"string","id":1},"value":{"type":"string","id":2}}}}},"ProductSet":{"options":{"(google.api.resource).type":"vision.googleapis.com/ProductSet","(google.api.resource).pattern":"projects/{project}/locations/{location}/productSets/{product_set}"},"fields":{"name":{"type":"string","id":1},"displayName":{"type":"string","id":2},"indexTime":{"type":"google.protobuf.Timestamp","id":3,"options":{"(google.api.field_behavior)":"OUTPUT_ONLY"}},"indexError":{"type":"google.rpc.Status","id":4,"options":{"(google.api.field_behavior)":"OUTPUT_ONLY"}}}},"ReferenceImage":{"options":{"(google.api.resource).type":"vision.googleapis.com/ReferenceImage","(google.api.resource).pattern":"projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}"},"fields":{"name":{"type":"string","id":1},"uri":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"boundingPolys":{"rule":"repeated","type":"BoundingPoly","id":3,"options":{"(google.api.field_behavior)":"OPTIONAL"}}}},"CreateProductRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"product":{"type":"Product","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"productId":{"type":"string","id":3}}},"ListProductsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductsResponse":{"fields":{"products":{"rule":"repeated","type":"Product","id":1},"nextPageToken":{"type":"string","id":2}}},"GetProductRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"UpdateProductRequest":{"fields":{"product":{"type":"Product","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"updateMask":{"type":"google.protobuf.FieldMask","id":2}}},"DeleteProductRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"CreateProductSetRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"productSet":{"type":"ProductSet","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"productSetId":{"type":"string","id":3}}},"ListProductSetsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductSetsResponse":{"fields":{"productSets":{"rule":"repeated","type":"ProductSet","id":1},"nextPageToken":{"type":"string","id":2}}},"GetProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}}}},"UpdateProductSetRequest":{"fields":{"productSet":{"type":"ProductSet","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"updateMask":{"type":"google.protobuf.FieldMask","id":2}}},"DeleteProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}}}},"CreateReferenceImageRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}},"referenceImage":{"type":"ReferenceImage","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"referenceImageId":{"type":"string","id":3}}},"ListReferenceImagesRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListReferenceImagesResponse":{"fields":{"referenceImages":{"rule":"repeated","type":"ReferenceImage","id":1},"pageSize":{"type":"int32","id":2},"nextPageToken":{"type":"string","id":3}}},"GetReferenceImageRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ReferenceImage"}}}},"DeleteReferenceImageRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ReferenceImage"}}}},"AddProductToProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"product":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"RemoveProductFromProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"product":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"ListProductsInProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductsInProductSetResponse":{"fields":{"products":{"rule":"repeated","type":"Product","id":1},"nextPageToken":{"type":"string","id":2}}},"ImportProductSetsGcsSource":{"fields":{"csvFileUri":{"type":"string","id":1}}},"ImportProductSetsInputConfig":{"oneofs":{"source":{"oneof":["gcsSource"]}},"fields":{"gcsSource":{"type":"ImportProductSetsGcsSource","id":1}}},"ImportProductSetsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"inputConfig":{"type":"ImportProductSetsInputConfig","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"ImportProductSetsResponse":{"fields":{"referenceImages":{"rule":"repeated","type":"ReferenceImage","id":1},"statuses":{"rule":"repeated","type":"google.rpc.Status","id":2}}},"BatchOperationMetadata":{"fields":{"state":{"type":"State","id":1},"submitTime":{"type":"google.protobuf.Timestamp","id":2},"endTime":{"type":"google.protobuf.Timestamp","id":3}},"nested":{"State":{"values":{"STATE_UNSPECIFIED":0,"PROCESSING":1,"SUCCESSFUL":2,"FAILED":3,"CANCELLED":4}}}},"TextAnnotation":{"fields":{"pages":{"rule":"repeated","type":"Page","id":1},"text":{"type":"string","id":2}},"nested":{"DetectedLanguage":{"fields":{"languageCode":{"type":"string","id":1},"confidence":{"type":"float","id":2}}},"DetectedBreak":{"fields":{"type":{"type":"BreakType","id":1},"isPrefix":{"type":"bool","id":2}},"nested":{"BreakType":{"values":{"UNKNOWN":0,"SPACE":1,"SURE_SPACE":2,"EOL_SURE_SPACE":3,"HYPHEN":4,"LINE_BREAK":5}}}},"TextProperty":{"fields":{"detectedLanguages":{"rule":"repeated","type":"DetectedLanguage","id":1},"detectedBreak":{"type":"DetectedBreak","id":2}}}}},"Page":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"width":{"type":"int32","id":2},"height":{"type":"int32","id":3},"blocks":{"rule":"repeated","type":"Block","id":4},"confidence":{"type":"float","id":5}}},"Block":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"paragraphs":{"rule":"repeated","type":"Paragraph","id":3},"blockType":{"type":"BlockType","id":4},"confidence":{"type":"float","id":5}},"nested":{"BlockType":{"values":{"UNKNOWN":0,"TEXT":1,"TABLE":2,"PICTURE":3,"RULER":4,"BARCODE":5}}}},"Paragraph":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"words":{"rule":"repeated","type":"Word","id":3},"confidence":{"type":"float","id":4}}},"Word":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"symbols":{"rule":"repeated","type":"Symbol","id":3},"confidence":{"type":"float","id":4}}},"Symbol":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"text":{"type":"string","id":3},"confidence":{"type":"float","id":4}}},"WebDetection":{"fields":{"webEntities":{"rule":"repeated","type":"WebEntity","id":1},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":2},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":3},"pagesWithMatchingImages":{"rule":"repeated","type":"WebPage","id":4},"visuallySimilarImages":{"rule":"repeated","type":"WebImage","id":6},"bestGuessLabels":{"rule":"repeated","type":"WebLabel","id":8}},"nested":{"WebEntity":{"fields":{"entityId":{"type":"string","id":1},"score":{"type":"float","id":2},"description":{"type":"string","id":3}}},"WebImage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2}}},"WebPage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2},"pageTitle":{"type":"string","id":3},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":4},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":5}}},"WebLabel":{"fields":{"label":{"type":"string","id":1},"languageCode":{"type":"string","id":2}}}}}}},"v1p4beta1":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1;vision","java_multiple_files":true,"java_outer_classname":"WebDetectionProto","java_package":"com.google.cloud.vision.v1p4beta1","objc_class_prefix":"GCVN"},"nested":{"FaceRecognitionParams":{"fields":{"celebritySet":{"rule":"repeated","type":"string","id":1}}},"Celebrity":{"fields":{"name":{"type":"string","id":1},"displayName":{"type":"string","id":2},"description":{"type":"string","id":3}}},"FaceRecognitionResult":{"fields":{"celebrity":{"type":"Celebrity","id":1},"confidence":{"type":"float","id":2}}},"Vertex":{"fields":{"x":{"type":"int32","id":1},"y":{"type":"int32","id":2}}},"NormalizedVertex":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2}}},"BoundingPoly":{"fields":{"vertices":{"rule":"repeated","type":"Vertex","id":1},"normalizedVertices":{"rule":"repeated","type":"NormalizedVertex","id":2}}},"Position":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2},"z":{"type":"float","id":3}}},"ImageAnnotator":{"options":{"(google.api.default_host)":"vision.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-vision"},"methods":{"BatchAnnotateImages":{"requestType":"BatchAnnotateImagesRequest","responseType":"BatchAnnotateImagesResponse","options":{"(google.api.http).post":"/v1p4beta1/images:annotate","(google.api.http).body":"*","(google.api.method_signature)":"requests"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/images:annotate","body":"*"}},{"(google.api.method_signature)":"requests"}]},"BatchAnnotateFiles":{"requestType":"BatchAnnotateFilesRequest","responseType":"BatchAnnotateFilesResponse","options":{"(google.api.http).post":"/v1p4beta1/files:annotate","(google.api.http).body":"*","(google.api.method_signature)":"requests"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/files:annotate","body":"*"}},{"(google.api.method_signature)":"requests"}]},"AsyncBatchAnnotateImages":{"requestType":"AsyncBatchAnnotateImagesRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1p4beta1/images:asyncBatchAnnotate","(google.api.http).body":"*","(google.api.method_signature)":"requests,output_config","(google.longrunning.operation_info).response_type":"AsyncBatchAnnotateImagesResponse","(google.longrunning.operation_info).metadata_type":"OperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/images:asyncBatchAnnotate","body":"*"}},{"(google.api.method_signature)":"requests,output_config"},{"(google.longrunning.operation_info)":{"response_type":"AsyncBatchAnnotateImagesResponse","metadata_type":"OperationMetadata"}}]},"AsyncBatchAnnotateFiles":{"requestType":"AsyncBatchAnnotateFilesRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1p4beta1/files:asyncBatchAnnotate","(google.api.http).body":"*","(google.api.method_signature)":"requests","(google.longrunning.operation_info).response_type":"AsyncBatchAnnotateFilesResponse","(google.longrunning.operation_info).metadata_type":"OperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/files:asyncBatchAnnotate","body":"*"}},{"(google.api.method_signature)":"requests"},{"(google.longrunning.operation_info)":{"response_type":"AsyncBatchAnnotateFilesResponse","metadata_type":"OperationMetadata"}}]}}},"Feature":{"fields":{"type":{"type":"Type","id":1},"maxResults":{"type":"int32","id":2},"model":{"type":"string","id":3}},"nested":{"Type":{"values":{"TYPE_UNSPECIFIED":0,"FACE_DETECTION":1,"LANDMARK_DETECTION":2,"LOGO_DETECTION":3,"LABEL_DETECTION":4,"TEXT_DETECTION":5,"DOCUMENT_TEXT_DETECTION":11,"SAFE_SEARCH_DETECTION":6,"IMAGE_PROPERTIES":7,"CROP_HINTS":9,"WEB_DETECTION":10,"PRODUCT_SEARCH":12,"OBJECT_LOCALIZATION":19}}}},"ImageSource":{"fields":{"gcsImageUri":{"type":"string","id":1},"imageUri":{"type":"string","id":2}}},"Image":{"fields":{"content":{"type":"bytes","id":1},"source":{"type":"ImageSource","id":2}}},"Likelihood":{"values":{"UNKNOWN":0,"VERY_UNLIKELY":1,"UNLIKELY":2,"POSSIBLE":3,"LIKELY":4,"VERY_LIKELY":5}},"FaceAnnotation":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"fdBoundingPoly":{"type":"BoundingPoly","id":2},"landmarks":{"rule":"repeated","type":"Landmark","id":3},"rollAngle":{"type":"float","id":4},"panAngle":{"type":"float","id":5},"tiltAngle":{"type":"float","id":6},"detectionConfidence":{"type":"float","id":7},"landmarkingConfidence":{"type":"float","id":8},"joyLikelihood":{"type":"Likelihood","id":9},"sorrowLikelihood":{"type":"Likelihood","id":10},"angerLikelihood":{"type":"Likelihood","id":11},"surpriseLikelihood":{"type":"Likelihood","id":12},"underExposedLikelihood":{"type":"Likelihood","id":13},"blurredLikelihood":{"type":"Likelihood","id":14},"headwearLikelihood":{"type":"Likelihood","id":15},"recognitionResult":{"rule":"repeated","type":"FaceRecognitionResult","id":16}},"nested":{"Landmark":{"fields":{"type":{"type":"Type","id":3},"position":{"type":"Position","id":4}},"nested":{"Type":{"values":{"UNKNOWN_LANDMARK":0,"LEFT_EYE":1,"RIGHT_EYE":2,"LEFT_OF_LEFT_EYEBROW":3,"RIGHT_OF_LEFT_EYEBROW":4,"LEFT_OF_RIGHT_EYEBROW":5,"RIGHT_OF_RIGHT_EYEBROW":6,"MIDPOINT_BETWEEN_EYES":7,"NOSE_TIP":8,"UPPER_LIP":9,"LOWER_LIP":10,"MOUTH_LEFT":11,"MOUTH_RIGHT":12,"MOUTH_CENTER":13,"NOSE_BOTTOM_RIGHT":14,"NOSE_BOTTOM_LEFT":15,"NOSE_BOTTOM_CENTER":16,"LEFT_EYE_TOP_BOUNDARY":17,"LEFT_EYE_RIGHT_CORNER":18,"LEFT_EYE_BOTTOM_BOUNDARY":19,"LEFT_EYE_LEFT_CORNER":20,"RIGHT_EYE_TOP_BOUNDARY":21,"RIGHT_EYE_RIGHT_CORNER":22,"RIGHT_EYE_BOTTOM_BOUNDARY":23,"RIGHT_EYE_LEFT_CORNER":24,"LEFT_EYEBROW_UPPER_MIDPOINT":25,"RIGHT_EYEBROW_UPPER_MIDPOINT":26,"LEFT_EAR_TRAGION":27,"RIGHT_EAR_TRAGION":28,"LEFT_EYE_PUPIL":29,"RIGHT_EYE_PUPIL":30,"FOREHEAD_GLABELLA":31,"CHIN_GNATHION":32,"CHIN_LEFT_GONION":33,"CHIN_RIGHT_GONION":34}}}}}},"LocationInfo":{"fields":{"latLng":{"type":"google.type.LatLng","id":1}}},"Property":{"fields":{"name":{"type":"string","id":1},"value":{"type":"string","id":2},"uint64Value":{"type":"uint64","id":3}}},"EntityAnnotation":{"fields":{"mid":{"type":"string","id":1},"locale":{"type":"string","id":2},"description":{"type":"string","id":3},"score":{"type":"float","id":4},"confidence":{"type":"float","id":5,"options":{"deprecated":true}},"topicality":{"type":"float","id":6},"boundingPoly":{"type":"BoundingPoly","id":7},"locations":{"rule":"repeated","type":"LocationInfo","id":8},"properties":{"rule":"repeated","type":"Property","id":9}}},"LocalizedObjectAnnotation":{"fields":{"mid":{"type":"string","id":1},"languageCode":{"type":"string","id":2},"name":{"type":"string","id":3},"score":{"type":"float","id":4},"boundingPoly":{"type":"BoundingPoly","id":5}}},"SafeSearchAnnotation":{"fields":{"adult":{"type":"Likelihood","id":1},"spoof":{"type":"Likelihood","id":2},"medical":{"type":"Likelihood","id":3},"violence":{"type":"Likelihood","id":4},"racy":{"type":"Likelihood","id":9}}},"LatLongRect":{"fields":{"minLatLng":{"type":"google.type.LatLng","id":1},"maxLatLng":{"type":"google.type.LatLng","id":2}}},"ColorInfo":{"fields":{"color":{"type":"google.type.Color","id":1},"score":{"type":"float","id":2},"pixelFraction":{"type":"float","id":3}}},"DominantColorsAnnotation":{"fields":{"colors":{"rule":"repeated","type":"ColorInfo","id":1}}},"ImageProperties":{"fields":{"dominantColors":{"type":"DominantColorsAnnotation","id":1}}},"CropHint":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"confidence":{"type":"float","id":2},"importanceFraction":{"type":"float","id":3}}},"CropHintsAnnotation":{"fields":{"cropHints":{"rule":"repeated","type":"CropHint","id":1}}},"CropHintsParams":{"fields":{"aspectRatios":{"rule":"repeated","type":"float","id":1}}},"WebDetectionParams":{"fields":{"includeGeoResults":{"type":"bool","id":2}}},"TextDetectionParams":{"fields":{"enableTextDetectionConfidenceScore":{"type":"bool","id":9},"advancedOcrOptions":{"rule":"repeated","type":"string","id":11}}},"ImageContext":{"fields":{"latLongRect":{"type":"LatLongRect","id":1},"languageHints":{"rule":"repeated","type":"string","id":2},"cropHintsParams":{"type":"CropHintsParams","id":4},"faceRecognitionParams":{"type":"FaceRecognitionParams","id":10},"productSearchParams":{"type":"ProductSearchParams","id":5},"webDetectionParams":{"type":"WebDetectionParams","id":6},"textDetectionParams":{"type":"TextDetectionParams","id":12}}},"AnnotateImageRequest":{"fields":{"image":{"type":"Image","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3}}},"ImageAnnotationContext":{"fields":{"uri":{"type":"string","id":1},"pageNumber":{"type":"int32","id":2}}},"AnnotateImageResponse":{"fields":{"faceAnnotations":{"rule":"repeated","type":"FaceAnnotation","id":1},"landmarkAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":2},"logoAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":3},"labelAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":4},"localizedObjectAnnotations":{"rule":"repeated","type":"LocalizedObjectAnnotation","id":22},"textAnnotations":{"rule":"repeated","type":"EntityAnnotation","id":5},"fullTextAnnotation":{"type":"TextAnnotation","id":12},"safeSearchAnnotation":{"type":"SafeSearchAnnotation","id":6},"imagePropertiesAnnotation":{"type":"ImageProperties","id":8},"cropHintsAnnotation":{"type":"CropHintsAnnotation","id":11},"webDetection":{"type":"WebDetection","id":13},"productSearchResults":{"type":"ProductSearchResults","id":14},"error":{"type":"google.rpc.Status","id":9},"context":{"type":"ImageAnnotationContext","id":21}}},"BatchAnnotateImagesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateImageRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"BatchAnnotateImagesResponse":{"fields":{"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":1}}},"AnnotateFileRequest":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3},"pages":{"rule":"repeated","type":"int32","id":4}}},"AnnotateFileResponse":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"responses":{"rule":"repeated","type":"AnnotateImageResponse","id":2},"totalPages":{"type":"int32","id":3},"error":{"type":"google.rpc.Status","id":4}}},"BatchAnnotateFilesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateFileRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"BatchAnnotateFilesResponse":{"fields":{"responses":{"rule":"repeated","type":"AnnotateFileResponse","id":1}}},"AsyncAnnotateFileRequest":{"fields":{"inputConfig":{"type":"InputConfig","id":1},"features":{"rule":"repeated","type":"Feature","id":2},"imageContext":{"type":"ImageContext","id":3},"outputConfig":{"type":"OutputConfig","id":4}}},"AsyncAnnotateFileResponse":{"fields":{"outputConfig":{"type":"OutputConfig","id":1}}},"AsyncBatchAnnotateImagesRequest":{"fields":{"requests":{"rule":"repeated","type":"AnnotateImageRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"outputConfig":{"type":"OutputConfig","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"AsyncBatchAnnotateImagesResponse":{"fields":{"outputConfig":{"type":"OutputConfig","id":1}}},"AsyncBatchAnnotateFilesRequest":{"fields":{"requests":{"rule":"repeated","type":"AsyncAnnotateFileRequest","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"AsyncBatchAnnotateFilesResponse":{"fields":{"responses":{"rule":"repeated","type":"AsyncAnnotateFileResponse","id":1}}},"InputConfig":{"fields":{"gcsSource":{"type":"GcsSource","id":1},"content":{"type":"bytes","id":3},"mimeType":{"type":"string","id":2}}},"OutputConfig":{"fields":{"gcsDestination":{"type":"GcsDestination","id":1},"batchSize":{"type":"int32","id":2}}},"GcsSource":{"fields":{"uri":{"type":"string","id":1}}},"GcsDestination":{"fields":{"uri":{"type":"string","id":1}}},"OperationMetadata":{"fields":{"state":{"type":"State","id":1},"createTime":{"type":"google.protobuf.Timestamp","id":5},"updateTime":{"type":"google.protobuf.Timestamp","id":6}},"nested":{"State":{"values":{"STATE_UNSPECIFIED":0,"CREATED":1,"RUNNING":2,"DONE":3,"CANCELLED":4}}}},"ProductSearchParams":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":9},"productSet":{"type":"string","id":6,"options":{"(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"productCategories":{"rule":"repeated","type":"string","id":7},"filter":{"type":"string","id":8}}},"ProductSearchResults":{"fields":{"indexTime":{"type":"google.protobuf.Timestamp","id":2},"results":{"rule":"repeated","type":"Result","id":5},"productGroupedResults":{"rule":"repeated","type":"GroupedResult","id":6}},"nested":{"Result":{"fields":{"product":{"type":"Product","id":1},"score":{"type":"float","id":2},"image":{"type":"string","id":3}}},"ObjectAnnotation":{"fields":{"mid":{"type":"string","id":1},"languageCode":{"type":"string","id":2},"name":{"type":"string","id":3},"score":{"type":"float","id":4}}},"GroupedResult":{"fields":{"boundingPoly":{"type":"BoundingPoly","id":1},"results":{"rule":"repeated","type":"Result","id":2},"objectAnnotations":{"rule":"repeated","type":"ObjectAnnotation","id":3}}}}},"ProductSearch":{"options":{"(google.api.default_host)":"vision.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-vision"},"methods":{"CreateProductSet":{"requestType":"CreateProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).post":"/v1p4beta1/{parent=projects/*/locations/*}/productSets","(google.api.http).body":"product_set","(google.api.method_signature)":"parent,product_set,product_set_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/{parent=projects/*/locations/*}/productSets","body":"product_set"}},{"(google.api.method_signature)":"parent,product_set,product_set_id"}]},"ListProductSets":{"requestType":"ListProductSetsRequest","responseType":"ListProductSetsResponse","options":{"(google.api.http).get":"/v1p4beta1/{parent=projects/*/locations/*}/productSets","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p4beta1/{parent=projects/*/locations/*}/productSets"}},{"(google.api.method_signature)":"parent"}]},"GetProductSet":{"requestType":"GetProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).get":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}"}},{"(google.api.method_signature)":"name"}]},"UpdateProductSet":{"requestType":"UpdateProductSetRequest","responseType":"ProductSet","options":{"(google.api.http).patch":"/v1p4beta1/{product_set.name=projects/*/locations/*/productSets/*}","(google.api.http).body":"product_set","(google.api.method_signature)":"product_set,update_mask"},"parsedOptions":[{"(google.api.http)":{"patch":"/v1p4beta1/{product_set.name=projects/*/locations/*/productSets/*}","body":"product_set"}},{"(google.api.method_signature)":"product_set,update_mask"}]},"DeleteProductSet":{"requestType":"DeleteProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}"}},{"(google.api.method_signature)":"name"}]},"CreateProduct":{"requestType":"CreateProductRequest","responseType":"Product","options":{"(google.api.http).post":"/v1p4beta1/{parent=projects/*/locations/*}/products","(google.api.http).body":"product","(google.api.method_signature)":"parent,product,product_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/{parent=projects/*/locations/*}/products","body":"product"}},{"(google.api.method_signature)":"parent,product,product_id"}]},"ListProducts":{"requestType":"ListProductsRequest","responseType":"ListProductsResponse","options":{"(google.api.http).get":"/v1p4beta1/{parent=projects/*/locations/*}/products","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p4beta1/{parent=projects/*/locations/*}/products"}},{"(google.api.method_signature)":"parent"}]},"GetProduct":{"requestType":"GetProductRequest","responseType":"Product","options":{"(google.api.http).get":"/v1p4beta1/{name=projects/*/locations/*/products/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p4beta1/{name=projects/*/locations/*/products/*}"}},{"(google.api.method_signature)":"name"}]},"UpdateProduct":{"requestType":"UpdateProductRequest","responseType":"Product","options":{"(google.api.http).patch":"/v1p4beta1/{product.name=projects/*/locations/*/products/*}","(google.api.http).body":"product","(google.api.method_signature)":"product,update_mask"},"parsedOptions":[{"(google.api.http)":{"patch":"/v1p4beta1/{product.name=projects/*/locations/*/products/*}","body":"product"}},{"(google.api.method_signature)":"product,update_mask"}]},"DeleteProduct":{"requestType":"DeleteProductRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1p4beta1/{name=projects/*/locations/*/products/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1p4beta1/{name=projects/*/locations/*/products/*}"}},{"(google.api.method_signature)":"name"}]},"CreateReferenceImage":{"requestType":"CreateReferenceImageRequest","responseType":"ReferenceImage","options":{"(google.api.http).post":"/v1p4beta1/{parent=projects/*/locations/*/products/*}/referenceImages","(google.api.http).body":"reference_image","(google.api.method_signature)":"parent,reference_image,reference_image_id"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/{parent=projects/*/locations/*/products/*}/referenceImages","body":"reference_image"}},{"(google.api.method_signature)":"parent,reference_image,reference_image_id"}]},"DeleteReferenceImage":{"requestType":"DeleteReferenceImageRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1p4beta1/{name=projects/*/locations/*/products/*/referenceImages/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1p4beta1/{name=projects/*/locations/*/products/*/referenceImages/*}"}},{"(google.api.method_signature)":"name"}]},"ListReferenceImages":{"requestType":"ListReferenceImagesRequest","responseType":"ListReferenceImagesResponse","options":{"(google.api.http).get":"/v1p4beta1/{parent=projects/*/locations/*/products/*}/referenceImages","(google.api.method_signature)":"parent"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p4beta1/{parent=projects/*/locations/*/products/*}/referenceImages"}},{"(google.api.method_signature)":"parent"}]},"GetReferenceImage":{"requestType":"GetReferenceImageRequest","responseType":"ReferenceImage","options":{"(google.api.http).get":"/v1p4beta1/{name=projects/*/locations/*/products/*/referenceImages/*}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p4beta1/{name=projects/*/locations/*/products/*/referenceImages/*}"}},{"(google.api.method_signature)":"name"}]},"AddProductToProductSet":{"requestType":"AddProductToProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).post":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}:addProduct","(google.api.http).body":"*","(google.api.method_signature)":"name,product"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}:addProduct","body":"*"}},{"(google.api.method_signature)":"name,product"}]},"RemoveProductFromProductSet":{"requestType":"RemoveProductFromProductSetRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).post":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}:removeProduct","(google.api.http).body":"*","(google.api.method_signature)":"name,product"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}:removeProduct","body":"*"}},{"(google.api.method_signature)":"name,product"}]},"ListProductsInProductSet":{"requestType":"ListProductsInProductSetRequest","responseType":"ListProductsInProductSetResponse","options":{"(google.api.http).get":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}/products","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1p4beta1/{name=projects/*/locations/*/productSets/*}/products"}},{"(google.api.method_signature)":"name"}]},"ImportProductSets":{"requestType":"ImportProductSetsRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1p4beta1/{parent=projects/*/locations/*}/productSets:import","(google.api.http).body":"*","(google.api.method_signature)":"parent,input_config","(google.longrunning.operation_info).response_type":"ImportProductSetsResponse","(google.longrunning.operation_info).metadata_type":"BatchOperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/{parent=projects/*/locations/*}/productSets:import","body":"*"}},{"(google.api.method_signature)":"parent,input_config"},{"(google.longrunning.operation_info)":{"response_type":"ImportProductSetsResponse","metadata_type":"BatchOperationMetadata"}}]},"PurgeProducts":{"requestType":"PurgeProductsRequest","responseType":"google.longrunning.Operation","options":{"(google.api.http).post":"/v1p4beta1/{parent=projects/*/locations/*}/products:purge","(google.api.http).body":"*","(google.api.method_signature)":"parent","(google.longrunning.operation_info).response_type":"google.protobuf.Empty","(google.longrunning.operation_info).metadata_type":"BatchOperationMetadata"},"parsedOptions":[{"(google.api.http)":{"post":"/v1p4beta1/{parent=projects/*/locations/*}/products:purge","body":"*"}},{"(google.api.method_signature)":"parent"},{"(google.longrunning.operation_info)":{"response_type":"google.protobuf.Empty","metadata_type":"BatchOperationMetadata"}}]}}},"Product":{"options":{"(google.api.resource).type":"vision.googleapis.com/Product","(google.api.resource).pattern":"projects/{project}/locations/{location}/products/{product}"},"fields":{"name":{"type":"string","id":1},"displayName":{"type":"string","id":2},"description":{"type":"string","id":3},"productCategory":{"type":"string","id":4,"options":{"(google.api.field_behavior)":"IMMUTABLE"}},"productLabels":{"rule":"repeated","type":"KeyValue","id":5}},"nested":{"KeyValue":{"fields":{"key":{"type":"string","id":1},"value":{"type":"string","id":2}}}}},"ProductSet":{"options":{"(google.api.resource).type":"vision.googleapis.com/ProductSet","(google.api.resource).pattern":"projects/{project}/locations/{location}/productSets/{product_set}"},"fields":{"name":{"type":"string","id":1},"displayName":{"type":"string","id":2},"indexTime":{"type":"google.protobuf.Timestamp","id":3,"options":{"(google.api.field_behavior)":"OUTPUT_ONLY"}},"indexError":{"type":"google.rpc.Status","id":4,"options":{"(google.api.field_behavior)":"OUTPUT_ONLY"}}}},"ReferenceImage":{"options":{"(google.api.resource).type":"vision.googleapis.com/ReferenceImage","(google.api.resource).pattern":"projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}"},"fields":{"name":{"type":"string","id":1},"uri":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"boundingPolys":{"rule":"repeated","type":"BoundingPoly","id":3,"options":{"(google.api.field_behavior)":"OPTIONAL"}}}},"CreateProductRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"product":{"type":"Product","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"productId":{"type":"string","id":3}}},"ListProductsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductsResponse":{"fields":{"products":{"rule":"repeated","type":"Product","id":1},"nextPageToken":{"type":"string","id":2}}},"GetProductRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"UpdateProductRequest":{"fields":{"product":{"type":"Product","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"updateMask":{"type":"google.protobuf.FieldMask","id":2}}},"DeleteProductRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"CreateProductSetRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"productSet":{"type":"ProductSet","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"productSetId":{"type":"string","id":3}}},"ListProductSetsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductSetsResponse":{"fields":{"productSets":{"rule":"repeated","type":"ProductSet","id":1},"nextPageToken":{"type":"string","id":2}}},"GetProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}}}},"UpdateProductSetRequest":{"fields":{"productSet":{"type":"ProductSet","id":1,"options":{"(google.api.field_behavior)":"REQUIRED"}},"updateMask":{"type":"google.protobuf.FieldMask","id":2}}},"DeleteProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}}}},"CreateReferenceImageRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}},"referenceImage":{"type":"ReferenceImage","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}},"referenceImageId":{"type":"string","id":3}}},"ListReferenceImagesRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListReferenceImagesResponse":{"fields":{"referenceImages":{"rule":"repeated","type":"ReferenceImage","id":1},"pageSize":{"type":"int32","id":2},"nextPageToken":{"type":"string","id":3}}},"GetReferenceImageRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ReferenceImage"}}}},"DeleteReferenceImageRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ReferenceImage"}}}},"AddProductToProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"product":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"RemoveProductFromProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"product":{"type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/Product"}}}},"ListProductsInProductSetRequest":{"fields":{"name":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"vision.googleapis.com/ProductSet"}},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListProductsInProductSetResponse":{"fields":{"products":{"rule":"repeated","type":"Product","id":1},"nextPageToken":{"type":"string","id":2}}},"ImportProductSetsGcsSource":{"fields":{"csvFileUri":{"type":"string","id":1}}},"ImportProductSetsInputConfig":{"oneofs":{"source":{"oneof":["gcsSource"]}},"fields":{"gcsSource":{"type":"ImportProductSetsGcsSource","id":1}}},"ImportProductSetsRequest":{"fields":{"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"inputConfig":{"type":"ImportProductSetsInputConfig","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"ImportProductSetsResponse":{"fields":{"referenceImages":{"rule":"repeated","type":"ReferenceImage","id":1},"statuses":{"rule":"repeated","type":"google.rpc.Status","id":2}}},"BatchOperationMetadata":{"fields":{"state":{"type":"State","id":1},"submitTime":{"type":"google.protobuf.Timestamp","id":2},"endTime":{"type":"google.protobuf.Timestamp","id":3}},"nested":{"State":{"values":{"STATE_UNSPECIFIED":0,"PROCESSING":1,"SUCCESSFUL":2,"FAILED":3,"CANCELLED":4}}}},"ProductSetPurgeConfig":{"fields":{"productSetId":{"type":"string","id":1}}},"PurgeProductsRequest":{"oneofs":{"target":{"oneof":["productSetPurgeConfig","deleteOrphanProducts"]}},"fields":{"productSetPurgeConfig":{"type":"ProductSetPurgeConfig","id":2},"deleteOrphanProducts":{"type":"bool","id":3},"parent":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"locations.googleapis.com/Location"}},"force":{"type":"bool","id":4}}},"TextAnnotation":{"fields":{"pages":{"rule":"repeated","type":"Page","id":1},"text":{"type":"string","id":2}},"nested":{"DetectedLanguage":{"fields":{"languageCode":{"type":"string","id":1},"confidence":{"type":"float","id":2}}},"DetectedBreak":{"fields":{"type":{"type":"BreakType","id":1},"isPrefix":{"type":"bool","id":2}},"nested":{"BreakType":{"values":{"UNKNOWN":0,"SPACE":1,"SURE_SPACE":2,"EOL_SURE_SPACE":3,"HYPHEN":4,"LINE_BREAK":5}}}},"TextProperty":{"fields":{"detectedLanguages":{"rule":"repeated","type":"DetectedLanguage","id":1},"detectedBreak":{"type":"DetectedBreak","id":2}}}}},"Page":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"width":{"type":"int32","id":2},"height":{"type":"int32","id":3},"blocks":{"rule":"repeated","type":"Block","id":4},"confidence":{"type":"float","id":5}}},"Block":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"paragraphs":{"rule":"repeated","type":"Paragraph","id":3},"blockType":{"type":"BlockType","id":4},"confidence":{"type":"float","id":5}},"nested":{"BlockType":{"values":{"UNKNOWN":0,"TEXT":1,"TABLE":2,"PICTURE":3,"RULER":4,"BARCODE":5}}}},"Paragraph":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"words":{"rule":"repeated","type":"Word","id":3},"confidence":{"type":"float","id":4}}},"Word":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"symbols":{"rule":"repeated","type":"Symbol","id":3},"confidence":{"type":"float","id":4}}},"Symbol":{"fields":{"property":{"type":"TextAnnotation.TextProperty","id":1},"boundingBox":{"type":"BoundingPoly","id":2},"text":{"type":"string","id":3},"confidence":{"type":"float","id":4}}},"WebDetection":{"fields":{"webEntities":{"rule":"repeated","type":"WebEntity","id":1},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":2},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":3},"pagesWithMatchingImages":{"rule":"repeated","type":"WebPage","id":4},"visuallySimilarImages":{"rule":"repeated","type":"WebImage","id":6},"bestGuessLabels":{"rule":"repeated","type":"WebLabel","id":8}},"nested":{"WebEntity":{"fields":{"entityId":{"type":"string","id":1},"score":{"type":"float","id":2},"description":{"type":"string","id":3}}},"WebImage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2}}},"WebPage":{"fields":{"url":{"type":"string","id":1},"score":{"type":"float","id":2},"pageTitle":{"type":"string","id":3},"fullMatchingImages":{"rule":"repeated","type":"WebImage","id":4},"partialMatchingImages":{"rule":"repeated","type":"WebImage","id":5}}},"WebLabel":{"fields":{"label":{"type":"string","id":1},"languageCode":{"type":"string","id":2}}}}}}}}}}},"api":{"options":{"go_package":"google.golang.org/genproto/googleapis/api/annotations;annotations","java_multiple_files":true,"java_outer_classname":"ResourceProto","java_package":"com.google.api","objc_class_prefix":"GAPI","cc_enable_arenas":true},"nested":{"http":{"type":"HttpRule","id":72295728,"extend":"google.protobuf.MethodOptions"},"Http":{"fields":{"rules":{"rule":"repeated","type":"HttpRule","id":1},"fullyDecodeReservedExpansion":{"type":"bool","id":2}}},"HttpRule":{"oneofs":{"pattern":{"oneof":["get","put","post","delete","patch","custom"]}},"fields":{"selector":{"type":"string","id":1},"get":{"type":"string","id":2},"put":{"type":"string","id":3},"post":{"type":"string","id":4},"delete":{"type":"string","id":5},"patch":{"type":"string","id":6},"custom":{"type":"CustomHttpPattern","id":8},"body":{"type":"string","id":7},"responseBody":{"type":"string","id":12},"additionalBindings":{"rule":"repeated","type":"HttpRule","id":11}}},"CustomHttpPattern":{"fields":{"kind":{"type":"string","id":1},"path":{"type":"string","id":2}}},"methodSignature":{"rule":"repeated","type":"string","id":1051,"extend":"google.protobuf.MethodOptions"},"defaultHost":{"type":"string","id":1049,"extend":"google.protobuf.ServiceOptions"},"oauthScopes":{"type":"string","id":1050,"extend":"google.protobuf.ServiceOptions"},"fieldBehavior":{"rule":"repeated","type":"google.api.FieldBehavior","id":1052,"extend":"google.protobuf.FieldOptions"},"FieldBehavior":{"values":{"FIELD_BEHAVIOR_UNSPECIFIED":0,"OPTIONAL":1,"REQUIRED":2,"OUTPUT_ONLY":3,"INPUT_ONLY":4,"IMMUTABLE":5,"UNORDERED_LIST":6,"NON_EMPTY_DEFAULT":7}},"resourceReference":{"type":"google.api.ResourceReference","id":1055,"extend":"google.protobuf.FieldOptions"},"resourceDefinition":{"rule":"repeated","type":"google.api.ResourceDescriptor","id":1053,"extend":"google.protobuf.FileOptions"},"resource":{"type":"google.api.ResourceDescriptor","id":1053,"extend":"google.protobuf.MessageOptions"},"ResourceDescriptor":{"fields":{"type":{"type":"string","id":1},"pattern":{"rule":"repeated","type":"string","id":2},"nameField":{"type":"string","id":3},"history":{"type":"History","id":4},"plural":{"type":"string","id":5},"singular":{"type":"string","id":6},"style":{"rule":"repeated","type":"Style","id":10}},"nested":{"History":{"values":{"HISTORY_UNSPECIFIED":0,"ORIGINALLY_SINGLE_PATTERN":1,"FUTURE_MULTI_PATTERN":2}},"Style":{"values":{"STYLE_UNSPECIFIED":0,"DECLARATIVE_FRIENDLY":1}}}},"ResourceReference":{"fields":{"type":{"type":"string","id":1},"childType":{"type":"string","id":2}}}}},"protobuf":{"options":{"go_package":"google.golang.org/protobuf/types/descriptorpb","java_package":"com.google.protobuf","java_outer_classname":"DescriptorProtos","csharp_namespace":"Google.Protobuf.Reflection","objc_class_prefix":"GPB","cc_enable_arenas":true,"optimize_for":"SPEED"},"nested":{"FileDescriptorSet":{"fields":{"file":{"rule":"repeated","type":"FileDescriptorProto","id":1}}},"FileDescriptorProto":{"fields":{"name":{"type":"string","id":1},"package":{"type":"string","id":2},"dependency":{"rule":"repeated","type":"string","id":3},"publicDependency":{"rule":"repeated","type":"int32","id":10,"options":{"packed":false}},"weakDependency":{"rule":"repeated","type":"int32","id":11,"options":{"packed":false}},"messageType":{"rule":"repeated","type":"DescriptorProto","id":4},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":5},"service":{"rule":"repeated","type":"ServiceDescriptorProto","id":6},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":7},"options":{"type":"FileOptions","id":8},"sourceCodeInfo":{"type":"SourceCodeInfo","id":9},"syntax":{"type":"string","id":12},"edition":{"type":"string","id":13}}},"DescriptorProto":{"fields":{"name":{"type":"string","id":1},"field":{"rule":"repeated","type":"FieldDescriptorProto","id":2},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":6},"nestedType":{"rule":"repeated","type":"DescriptorProto","id":3},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":4},"extensionRange":{"rule":"repeated","type":"ExtensionRange","id":5},"oneofDecl":{"rule":"repeated","type":"OneofDescriptorProto","id":8},"options":{"type":"MessageOptions","id":7},"reservedRange":{"rule":"repeated","type":"ReservedRange","id":9},"reservedName":{"rule":"repeated","type":"string","id":10}},"nested":{"ExtensionRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2},"options":{"type":"ExtensionRangeOptions","id":3}}},"ReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"ExtensionRangeOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"FieldDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":3},"label":{"type":"Label","id":4},"type":{"type":"Type","id":5},"typeName":{"type":"string","id":6},"extendee":{"type":"string","id":2},"defaultValue":{"type":"string","id":7},"oneofIndex":{"type":"int32","id":9},"jsonName":{"type":"string","id":10},"options":{"type":"FieldOptions","id":8},"proto3Optional":{"type":"bool","id":17}},"nested":{"Type":{"values":{"TYPE_DOUBLE":1,"TYPE_FLOAT":2,"TYPE_INT64":3,"TYPE_UINT64":4,"TYPE_INT32":5,"TYPE_FIXED64":6,"TYPE_FIXED32":7,"TYPE_BOOL":8,"TYPE_STRING":9,"TYPE_GROUP":10,"TYPE_MESSAGE":11,"TYPE_BYTES":12,"TYPE_UINT32":13,"TYPE_ENUM":14,"TYPE_SFIXED32":15,"TYPE_SFIXED64":16,"TYPE_SINT32":17,"TYPE_SINT64":18}},"Label":{"values":{"LABEL_OPTIONAL":1,"LABEL_REQUIRED":2,"LABEL_REPEATED":3}}}},"OneofDescriptorProto":{"fields":{"name":{"type":"string","id":1},"options":{"type":"OneofOptions","id":2}}},"EnumDescriptorProto":{"fields":{"name":{"type":"string","id":1},"value":{"rule":"repeated","type":"EnumValueDescriptorProto","id":2},"options":{"type":"EnumOptions","id":3},"reservedRange":{"rule":"repeated","type":"EnumReservedRange","id":4},"reservedName":{"rule":"repeated","type":"string","id":5}},"nested":{"EnumReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"EnumValueDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":2},"options":{"type":"EnumValueOptions","id":3}}},"ServiceDescriptorProto":{"fields":{"name":{"type":"string","id":1},"method":{"rule":"repeated","type":"MethodDescriptorProto","id":2},"options":{"type":"ServiceOptions","id":3}}},"MethodDescriptorProto":{"fields":{"name":{"type":"string","id":1},"inputType":{"type":"string","id":2},"outputType":{"type":"string","id":3},"options":{"type":"MethodOptions","id":4},"clientStreaming":{"type":"bool","id":5,"options":{"default":false}},"serverStreaming":{"type":"bool","id":6,"options":{"default":false}}}},"FileOptions":{"fields":{"javaPackage":{"type":"string","id":1},"javaOuterClassname":{"type":"string","id":8},"javaMultipleFiles":{"type":"bool","id":10,"options":{"default":false}},"javaGenerateEqualsAndHash":{"type":"bool","id":20,"options":{"deprecated":true}},"javaStringCheckUtf8":{"type":"bool","id":27,"options":{"default":false}},"optimizeFor":{"type":"OptimizeMode","id":9,"options":{"default":"SPEED"}},"goPackage":{"type":"string","id":11},"ccGenericServices":{"type":"bool","id":16,"options":{"default":false}},"javaGenericServices":{"type":"bool","id":17,"options":{"default":false}},"pyGenericServices":{"type":"bool","id":18,"options":{"default":false}},"phpGenericServices":{"type":"bool","id":42,"options":{"default":false}},"deprecated":{"type":"bool","id":23,"options":{"default":false}},"ccEnableArenas":{"type":"bool","id":31,"options":{"default":true}},"objcClassPrefix":{"type":"string","id":36},"csharpNamespace":{"type":"string","id":37},"swiftPrefix":{"type":"string","id":39},"phpClassPrefix":{"type":"string","id":40},"phpNamespace":{"type":"string","id":41},"phpMetadataNamespace":{"type":"string","id":44},"rubyPackage":{"type":"string","id":45},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[38,38]],"nested":{"OptimizeMode":{"values":{"SPEED":1,"CODE_SIZE":2,"LITE_RUNTIME":3}}}},"MessageOptions":{"fields":{"messageSetWireFormat":{"type":"bool","id":1,"options":{"default":false}},"noStandardDescriptorAccessor":{"type":"bool","id":2,"options":{"default":false}},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"mapEntry":{"type":"bool","id":7},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[4,4],[5,5],[6,6],[8,8],[9,9]]},"FieldOptions":{"fields":{"ctype":{"type":"CType","id":1,"options":{"default":"STRING"}},"packed":{"type":"bool","id":2},"jstype":{"type":"JSType","id":6,"options":{"default":"JS_NORMAL"}},"lazy":{"type":"bool","id":5,"options":{"default":false}},"unverifiedLazy":{"type":"bool","id":15,"options":{"default":false}},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"weak":{"type":"bool","id":10,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[4,4]],"nested":{"CType":{"values":{"STRING":0,"CORD":1,"STRING_PIECE":2}},"JSType":{"values":{"JS_NORMAL":0,"JS_STRING":1,"JS_NUMBER":2}}}},"OneofOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"EnumOptions":{"fields":{"allowAlias":{"type":"bool","id":2},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[5,5]]},"EnumValueOptions":{"fields":{"deprecated":{"type":"bool","id":1,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"ServiceOptions":{"fields":{"deprecated":{"type":"bool","id":33,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"MethodOptions":{"fields":{"deprecated":{"type":"bool","id":33,"options":{"default":false}},"idempotencyLevel":{"type":"IdempotencyLevel","id":34,"options":{"default":"IDEMPOTENCY_UNKNOWN"}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"nested":{"IdempotencyLevel":{"values":{"IDEMPOTENCY_UNKNOWN":0,"NO_SIDE_EFFECTS":1,"IDEMPOTENT":2}}}},"UninterpretedOption":{"fields":{"name":{"rule":"repeated","type":"NamePart","id":2},"identifierValue":{"type":"string","id":3},"positiveIntValue":{"type":"uint64","id":4},"negativeIntValue":{"type":"int64","id":5},"doubleValue":{"type":"double","id":6},"stringValue":{"type":"bytes","id":7},"aggregateValue":{"type":"string","id":8}},"nested":{"NamePart":{"fields":{"namePart":{"rule":"required","type":"string","id":1},"isExtension":{"rule":"required","type":"bool","id":2}}}}},"SourceCodeInfo":{"fields":{"location":{"rule":"repeated","type":"Location","id":1}},"nested":{"Location":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"span":{"rule":"repeated","type":"int32","id":2},"leadingComments":{"type":"string","id":3},"trailingComments":{"type":"string","id":4},"leadingDetachedComments":{"rule":"repeated","type":"string","id":6}}}}},"GeneratedCodeInfo":{"fields":{"annotation":{"rule":"repeated","type":"Annotation","id":1}},"nested":{"Annotation":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"sourceFile":{"type":"string","id":2},"begin":{"type":"int32","id":3},"end":{"type":"int32","id":4},"semantic":{"type":"Semantic","id":5}},"nested":{"Semantic":{"values":{"NONE":0,"SET":1,"ALIAS":2}}}}}},"Any":{"fields":{"type_url":{"type":"string","id":1},"value":{"type":"bytes","id":2}}},"Duration":{"fields":{"seconds":{"type":"int64","id":1},"nanos":{"type":"int32","id":2}}},"Empty":{"fields":{}},"FieldMask":{"fields":{"paths":{"rule":"repeated","type":"string","id":1}}},"Timestamp":{"fields":{"seconds":{"type":"int64","id":1},"nanos":{"type":"int32","id":2}}},"DoubleValue":{"fields":{"value":{"type":"double","id":1}}},"FloatValue":{"fields":{"value":{"type":"float","id":1}}},"Int64Value":{"fields":{"value":{"type":"int64","id":1}}},"UInt64Value":{"fields":{"value":{"type":"uint64","id":1}}},"Int32Value":{"fields":{"value":{"type":"int32","id":1}}},"UInt32Value":{"fields":{"value":{"type":"uint32","id":1}}},"BoolValue":{"fields":{"value":{"type":"bool","id":1}}},"StringValue":{"fields":{"value":{"type":"string","id":1}}},"BytesValue":{"fields":{"value":{"type":"bytes","id":1}}}}},"longrunning":{"options":{"cc_enable_arenas":true,"csharp_namespace":"Google.LongRunning","go_package":"google.golang.org/genproto/googleapis/longrunning;longrunning","java_multiple_files":true,"java_outer_classname":"OperationsProto","java_package":"com.google.longrunning","php_namespace":"Google\\\\LongRunning"},"nested":{"operationInfo":{"type":"google.longrunning.OperationInfo","id":1049,"extend":"google.protobuf.MethodOptions"},"Operations":{"options":{"(google.api.default_host)":"longrunning.googleapis.com"},"methods":{"ListOperations":{"requestType":"ListOperationsRequest","responseType":"ListOperationsResponse","options":{"(google.api.http).get":"/v1/{name=operations}","(google.api.method_signature)":"name,filter"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=operations}"}},{"(google.api.method_signature)":"name,filter"}]},"GetOperation":{"requestType":"GetOperationRequest","responseType":"Operation","options":{"(google.api.http).get":"/v1/{name=operations/**}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=operations/**}"}},{"(google.api.method_signature)":"name"}]},"DeleteOperation":{"requestType":"DeleteOperationRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1/{name=operations/**}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1/{name=operations/**}"}},{"(google.api.method_signature)":"name"}]},"CancelOperation":{"requestType":"CancelOperationRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).post":"/v1/{name=operations/**}:cancel","(google.api.http).body":"*","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{name=operations/**}:cancel","body":"*"}},{"(google.api.method_signature)":"name"}]},"WaitOperation":{"requestType":"WaitOperationRequest","responseType":"Operation"}}},"Operation":{"oneofs":{"result":{"oneof":["error","response"]}},"fields":{"name":{"type":"string","id":1},"metadata":{"type":"google.protobuf.Any","id":2},"done":{"type":"bool","id":3},"error":{"type":"google.rpc.Status","id":4},"response":{"type":"google.protobuf.Any","id":5}}},"GetOperationRequest":{"fields":{"name":{"type":"string","id":1}}},"ListOperationsRequest":{"fields":{"name":{"type":"string","id":4},"filter":{"type":"string","id":1},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListOperationsResponse":{"fields":{"operations":{"rule":"repeated","type":"Operation","id":1},"nextPageToken":{"type":"string","id":2}}},"CancelOperationRequest":{"fields":{"name":{"type":"string","id":1}}},"DeleteOperationRequest":{"fields":{"name":{"type":"string","id":1}}},"WaitOperationRequest":{"fields":{"name":{"type":"string","id":1},"timeout":{"type":"google.protobuf.Duration","id":2}}},"OperationInfo":{"fields":{"responseType":{"type":"string","id":1},"metadataType":{"type":"string","id":2}}}}},"rpc":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/rpc/status;status","java_multiple_files":true,"java_outer_classname":"StatusProto","java_package":"com.google.rpc","objc_class_prefix":"RPC"},"nested":{"Status":{"fields":{"code":{"type":"int32","id":1},"message":{"type":"string","id":2},"details":{"rule":"repeated","type":"google.protobuf.Any","id":3}}}}},"type":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/type/latlng;latlng","java_multiple_files":true,"java_outer_classname":"LatLngProto","java_package":"com.google.type","objc_class_prefix":"GTP"},"nested":{"Color":{"fields":{"red":{"type":"float","id":1},"green":{"type":"float","id":2},"blue":{"type":"float","id":3},"alpha":{"type":"google.protobuf.FloatValue","id":4}}},"LatLng":{"fields":{"latitude":{"type":"double","id":1},"longitude":{"type":"double","id":2}}}}}}}}}')},12827:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.vision.v1.ImageAnnotator":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"BatchAnnotateImages":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"BatchAnnotateFiles":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"AsyncBatchAnnotateImages":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"AsyncBatchAnnotateFiles":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"}}}}}')},19184:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.vision.v1.ProductSearch":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"CreateProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"ListProductSets":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"UpdateProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"DeleteProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"CreateProduct":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"ListProducts":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetProduct":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"UpdateProduct":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"DeleteProduct":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"CreateReferenceImage":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"DeleteReferenceImage":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"ListReferenceImages":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetReferenceImage":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"AddProductToProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"RemoveProductFromProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"ListProductsInProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"ImportProductSets":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"PurgeProducts":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"}}}}}')},10254:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.vision.v1p1beta1.ImageAnnotator":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"BatchAnnotateImages":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"}}}}}')},95184:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.vision.v1p2beta1.ImageAnnotator":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"BatchAnnotateImages":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"AsyncBatchAnnotateFiles":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"}}}}}')},9935:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.vision.v1p3beta1.ImageAnnotator":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"BatchAnnotateImages":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"AsyncBatchAnnotateFiles":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"}}}}}')},64828:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.vision.v1p3beta1.ProductSearch":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"CreateProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"ListProductSets":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"UpdateProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"DeleteProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"CreateProduct":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"ListProducts":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetProduct":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"UpdateProduct":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"DeleteProduct":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"CreateReferenceImage":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"DeleteReferenceImage":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"ListReferenceImages":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetReferenceImage":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"AddProductToProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"RemoveProductFromProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"ListProductsInProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"ImportProductSets":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"}}}}}')},55329:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.vision.v1p4beta1.ImageAnnotator":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"BatchAnnotateImages":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"BatchAnnotateFiles":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"AsyncBatchAnnotateImages":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"AsyncBatchAnnotateFiles":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"}}}}}')},4859:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.vision.v1p4beta1.ProductSearch":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"CreateProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"ListProductSets":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"UpdateProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"DeleteProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"CreateProduct":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"ListProducts":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetProduct":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"UpdateProduct":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"DeleteProduct":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"CreateReferenceImage":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"DeleteReferenceImage":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"ListReferenceImages":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"GetReferenceImage":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"AddProductToProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"RemoveProductFromProductSet":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"ListProductsInProductSet":{"timeout_millis":600000,"retry_codes_name":"idempotent","retry_params_name":"default"},"ImportProductSets":{"timeout_millis":600000,"retry_codes_name":"non_idempotent","retry_params_name":"default"},"PurgeProducts":{"retry_codes_name":"non_idempotent","retry_params_name":"default"}}}}}')},49724:e=>{"use strict";e.exports={i8:"3.0.1"}},14167:e=>{"use strict";e.exports={i8:"1.7.3"}},39665:e=>{"use strict";e.exports=JSON.parse('{"name":"google-auth-library","version":"8.7.0","author":"Google Inc.","description":"Google APIs Authentication Client Library for Node.js","engines":{"node":">=12"},"main":"./build/src/index.js","types":"./build/src/index.d.ts","repository":"googleapis/google-auth-library-nodejs.git","keywords":["google","api","google apis","client","client library"],"dependencies":{"arrify":"^2.0.0","base64-js":"^1.3.0","ecdsa-sig-formatter":"^1.0.11","fast-text-encoding":"^1.0.0","gaxios":"^5.0.0","gcp-metadata":"^5.0.0","gtoken":"^6.1.0","jws":"^4.0.0","lru-cache":"^6.0.0"},"devDependencies":{"@compodoc/compodoc":"^1.1.7","@types/base64-js":"^1.2.5","@types/chai":"^4.1.7","@types/jws":"^3.1.0","@types/lru-cache":"^5.0.0","@types/mocha":"^9.0.0","@types/mv":"^2.1.0","@types/ncp":"^2.0.1","@types/node":"^16.0.0","@types/sinon":"^10.0.0","@types/tmp":"^0.2.0","assert-rejects":"^1.0.0","c8":"^7.0.0","chai":"^4.2.0","codecov":"^3.0.2","execa":"^5.0.0","gts":"^3.1.0","is-docker":"^2.0.0","karma":"^6.0.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-firefox-launcher":"^2.0.0","karma-mocha":"^2.0.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^5.0.0","keypair":"^1.0.4","linkinator":"^4.0.0","mocha":"^9.2.2","mv":"^2.1.1","ncp":"^2.0.0","nock":"^13.0.0","null-loader":"^4.0.0","puppeteer":"^18.0.0","sinon":"^14.0.0","tmp":"^0.2.0","ts-loader":"^8.0.0","typescript":"^4.6.3","webpack":"^5.21.2","webpack-cli":"^4.0.0"},"files":["build/src","!build/src/**/*.map"],"scripts":{"test":"c8 mocha build/test","clean":"gts clean","prepare":"npm run compile","lint":"gts check","compile":"tsc -p .","fix":"gts fix","pretest":"npm run compile","docs":"compodoc src/","samples-setup":"cd samples/ && npm link ../ && npm run setup && cd ../","samples-test":"cd samples/ && npm link ../ && npm test && cd ../","system-test":"mocha build/system-test --timeout 60000","presystem-test":"npm run compile","webpack":"webpack","browser-test":"karma start","docs-test":"linkinator docs","predocs-test":"npm run docs","prelint":"cd samples; npm link ../; npm install","precompile":"gts clean"},"license":"Apache-2.0"}')},87451:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"iam":{"nested":{"v1":{"options":{"cc_enable_arenas":true,"csharp_namespace":"Google.Cloud.Iam.V1","go_package":"google.golang.org/genproto/googleapis/iam/v1;iam","java_multiple_files":true,"java_outer_classname":"PolicyProto","java_package":"com.google.iam.v1","php_namespace":"Google\\\\Cloud\\\\Iam\\\\V1"},"nested":{"IAMPolicy":{"options":{"(google.api.default_host)":"iam-meta-api.googleapis.com"},"methods":{"SetIamPolicy":{"requestType":"SetIamPolicyRequest","responseType":"Policy","options":{"(google.api.http).post":"/v1/{resource=**}:setIamPolicy","(google.api.http).body":"*"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{resource=**}:setIamPolicy","body":"*"}}]},"GetIamPolicy":{"requestType":"GetIamPolicyRequest","responseType":"Policy","options":{"(google.api.http).post":"/v1/{resource=**}:getIamPolicy","(google.api.http).body":"*"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{resource=**}:getIamPolicy","body":"*"}}]},"TestIamPermissions":{"requestType":"TestIamPermissionsRequest","responseType":"TestIamPermissionsResponse","options":{"(google.api.http).post":"/v1/{resource=**}:testIamPermissions","(google.api.http).body":"*"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{resource=**}:testIamPermissions","body":"*"}}]}}},"SetIamPolicyRequest":{"fields":{"resource":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"*"}},"policy":{"type":"Policy","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"GetIamPolicyRequest":{"fields":{"resource":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"*"}},"options":{"type":"GetPolicyOptions","id":2}}},"TestIamPermissionsRequest":{"fields":{"resource":{"type":"string","id":1,"options":{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"*"}},"permissions":{"rule":"repeated","type":"string","id":2,"options":{"(google.api.field_behavior)":"REQUIRED"}}}},"TestIamPermissionsResponse":{"fields":{"permissions":{"rule":"repeated","type":"string","id":1}}},"GetPolicyOptions":{"fields":{"requestedPolicyVersion":{"type":"int32","id":1}}},"Policy":{"fields":{"version":{"type":"int32","id":1},"bindings":{"rule":"repeated","type":"Binding","id":4},"etag":{"type":"bytes","id":3}}},"Binding":{"fields":{"role":{"type":"string","id":1},"members":{"rule":"repeated","type":"string","id":2},"condition":{"type":"google.type.Expr","id":3}}},"PolicyDelta":{"fields":{"bindingDeltas":{"rule":"repeated","type":"BindingDelta","id":1},"auditConfigDeltas":{"rule":"repeated","type":"AuditConfigDelta","id":2}}},"BindingDelta":{"fields":{"action":{"type":"Action","id":1},"role":{"type":"string","id":2},"member":{"type":"string","id":3},"condition":{"type":"google.type.Expr","id":4}},"nested":{"Action":{"values":{"ACTION_UNSPECIFIED":0,"ADD":1,"REMOVE":2}}}},"AuditConfigDelta":{"fields":{"action":{"type":"Action","id":1},"service":{"type":"string","id":2},"exemptedMember":{"type":"string","id":3},"logType":{"type":"string","id":4}},"nested":{"Action":{"values":{"ACTION_UNSPECIFIED":0,"ADD":1,"REMOVE":2}}}},"logging":{"options":{"csharp_namespace":"Google.Cloud.Iam.V1.Logging","go_package":"google.golang.org/genproto/googleapis/iam/v1/logging;logging","java_multiple_files":true,"java_outer_classname":"AuditDataProto","java_package":"com.google.iam.v1.logging"},"nested":{"AuditData":{"fields":{"policyDelta":{"type":"google.iam.v1.PolicyDelta","id":2}}}}}}}}},"api":{"options":{"go_package":"google.golang.org/genproto/googleapis/api/annotations;annotations","java_multiple_files":true,"java_outer_classname":"ResourceProto","java_package":"com.google.api","objc_class_prefix":"GAPI","cc_enable_arenas":true},"nested":{"http":{"type":"HttpRule","id":72295728,"extend":"google.protobuf.MethodOptions"},"Http":{"fields":{"rules":{"rule":"repeated","type":"HttpRule","id":1},"fullyDecodeReservedExpansion":{"type":"bool","id":2}}},"HttpRule":{"oneofs":{"pattern":{"oneof":["get","put","post","delete","patch","custom"]}},"fields":{"selector":{"type":"string","id":1},"get":{"type":"string","id":2},"put":{"type":"string","id":3},"post":{"type":"string","id":4},"delete":{"type":"string","id":5},"patch":{"type":"string","id":6},"custom":{"type":"CustomHttpPattern","id":8},"body":{"type":"string","id":7},"responseBody":{"type":"string","id":12},"additionalBindings":{"rule":"repeated","type":"HttpRule","id":11}}},"CustomHttpPattern":{"fields":{"kind":{"type":"string","id":1},"path":{"type":"string","id":2}}},"methodSignature":{"rule":"repeated","type":"string","id":1051,"extend":"google.protobuf.MethodOptions"},"defaultHost":{"type":"string","id":1049,"extend":"google.protobuf.ServiceOptions"},"oauthScopes":{"type":"string","id":1050,"extend":"google.protobuf.ServiceOptions"},"fieldBehavior":{"rule":"repeated","type":"google.api.FieldBehavior","id":1052,"extend":"google.protobuf.FieldOptions"},"FieldBehavior":{"values":{"FIELD_BEHAVIOR_UNSPECIFIED":0,"OPTIONAL":1,"REQUIRED":2,"OUTPUT_ONLY":3,"INPUT_ONLY":4,"IMMUTABLE":5}},"resourceReference":{"type":"google.api.ResourceReference","id":1055,"extend":"google.protobuf.FieldOptions"},"resourceDefinition":{"rule":"repeated","type":"google.api.ResourceDescriptor","id":1053,"extend":"google.protobuf.FileOptions"},"resource":{"type":"google.api.ResourceDescriptor","id":1053,"extend":"google.protobuf.MessageOptions"},"ResourceDescriptor":{"fields":{"type":{"type":"string","id":1},"pattern":{"rule":"repeated","type":"string","id":2},"nameField":{"type":"string","id":3},"history":{"type":"History","id":4},"plural":{"type":"string","id":5},"singular":{"type":"string","id":6}},"nested":{"History":{"values":{"HISTORY_UNSPECIFIED":0,"ORIGINALLY_SINGLE_PATTERN":1,"FUTURE_MULTI_PATTERN":2}}}},"ResourceReference":{"fields":{"type":{"type":"string","id":1},"childType":{"type":"string","id":2}}}}},"protobuf":{"options":{"go_package":"github.com/golang/protobuf/protoc-gen-go/descriptor;descriptor","java_package":"com.google.protobuf","java_outer_classname":"DescriptorProtos","csharp_namespace":"Google.Protobuf.Reflection","objc_class_prefix":"GPB","cc_enable_arenas":true,"optimize_for":"SPEED"},"nested":{"FileDescriptorSet":{"fields":{"file":{"rule":"repeated","type":"FileDescriptorProto","id":1}}},"FileDescriptorProto":{"fields":{"name":{"type":"string","id":1},"package":{"type":"string","id":2},"dependency":{"rule":"repeated","type":"string","id":3},"publicDependency":{"rule":"repeated","type":"int32","id":10,"options":{"packed":false}},"weakDependency":{"rule":"repeated","type":"int32","id":11,"options":{"packed":false}},"messageType":{"rule":"repeated","type":"DescriptorProto","id":4},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":5},"service":{"rule":"repeated","type":"ServiceDescriptorProto","id":6},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":7},"options":{"type":"FileOptions","id":8},"sourceCodeInfo":{"type":"SourceCodeInfo","id":9},"syntax":{"type":"string","id":12}}},"DescriptorProto":{"fields":{"name":{"type":"string","id":1},"field":{"rule":"repeated","type":"FieldDescriptorProto","id":2},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":6},"nestedType":{"rule":"repeated","type":"DescriptorProto","id":3},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":4},"extensionRange":{"rule":"repeated","type":"ExtensionRange","id":5},"oneofDecl":{"rule":"repeated","type":"OneofDescriptorProto","id":8},"options":{"type":"MessageOptions","id":7},"reservedRange":{"rule":"repeated","type":"ReservedRange","id":9},"reservedName":{"rule":"repeated","type":"string","id":10}},"nested":{"ExtensionRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2},"options":{"type":"ExtensionRangeOptions","id":3}}},"ReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"ExtensionRangeOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"FieldDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":3},"label":{"type":"Label","id":4},"type":{"type":"Type","id":5},"typeName":{"type":"string","id":6},"extendee":{"type":"string","id":2},"defaultValue":{"type":"string","id":7},"oneofIndex":{"type":"int32","id":9},"jsonName":{"type":"string","id":10},"options":{"type":"FieldOptions","id":8},"proto3Optional":{"type":"bool","id":17}},"nested":{"Type":{"values":{"TYPE_DOUBLE":1,"TYPE_FLOAT":2,"TYPE_INT64":3,"TYPE_UINT64":4,"TYPE_INT32":5,"TYPE_FIXED64":6,"TYPE_FIXED32":7,"TYPE_BOOL":8,"TYPE_STRING":9,"TYPE_GROUP":10,"TYPE_MESSAGE":11,"TYPE_BYTES":12,"TYPE_UINT32":13,"TYPE_ENUM":14,"TYPE_SFIXED32":15,"TYPE_SFIXED64":16,"TYPE_SINT32":17,"TYPE_SINT64":18}},"Label":{"values":{"LABEL_OPTIONAL":1,"LABEL_REQUIRED":2,"LABEL_REPEATED":3}}}},"OneofDescriptorProto":{"fields":{"name":{"type":"string","id":1},"options":{"type":"OneofOptions","id":2}}},"EnumDescriptorProto":{"fields":{"name":{"type":"string","id":1},"value":{"rule":"repeated","type":"EnumValueDescriptorProto","id":2},"options":{"type":"EnumOptions","id":3},"reservedRange":{"rule":"repeated","type":"EnumReservedRange","id":4},"reservedName":{"rule":"repeated","type":"string","id":5}},"nested":{"EnumReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"EnumValueDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":2},"options":{"type":"EnumValueOptions","id":3}}},"ServiceDescriptorProto":{"fields":{"name":{"type":"string","id":1},"method":{"rule":"repeated","type":"MethodDescriptorProto","id":2},"options":{"type":"ServiceOptions","id":3}}},"MethodDescriptorProto":{"fields":{"name":{"type":"string","id":1},"inputType":{"type":"string","id":2},"outputType":{"type":"string","id":3},"options":{"type":"MethodOptions","id":4},"clientStreaming":{"type":"bool","id":5,"options":{"default":false}},"serverStreaming":{"type":"bool","id":6,"options":{"default":false}}}},"FileOptions":{"fields":{"javaPackage":{"type":"string","id":1},"javaOuterClassname":{"type":"string","id":8},"javaMultipleFiles":{"type":"bool","id":10,"options":{"default":false}},"javaGenerateEqualsAndHash":{"type":"bool","id":20,"options":{"deprecated":true}},"javaStringCheckUtf8":{"type":"bool","id":27,"options":{"default":false}},"optimizeFor":{"type":"OptimizeMode","id":9,"options":{"default":"SPEED"}},"goPackage":{"type":"string","id":11},"ccGenericServices":{"type":"bool","id":16,"options":{"default":false}},"javaGenericServices":{"type":"bool","id":17,"options":{"default":false}},"pyGenericServices":{"type":"bool","id":18,"options":{"default":false}},"phpGenericServices":{"type":"bool","id":42,"options":{"default":false}},"deprecated":{"type":"bool","id":23,"options":{"default":false}},"ccEnableArenas":{"type":"bool","id":31,"options":{"default":true}},"objcClassPrefix":{"type":"string","id":36},"csharpNamespace":{"type":"string","id":37},"swiftPrefix":{"type":"string","id":39},"phpClassPrefix":{"type":"string","id":40},"phpNamespace":{"type":"string","id":41},"phpMetadataNamespace":{"type":"string","id":44},"rubyPackage":{"type":"string","id":45},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[38,38]],"nested":{"OptimizeMode":{"values":{"SPEED":1,"CODE_SIZE":2,"LITE_RUNTIME":3}}}},"MessageOptions":{"fields":{"messageSetWireFormat":{"type":"bool","id":1,"options":{"default":false}},"noStandardDescriptorAccessor":{"type":"bool","id":2,"options":{"default":false}},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"mapEntry":{"type":"bool","id":7},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[8,8],[9,9]]},"FieldOptions":{"fields":{"ctype":{"type":"CType","id":1,"options":{"default":"STRING"}},"packed":{"type":"bool","id":2},"jstype":{"type":"JSType","id":6,"options":{"default":"JS_NORMAL"}},"lazy":{"type":"bool","id":5,"options":{"default":false}},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"weak":{"type":"bool","id":10,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[4,4]],"nested":{"CType":{"values":{"STRING":0,"CORD":1,"STRING_PIECE":2}},"JSType":{"values":{"JS_NORMAL":0,"JS_STRING":1,"JS_NUMBER":2}}}},"OneofOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"EnumOptions":{"fields":{"allowAlias":{"type":"bool","id":2},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[5,5]]},"EnumValueOptions":{"fields":{"deprecated":{"type":"bool","id":1,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"ServiceOptions":{"fields":{"deprecated":{"type":"bool","id":33,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"MethodOptions":{"fields":{"deprecated":{"type":"bool","id":33,"options":{"default":false}},"idempotencyLevel":{"type":"IdempotencyLevel","id":34,"options":{"default":"IDEMPOTENCY_UNKNOWN"}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"nested":{"IdempotencyLevel":{"values":{"IDEMPOTENCY_UNKNOWN":0,"NO_SIDE_EFFECTS":1,"IDEMPOTENT":2}}}},"UninterpretedOption":{"fields":{"name":{"rule":"repeated","type":"NamePart","id":2},"identifierValue":{"type":"string","id":3},"positiveIntValue":{"type":"uint64","id":4},"negativeIntValue":{"type":"int64","id":5},"doubleValue":{"type":"double","id":6},"stringValue":{"type":"bytes","id":7},"aggregateValue":{"type":"string","id":8}},"nested":{"NamePart":{"fields":{"namePart":{"rule":"required","type":"string","id":1},"isExtension":{"rule":"required","type":"bool","id":2}}}}},"SourceCodeInfo":{"fields":{"location":{"rule":"repeated","type":"Location","id":1}},"nested":{"Location":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"span":{"rule":"repeated","type":"int32","id":2},"leadingComments":{"type":"string","id":3},"trailingComments":{"type":"string","id":4},"leadingDetachedComments":{"rule":"repeated","type":"string","id":6}}}}},"GeneratedCodeInfo":{"fields":{"annotation":{"rule":"repeated","type":"Annotation","id":1}},"nested":{"Annotation":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"sourceFile":{"type":"string","id":2},"begin":{"type":"int32","id":3},"end":{"type":"int32","id":4}}}}}}},"type":{"options":{"go_package":"google.golang.org/genproto/googleapis/type/expr;expr","java_multiple_files":true,"java_outer_classname":"ExprProto","java_package":"com.google.type","objc_class_prefix":"GTP"},"nested":{"Expr":{"fields":{"expression":{"type":"string","id":1},"title":{"type":"string","id":2},"description":{"type":"string","id":3},"location":{"type":"string","id":4}}}}}}}}}')},98676:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"cloud":{"nested":{"location":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/cloud/location;location","java_multiple_files":true,"java_outer_classname":"LocationsProto","java_package":"com.google.cloud.location"},"nested":{"Locations":{"options":{"(google.api.default_host)":"cloud.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform"},"methods":{"ListLocations":{"requestType":"ListLocationsRequest","responseType":"ListLocationsResponse","options":{"(google.api.http).get":"/v1/{name=locations}","(google.api.http).additional_bindings.get":"/v1/{name=projects/*}/locations"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=locations}","additional_bindings":{"get":"/v1/{name=projects/*}/locations"}}}]},"GetLocation":{"requestType":"GetLocationRequest","responseType":"Location","options":{"(google.api.http).get":"/v1/{name=locations/*}","(google.api.http).additional_bindings.get":"/v1/{name=projects/*/locations/*}"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=locations/*}","additional_bindings":{"get":"/v1/{name=projects/*/locations/*}"}}}]}}},"ListLocationsRequest":{"fields":{"name":{"type":"string","id":1},"filter":{"type":"string","id":2},"pageSize":{"type":"int32","id":3},"pageToken":{"type":"string","id":4}}},"ListLocationsResponse":{"fields":{"locations":{"rule":"repeated","type":"Location","id":1},"nextPageToken":{"type":"string","id":2}}},"GetLocationRequest":{"fields":{"name":{"type":"string","id":1}}},"Location":{"fields":{"name":{"type":"string","id":1},"locationId":{"type":"string","id":4},"displayName":{"type":"string","id":5},"labels":{"keyType":"string","type":"string","id":2},"metadata":{"type":"google.protobuf.Any","id":3}}}}}}},"api":{"options":{"go_package":"google.golang.org/genproto/googleapis/api/annotations;annotations","java_multiple_files":true,"java_outer_classname":"ClientProto","java_package":"com.google.api","objc_class_prefix":"GAPI","cc_enable_arenas":true},"nested":{"http":{"type":"HttpRule","id":72295728,"extend":"google.protobuf.MethodOptions"},"Http":{"fields":{"rules":{"rule":"repeated","type":"HttpRule","id":1},"fullyDecodeReservedExpansion":{"type":"bool","id":2}}},"HttpRule":{"oneofs":{"pattern":{"oneof":["get","put","post","delete","patch","custom"]}},"fields":{"selector":{"type":"string","id":1},"get":{"type":"string","id":2},"put":{"type":"string","id":3},"post":{"type":"string","id":4},"delete":{"type":"string","id":5},"patch":{"type":"string","id":6},"custom":{"type":"CustomHttpPattern","id":8},"body":{"type":"string","id":7},"responseBody":{"type":"string","id":12},"additionalBindings":{"rule":"repeated","type":"HttpRule","id":11}}},"CustomHttpPattern":{"fields":{"kind":{"type":"string","id":1},"path":{"type":"string","id":2}}},"methodSignature":{"rule":"repeated","type":"string","id":1051,"extend":"google.protobuf.MethodOptions"},"defaultHost":{"type":"string","id":1049,"extend":"google.protobuf.ServiceOptions"},"oauthScopes":{"type":"string","id":1050,"extend":"google.protobuf.ServiceOptions"}}},"protobuf":{"options":{"go_package":"google.golang.org/protobuf/types/descriptorpb","java_package":"com.google.protobuf","java_outer_classname":"DescriptorProtos","csharp_namespace":"Google.Protobuf.Reflection","objc_class_prefix":"GPB","cc_enable_arenas":true,"optimize_for":"SPEED"},"nested":{"FileDescriptorSet":{"fields":{"file":{"rule":"repeated","type":"FileDescriptorProto","id":1}}},"FileDescriptorProto":{"fields":{"name":{"type":"string","id":1},"package":{"type":"string","id":2},"dependency":{"rule":"repeated","type":"string","id":3},"publicDependency":{"rule":"repeated","type":"int32","id":10,"options":{"packed":false}},"weakDependency":{"rule":"repeated","type":"int32","id":11,"options":{"packed":false}},"messageType":{"rule":"repeated","type":"DescriptorProto","id":4},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":5},"service":{"rule":"repeated","type":"ServiceDescriptorProto","id":6},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":7},"options":{"type":"FileOptions","id":8},"sourceCodeInfo":{"type":"SourceCodeInfo","id":9},"syntax":{"type":"string","id":12}}},"DescriptorProto":{"fields":{"name":{"type":"string","id":1},"field":{"rule":"repeated","type":"FieldDescriptorProto","id":2},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":6},"nestedType":{"rule":"repeated","type":"DescriptorProto","id":3},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":4},"extensionRange":{"rule":"repeated","type":"ExtensionRange","id":5},"oneofDecl":{"rule":"repeated","type":"OneofDescriptorProto","id":8},"options":{"type":"MessageOptions","id":7},"reservedRange":{"rule":"repeated","type":"ReservedRange","id":9},"reservedName":{"rule":"repeated","type":"string","id":10}},"nested":{"ExtensionRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2},"options":{"type":"ExtensionRangeOptions","id":3}}},"ReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"ExtensionRangeOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"FieldDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":3},"label":{"type":"Label","id":4},"type":{"type":"Type","id":5},"typeName":{"type":"string","id":6},"extendee":{"type":"string","id":2},"defaultValue":{"type":"string","id":7},"oneofIndex":{"type":"int32","id":9},"jsonName":{"type":"string","id":10},"options":{"type":"FieldOptions","id":8},"proto3Optional":{"type":"bool","id":17}},"nested":{"Type":{"values":{"TYPE_DOUBLE":1,"TYPE_FLOAT":2,"TYPE_INT64":3,"TYPE_UINT64":4,"TYPE_INT32":5,"TYPE_FIXED64":6,"TYPE_FIXED32":7,"TYPE_BOOL":8,"TYPE_STRING":9,"TYPE_GROUP":10,"TYPE_MESSAGE":11,"TYPE_BYTES":12,"TYPE_UINT32":13,"TYPE_ENUM":14,"TYPE_SFIXED32":15,"TYPE_SFIXED64":16,"TYPE_SINT32":17,"TYPE_SINT64":18}},"Label":{"values":{"LABEL_OPTIONAL":1,"LABEL_REQUIRED":2,"LABEL_REPEATED":3}}}},"OneofDescriptorProto":{"fields":{"name":{"type":"string","id":1},"options":{"type":"OneofOptions","id":2}}},"EnumDescriptorProto":{"fields":{"name":{"type":"string","id":1},"value":{"rule":"repeated","type":"EnumValueDescriptorProto","id":2},"options":{"type":"EnumOptions","id":3},"reservedRange":{"rule":"repeated","type":"EnumReservedRange","id":4},"reservedName":{"rule":"repeated","type":"string","id":5}},"nested":{"EnumReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"EnumValueDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":2},"options":{"type":"EnumValueOptions","id":3}}},"ServiceDescriptorProto":{"fields":{"name":{"type":"string","id":1},"method":{"rule":"repeated","type":"MethodDescriptorProto","id":2},"options":{"type":"ServiceOptions","id":3}}},"MethodDescriptorProto":{"fields":{"name":{"type":"string","id":1},"inputType":{"type":"string","id":2},"outputType":{"type":"string","id":3},"options":{"type":"MethodOptions","id":4},"clientStreaming":{"type":"bool","id":5,"options":{"default":false}},"serverStreaming":{"type":"bool","id":6,"options":{"default":false}}}},"FileOptions":{"fields":{"javaPackage":{"type":"string","id":1},"javaOuterClassname":{"type":"string","id":8},"javaMultipleFiles":{"type":"bool","id":10,"options":{"default":false}},"javaGenerateEqualsAndHash":{"type":"bool","id":20,"options":{"deprecated":true}},"javaStringCheckUtf8":{"type":"bool","id":27,"options":{"default":false}},"optimizeFor":{"type":"OptimizeMode","id":9,"options":{"default":"SPEED"}},"goPackage":{"type":"string","id":11},"ccGenericServices":{"type":"bool","id":16,"options":{"default":false}},"javaGenericServices":{"type":"bool","id":17,"options":{"default":false}},"pyGenericServices":{"type":"bool","id":18,"options":{"default":false}},"phpGenericServices":{"type":"bool","id":42,"options":{"default":false}},"deprecated":{"type":"bool","id":23,"options":{"default":false}},"ccEnableArenas":{"type":"bool","id":31,"options":{"default":true}},"objcClassPrefix":{"type":"string","id":36},"csharpNamespace":{"type":"string","id":37},"swiftPrefix":{"type":"string","id":39},"phpClassPrefix":{"type":"string","id":40},"phpNamespace":{"type":"string","id":41},"phpMetadataNamespace":{"type":"string","id":44},"rubyPackage":{"type":"string","id":45},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[38,38]],"nested":{"OptimizeMode":{"values":{"SPEED":1,"CODE_SIZE":2,"LITE_RUNTIME":3}}}},"MessageOptions":{"fields":{"messageSetWireFormat":{"type":"bool","id":1,"options":{"default":false}},"noStandardDescriptorAccessor":{"type":"bool","id":2,"options":{"default":false}},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"mapEntry":{"type":"bool","id":7},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[8,8],[9,9]]},"FieldOptions":{"fields":{"ctype":{"type":"CType","id":1,"options":{"default":"STRING"}},"packed":{"type":"bool","id":2},"jstype":{"type":"JSType","id":6,"options":{"default":"JS_NORMAL"}},"lazy":{"type":"bool","id":5,"options":{"default":false}},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"weak":{"type":"bool","id":10,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[4,4]],"nested":{"CType":{"values":{"STRING":0,"CORD":1,"STRING_PIECE":2}},"JSType":{"values":{"JS_NORMAL":0,"JS_STRING":1,"JS_NUMBER":2}}}},"OneofOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"EnumOptions":{"fields":{"allowAlias":{"type":"bool","id":2},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[5,5]]},"EnumValueOptions":{"fields":{"deprecated":{"type":"bool","id":1,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"ServiceOptions":{"fields":{"deprecated":{"type":"bool","id":33,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"MethodOptions":{"fields":{"deprecated":{"type":"bool","id":33,"options":{"default":false}},"idempotencyLevel":{"type":"IdempotencyLevel","id":34,"options":{"default":"IDEMPOTENCY_UNKNOWN"}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"nested":{"IdempotencyLevel":{"values":{"IDEMPOTENCY_UNKNOWN":0,"NO_SIDE_EFFECTS":1,"IDEMPOTENT":2}}}},"UninterpretedOption":{"fields":{"name":{"rule":"repeated","type":"NamePart","id":2},"identifierValue":{"type":"string","id":3},"positiveIntValue":{"type":"uint64","id":4},"negativeIntValue":{"type":"int64","id":5},"doubleValue":{"type":"double","id":6},"stringValue":{"type":"bytes","id":7},"aggregateValue":{"type":"string","id":8}},"nested":{"NamePart":{"fields":{"namePart":{"rule":"required","type":"string","id":1},"isExtension":{"rule":"required","type":"bool","id":2}}}}},"SourceCodeInfo":{"fields":{"location":{"rule":"repeated","type":"Location","id":1}},"nested":{"Location":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"span":{"rule":"repeated","type":"int32","id":2},"leadingComments":{"type":"string","id":3},"trailingComments":{"type":"string","id":4},"leadingDetachedComments":{"rule":"repeated","type":"string","id":6}}}}},"GeneratedCodeInfo":{"fields":{"annotation":{"rule":"repeated","type":"Annotation","id":1}},"nested":{"Annotation":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"sourceFile":{"type":"string","id":2},"begin":{"type":"int32","id":3},"end":{"type":"int32","id":4}}}}},"Any":{"fields":{"type_url":{"type":"string","id":1},"value":{"type":"bytes","id":2}}}}}}}}}')},37756:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"longrunning":{"options":{"cc_enable_arenas":true,"csharp_namespace":"Google.LongRunning","go_package":"google.golang.org/genproto/googleapis/longrunning;longrunning","java_multiple_files":true,"java_outer_classname":"OperationsProto","java_package":"com.google.longrunning","php_namespace":"Google\\\\LongRunning"},"nested":{"operationInfo":{"type":"google.longrunning.OperationInfo","id":1049,"extend":"google.protobuf.MethodOptions"},"Operations":{"options":{"(google.api.default_host)":"longrunning.googleapis.com"},"methods":{"ListOperations":{"requestType":"ListOperationsRequest","responseType":"ListOperationsResponse","options":{"(google.api.http).get":"/v1/{name=operations}","(google.api.method_signature)":"name,filter"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/{name=operations}"}},{"(google.api.method_signature)":"name,filter"}]},"GetOperation":{"requestType":"GetOperationRequest","responseType":"Operation","options":{"(google.api.http).get":"/v1/operations/{name}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"get":"/v1/operations/{name}"}},{"(google.api.method_signature)":"name"}]},"DeleteOperation":{"requestType":"DeleteOperationRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).delete":"/v1/{name=operations/**}","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"delete":"/v1/{name=operations/**}"}},{"(google.api.method_signature)":"name"}]},"CancelOperation":{"requestType":"CancelOperationRequest","responseType":"google.protobuf.Empty","options":{"(google.api.http).post":"/v1/{name=operations/**}:cancel","(google.api.http).body":"*","(google.api.method_signature)":"name"},"parsedOptions":[{"(google.api.http)":{"post":"/v1/{name=operations/**}:cancel","body":"*"}},{"(google.api.method_signature)":"name"}]},"WaitOperation":{"requestType":"WaitOperationRequest","responseType":"Operation"}}},"Operation":{"oneofs":{"result":{"oneof":["error","response"]}},"fields":{"name":{"type":"string","id":1},"metadata":{"type":"google.protobuf.Any","id":2},"done":{"type":"bool","id":3},"error":{"type":"google.rpc.Status","id":4},"response":{"type":"google.protobuf.Any","id":5}}},"GetOperationRequest":{"fields":{"name":{"type":"string","id":1}}},"ListOperationsRequest":{"fields":{"name":{"type":"string","id":4},"filter":{"type":"string","id":1},"pageSize":{"type":"int32","id":2},"pageToken":{"type":"string","id":3}}},"ListOperationsResponse":{"fields":{"operations":{"rule":"repeated","type":"Operation","id":1},"nextPageToken":{"type":"string","id":2}}},"CancelOperationRequest":{"fields":{"name":{"type":"string","id":1}}},"DeleteOperationRequest":{"fields":{"name":{"type":"string","id":1}}},"WaitOperationRequest":{"fields":{"name":{"type":"string","id":1},"timeout":{"type":"google.protobuf.Duration","id":2}}},"OperationInfo":{"fields":{"responseType":{"type":"string","id":1},"metadataType":{"type":"string","id":2}}}}},"api":{"options":{"go_package":"google.golang.org/genproto/googleapis/api/annotations;annotations","java_multiple_files":true,"java_outer_classname":"ClientProto","java_package":"com.google.api","objc_class_prefix":"GAPI","cc_enable_arenas":true},"nested":{"http":{"type":"HttpRule","id":72295728,"extend":"google.protobuf.MethodOptions"},"Http":{"fields":{"rules":{"rule":"repeated","type":"HttpRule","id":1},"fullyDecodeReservedExpansion":{"type":"bool","id":2}}},"HttpRule":{"oneofs":{"pattern":{"oneof":["get","put","post","delete","patch","custom"]}},"fields":{"selector":{"type":"string","id":1},"get":{"type":"string","id":2},"put":{"type":"string","id":3},"post":{"type":"string","id":4},"delete":{"type":"string","id":5},"patch":{"type":"string","id":6},"custom":{"type":"CustomHttpPattern","id":8},"body":{"type":"string","id":7},"responseBody":{"type":"string","id":12},"additionalBindings":{"rule":"repeated","type":"HttpRule","id":11}}},"CustomHttpPattern":{"fields":{"kind":{"type":"string","id":1},"path":{"type":"string","id":2}}},"methodSignature":{"rule":"repeated","type":"string","id":1051,"extend":"google.protobuf.MethodOptions"},"defaultHost":{"type":"string","id":1049,"extend":"google.protobuf.ServiceOptions"},"oauthScopes":{"type":"string","id":1050,"extend":"google.protobuf.ServiceOptions"}}},"protobuf":{"options":{"go_package":"github.com/golang/protobuf/protoc-gen-go/descriptor;descriptor","java_package":"com.google.protobuf","java_outer_classname":"DescriptorProtos","csharp_namespace":"Google.Protobuf.Reflection","objc_class_prefix":"GPB","cc_enable_arenas":true,"optimize_for":"SPEED"},"nested":{"FileDescriptorSet":{"fields":{"file":{"rule":"repeated","type":"FileDescriptorProto","id":1}}},"FileDescriptorProto":{"fields":{"name":{"type":"string","id":1},"package":{"type":"string","id":2},"dependency":{"rule":"repeated","type":"string","id":3},"publicDependency":{"rule":"repeated","type":"int32","id":10,"options":{"packed":false}},"weakDependency":{"rule":"repeated","type":"int32","id":11,"options":{"packed":false}},"messageType":{"rule":"repeated","type":"DescriptorProto","id":4},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":5},"service":{"rule":"repeated","type":"ServiceDescriptorProto","id":6},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":7},"options":{"type":"FileOptions","id":8},"sourceCodeInfo":{"type":"SourceCodeInfo","id":9},"syntax":{"type":"string","id":12}}},"DescriptorProto":{"fields":{"name":{"type":"string","id":1},"field":{"rule":"repeated","type":"FieldDescriptorProto","id":2},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":6},"nestedType":{"rule":"repeated","type":"DescriptorProto","id":3},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":4},"extensionRange":{"rule":"repeated","type":"ExtensionRange","id":5},"oneofDecl":{"rule":"repeated","type":"OneofDescriptorProto","id":8},"options":{"type":"MessageOptions","id":7},"reservedRange":{"rule":"repeated","type":"ReservedRange","id":9},"reservedName":{"rule":"repeated","type":"string","id":10}},"nested":{"ExtensionRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2},"options":{"type":"ExtensionRangeOptions","id":3}}},"ReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"ExtensionRangeOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"FieldDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":3},"label":{"type":"Label","id":4},"type":{"type":"Type","id":5},"typeName":{"type":"string","id":6},"extendee":{"type":"string","id":2},"defaultValue":{"type":"string","id":7},"oneofIndex":{"type":"int32","id":9},"jsonName":{"type":"string","id":10},"options":{"type":"FieldOptions","id":8},"proto3Optional":{"type":"bool","id":17}},"nested":{"Type":{"values":{"TYPE_DOUBLE":1,"TYPE_FLOAT":2,"TYPE_INT64":3,"TYPE_UINT64":4,"TYPE_INT32":5,"TYPE_FIXED64":6,"TYPE_FIXED32":7,"TYPE_BOOL":8,"TYPE_STRING":9,"TYPE_GROUP":10,"TYPE_MESSAGE":11,"TYPE_BYTES":12,"TYPE_UINT32":13,"TYPE_ENUM":14,"TYPE_SFIXED32":15,"TYPE_SFIXED64":16,"TYPE_SINT32":17,"TYPE_SINT64":18}},"Label":{"values":{"LABEL_OPTIONAL":1,"LABEL_REQUIRED":2,"LABEL_REPEATED":3}}}},"OneofDescriptorProto":{"fields":{"name":{"type":"string","id":1},"options":{"type":"OneofOptions","id":2}}},"EnumDescriptorProto":{"fields":{"name":{"type":"string","id":1},"value":{"rule":"repeated","type":"EnumValueDescriptorProto","id":2},"options":{"type":"EnumOptions","id":3},"reservedRange":{"rule":"repeated","type":"EnumReservedRange","id":4},"reservedName":{"rule":"repeated","type":"string","id":5}},"nested":{"EnumReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"EnumValueDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":2},"options":{"type":"EnumValueOptions","id":3}}},"ServiceDescriptorProto":{"fields":{"name":{"type":"string","id":1},"method":{"rule":"repeated","type":"MethodDescriptorProto","id":2},"options":{"type":"ServiceOptions","id":3}}},"MethodDescriptorProto":{"fields":{"name":{"type":"string","id":1},"inputType":{"type":"string","id":2},"outputType":{"type":"string","id":3},"options":{"type":"MethodOptions","id":4},"clientStreaming":{"type":"bool","id":5,"options":{"default":false}},"serverStreaming":{"type":"bool","id":6,"options":{"default":false}}}},"FileOptions":{"fields":{"javaPackage":{"type":"string","id":1},"javaOuterClassname":{"type":"string","id":8},"javaMultipleFiles":{"type":"bool","id":10,"options":{"default":false}},"javaGenerateEqualsAndHash":{"type":"bool","id":20,"options":{"deprecated":true}},"javaStringCheckUtf8":{"type":"bool","id":27,"options":{"default":false}},"optimizeFor":{"type":"OptimizeMode","id":9,"options":{"default":"SPEED"}},"goPackage":{"type":"string","id":11},"ccGenericServices":{"type":"bool","id":16,"options":{"default":false}},"javaGenericServices":{"type":"bool","id":17,"options":{"default":false}},"pyGenericServices":{"type":"bool","id":18,"options":{"default":false}},"phpGenericServices":{"type":"bool","id":42,"options":{"default":false}},"deprecated":{"type":"bool","id":23,"options":{"default":false}},"ccEnableArenas":{"type":"bool","id":31,"options":{"default":true}},"objcClassPrefix":{"type":"string","id":36},"csharpNamespace":{"type":"string","id":37},"swiftPrefix":{"type":"string","id":39},"phpClassPrefix":{"type":"string","id":40},"phpNamespace":{"type":"string","id":41},"phpMetadataNamespace":{"type":"string","id":44},"rubyPackage":{"type":"string","id":45},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[38,38]],"nested":{"OptimizeMode":{"values":{"SPEED":1,"CODE_SIZE":2,"LITE_RUNTIME":3}}}},"MessageOptions":{"fields":{"messageSetWireFormat":{"type":"bool","id":1,"options":{"default":false}},"noStandardDescriptorAccessor":{"type":"bool","id":2,"options":{"default":false}},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"mapEntry":{"type":"bool","id":7},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[8,8],[9,9]]},"FieldOptions":{"fields":{"ctype":{"type":"CType","id":1,"options":{"default":"STRING"}},"packed":{"type":"bool","id":2},"jstype":{"type":"JSType","id":6,"options":{"default":"JS_NORMAL"}},"lazy":{"type":"bool","id":5,"options":{"default":false}},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"weak":{"type":"bool","id":10,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[4,4]],"nested":{"CType":{"values":{"STRING":0,"CORD":1,"STRING_PIECE":2}},"JSType":{"values":{"JS_NORMAL":0,"JS_STRING":1,"JS_NUMBER":2}}}},"OneofOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"EnumOptions":{"fields":{"allowAlias":{"type":"bool","id":2},"deprecated":{"type":"bool","id":3,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[5,5]]},"EnumValueOptions":{"fields":{"deprecated":{"type":"bool","id":1,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"ServiceOptions":{"fields":{"deprecated":{"type":"bool","id":33,"options":{"default":false}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"MethodOptions":{"fields":{"deprecated":{"type":"bool","id":33,"options":{"default":false}},"idempotencyLevel":{"type":"IdempotencyLevel","id":34,"options":{"default":"IDEMPOTENCY_UNKNOWN"}},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"nested":{"IdempotencyLevel":{"values":{"IDEMPOTENCY_UNKNOWN":0,"NO_SIDE_EFFECTS":1,"IDEMPOTENT":2}}}},"UninterpretedOption":{"fields":{"name":{"rule":"repeated","type":"NamePart","id":2},"identifierValue":{"type":"string","id":3},"positiveIntValue":{"type":"uint64","id":4},"negativeIntValue":{"type":"int64","id":5},"doubleValue":{"type":"double","id":6},"stringValue":{"type":"bytes","id":7},"aggregateValue":{"type":"string","id":8}},"nested":{"NamePart":{"fields":{"namePart":{"rule":"required","type":"string","id":1},"isExtension":{"rule":"required","type":"bool","id":2}}}}},"SourceCodeInfo":{"fields":{"location":{"rule":"repeated","type":"Location","id":1}},"nested":{"Location":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"span":{"rule":"repeated","type":"int32","id":2},"leadingComments":{"type":"string","id":3},"trailingComments":{"type":"string","id":4},"leadingDetachedComments":{"rule":"repeated","type":"string","id":6}}}}},"GeneratedCodeInfo":{"fields":{"annotation":{"rule":"repeated","type":"Annotation","id":1}},"nested":{"Annotation":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"sourceFile":{"type":"string","id":2},"begin":{"type":"int32","id":3},"end":{"type":"int32","id":4}}}}},"Any":{"fields":{"type_url":{"type":"string","id":1},"value":{"type":"bytes","id":2}}},"Duration":{"fields":{"seconds":{"type":"int64","id":1},"nanos":{"type":"int32","id":2}}},"Empty":{"fields":{}}}},"rpc":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/rpc/status;status","java_multiple_files":true,"java_outer_classname":"StatusProto","java_package":"com.google.rpc","objc_class_prefix":"RPC"},"nested":{"Status":{"fields":{"code":{"type":"int32","id":1},"message":{"type":"string","id":2},"details":{"rule":"repeated","type":"google.protobuf.Any","id":3}}}}}}}}}')},58234:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"protobuf":{"nested":{"Any":{"fields":{"type_url":{"type":"string","id":1},"value":{"type":"bytes","id":2}}},"Duration":{"fields":{"seconds":{"type":"int64","id":1},"nanos":{"type":"int32","id":2}}}}},"rpc":{"options":{"cc_enable_arenas":true,"go_package":"google.golang.org/genproto/googleapis/rpc/errdetails;errdetails","java_multiple_files":true,"java_outer_classname":"ErrorDetailsProto","java_package":"com.google.rpc","objc_class_prefix":"RPC"},"nested":{"Status":{"fields":{"code":{"type":"int32","id":1},"message":{"type":"string","id":2},"details":{"rule":"repeated","type":"google.protobuf.Any","id":3}}},"RetryInfo":{"fields":{"retryDelay":{"type":"google.protobuf.Duration","id":1}}},"DebugInfo":{"fields":{"stackEntries":{"rule":"repeated","type":"string","id":1},"detail":{"type":"string","id":2}}},"QuotaFailure":{"fields":{"violations":{"rule":"repeated","type":"Violation","id":1}},"nested":{"Violation":{"fields":{"subject":{"type":"string","id":1},"description":{"type":"string","id":2}}}}},"ErrorInfo":{"fields":{"reason":{"type":"string","id":1},"domain":{"type":"string","id":2},"metadata":{"keyType":"string","type":"string","id":3}}},"PreconditionFailure":{"fields":{"violations":{"rule":"repeated","type":"Violation","id":1}},"nested":{"Violation":{"fields":{"type":{"type":"string","id":1},"subject":{"type":"string","id":2},"description":{"type":"string","id":3}}}}},"BadRequest":{"fields":{"fieldViolations":{"rule":"repeated","type":"FieldViolation","id":1}},"nested":{"FieldViolation":{"fields":{"field":{"type":"string","id":1},"description":{"type":"string","id":2}}}}},"RequestInfo":{"fields":{"requestId":{"type":"string","id":1},"servingData":{"type":"string","id":2}}},"ResourceInfo":{"fields":{"resourceType":{"type":"string","id":1},"resourceName":{"type":"string","id":2},"owner":{"type":"string","id":3},"description":{"type":"string","id":4}}},"Help":{"fields":{"links":{"rule":"repeated","type":"Link","id":1}},"nested":{"Link":{"fields":{"description":{"type":"string","id":1},"url":{"type":"string","id":2}}}}},"LocalizedMessage":{"fields":{"locale":{"type":"string","id":1},"message":{"type":"string","id":2}}}}}}}}}')},9302:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.iam.v1.IAMPolicy":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":20000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":20000,"total_timeout_millis":600000}},"methods":{"GetIamPolicy":{"retry_codes_name":"non_idempotent","retry_params_name":"default"},"SetIamPolicy":{"retry_codes_name":"non_idempotent","retry_params_name":"default"},"TestIamPermissions":{"retry_codes_name":"non_idempotent","retry_params_name":"default"}}}}}')},93661:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.cloud.location.Locations":{"retry_codes":{"non_idempotent":[],"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":60000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":60000,"total_timeout_millis":600000}},"methods":{"ListLocations":{"retry_codes_name":"non_idempotent","retry_params_name":"default"},"GetLocation":{"retry_codes_name":"non_idempotent","retry_params_name":"default"}}}}}')},91739:e=>{"use strict";e.exports=JSON.parse('{"interfaces":{"google.longrunning.Operations":{"retry_codes":{"idempotent":["DEADLINE_EXCEEDED","UNAVAILABLE"],"non_idempotent":[]},"retry_params":{"default":{"initial_retry_delay_millis":100,"retry_delay_multiplier":1.3,"max_retry_delay_millis":60000,"initial_rpc_timeout_millis":90000,"rpc_timeout_multiplier":1,"max_rpc_timeout_millis":90000,"total_timeout_millis":600000}},"methods":{"GetOperation":{"timeout_millis":60000,"retry_codes_name":"idempotent","retry_params_name":"default"},"ListOperations":{"timeout_millis":60000,"retry_codes_name":"idempotent","retry_params_name":"default"},"CancelOperation":{"timeout_millis":60000,"retry_codes_name":"idempotent","retry_params_name":"default"},"DeleteOperation":{"timeout_millis":60000,"retry_codes_name":"idempotent","retry_params_name":"default"}}}}}')},54249:e=>{"use strict";e.exports=JSON.parse('["google/api/annotations.proto","google/api/auth.proto","google/api/backend.proto","google/api/billing.proto","google/api/client.proto","google/api/config_change.proto","google/api/consumer.proto","google/api/context.proto","google/api/control.proto","google/api/distribution.proto","google/api/documentation.proto","google/api/endpoint.proto","google/api/error_reason.proto","google/api/expr/conformance/v1alpha1/conformance_service.proto","google/api/expr/v1alpha1/checked.proto","google/api/expr/v1alpha1/eval.proto","google/api/expr/v1alpha1/explain.proto","google/api/expr/v1alpha1/syntax.proto","google/api/expr/v1alpha1/value.proto","google/api/expr/v1beta1/decl.proto","google/api/expr/v1beta1/eval.proto","google/api/expr/v1beta1/expr.proto","google/api/expr/v1beta1/source.proto","google/api/expr/v1beta1/value.proto","google/api/field_behavior.proto","google/api/http.proto","google/api/httpbody.proto","google/api/label.proto","google/api/launch_stage.proto","google/api/log.proto","google/api/logging.proto","google/api/metric.proto","google/api/monitored_resource.proto","google/api/monitoring.proto","google/api/quota.proto","google/api/resource.proto","google/api/routing.proto","google/api/service.proto","google/api/servicecontrol/v1/check_error.proto","google/api/servicecontrol/v1/distribution.proto","google/api/servicecontrol/v1/http_request.proto","google/api/servicecontrol/v1/log_entry.proto","google/api/servicecontrol/v1/metric_value.proto","google/api/servicecontrol/v1/operation.proto","google/api/servicecontrol/v1/quota_controller.proto","google/api/servicecontrol/v1/service_controller.proto","google/api/servicemanagement/v1/resources.proto","google/api/servicemanagement/v1/servicemanager.proto","google/api/serviceusage/v1/resources.proto","google/api/serviceusage/v1/serviceusage.proto","google/api/serviceusage/v1beta1/resources.proto","google/api/serviceusage/v1beta1/serviceusage.proto","google/api/source_info.proto","google/api/system_parameter.proto","google/api/usage.proto","google/api/visibility.proto","google/cloud/location/locations.proto","google/iam/v1/iam_policy.proto","google/iam/v1/logging/audit_data.proto","google/iam/v1/options.proto","google/iam/v1/policy.proto","google/logging/type/http_request.proto","google/logging/type/log_severity.proto","google/longrunning/operations.proto","google/monitoring/v3/alert.proto","google/monitoring/v3/alert_service.proto","google/monitoring/v3/common.proto","google/monitoring/v3/dropped_labels.proto","google/monitoring/v3/group.proto","google/monitoring/v3/group_service.proto","google/monitoring/v3/metric.proto","google/monitoring/v3/metric_service.proto","google/monitoring/v3/mutation_record.proto","google/monitoring/v3/notification.proto","google/monitoring/v3/notification_service.proto","google/monitoring/v3/query_service.proto","google/monitoring/v3/service.proto","google/monitoring/v3/service_service.proto","google/monitoring/v3/span_context.proto","google/monitoring/v3/uptime.proto","google/monitoring/v3/uptime_service.proto","google/protobuf/any.proto","google/protobuf/api.proto","google/protobuf/compiler/plugin.proto","google/protobuf/compiler/ruby/ruby_generated_code.proto","google/protobuf/compiler/ruby/ruby_generated_code_proto2.proto","google/protobuf/compiler/ruby/ruby_generated_code_proto2_import.proto","google/protobuf/compiler/ruby/ruby_generated_pkg_explicit.proto","google/protobuf/compiler/ruby/ruby_generated_pkg_explicit_legacy.proto","google/protobuf/compiler/ruby/ruby_generated_pkg_implicit.proto","google/protobuf/descriptor.proto","google/protobuf/duration.proto","google/protobuf/empty.proto","google/protobuf/field_mask.proto","google/protobuf/source_context.proto","google/protobuf/struct.proto","google/protobuf/timestamp.proto","google/protobuf/type.proto","google/protobuf/util/json_format.proto","google/protobuf/util/json_format_proto3.proto","google/protobuf/wrappers.proto","google/rpc/code.proto","google/rpc/context/attribute_context.proto","google/rpc/error_details.proto","google/rpc/status.proto","google/type/calendar_period.proto","google/type/color.proto","google/type/date.proto","google/type/datetime.proto","google/type/dayofweek.proto","google/type/decimal.proto","google/type/expr.proto","google/type/fraction.proto","google/type/interval.proto","google/type/latlng.proto","google/type/localized_text.proto","google/type/money.proto","google/type/month.proto","google/type/phone_number.proto","google/type/postal_address.proto","google/type/quaternion.proto","google/type/timeofday.proto"]')},54357:e=>{"use strict";e.exports={version:"3.5.2"}},66450:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},60769:e=>{"use strict";e.exports=JSON.parse('{"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomsvc+xml":["atomsvc"],"application/bdoc":["bdoc"],"application/ccxml+xml":["ccxml"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/font-tdpfr":["pfr"],"application/font-woff":[],"application/font-woff2":[],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/prs.cww":["cww"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":[],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":[],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":[],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":[],"application/x-msdownload":["com","bat"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["wmf","emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":[],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"application/xaml+xml":["xaml"],"application/xcap-diff+xml":["xdf"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":[],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mp3":[],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/wav":["wav"],"audio/wave":[],"audio/webm":["weba"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":[],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":[],"audio/x-wav":[],"audio/xm":["xm"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/g3fax":["g3"],"image/gif":["gif"],"image/ief":["ief"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/ktx":["ktx"],"image/png":["png"],"image/prs.btif":["btif"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/tiff":["tiff","tif"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":[],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/webp":["webp"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":[],"image/x-pcx":["pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/rfc822":["eml","mime"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.vtu":["vtu"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["x3db","x3dbz"],"model/x3d+vrml":["x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/hjson":["hjson"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/prs.lines.tag":["dsc"],"text/richtext":["rtx"],"text/rtf":[],"text/sgml":["sgml","sgm"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/vtt":["vtt"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":[],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"text/xml":[],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/webm":["webm"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}')},25043:e=>{"use strict";e.exports=JSON.parse('{"name":"openai","version":"3.1.0","description":"Node.js library for the OpenAI API","repository":{"type":"git","url":"git@github.com:openai/openai-node.git"},"keywords":["openai","open","ai","gpt-3","gpt3"],"author":"OpenAI","license":"MIT","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"tsc --outDir dist/"},"dependencies":{"axios":"^0.26.0","form-data":"^4.0.0"},"devDependencies":{"@types/node":"^12.11.5","typescript":"^3.6.4"}}')},71903:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"protobuf":{"nested":{"Api":{"fields":{"name":{"type":"string","id":1},"methods":{"rule":"repeated","type":"Method","id":2},"options":{"rule":"repeated","type":"Option","id":3},"version":{"type":"string","id":4},"sourceContext":{"type":"SourceContext","id":5},"mixins":{"rule":"repeated","type":"Mixin","id":6},"syntax":{"type":"Syntax","id":7}}},"Method":{"fields":{"name":{"type":"string","id":1},"requestTypeUrl":{"type":"string","id":2},"requestStreaming":{"type":"bool","id":3},"responseTypeUrl":{"type":"string","id":4},"responseStreaming":{"type":"bool","id":5},"options":{"rule":"repeated","type":"Option","id":6},"syntax":{"type":"Syntax","id":7}}},"Mixin":{"fields":{"name":{"type":"string","id":1},"root":{"type":"string","id":2}}},"SourceContext":{"fields":{"fileName":{"type":"string","id":1}}},"Option":{"fields":{"name":{"type":"string","id":1},"value":{"type":"Any","id":2}}},"Syntax":{"values":{"SYNTAX_PROTO2":0,"SYNTAX_PROTO3":1}}}}}}}}')},32186:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"protobuf":{"nested":{"FileDescriptorSet":{"fields":{"file":{"rule":"repeated","type":"FileDescriptorProto","id":1}}},"FileDescriptorProto":{"fields":{"name":{"type":"string","id":1},"package":{"type":"string","id":2},"dependency":{"rule":"repeated","type":"string","id":3},"publicDependency":{"rule":"repeated","type":"int32","id":10,"options":{"packed":false}},"weakDependency":{"rule":"repeated","type":"int32","id":11,"options":{"packed":false}},"messageType":{"rule":"repeated","type":"DescriptorProto","id":4},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":5},"service":{"rule":"repeated","type":"ServiceDescriptorProto","id":6},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":7},"options":{"type":"FileOptions","id":8},"sourceCodeInfo":{"type":"SourceCodeInfo","id":9},"syntax":{"type":"string","id":12}}},"DescriptorProto":{"fields":{"name":{"type":"string","id":1},"field":{"rule":"repeated","type":"FieldDescriptorProto","id":2},"extension":{"rule":"repeated","type":"FieldDescriptorProto","id":6},"nestedType":{"rule":"repeated","type":"DescriptorProto","id":3},"enumType":{"rule":"repeated","type":"EnumDescriptorProto","id":4},"extensionRange":{"rule":"repeated","type":"ExtensionRange","id":5},"oneofDecl":{"rule":"repeated","type":"OneofDescriptorProto","id":8},"options":{"type":"MessageOptions","id":7},"reservedRange":{"rule":"repeated","type":"ReservedRange","id":9},"reservedName":{"rule":"repeated","type":"string","id":10}},"nested":{"ExtensionRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}},"ReservedRange":{"fields":{"start":{"type":"int32","id":1},"end":{"type":"int32","id":2}}}}},"FieldDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":3},"label":{"type":"Label","id":4},"type":{"type":"Type","id":5},"typeName":{"type":"string","id":6},"extendee":{"type":"string","id":2},"defaultValue":{"type":"string","id":7},"oneofIndex":{"type":"int32","id":9},"jsonName":{"type":"string","id":10},"options":{"type":"FieldOptions","id":8}},"nested":{"Type":{"values":{"TYPE_DOUBLE":1,"TYPE_FLOAT":2,"TYPE_INT64":3,"TYPE_UINT64":4,"TYPE_INT32":5,"TYPE_FIXED64":6,"TYPE_FIXED32":7,"TYPE_BOOL":8,"TYPE_STRING":9,"TYPE_GROUP":10,"TYPE_MESSAGE":11,"TYPE_BYTES":12,"TYPE_UINT32":13,"TYPE_ENUM":14,"TYPE_SFIXED32":15,"TYPE_SFIXED64":16,"TYPE_SINT32":17,"TYPE_SINT64":18}},"Label":{"values":{"LABEL_OPTIONAL":1,"LABEL_REQUIRED":2,"LABEL_REPEATED":3}}}},"OneofDescriptorProto":{"fields":{"name":{"type":"string","id":1},"options":{"type":"OneofOptions","id":2}}},"EnumDescriptorProto":{"fields":{"name":{"type":"string","id":1},"value":{"rule":"repeated","type":"EnumValueDescriptorProto","id":2},"options":{"type":"EnumOptions","id":3}}},"EnumValueDescriptorProto":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":2},"options":{"type":"EnumValueOptions","id":3}}},"ServiceDescriptorProto":{"fields":{"name":{"type":"string","id":1},"method":{"rule":"repeated","type":"MethodDescriptorProto","id":2},"options":{"type":"ServiceOptions","id":3}}},"MethodDescriptorProto":{"fields":{"name":{"type":"string","id":1},"inputType":{"type":"string","id":2},"outputType":{"type":"string","id":3},"options":{"type":"MethodOptions","id":4},"clientStreaming":{"type":"bool","id":5},"serverStreaming":{"type":"bool","id":6}}},"FileOptions":{"fields":{"javaPackage":{"type":"string","id":1},"javaOuterClassname":{"type":"string","id":8},"javaMultipleFiles":{"type":"bool","id":10},"javaGenerateEqualsAndHash":{"type":"bool","id":20,"options":{"deprecated":true}},"javaStringCheckUtf8":{"type":"bool","id":27},"optimizeFor":{"type":"OptimizeMode","id":9,"options":{"default":"SPEED"}},"goPackage":{"type":"string","id":11},"ccGenericServices":{"type":"bool","id":16},"javaGenericServices":{"type":"bool","id":17},"pyGenericServices":{"type":"bool","id":18},"deprecated":{"type":"bool","id":23},"ccEnableArenas":{"type":"bool","id":31},"objcClassPrefix":{"type":"string","id":36},"csharpNamespace":{"type":"string","id":37},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[38,38]],"nested":{"OptimizeMode":{"values":{"SPEED":1,"CODE_SIZE":2,"LITE_RUNTIME":3}}}},"MessageOptions":{"fields":{"messageSetWireFormat":{"type":"bool","id":1},"noStandardDescriptorAccessor":{"type":"bool","id":2},"deprecated":{"type":"bool","id":3},"mapEntry":{"type":"bool","id":7},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[8,8]]},"FieldOptions":{"fields":{"ctype":{"type":"CType","id":1,"options":{"default":"STRING"}},"packed":{"type":"bool","id":2},"jstype":{"type":"JSType","id":6,"options":{"default":"JS_NORMAL"}},"lazy":{"type":"bool","id":5},"deprecated":{"type":"bool","id":3},"weak":{"type":"bool","id":10},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]],"reserved":[[4,4]],"nested":{"CType":{"values":{"STRING":0,"CORD":1,"STRING_PIECE":2}},"JSType":{"values":{"JS_NORMAL":0,"JS_STRING":1,"JS_NUMBER":2}}}},"OneofOptions":{"fields":{"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"EnumOptions":{"fields":{"allowAlias":{"type":"bool","id":2},"deprecated":{"type":"bool","id":3},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"EnumValueOptions":{"fields":{"deprecated":{"type":"bool","id":1},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"ServiceOptions":{"fields":{"deprecated":{"type":"bool","id":33},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"MethodOptions":{"fields":{"deprecated":{"type":"bool","id":33},"uninterpretedOption":{"rule":"repeated","type":"UninterpretedOption","id":999}},"extensions":[[1000,536870911]]},"UninterpretedOption":{"fields":{"name":{"rule":"repeated","type":"NamePart","id":2},"identifierValue":{"type":"string","id":3},"positiveIntValue":{"type":"uint64","id":4},"negativeIntValue":{"type":"int64","id":5},"doubleValue":{"type":"double","id":6},"stringValue":{"type":"bytes","id":7},"aggregateValue":{"type":"string","id":8}},"nested":{"NamePart":{"fields":{"namePart":{"rule":"required","type":"string","id":1},"isExtension":{"rule":"required","type":"bool","id":2}}}}},"SourceCodeInfo":{"fields":{"location":{"rule":"repeated","type":"Location","id":1}},"nested":{"Location":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"span":{"rule":"repeated","type":"int32","id":2},"leadingComments":{"type":"string","id":3},"trailingComments":{"type":"string","id":4},"leadingDetachedComments":{"rule":"repeated","type":"string","id":6}}}}},"GeneratedCodeInfo":{"fields":{"annotation":{"rule":"repeated","type":"Annotation","id":1}},"nested":{"Annotation":{"fields":{"path":{"rule":"repeated","type":"int32","id":1},"sourceFile":{"type":"string","id":2},"begin":{"type":"int32","id":3},"end":{"type":"int32","id":4}}}}}}}}}}}')},37887:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"protobuf":{"nested":{"SourceContext":{"fields":{"fileName":{"type":"string","id":1}}}}}}}}}')},20743:e=>{"use strict";e.exports=JSON.parse('{"nested":{"google":{"nested":{"protobuf":{"nested":{"Type":{"fields":{"name":{"type":"string","id":1},"fields":{"rule":"repeated","type":"Field","id":2},"oneofs":{"rule":"repeated","type":"string","id":3},"options":{"rule":"repeated","type":"Option","id":4},"sourceContext":{"type":"SourceContext","id":5},"syntax":{"type":"Syntax","id":6}}},"Field":{"fields":{"kind":{"type":"Kind","id":1},"cardinality":{"type":"Cardinality","id":2},"number":{"type":"int32","id":3},"name":{"type":"string","id":4},"typeUrl":{"type":"string","id":6},"oneofIndex":{"type":"int32","id":7},"packed":{"type":"bool","id":8},"options":{"rule":"repeated","type":"Option","id":9},"jsonName":{"type":"string","id":10},"defaultValue":{"type":"string","id":11}},"nested":{"Kind":{"values":{"TYPE_UNKNOWN":0,"TYPE_DOUBLE":1,"TYPE_FLOAT":2,"TYPE_INT64":3,"TYPE_UINT64":4,"TYPE_INT32":5,"TYPE_FIXED64":6,"TYPE_FIXED32":7,"TYPE_BOOL":8,"TYPE_STRING":9,"TYPE_GROUP":10,"TYPE_MESSAGE":11,"TYPE_BYTES":12,"TYPE_UINT32":13,"TYPE_ENUM":14,"TYPE_SFIXED32":15,"TYPE_SFIXED64":16,"TYPE_SINT32":17,"TYPE_SINT64":18}},"Cardinality":{"values":{"CARDINALITY_UNKNOWN":0,"CARDINALITY_OPTIONAL":1,"CARDINALITY_REQUIRED":2,"CARDINALITY_REPEATED":3}}}},"Enum":{"fields":{"name":{"type":"string","id":1},"enumvalue":{"rule":"repeated","type":"EnumValue","id":2},"options":{"rule":"repeated","type":"Option","id":3},"sourceContext":{"type":"SourceContext","id":4},"syntax":{"type":"Syntax","id":5}}},"EnumValue":{"fields":{"name":{"type":"string","id":1},"number":{"type":"int32","id":2},"options":{"rule":"repeated","type":"Option","id":3}}},"Option":{"fields":{"name":{"type":"string","id":1},"value":{"type":"Any","id":2}}},"Syntax":{"values":{"SYNTAX_PROTO2":0,"SYNTAX_PROTO3":1}},"Any":{"fields":{"type_url":{"type":"string","id":1},"value":{"type":"bytes","id":2}}},"SourceContext":{"fields":{"fileName":{"type":"string","id":1}}}}}}}}}')},86160:e=>{"use strict";e.exports=JSON.parse('{"name":"superagent","version":"3.8.1","description":"elegant & feature rich browser / node HTTP with a fluent API","scripts":{"prepare":"make all","test":"make test"},"keywords":["http","ajax","request","agent"],"license":"MIT","author":"TJ Holowaychuk ","contributors":["Kornel Lesiński ","Peter Lyons ","Hunter Loftis "],"repository":{"type":"git","url":"git://github.com/visionmedia/superagent.git"},"dependencies":{"component-emitter":"^1.2.0","cookiejar":"^2.1.0","debug":"^3.1.0","extend":"^3.0.0","form-data":"^2.3.1","formidable":"^1.1.1","methods":"^1.1.1","mime":"^1.4.1","qs":"^6.5.1","readable-stream":"^2.0.5"},"devDependencies":{"Base64":"^1.0.1","basic-auth-connect":"^1.0.0","body-parser":"^1.18.2","browserify":"^14.1.0","cookie-parser":"^1.4.3","express":"^4.16.0","express-session":"^1.15.6","marked":"^0.3.6","mocha":"^3.5.3","multer":"^1.3.0","should":"^11.2.0","should-http":"^0.1.1","zuul":"^3.11.1"},"browser":{"./lib/node/index.js":"./lib/client.js","./test/support/server.js":"./test/support/blank.js"},"component":{"scripts":{"superagent":"lib/client.js"}},"main":"./lib/node/index.js","engines":{"node":">= 4.0"}}')},53198:e=>{"use strict";e.exports=JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"],[[47,47],"disallowed_STD3_valid"],[[48,57],"valid"],[[58,64],"disallowed_STD3_valid"],[[65,65],"mapped",[97]],[[66,66],"mapped",[98]],[[67,67],"mapped",[99]],[[68,68],"mapped",[100]],[[69,69],"mapped",[101]],[[70,70],"mapped",[102]],[[71,71],"mapped",[103]],[[72,72],"mapped",[104]],[[73,73],"mapped",[105]],[[74,74],"mapped",[106]],[[75,75],"mapped",[107]],[[76,76],"mapped",[108]],[[77,77],"mapped",[109]],[[78,78],"mapped",[110]],[[79,79],"mapped",[111]],[[80,80],"mapped",[112]],[[81,81],"mapped",[113]],[[82,82],"mapped",[114]],[[83,83],"mapped",[115]],[[84,84],"mapped",[116]],[[85,85],"mapped",[117]],[[86,86],"mapped",[118]],[[87,87],"mapped",[119]],[[88,88],"mapped",[120]],[[89,89],"mapped",[121]],[[90,90],"mapped",[122]],[[91,96],"disallowed_STD3_valid"],[[97,122],"valid"],[[123,127],"disallowed_STD3_valid"],[[128,159],"disallowed"],[[160,160],"disallowed_STD3_mapped",[32]],[[161,167],"valid",[],"NV8"],[[168,168],"disallowed_STD3_mapped",[32,776]],[[169,169],"valid",[],"NV8"],[[170,170],"mapped",[97]],[[171,172],"valid",[],"NV8"],[[173,173],"ignored"],[[174,174],"valid",[],"NV8"],[[175,175],"disallowed_STD3_mapped",[32,772]],[[176,177],"valid",[],"NV8"],[[178,178],"mapped",[50]],[[179,179],"mapped",[51]],[[180,180],"disallowed_STD3_mapped",[32,769]],[[181,181],"mapped",[956]],[[182,182],"valid",[],"NV8"],[[183,183],"valid"],[[184,184],"disallowed_STD3_mapped",[32,807]],[[185,185],"mapped",[49]],[[186,186],"mapped",[111]],[[187,187],"valid",[],"NV8"],[[188,188],"mapped",[49,8260,52]],[[189,189],"mapped",[49,8260,50]],[[190,190],"mapped",[51,8260,52]],[[191,191],"valid",[],"NV8"],[[192,192],"mapped",[224]],[[193,193],"mapped",[225]],[[194,194],"mapped",[226]],[[195,195],"mapped",[227]],[[196,196],"mapped",[228]],[[197,197],"mapped",[229]],[[198,198],"mapped",[230]],[[199,199],"mapped",[231]],[[200,200],"mapped",[232]],[[201,201],"mapped",[233]],[[202,202],"mapped",[234]],[[203,203],"mapped",[235]],[[204,204],"mapped",[236]],[[205,205],"mapped",[237]],[[206,206],"mapped",[238]],[[207,207],"mapped",[239]],[[208,208],"mapped",[240]],[[209,209],"mapped",[241]],[[210,210],"mapped",[242]],[[211,211],"mapped",[243]],[[212,212],"mapped",[244]],[[213,213],"mapped",[245]],[[214,214],"mapped",[246]],[[215,215],"valid",[],"NV8"],[[216,216],"mapped",[248]],[[217,217],"mapped",[249]],[[218,218],"mapped",[250]],[[219,219],"mapped",[251]],[[220,220],"mapped",[252]],[[221,221],"mapped",[253]],[[222,222],"mapped",[254]],[[223,223],"deviation",[115,115]],[[224,246],"valid"],[[247,247],"valid",[],"NV8"],[[248,255],"valid"],[[256,256],"mapped",[257]],[[257,257],"valid"],[[258,258],"mapped",[259]],[[259,259],"valid"],[[260,260],"mapped",[261]],[[261,261],"valid"],[[262,262],"mapped",[263]],[[263,263],"valid"],[[264,264],"mapped",[265]],[[265,265],"valid"],[[266,266],"mapped",[267]],[[267,267],"valid"],[[268,268],"mapped",[269]],[[269,269],"valid"],[[270,270],"mapped",[271]],[[271,271],"valid"],[[272,272],"mapped",[273]],[[273,273],"valid"],[[274,274],"mapped",[275]],[[275,275],"valid"],[[276,276],"mapped",[277]],[[277,277],"valid"],[[278,278],"mapped",[279]],[[279,279],"valid"],[[280,280],"mapped",[281]],[[281,281],"valid"],[[282,282],"mapped",[283]],[[283,283],"valid"],[[284,284],"mapped",[285]],[[285,285],"valid"],[[286,286],"mapped",[287]],[[287,287],"valid"],[[288,288],"mapped",[289]],[[289,289],"valid"],[[290,290],"mapped",[291]],[[291,291],"valid"],[[292,292],"mapped",[293]],[[293,293],"valid"],[[294,294],"mapped",[295]],[[295,295],"valid"],[[296,296],"mapped",[297]],[[297,297],"valid"],[[298,298],"mapped",[299]],[[299,299],"valid"],[[300,300],"mapped",[301]],[[301,301],"valid"],[[302,302],"mapped",[303]],[[303,303],"valid"],[[304,304],"mapped",[105,775]],[[305,305],"valid"],[[306,307],"mapped",[105,106]],[[308,308],"mapped",[309]],[[309,309],"valid"],[[310,310],"mapped",[311]],[[311,312],"valid"],[[313,313],"mapped",[314]],[[314,314],"valid"],[[315,315],"mapped",[316]],[[316,316],"valid"],[[317,317],"mapped",[318]],[[318,318],"valid"],[[319,320],"mapped",[108,183]],[[321,321],"mapped",[322]],[[322,322],"valid"],[[323,323],"mapped",[324]],[[324,324],"valid"],[[325,325],"mapped",[326]],[[326,326],"valid"],[[327,327],"mapped",[328]],[[328,328],"valid"],[[329,329],"mapped",[700,110]],[[330,330],"mapped",[331]],[[331,331],"valid"],[[332,332],"mapped",[333]],[[333,333],"valid"],[[334,334],"mapped",[335]],[[335,335],"valid"],[[336,336],"mapped",[337]],[[337,337],"valid"],[[338,338],"mapped",[339]],[[339,339],"valid"],[[340,340],"mapped",[341]],[[341,341],"valid"],[[342,342],"mapped",[343]],[[343,343],"valid"],[[344,344],"mapped",[345]],[[345,345],"valid"],[[346,346],"mapped",[347]],[[347,347],"valid"],[[348,348],"mapped",[349]],[[349,349],"valid"],[[350,350],"mapped",[351]],[[351,351],"valid"],[[352,352],"mapped",[353]],[[353,353],"valid"],[[354,354],"mapped",[355]],[[355,355],"valid"],[[356,356],"mapped",[357]],[[357,357],"valid"],[[358,358],"mapped",[359]],[[359,359],"valid"],[[360,360],"mapped",[361]],[[361,361],"valid"],[[362,362],"mapped",[363]],[[363,363],"valid"],[[364,364],"mapped",[365]],[[365,365],"valid"],[[366,366],"mapped",[367]],[[367,367],"valid"],[[368,368],"mapped",[369]],[[369,369],"valid"],[[370,370],"mapped",[371]],[[371,371],"valid"],[[372,372],"mapped",[373]],[[373,373],"valid"],[[374,374],"mapped",[375]],[[375,375],"valid"],[[376,376],"mapped",[255]],[[377,377],"mapped",[378]],[[378,378],"valid"],[[379,379],"mapped",[380]],[[380,380],"valid"],[[381,381],"mapped",[382]],[[382,382],"valid"],[[383,383],"mapped",[115]],[[384,384],"valid"],[[385,385],"mapped",[595]],[[386,386],"mapped",[387]],[[387,387],"valid"],[[388,388],"mapped",[389]],[[389,389],"valid"],[[390,390],"mapped",[596]],[[391,391],"mapped",[392]],[[392,392],"valid"],[[393,393],"mapped",[598]],[[394,394],"mapped",[599]],[[395,395],"mapped",[396]],[[396,397],"valid"],[[398,398],"mapped",[477]],[[399,399],"mapped",[601]],[[400,400],"mapped",[603]],[[401,401],"mapped",[402]],[[402,402],"valid"],[[403,403],"mapped",[608]],[[404,404],"mapped",[611]],[[405,405],"valid"],[[406,406],"mapped",[617]],[[407,407],"mapped",[616]],[[408,408],"mapped",[409]],[[409,411],"valid"],[[412,412],"mapped",[623]],[[413,413],"mapped",[626]],[[414,414],"valid"],[[415,415],"mapped",[629]],[[416,416],"mapped",[417]],[[417,417],"valid"],[[418,418],"mapped",[419]],[[419,419],"valid"],[[420,420],"mapped",[421]],[[421,421],"valid"],[[422,422],"mapped",[640]],[[423,423],"mapped",[424]],[[424,424],"valid"],[[425,425],"mapped",[643]],[[426,427],"valid"],[[428,428],"mapped",[429]],[[429,429],"valid"],[[430,430],"mapped",[648]],[[431,431],"mapped",[432]],[[432,432],"valid"],[[433,433],"mapped",[650]],[[434,434],"mapped",[651]],[[435,435],"mapped",[436]],[[436,436],"valid"],[[437,437],"mapped",[438]],[[438,438],"valid"],[[439,439],"mapped",[658]],[[440,440],"mapped",[441]],[[441,443],"valid"],[[444,444],"mapped",[445]],[[445,451],"valid"],[[452,454],"mapped",[100,382]],[[455,457],"mapped",[108,106]],[[458,460],"mapped",[110,106]],[[461,461],"mapped",[462]],[[462,462],"valid"],[[463,463],"mapped",[464]],[[464,464],"valid"],[[465,465],"mapped",[466]],[[466,466],"valid"],[[467,467],"mapped",[468]],[[468,468],"valid"],[[469,469],"mapped",[470]],[[470,470],"valid"],[[471,471],"mapped",[472]],[[472,472],"valid"],[[473,473],"mapped",[474]],[[474,474],"valid"],[[475,475],"mapped",[476]],[[476,477],"valid"],[[478,478],"mapped",[479]],[[479,479],"valid"],[[480,480],"mapped",[481]],[[481,481],"valid"],[[482,482],"mapped",[483]],[[483,483],"valid"],[[484,484],"mapped",[485]],[[485,485],"valid"],[[486,486],"mapped",[487]],[[487,487],"valid"],[[488,488],"mapped",[489]],[[489,489],"valid"],[[490,490],"mapped",[491]],[[491,491],"valid"],[[492,492],"mapped",[493]],[[493,493],"valid"],[[494,494],"mapped",[495]],[[495,496],"valid"],[[497,499],"mapped",[100,122]],[[500,500],"mapped",[501]],[[501,501],"valid"],[[502,502],"mapped",[405]],[[503,503],"mapped",[447]],[[504,504],"mapped",[505]],[[505,505],"valid"],[[506,506],"mapped",[507]],[[507,507],"valid"],[[508,508],"mapped",[509]],[[509,509],"valid"],[[510,510],"mapped",[511]],[[511,511],"valid"],[[512,512],"mapped",[513]],[[513,513],"valid"],[[514,514],"mapped",[515]],[[515,515],"valid"],[[516,516],"mapped",[517]],[[517,517],"valid"],[[518,518],"mapped",[519]],[[519,519],"valid"],[[520,520],"mapped",[521]],[[521,521],"valid"],[[522,522],"mapped",[523]],[[523,523],"valid"],[[524,524],"mapped",[525]],[[525,525],"valid"],[[526,526],"mapped",[527]],[[527,527],"valid"],[[528,528],"mapped",[529]],[[529,529],"valid"],[[530,530],"mapped",[531]],[[531,531],"valid"],[[532,532],"mapped",[533]],[[533,533],"valid"],[[534,534],"mapped",[535]],[[535,535],"valid"],[[536,536],"mapped",[537]],[[537,537],"valid"],[[538,538],"mapped",[539]],[[539,539],"valid"],[[540,540],"mapped",[541]],[[541,541],"valid"],[[542,542],"mapped",[543]],[[543,543],"valid"],[[544,544],"mapped",[414]],[[545,545],"valid"],[[546,546],"mapped",[547]],[[547,547],"valid"],[[548,548],"mapped",[549]],[[549,549],"valid"],[[550,550],"mapped",[551]],[[551,551],"valid"],[[552,552],"mapped",[553]],[[553,553],"valid"],[[554,554],"mapped",[555]],[[555,555],"valid"],[[556,556],"mapped",[557]],[[557,557],"valid"],[[558,558],"mapped",[559]],[[559,559],"valid"],[[560,560],"mapped",[561]],[[561,561],"valid"],[[562,562],"mapped",[563]],[[563,563],"valid"],[[564,566],"valid"],[[567,569],"valid"],[[570,570],"mapped",[11365]],[[571,571],"mapped",[572]],[[572,572],"valid"],[[573,573],"mapped",[410]],[[574,574],"mapped",[11366]],[[575,576],"valid"],[[577,577],"mapped",[578]],[[578,578],"valid"],[[579,579],"mapped",[384]],[[580,580],"mapped",[649]],[[581,581],"mapped",[652]],[[582,582],"mapped",[583]],[[583,583],"valid"],[[584,584],"mapped",[585]],[[585,585],"valid"],[[586,586],"mapped",[587]],[[587,587],"valid"],[[588,588],"mapped",[589]],[[589,589],"valid"],[[590,590],"mapped",[591]],[[591,591],"valid"],[[592,680],"valid"],[[681,685],"valid"],[[686,687],"valid"],[[688,688],"mapped",[104]],[[689,689],"mapped",[614]],[[690,690],"mapped",[106]],[[691,691],"mapped",[114]],[[692,692],"mapped",[633]],[[693,693],"mapped",[635]],[[694,694],"mapped",[641]],[[695,695],"mapped",[119]],[[696,696],"mapped",[121]],[[697,705],"valid"],[[706,709],"valid",[],"NV8"],[[710,721],"valid"],[[722,727],"valid",[],"NV8"],[[728,728],"disallowed_STD3_mapped",[32,774]],[[729,729],"disallowed_STD3_mapped",[32,775]],[[730,730],"disallowed_STD3_mapped",[32,778]],[[731,731],"disallowed_STD3_mapped",[32,808]],[[732,732],"disallowed_STD3_mapped",[32,771]],[[733,733],"disallowed_STD3_mapped",[32,779]],[[734,734],"valid",[],"NV8"],[[735,735],"valid",[],"NV8"],[[736,736],"mapped",[611]],[[737,737],"mapped",[108]],[[738,738],"mapped",[115]],[[739,739],"mapped",[120]],[[740,740],"mapped",[661]],[[741,745],"valid",[],"NV8"],[[746,747],"valid",[],"NV8"],[[748,748],"valid"],[[749,749],"valid",[],"NV8"],[[750,750],"valid"],[[751,767],"valid",[],"NV8"],[[768,831],"valid"],[[832,832],"mapped",[768]],[[833,833],"mapped",[769]],[[834,834],"valid"],[[835,835],"mapped",[787]],[[836,836],"mapped",[776,769]],[[837,837],"mapped",[953]],[[838,846],"valid"],[[847,847],"ignored"],[[848,855],"valid"],[[856,860],"valid"],[[861,863],"valid"],[[864,865],"valid"],[[866,866],"valid"],[[867,879],"valid"],[[880,880],"mapped",[881]],[[881,881],"valid"],[[882,882],"mapped",[883]],[[883,883],"valid"],[[884,884],"mapped",[697]],[[885,885],"valid"],[[886,886],"mapped",[887]],[[887,887],"valid"],[[888,889],"disallowed"],[[890,890],"disallowed_STD3_mapped",[32,953]],[[891,893],"valid"],[[894,894],"disallowed_STD3_mapped",[59]],[[895,895],"mapped",[1011]],[[896,899],"disallowed"],[[900,900],"disallowed_STD3_mapped",[32,769]],[[901,901],"disallowed_STD3_mapped",[32,776,769]],[[902,902],"mapped",[940]],[[903,903],"mapped",[183]],[[904,904],"mapped",[941]],[[905,905],"mapped",[942]],[[906,906],"mapped",[943]],[[907,907],"disallowed"],[[908,908],"mapped",[972]],[[909,909],"disallowed"],[[910,910],"mapped",[973]],[[911,911],"mapped",[974]],[[912,912],"valid"],[[913,913],"mapped",[945]],[[914,914],"mapped",[946]],[[915,915],"mapped",[947]],[[916,916],"mapped",[948]],[[917,917],"mapped",[949]],[[918,918],"mapped",[950]],[[919,919],"mapped",[951]],[[920,920],"mapped",[952]],[[921,921],"mapped",[953]],[[922,922],"mapped",[954]],[[923,923],"mapped",[955]],[[924,924],"mapped",[956]],[[925,925],"mapped",[957]],[[926,926],"mapped",[958]],[[927,927],"mapped",[959]],[[928,928],"mapped",[960]],[[929,929],"mapped",[961]],[[930,930],"disallowed"],[[931,931],"mapped",[963]],[[932,932],"mapped",[964]],[[933,933],"mapped",[965]],[[934,934],"mapped",[966]],[[935,935],"mapped",[967]],[[936,936],"mapped",[968]],[[937,937],"mapped",[969]],[[938,938],"mapped",[970]],[[939,939],"mapped",[971]],[[940,961],"valid"],[[962,962],"deviation",[963]],[[963,974],"valid"],[[975,975],"mapped",[983]],[[976,976],"mapped",[946]],[[977,977],"mapped",[952]],[[978,978],"mapped",[965]],[[979,979],"mapped",[973]],[[980,980],"mapped",[971]],[[981,981],"mapped",[966]],[[982,982],"mapped",[960]],[[983,983],"valid"],[[984,984],"mapped",[985]],[[985,985],"valid"],[[986,986],"mapped",[987]],[[987,987],"valid"],[[988,988],"mapped",[989]],[[989,989],"valid"],[[990,990],"mapped",[991]],[[991,991],"valid"],[[992,992],"mapped",[993]],[[993,993],"valid"],[[994,994],"mapped",[995]],[[995,995],"valid"],[[996,996],"mapped",[997]],[[997,997],"valid"],[[998,998],"mapped",[999]],[[999,999],"valid"],[[1000,1000],"mapped",[1001]],[[1001,1001],"valid"],[[1002,1002],"mapped",[1003]],[[1003,1003],"valid"],[[1004,1004],"mapped",[1005]],[[1005,1005],"valid"],[[1006,1006],"mapped",[1007]],[[1007,1007],"valid"],[[1008,1008],"mapped",[954]],[[1009,1009],"mapped",[961]],[[1010,1010],"mapped",[963]],[[1011,1011],"valid"],[[1012,1012],"mapped",[952]],[[1013,1013],"mapped",[949]],[[1014,1014],"valid",[],"NV8"],[[1015,1015],"mapped",[1016]],[[1016,1016],"valid"],[[1017,1017],"mapped",[963]],[[1018,1018],"mapped",[1019]],[[1019,1019],"valid"],[[1020,1020],"valid"],[[1021,1021],"mapped",[891]],[[1022,1022],"mapped",[892]],[[1023,1023],"mapped",[893]],[[1024,1024],"mapped",[1104]],[[1025,1025],"mapped",[1105]],[[1026,1026],"mapped",[1106]],[[1027,1027],"mapped",[1107]],[[1028,1028],"mapped",[1108]],[[1029,1029],"mapped",[1109]],[[1030,1030],"mapped",[1110]],[[1031,1031],"mapped",[1111]],[[1032,1032],"mapped",[1112]],[[1033,1033],"mapped",[1113]],[[1034,1034],"mapped",[1114]],[[1035,1035],"mapped",[1115]],[[1036,1036],"mapped",[1116]],[[1037,1037],"mapped",[1117]],[[1038,1038],"mapped",[1118]],[[1039,1039],"mapped",[1119]],[[1040,1040],"mapped",[1072]],[[1041,1041],"mapped",[1073]],[[1042,1042],"mapped",[1074]],[[1043,1043],"mapped",[1075]],[[1044,1044],"mapped",[1076]],[[1045,1045],"mapped",[1077]],[[1046,1046],"mapped",[1078]],[[1047,1047],"mapped",[1079]],[[1048,1048],"mapped",[1080]],[[1049,1049],"mapped",[1081]],[[1050,1050],"mapped",[1082]],[[1051,1051],"mapped",[1083]],[[1052,1052],"mapped",[1084]],[[1053,1053],"mapped",[1085]],[[1054,1054],"mapped",[1086]],[[1055,1055],"mapped",[1087]],[[1056,1056],"mapped",[1088]],[[1057,1057],"mapped",[1089]],[[1058,1058],"mapped",[1090]],[[1059,1059],"mapped",[1091]],[[1060,1060],"mapped",[1092]],[[1061,1061],"mapped",[1093]],[[1062,1062],"mapped",[1094]],[[1063,1063],"mapped",[1095]],[[1064,1064],"mapped",[1096]],[[1065,1065],"mapped",[1097]],[[1066,1066],"mapped",[1098]],[[1067,1067],"mapped",[1099]],[[1068,1068],"mapped",[1100]],[[1069,1069],"mapped",[1101]],[[1070,1070],"mapped",[1102]],[[1071,1071],"mapped",[1103]],[[1072,1103],"valid"],[[1104,1104],"valid"],[[1105,1116],"valid"],[[1117,1117],"valid"],[[1118,1119],"valid"],[[1120,1120],"mapped",[1121]],[[1121,1121],"valid"],[[1122,1122],"mapped",[1123]],[[1123,1123],"valid"],[[1124,1124],"mapped",[1125]],[[1125,1125],"valid"],[[1126,1126],"mapped",[1127]],[[1127,1127],"valid"],[[1128,1128],"mapped",[1129]],[[1129,1129],"valid"],[[1130,1130],"mapped",[1131]],[[1131,1131],"valid"],[[1132,1132],"mapped",[1133]],[[1133,1133],"valid"],[[1134,1134],"mapped",[1135]],[[1135,1135],"valid"],[[1136,1136],"mapped",[1137]],[[1137,1137],"valid"],[[1138,1138],"mapped",[1139]],[[1139,1139],"valid"],[[1140,1140],"mapped",[1141]],[[1141,1141],"valid"],[[1142,1142],"mapped",[1143]],[[1143,1143],"valid"],[[1144,1144],"mapped",[1145]],[[1145,1145],"valid"],[[1146,1146],"mapped",[1147]],[[1147,1147],"valid"],[[1148,1148],"mapped",[1149]],[[1149,1149],"valid"],[[1150,1150],"mapped",[1151]],[[1151,1151],"valid"],[[1152,1152],"mapped",[1153]],[[1153,1153],"valid"],[[1154,1154],"valid",[],"NV8"],[[1155,1158],"valid"],[[1159,1159],"valid"],[[1160,1161],"valid",[],"NV8"],[[1162,1162],"mapped",[1163]],[[1163,1163],"valid"],[[1164,1164],"mapped",[1165]],[[1165,1165],"valid"],[[1166,1166],"mapped",[1167]],[[1167,1167],"valid"],[[1168,1168],"mapped",[1169]],[[1169,1169],"valid"],[[1170,1170],"mapped",[1171]],[[1171,1171],"valid"],[[1172,1172],"mapped",[1173]],[[1173,1173],"valid"],[[1174,1174],"mapped",[1175]],[[1175,1175],"valid"],[[1176,1176],"mapped",[1177]],[[1177,1177],"valid"],[[1178,1178],"mapped",[1179]],[[1179,1179],"valid"],[[1180,1180],"mapped",[1181]],[[1181,1181],"valid"],[[1182,1182],"mapped",[1183]],[[1183,1183],"valid"],[[1184,1184],"mapped",[1185]],[[1185,1185],"valid"],[[1186,1186],"mapped",[1187]],[[1187,1187],"valid"],[[1188,1188],"mapped",[1189]],[[1189,1189],"valid"],[[1190,1190],"mapped",[1191]],[[1191,1191],"valid"],[[1192,1192],"mapped",[1193]],[[1193,1193],"valid"],[[1194,1194],"mapped",[1195]],[[1195,1195],"valid"],[[1196,1196],"mapped",[1197]],[[1197,1197],"valid"],[[1198,1198],"mapped",[1199]],[[1199,1199],"valid"],[[1200,1200],"mapped",[1201]],[[1201,1201],"valid"],[[1202,1202],"mapped",[1203]],[[1203,1203],"valid"],[[1204,1204],"mapped",[1205]],[[1205,1205],"valid"],[[1206,1206],"mapped",[1207]],[[1207,1207],"valid"],[[1208,1208],"mapped",[1209]],[[1209,1209],"valid"],[[1210,1210],"mapped",[1211]],[[1211,1211],"valid"],[[1212,1212],"mapped",[1213]],[[1213,1213],"valid"],[[1214,1214],"mapped",[1215]],[[1215,1215],"valid"],[[1216,1216],"disallowed"],[[1217,1217],"mapped",[1218]],[[1218,1218],"valid"],[[1219,1219],"mapped",[1220]],[[1220,1220],"valid"],[[1221,1221],"mapped",[1222]],[[1222,1222],"valid"],[[1223,1223],"mapped",[1224]],[[1224,1224],"valid"],[[1225,1225],"mapped",[1226]],[[1226,1226],"valid"],[[1227,1227],"mapped",[1228]],[[1228,1228],"valid"],[[1229,1229],"mapped",[1230]],[[1230,1230],"valid"],[[1231,1231],"valid"],[[1232,1232],"mapped",[1233]],[[1233,1233],"valid"],[[1234,1234],"mapped",[1235]],[[1235,1235],"valid"],[[1236,1236],"mapped",[1237]],[[1237,1237],"valid"],[[1238,1238],"mapped",[1239]],[[1239,1239],"valid"],[[1240,1240],"mapped",[1241]],[[1241,1241],"valid"],[[1242,1242],"mapped",[1243]],[[1243,1243],"valid"],[[1244,1244],"mapped",[1245]],[[1245,1245],"valid"],[[1246,1246],"mapped",[1247]],[[1247,1247],"valid"],[[1248,1248],"mapped",[1249]],[[1249,1249],"valid"],[[1250,1250],"mapped",[1251]],[[1251,1251],"valid"],[[1252,1252],"mapped",[1253]],[[1253,1253],"valid"],[[1254,1254],"mapped",[1255]],[[1255,1255],"valid"],[[1256,1256],"mapped",[1257]],[[1257,1257],"valid"],[[1258,1258],"mapped",[1259]],[[1259,1259],"valid"],[[1260,1260],"mapped",[1261]],[[1261,1261],"valid"],[[1262,1262],"mapped",[1263]],[[1263,1263],"valid"],[[1264,1264],"mapped",[1265]],[[1265,1265],"valid"],[[1266,1266],"mapped",[1267]],[[1267,1267],"valid"],[[1268,1268],"mapped",[1269]],[[1269,1269],"valid"],[[1270,1270],"mapped",[1271]],[[1271,1271],"valid"],[[1272,1272],"mapped",[1273]],[[1273,1273],"valid"],[[1274,1274],"mapped",[1275]],[[1275,1275],"valid"],[[1276,1276],"mapped",[1277]],[[1277,1277],"valid"],[[1278,1278],"mapped",[1279]],[[1279,1279],"valid"],[[1280,1280],"mapped",[1281]],[[1281,1281],"valid"],[[1282,1282],"mapped",[1283]],[[1283,1283],"valid"],[[1284,1284],"mapped",[1285]],[[1285,1285],"valid"],[[1286,1286],"mapped",[1287]],[[1287,1287],"valid"],[[1288,1288],"mapped",[1289]],[[1289,1289],"valid"],[[1290,1290],"mapped",[1291]],[[1291,1291],"valid"],[[1292,1292],"mapped",[1293]],[[1293,1293],"valid"],[[1294,1294],"mapped",[1295]],[[1295,1295],"valid"],[[1296,1296],"mapped",[1297]],[[1297,1297],"valid"],[[1298,1298],"mapped",[1299]],[[1299,1299],"valid"],[[1300,1300],"mapped",[1301]],[[1301,1301],"valid"],[[1302,1302],"mapped",[1303]],[[1303,1303],"valid"],[[1304,1304],"mapped",[1305]],[[1305,1305],"valid"],[[1306,1306],"mapped",[1307]],[[1307,1307],"valid"],[[1308,1308],"mapped",[1309]],[[1309,1309],"valid"],[[1310,1310],"mapped",[1311]],[[1311,1311],"valid"],[[1312,1312],"mapped",[1313]],[[1313,1313],"valid"],[[1314,1314],"mapped",[1315]],[[1315,1315],"valid"],[[1316,1316],"mapped",[1317]],[[1317,1317],"valid"],[[1318,1318],"mapped",[1319]],[[1319,1319],"valid"],[[1320,1320],"mapped",[1321]],[[1321,1321],"valid"],[[1322,1322],"mapped",[1323]],[[1323,1323],"valid"],[[1324,1324],"mapped",[1325]],[[1325,1325],"valid"],[[1326,1326],"mapped",[1327]],[[1327,1327],"valid"],[[1328,1328],"disallowed"],[[1329,1329],"mapped",[1377]],[[1330,1330],"mapped",[1378]],[[1331,1331],"mapped",[1379]],[[1332,1332],"mapped",[1380]],[[1333,1333],"mapped",[1381]],[[1334,1334],"mapped",[1382]],[[1335,1335],"mapped",[1383]],[[1336,1336],"mapped",[1384]],[[1337,1337],"mapped",[1385]],[[1338,1338],"mapped",[1386]],[[1339,1339],"mapped",[1387]],[[1340,1340],"mapped",[1388]],[[1341,1341],"mapped",[1389]],[[1342,1342],"mapped",[1390]],[[1343,1343],"mapped",[1391]],[[1344,1344],"mapped",[1392]],[[1345,1345],"mapped",[1393]],[[1346,1346],"mapped",[1394]],[[1347,1347],"mapped",[1395]],[[1348,1348],"mapped",[1396]],[[1349,1349],"mapped",[1397]],[[1350,1350],"mapped",[1398]],[[1351,1351],"mapped",[1399]],[[1352,1352],"mapped",[1400]],[[1353,1353],"mapped",[1401]],[[1354,1354],"mapped",[1402]],[[1355,1355],"mapped",[1403]],[[1356,1356],"mapped",[1404]],[[1357,1357],"mapped",[1405]],[[1358,1358],"mapped",[1406]],[[1359,1359],"mapped",[1407]],[[1360,1360],"mapped",[1408]],[[1361,1361],"mapped",[1409]],[[1362,1362],"mapped",[1410]],[[1363,1363],"mapped",[1411]],[[1364,1364],"mapped",[1412]],[[1365,1365],"mapped",[1413]],[[1366,1366],"mapped",[1414]],[[1367,1368],"disallowed"],[[1369,1369],"valid"],[[1370,1375],"valid",[],"NV8"],[[1376,1376],"disallowed"],[[1377,1414],"valid"],[[1415,1415],"mapped",[1381,1410]],[[1416,1416],"disallowed"],[[1417,1417],"valid",[],"NV8"],[[1418,1418],"valid",[],"NV8"],[[1419,1420],"disallowed"],[[1421,1422],"valid",[],"NV8"],[[1423,1423],"valid",[],"NV8"],[[1424,1424],"disallowed"],[[1425,1441],"valid"],[[1442,1442],"valid"],[[1443,1455],"valid"],[[1456,1465],"valid"],[[1466,1466],"valid"],[[1467,1469],"valid"],[[1470,1470],"valid",[],"NV8"],[[1471,1471],"valid"],[[1472,1472],"valid",[],"NV8"],[[1473,1474],"valid"],[[1475,1475],"valid",[],"NV8"],[[1476,1476],"valid"],[[1477,1477],"valid"],[[1478,1478],"valid",[],"NV8"],[[1479,1479],"valid"],[[1480,1487],"disallowed"],[[1488,1514],"valid"],[[1515,1519],"disallowed"],[[1520,1524],"valid"],[[1525,1535],"disallowed"],[[1536,1539],"disallowed"],[[1540,1540],"disallowed"],[[1541,1541],"disallowed"],[[1542,1546],"valid",[],"NV8"],[[1547,1547],"valid",[],"NV8"],[[1548,1548],"valid",[],"NV8"],[[1549,1551],"valid",[],"NV8"],[[1552,1557],"valid"],[[1558,1562],"valid"],[[1563,1563],"valid",[],"NV8"],[[1564,1564],"disallowed"],[[1565,1565],"disallowed"],[[1566,1566],"valid",[],"NV8"],[[1567,1567],"valid",[],"NV8"],[[1568,1568],"valid"],[[1569,1594],"valid"],[[1595,1599],"valid"],[[1600,1600],"valid",[],"NV8"],[[1601,1618],"valid"],[[1619,1621],"valid"],[[1622,1624],"valid"],[[1625,1630],"valid"],[[1631,1631],"valid"],[[1632,1641],"valid"],[[1642,1645],"valid",[],"NV8"],[[1646,1647],"valid"],[[1648,1652],"valid"],[[1653,1653],"mapped",[1575,1652]],[[1654,1654],"mapped",[1608,1652]],[[1655,1655],"mapped",[1735,1652]],[[1656,1656],"mapped",[1610,1652]],[[1657,1719],"valid"],[[1720,1721],"valid"],[[1722,1726],"valid"],[[1727,1727],"valid"],[[1728,1742],"valid"],[[1743,1743],"valid"],[[1744,1747],"valid"],[[1748,1748],"valid",[],"NV8"],[[1749,1756],"valid"],[[1757,1757],"disallowed"],[[1758,1758],"valid",[],"NV8"],[[1759,1768],"valid"],[[1769,1769],"valid",[],"NV8"],[[1770,1773],"valid"],[[1774,1775],"valid"],[[1776,1785],"valid"],[[1786,1790],"valid"],[[1791,1791],"valid"],[[1792,1805],"valid",[],"NV8"],[[1806,1806],"disallowed"],[[1807,1807],"disallowed"],[[1808,1836],"valid"],[[1837,1839],"valid"],[[1840,1866],"valid"],[[1867,1868],"disallowed"],[[1869,1871],"valid"],[[1872,1901],"valid"],[[1902,1919],"valid"],[[1920,1968],"valid"],[[1969,1969],"valid"],[[1970,1983],"disallowed"],[[1984,2037],"valid"],[[2038,2042],"valid",[],"NV8"],[[2043,2047],"disallowed"],[[2048,2093],"valid"],[[2094,2095],"disallowed"],[[2096,2110],"valid",[],"NV8"],[[2111,2111],"disallowed"],[[2112,2139],"valid"],[[2140,2141],"disallowed"],[[2142,2142],"valid",[],"NV8"],[[2143,2207],"disallowed"],[[2208,2208],"valid"],[[2209,2209],"valid"],[[2210,2220],"valid"],[[2221,2226],"valid"],[[2227,2228],"valid"],[[2229,2274],"disallowed"],[[2275,2275],"valid"],[[2276,2302],"valid"],[[2303,2303],"valid"],[[2304,2304],"valid"],[[2305,2307],"valid"],[[2308,2308],"valid"],[[2309,2361],"valid"],[[2362,2363],"valid"],[[2364,2381],"valid"],[[2382,2382],"valid"],[[2383,2383],"valid"],[[2384,2388],"valid"],[[2389,2389],"valid"],[[2390,2391],"valid"],[[2392,2392],"mapped",[2325,2364]],[[2393,2393],"mapped",[2326,2364]],[[2394,2394],"mapped",[2327,2364]],[[2395,2395],"mapped",[2332,2364]],[[2396,2396],"mapped",[2337,2364]],[[2397,2397],"mapped",[2338,2364]],[[2398,2398],"mapped",[2347,2364]],[[2399,2399],"mapped",[2351,2364]],[[2400,2403],"valid"],[[2404,2405],"valid",[],"NV8"],[[2406,2415],"valid"],[[2416,2416],"valid",[],"NV8"],[[2417,2418],"valid"],[[2419,2423],"valid"],[[2424,2424],"valid"],[[2425,2426],"valid"],[[2427,2428],"valid"],[[2429,2429],"valid"],[[2430,2431],"valid"],[[2432,2432],"valid"],[[2433,2435],"valid"],[[2436,2436],"disallowed"],[[2437,2444],"valid"],[[2445,2446],"disallowed"],[[2447,2448],"valid"],[[2449,2450],"disallowed"],[[2451,2472],"valid"],[[2473,2473],"disallowed"],[[2474,2480],"valid"],[[2481,2481],"disallowed"],[[2482,2482],"valid"],[[2483,2485],"disallowed"],[[2486,2489],"valid"],[[2490,2491],"disallowed"],[[2492,2492],"valid"],[[2493,2493],"valid"],[[2494,2500],"valid"],[[2501,2502],"disallowed"],[[2503,2504],"valid"],[[2505,2506],"disallowed"],[[2507,2509],"valid"],[[2510,2510],"valid"],[[2511,2518],"disallowed"],[[2519,2519],"valid"],[[2520,2523],"disallowed"],[[2524,2524],"mapped",[2465,2492]],[[2525,2525],"mapped",[2466,2492]],[[2526,2526],"disallowed"],[[2527,2527],"mapped",[2479,2492]],[[2528,2531],"valid"],[[2532,2533],"disallowed"],[[2534,2545],"valid"],[[2546,2554],"valid",[],"NV8"],[[2555,2555],"valid",[],"NV8"],[[2556,2560],"disallowed"],[[2561,2561],"valid"],[[2562,2562],"valid"],[[2563,2563],"valid"],[[2564,2564],"disallowed"],[[2565,2570],"valid"],[[2571,2574],"disallowed"],[[2575,2576],"valid"],[[2577,2578],"disallowed"],[[2579,2600],"valid"],[[2601,2601],"disallowed"],[[2602,2608],"valid"],[[2609,2609],"disallowed"],[[2610,2610],"valid"],[[2611,2611],"mapped",[2610,2620]],[[2612,2612],"disallowed"],[[2613,2613],"valid"],[[2614,2614],"mapped",[2616,2620]],[[2615,2615],"disallowed"],[[2616,2617],"valid"],[[2618,2619],"disallowed"],[[2620,2620],"valid"],[[2621,2621],"disallowed"],[[2622,2626],"valid"],[[2627,2630],"disallowed"],[[2631,2632],"valid"],[[2633,2634],"disallowed"],[[2635,2637],"valid"],[[2638,2640],"disallowed"],[[2641,2641],"valid"],[[2642,2648],"disallowed"],[[2649,2649],"mapped",[2582,2620]],[[2650,2650],"mapped",[2583,2620]],[[2651,2651],"mapped",[2588,2620]],[[2652,2652],"valid"],[[2653,2653],"disallowed"],[[2654,2654],"mapped",[2603,2620]],[[2655,2661],"disallowed"],[[2662,2676],"valid"],[[2677,2677],"valid"],[[2678,2688],"disallowed"],[[2689,2691],"valid"],[[2692,2692],"disallowed"],[[2693,2699],"valid"],[[2700,2700],"valid"],[[2701,2701],"valid"],[[2702,2702],"disallowed"],[[2703,2705],"valid"],[[2706,2706],"disallowed"],[[2707,2728],"valid"],[[2729,2729],"disallowed"],[[2730,2736],"valid"],[[2737,2737],"disallowed"],[[2738,2739],"valid"],[[2740,2740],"disallowed"],[[2741,2745],"valid"],[[2746,2747],"disallowed"],[[2748,2757],"valid"],[[2758,2758],"disallowed"],[[2759,2761],"valid"],[[2762,2762],"disallowed"],[[2763,2765],"valid"],[[2766,2767],"disallowed"],[[2768,2768],"valid"],[[2769,2783],"disallowed"],[[2784,2784],"valid"],[[2785,2787],"valid"],[[2788,2789],"disallowed"],[[2790,2799],"valid"],[[2800,2800],"valid",[],"NV8"],[[2801,2801],"valid",[],"NV8"],[[2802,2808],"disallowed"],[[2809,2809],"valid"],[[2810,2816],"disallowed"],[[2817,2819],"valid"],[[2820,2820],"disallowed"],[[2821,2828],"valid"],[[2829,2830],"disallowed"],[[2831,2832],"valid"],[[2833,2834],"disallowed"],[[2835,2856],"valid"],[[2857,2857],"disallowed"],[[2858,2864],"valid"],[[2865,2865],"disallowed"],[[2866,2867],"valid"],[[2868,2868],"disallowed"],[[2869,2869],"valid"],[[2870,2873],"valid"],[[2874,2875],"disallowed"],[[2876,2883],"valid"],[[2884,2884],"valid"],[[2885,2886],"disallowed"],[[2887,2888],"valid"],[[2889,2890],"disallowed"],[[2891,2893],"valid"],[[2894,2901],"disallowed"],[[2902,2903],"valid"],[[2904,2907],"disallowed"],[[2908,2908],"mapped",[2849,2876]],[[2909,2909],"mapped",[2850,2876]],[[2910,2910],"disallowed"],[[2911,2913],"valid"],[[2914,2915],"valid"],[[2916,2917],"disallowed"],[[2918,2927],"valid"],[[2928,2928],"valid",[],"NV8"],[[2929,2929],"valid"],[[2930,2935],"valid",[],"NV8"],[[2936,2945],"disallowed"],[[2946,2947],"valid"],[[2948,2948],"disallowed"],[[2949,2954],"valid"],[[2955,2957],"disallowed"],[[2958,2960],"valid"],[[2961,2961],"disallowed"],[[2962,2965],"valid"],[[2966,2968],"disallowed"],[[2969,2970],"valid"],[[2971,2971],"disallowed"],[[2972,2972],"valid"],[[2973,2973],"disallowed"],[[2974,2975],"valid"],[[2976,2978],"disallowed"],[[2979,2980],"valid"],[[2981,2983],"disallowed"],[[2984,2986],"valid"],[[2987,2989],"disallowed"],[[2990,2997],"valid"],[[2998,2998],"valid"],[[2999,3001],"valid"],[[3002,3005],"disallowed"],[[3006,3010],"valid"],[[3011,3013],"disallowed"],[[3014,3016],"valid"],[[3017,3017],"disallowed"],[[3018,3021],"valid"],[[3022,3023],"disallowed"],[[3024,3024],"valid"],[[3025,3030],"disallowed"],[[3031,3031],"valid"],[[3032,3045],"disallowed"],[[3046,3046],"valid"],[[3047,3055],"valid"],[[3056,3058],"valid",[],"NV8"],[[3059,3066],"valid",[],"NV8"],[[3067,3071],"disallowed"],[[3072,3072],"valid"],[[3073,3075],"valid"],[[3076,3076],"disallowed"],[[3077,3084],"valid"],[[3085,3085],"disallowed"],[[3086,3088],"valid"],[[3089,3089],"disallowed"],[[3090,3112],"valid"],[[3113,3113],"disallowed"],[[3114,3123],"valid"],[[3124,3124],"valid"],[[3125,3129],"valid"],[[3130,3132],"disallowed"],[[3133,3133],"valid"],[[3134,3140],"valid"],[[3141,3141],"disallowed"],[[3142,3144],"valid"],[[3145,3145],"disallowed"],[[3146,3149],"valid"],[[3150,3156],"disallowed"],[[3157,3158],"valid"],[[3159,3159],"disallowed"],[[3160,3161],"valid"],[[3162,3162],"valid"],[[3163,3167],"disallowed"],[[3168,3169],"valid"],[[3170,3171],"valid"],[[3172,3173],"disallowed"],[[3174,3183],"valid"],[[3184,3191],"disallowed"],[[3192,3199],"valid",[],"NV8"],[[3200,3200],"disallowed"],[[3201,3201],"valid"],[[3202,3203],"valid"],[[3204,3204],"disallowed"],[[3205,3212],"valid"],[[3213,3213],"disallowed"],[[3214,3216],"valid"],[[3217,3217],"disallowed"],[[3218,3240],"valid"],[[3241,3241],"disallowed"],[[3242,3251],"valid"],[[3252,3252],"disallowed"],[[3253,3257],"valid"],[[3258,3259],"disallowed"],[[3260,3261],"valid"],[[3262,3268],"valid"],[[3269,3269],"disallowed"],[[3270,3272],"valid"],[[3273,3273],"disallowed"],[[3274,3277],"valid"],[[3278,3284],"disallowed"],[[3285,3286],"valid"],[[3287,3293],"disallowed"],[[3294,3294],"valid"],[[3295,3295],"disallowed"],[[3296,3297],"valid"],[[3298,3299],"valid"],[[3300,3301],"disallowed"],[[3302,3311],"valid"],[[3312,3312],"disallowed"],[[3313,3314],"valid"],[[3315,3328],"disallowed"],[[3329,3329],"valid"],[[3330,3331],"valid"],[[3332,3332],"disallowed"],[[3333,3340],"valid"],[[3341,3341],"disallowed"],[[3342,3344],"valid"],[[3345,3345],"disallowed"],[[3346,3368],"valid"],[[3369,3369],"valid"],[[3370,3385],"valid"],[[3386,3386],"valid"],[[3387,3388],"disallowed"],[[3389,3389],"valid"],[[3390,3395],"valid"],[[3396,3396],"valid"],[[3397,3397],"disallowed"],[[3398,3400],"valid"],[[3401,3401],"disallowed"],[[3402,3405],"valid"],[[3406,3406],"valid"],[[3407,3414],"disallowed"],[[3415,3415],"valid"],[[3416,3422],"disallowed"],[[3423,3423],"valid"],[[3424,3425],"valid"],[[3426,3427],"valid"],[[3428,3429],"disallowed"],[[3430,3439],"valid"],[[3440,3445],"valid",[],"NV8"],[[3446,3448],"disallowed"],[[3449,3449],"valid",[],"NV8"],[[3450,3455],"valid"],[[3456,3457],"disallowed"],[[3458,3459],"valid"],[[3460,3460],"disallowed"],[[3461,3478],"valid"],[[3479,3481],"disallowed"],[[3482,3505],"valid"],[[3506,3506],"disallowed"],[[3507,3515],"valid"],[[3516,3516],"disallowed"],[[3517,3517],"valid"],[[3518,3519],"disallowed"],[[3520,3526],"valid"],[[3527,3529],"disallowed"],[[3530,3530],"valid"],[[3531,3534],"disallowed"],[[3535,3540],"valid"],[[3541,3541],"disallowed"],[[3542,3542],"valid"],[[3543,3543],"disallowed"],[[3544,3551],"valid"],[[3552,3557],"disallowed"],[[3558,3567],"valid"],[[3568,3569],"disallowed"],[[3570,3571],"valid"],[[3572,3572],"valid",[],"NV8"],[[3573,3584],"disallowed"],[[3585,3634],"valid"],[[3635,3635],"mapped",[3661,3634]],[[3636,3642],"valid"],[[3643,3646],"disallowed"],[[3647,3647],"valid",[],"NV8"],[[3648,3662],"valid"],[[3663,3663],"valid",[],"NV8"],[[3664,3673],"valid"],[[3674,3675],"valid",[],"NV8"],[[3676,3712],"disallowed"],[[3713,3714],"valid"],[[3715,3715],"disallowed"],[[3716,3716],"valid"],[[3717,3718],"disallowed"],[[3719,3720],"valid"],[[3721,3721],"disallowed"],[[3722,3722],"valid"],[[3723,3724],"disallowed"],[[3725,3725],"valid"],[[3726,3731],"disallowed"],[[3732,3735],"valid"],[[3736,3736],"disallowed"],[[3737,3743],"valid"],[[3744,3744],"disallowed"],[[3745,3747],"valid"],[[3748,3748],"disallowed"],[[3749,3749],"valid"],[[3750,3750],"disallowed"],[[3751,3751],"valid"],[[3752,3753],"disallowed"],[[3754,3755],"valid"],[[3756,3756],"disallowed"],[[3757,3762],"valid"],[[3763,3763],"mapped",[3789,3762]],[[3764,3769],"valid"],[[3770,3770],"disallowed"],[[3771,3773],"valid"],[[3774,3775],"disallowed"],[[3776,3780],"valid"],[[3781,3781],"disallowed"],[[3782,3782],"valid"],[[3783,3783],"disallowed"],[[3784,3789],"valid"],[[3790,3791],"disallowed"],[[3792,3801],"valid"],[[3802,3803],"disallowed"],[[3804,3804],"mapped",[3755,3737]],[[3805,3805],"mapped",[3755,3745]],[[3806,3807],"valid"],[[3808,3839],"disallowed"],[[3840,3840],"valid"],[[3841,3850],"valid",[],"NV8"],[[3851,3851],"valid"],[[3852,3852],"mapped",[3851]],[[3853,3863],"valid",[],"NV8"],[[3864,3865],"valid"],[[3866,3871],"valid",[],"NV8"],[[3872,3881],"valid"],[[3882,3892],"valid",[],"NV8"],[[3893,3893],"valid"],[[3894,3894],"valid",[],"NV8"],[[3895,3895],"valid"],[[3896,3896],"valid",[],"NV8"],[[3897,3897],"valid"],[[3898,3901],"valid",[],"NV8"],[[3902,3906],"valid"],[[3907,3907],"mapped",[3906,4023]],[[3908,3911],"valid"],[[3912,3912],"disallowed"],[[3913,3916],"valid"],[[3917,3917],"mapped",[3916,4023]],[[3918,3921],"valid"],[[3922,3922],"mapped",[3921,4023]],[[3923,3926],"valid"],[[3927,3927],"mapped",[3926,4023]],[[3928,3931],"valid"],[[3932,3932],"mapped",[3931,4023]],[[3933,3944],"valid"],[[3945,3945],"mapped",[3904,4021]],[[3946,3946],"valid"],[[3947,3948],"valid"],[[3949,3952],"disallowed"],[[3953,3954],"valid"],[[3955,3955],"mapped",[3953,3954]],[[3956,3956],"valid"],[[3957,3957],"mapped",[3953,3956]],[[3958,3958],"mapped",[4018,3968]],[[3959,3959],"mapped",[4018,3953,3968]],[[3960,3960],"mapped",[4019,3968]],[[3961,3961],"mapped",[4019,3953,3968]],[[3962,3968],"valid"],[[3969,3969],"mapped",[3953,3968]],[[3970,3972],"valid"],[[3973,3973],"valid",[],"NV8"],[[3974,3979],"valid"],[[3980,3983],"valid"],[[3984,3986],"valid"],[[3987,3987],"mapped",[3986,4023]],[[3988,3989],"valid"],[[3990,3990],"valid"],[[3991,3991],"valid"],[[3992,3992],"disallowed"],[[3993,3996],"valid"],[[3997,3997],"mapped",[3996,4023]],[[3998,4001],"valid"],[[4002,4002],"mapped",[4001,4023]],[[4003,4006],"valid"],[[4007,4007],"mapped",[4006,4023]],[[4008,4011],"valid"],[[4012,4012],"mapped",[4011,4023]],[[4013,4013],"valid"],[[4014,4016],"valid"],[[4017,4023],"valid"],[[4024,4024],"valid"],[[4025,4025],"mapped",[3984,4021]],[[4026,4028],"valid"],[[4029,4029],"disallowed"],[[4030,4037],"valid",[],"NV8"],[[4038,4038],"valid"],[[4039,4044],"valid",[],"NV8"],[[4045,4045],"disallowed"],[[4046,4046],"valid",[],"NV8"],[[4047,4047],"valid",[],"NV8"],[[4048,4049],"valid",[],"NV8"],[[4050,4052],"valid",[],"NV8"],[[4053,4056],"valid",[],"NV8"],[[4057,4058],"valid",[],"NV8"],[[4059,4095],"disallowed"],[[4096,4129],"valid"],[[4130,4130],"valid"],[[4131,4135],"valid"],[[4136,4136],"valid"],[[4137,4138],"valid"],[[4139,4139],"valid"],[[4140,4146],"valid"],[[4147,4149],"valid"],[[4150,4153],"valid"],[[4154,4159],"valid"],[[4160,4169],"valid"],[[4170,4175],"valid",[],"NV8"],[[4176,4185],"valid"],[[4186,4249],"valid"],[[4250,4253],"valid"],[[4254,4255],"valid",[],"NV8"],[[4256,4293],"disallowed"],[[4294,4294],"disallowed"],[[4295,4295],"mapped",[11559]],[[4296,4300],"disallowed"],[[4301,4301],"mapped",[11565]],[[4302,4303],"disallowed"],[[4304,4342],"valid"],[[4343,4344],"valid"],[[4345,4346],"valid"],[[4347,4347],"valid",[],"NV8"],[[4348,4348],"mapped",[4316]],[[4349,4351],"valid"],[[4352,4441],"valid",[],"NV8"],[[4442,4446],"valid",[],"NV8"],[[4447,4448],"disallowed"],[[4449,4514],"valid",[],"NV8"],[[4515,4519],"valid",[],"NV8"],[[4520,4601],"valid",[],"NV8"],[[4602,4607],"valid",[],"NV8"],[[4608,4614],"valid"],[[4615,4615],"valid"],[[4616,4678],"valid"],[[4679,4679],"valid"],[[4680,4680],"valid"],[[4681,4681],"disallowed"],[[4682,4685],"valid"],[[4686,4687],"disallowed"],[[4688,4694],"valid"],[[4695,4695],"disallowed"],[[4696,4696],"valid"],[[4697,4697],"disallowed"],[[4698,4701],"valid"],[[4702,4703],"disallowed"],[[4704,4742],"valid"],[[4743,4743],"valid"],[[4744,4744],"valid"],[[4745,4745],"disallowed"],[[4746,4749],"valid"],[[4750,4751],"disallowed"],[[4752,4782],"valid"],[[4783,4783],"valid"],[[4784,4784],"valid"],[[4785,4785],"disallowed"],[[4786,4789],"valid"],[[4790,4791],"disallowed"],[[4792,4798],"valid"],[[4799,4799],"disallowed"],[[4800,4800],"valid"],[[4801,4801],"disallowed"],[[4802,4805],"valid"],[[4806,4807],"disallowed"],[[4808,4814],"valid"],[[4815,4815],"valid"],[[4816,4822],"valid"],[[4823,4823],"disallowed"],[[4824,4846],"valid"],[[4847,4847],"valid"],[[4848,4878],"valid"],[[4879,4879],"valid"],[[4880,4880],"valid"],[[4881,4881],"disallowed"],[[4882,4885],"valid"],[[4886,4887],"disallowed"],[[4888,4894],"valid"],[[4895,4895],"valid"],[[4896,4934],"valid"],[[4935,4935],"valid"],[[4936,4954],"valid"],[[4955,4956],"disallowed"],[[4957,4958],"valid"],[[4959,4959],"valid"],[[4960,4960],"valid",[],"NV8"],[[4961,4988],"valid",[],"NV8"],[[4989,4991],"disallowed"],[[4992,5007],"valid"],[[5008,5017],"valid",[],"NV8"],[[5018,5023],"disallowed"],[[5024,5108],"valid"],[[5109,5109],"valid"],[[5110,5111],"disallowed"],[[5112,5112],"mapped",[5104]],[[5113,5113],"mapped",[5105]],[[5114,5114],"mapped",[5106]],[[5115,5115],"mapped",[5107]],[[5116,5116],"mapped",[5108]],[[5117,5117],"mapped",[5109]],[[5118,5119],"disallowed"],[[5120,5120],"valid",[],"NV8"],[[5121,5740],"valid"],[[5741,5742],"valid",[],"NV8"],[[5743,5750],"valid"],[[5751,5759],"valid"],[[5760,5760],"disallowed"],[[5761,5786],"valid"],[[5787,5788],"valid",[],"NV8"],[[5789,5791],"disallowed"],[[5792,5866],"valid"],[[5867,5872],"valid",[],"NV8"],[[5873,5880],"valid"],[[5881,5887],"disallowed"],[[5888,5900],"valid"],[[5901,5901],"disallowed"],[[5902,5908],"valid"],[[5909,5919],"disallowed"],[[5920,5940],"valid"],[[5941,5942],"valid",[],"NV8"],[[5943,5951],"disallowed"],[[5952,5971],"valid"],[[5972,5983],"disallowed"],[[5984,5996],"valid"],[[5997,5997],"disallowed"],[[5998,6000],"valid"],[[6001,6001],"disallowed"],[[6002,6003],"valid"],[[6004,6015],"disallowed"],[[6016,6067],"valid"],[[6068,6069],"disallowed"],[[6070,6099],"valid"],[[6100,6102],"valid",[],"NV8"],[[6103,6103],"valid"],[[6104,6107],"valid",[],"NV8"],[[6108,6108],"valid"],[[6109,6109],"valid"],[[6110,6111],"disallowed"],[[6112,6121],"valid"],[[6122,6127],"disallowed"],[[6128,6137],"valid",[],"NV8"],[[6138,6143],"disallowed"],[[6144,6149],"valid",[],"NV8"],[[6150,6150],"disallowed"],[[6151,6154],"valid",[],"NV8"],[[6155,6157],"ignored"],[[6158,6158],"disallowed"],[[6159,6159],"disallowed"],[[6160,6169],"valid"],[[6170,6175],"disallowed"],[[6176,6263],"valid"],[[6264,6271],"disallowed"],[[6272,6313],"valid"],[[6314,6314],"valid"],[[6315,6319],"disallowed"],[[6320,6389],"valid"],[[6390,6399],"disallowed"],[[6400,6428],"valid"],[[6429,6430],"valid"],[[6431,6431],"disallowed"],[[6432,6443],"valid"],[[6444,6447],"disallowed"],[[6448,6459],"valid"],[[6460,6463],"disallowed"],[[6464,6464],"valid",[],"NV8"],[[6465,6467],"disallowed"],[[6468,6469],"valid",[],"NV8"],[[6470,6509],"valid"],[[6510,6511],"disallowed"],[[6512,6516],"valid"],[[6517,6527],"disallowed"],[[6528,6569],"valid"],[[6570,6571],"valid"],[[6572,6575],"disallowed"],[[6576,6601],"valid"],[[6602,6607],"disallowed"],[[6608,6617],"valid"],[[6618,6618],"valid",[],"XV8"],[[6619,6621],"disallowed"],[[6622,6623],"valid",[],"NV8"],[[6624,6655],"valid",[],"NV8"],[[6656,6683],"valid"],[[6684,6685],"disallowed"],[[6686,6687],"valid",[],"NV8"],[[6688,6750],"valid"],[[6751,6751],"disallowed"],[[6752,6780],"valid"],[[6781,6782],"disallowed"],[[6783,6793],"valid"],[[6794,6799],"disallowed"],[[6800,6809],"valid"],[[6810,6815],"disallowed"],[[6816,6822],"valid",[],"NV8"],[[6823,6823],"valid"],[[6824,6829],"valid",[],"NV8"],[[6830,6831],"disallowed"],[[6832,6845],"valid"],[[6846,6846],"valid",[],"NV8"],[[6847,6911],"disallowed"],[[6912,6987],"valid"],[[6988,6991],"disallowed"],[[6992,7001],"valid"],[[7002,7018],"valid",[],"NV8"],[[7019,7027],"valid"],[[7028,7036],"valid",[],"NV8"],[[7037,7039],"disallowed"],[[7040,7082],"valid"],[[7083,7085],"valid"],[[7086,7097],"valid"],[[7098,7103],"valid"],[[7104,7155],"valid"],[[7156,7163],"disallowed"],[[7164,7167],"valid",[],"NV8"],[[7168,7223],"valid"],[[7224,7226],"disallowed"],[[7227,7231],"valid",[],"NV8"],[[7232,7241],"valid"],[[7242,7244],"disallowed"],[[7245,7293],"valid"],[[7294,7295],"valid",[],"NV8"],[[7296,7359],"disallowed"],[[7360,7367],"valid",[],"NV8"],[[7368,7375],"disallowed"],[[7376,7378],"valid"],[[7379,7379],"valid",[],"NV8"],[[7380,7410],"valid"],[[7411,7414],"valid"],[[7415,7415],"disallowed"],[[7416,7417],"valid"],[[7418,7423],"disallowed"],[[7424,7467],"valid"],[[7468,7468],"mapped",[97]],[[7469,7469],"mapped",[230]],[[7470,7470],"mapped",[98]],[[7471,7471],"valid"],[[7472,7472],"mapped",[100]],[[7473,7473],"mapped",[101]],[[7474,7474],"mapped",[477]],[[7475,7475],"mapped",[103]],[[7476,7476],"mapped",[104]],[[7477,7477],"mapped",[105]],[[7478,7478],"mapped",[106]],[[7479,7479],"mapped",[107]],[[7480,7480],"mapped",[108]],[[7481,7481],"mapped",[109]],[[7482,7482],"mapped",[110]],[[7483,7483],"valid"],[[7484,7484],"mapped",[111]],[[7485,7485],"mapped",[547]],[[7486,7486],"mapped",[112]],[[7487,7487],"mapped",[114]],[[7488,7488],"mapped",[116]],[[7489,7489],"mapped",[117]],[[7490,7490],"mapped",[119]],[[7491,7491],"mapped",[97]],[[7492,7492],"mapped",[592]],[[7493,7493],"mapped",[593]],[[7494,7494],"mapped",[7426]],[[7495,7495],"mapped",[98]],[[7496,7496],"mapped",[100]],[[7497,7497],"mapped",[101]],[[7498,7498],"mapped",[601]],[[7499,7499],"mapped",[603]],[[7500,7500],"mapped",[604]],[[7501,7501],"mapped",[103]],[[7502,7502],"valid"],[[7503,7503],"mapped",[107]],[[7504,7504],"mapped",[109]],[[7505,7505],"mapped",[331]],[[7506,7506],"mapped",[111]],[[7507,7507],"mapped",[596]],[[7508,7508],"mapped",[7446]],[[7509,7509],"mapped",[7447]],[[7510,7510],"mapped",[112]],[[7511,7511],"mapped",[116]],[[7512,7512],"mapped",[117]],[[7513,7513],"mapped",[7453]],[[7514,7514],"mapped",[623]],[[7515,7515],"mapped",[118]],[[7516,7516],"mapped",[7461]],[[7517,7517],"mapped",[946]],[[7518,7518],"mapped",[947]],[[7519,7519],"mapped",[948]],[[7520,7520],"mapped",[966]],[[7521,7521],"mapped",[967]],[[7522,7522],"mapped",[105]],[[7523,7523],"mapped",[114]],[[7524,7524],"mapped",[117]],[[7525,7525],"mapped",[118]],[[7526,7526],"mapped",[946]],[[7527,7527],"mapped",[947]],[[7528,7528],"mapped",[961]],[[7529,7529],"mapped",[966]],[[7530,7530],"mapped",[967]],[[7531,7531],"valid"],[[7532,7543],"valid"],[[7544,7544],"mapped",[1085]],[[7545,7578],"valid"],[[7579,7579],"mapped",[594]],[[7580,7580],"mapped",[99]],[[7581,7581],"mapped",[597]],[[7582,7582],"mapped",[240]],[[7583,7583],"mapped",[604]],[[7584,7584],"mapped",[102]],[[7585,7585],"mapped",[607]],[[7586,7586],"mapped",[609]],[[7587,7587],"mapped",[613]],[[7588,7588],"mapped",[616]],[[7589,7589],"mapped",[617]],[[7590,7590],"mapped",[618]],[[7591,7591],"mapped",[7547]],[[7592,7592],"mapped",[669]],[[7593,7593],"mapped",[621]],[[7594,7594],"mapped",[7557]],[[7595,7595],"mapped",[671]],[[7596,7596],"mapped",[625]],[[7597,7597],"mapped",[624]],[[7598,7598],"mapped",[626]],[[7599,7599],"mapped",[627]],[[7600,7600],"mapped",[628]],[[7601,7601],"mapped",[629]],[[7602,7602],"mapped",[632]],[[7603,7603],"mapped",[642]],[[7604,7604],"mapped",[643]],[[7605,7605],"mapped",[427]],[[7606,7606],"mapped",[649]],[[7607,7607],"mapped",[650]],[[7608,7608],"mapped",[7452]],[[7609,7609],"mapped",[651]],[[7610,7610],"mapped",[652]],[[7611,7611],"mapped",[122]],[[7612,7612],"mapped",[656]],[[7613,7613],"mapped",[657]],[[7614,7614],"mapped",[658]],[[7615,7615],"mapped",[952]],[[7616,7619],"valid"],[[7620,7626],"valid"],[[7627,7654],"valid"],[[7655,7669],"valid"],[[7670,7675],"disallowed"],[[7676,7676],"valid"],[[7677,7677],"valid"],[[7678,7679],"valid"],[[7680,7680],"mapped",[7681]],[[7681,7681],"valid"],[[7682,7682],"mapped",[7683]],[[7683,7683],"valid"],[[7684,7684],"mapped",[7685]],[[7685,7685],"valid"],[[7686,7686],"mapped",[7687]],[[7687,7687],"valid"],[[7688,7688],"mapped",[7689]],[[7689,7689],"valid"],[[7690,7690],"mapped",[7691]],[[7691,7691],"valid"],[[7692,7692],"mapped",[7693]],[[7693,7693],"valid"],[[7694,7694],"mapped",[7695]],[[7695,7695],"valid"],[[7696,7696],"mapped",[7697]],[[7697,7697],"valid"],[[7698,7698],"mapped",[7699]],[[7699,7699],"valid"],[[7700,7700],"mapped",[7701]],[[7701,7701],"valid"],[[7702,7702],"mapped",[7703]],[[7703,7703],"valid"],[[7704,7704],"mapped",[7705]],[[7705,7705],"valid"],[[7706,7706],"mapped",[7707]],[[7707,7707],"valid"],[[7708,7708],"mapped",[7709]],[[7709,7709],"valid"],[[7710,7710],"mapped",[7711]],[[7711,7711],"valid"],[[7712,7712],"mapped",[7713]],[[7713,7713],"valid"],[[7714,7714],"mapped",[7715]],[[7715,7715],"valid"],[[7716,7716],"mapped",[7717]],[[7717,7717],"valid"],[[7718,7718],"mapped",[7719]],[[7719,7719],"valid"],[[7720,7720],"mapped",[7721]],[[7721,7721],"valid"],[[7722,7722],"mapped",[7723]],[[7723,7723],"valid"],[[7724,7724],"mapped",[7725]],[[7725,7725],"valid"],[[7726,7726],"mapped",[7727]],[[7727,7727],"valid"],[[7728,7728],"mapped",[7729]],[[7729,7729],"valid"],[[7730,7730],"mapped",[7731]],[[7731,7731],"valid"],[[7732,7732],"mapped",[7733]],[[7733,7733],"valid"],[[7734,7734],"mapped",[7735]],[[7735,7735],"valid"],[[7736,7736],"mapped",[7737]],[[7737,7737],"valid"],[[7738,7738],"mapped",[7739]],[[7739,7739],"valid"],[[7740,7740],"mapped",[7741]],[[7741,7741],"valid"],[[7742,7742],"mapped",[7743]],[[7743,7743],"valid"],[[7744,7744],"mapped",[7745]],[[7745,7745],"valid"],[[7746,7746],"mapped",[7747]],[[7747,7747],"valid"],[[7748,7748],"mapped",[7749]],[[7749,7749],"valid"],[[7750,7750],"mapped",[7751]],[[7751,7751],"valid"],[[7752,7752],"mapped",[7753]],[[7753,7753],"valid"],[[7754,7754],"mapped",[7755]],[[7755,7755],"valid"],[[7756,7756],"mapped",[7757]],[[7757,7757],"valid"],[[7758,7758],"mapped",[7759]],[[7759,7759],"valid"],[[7760,7760],"mapped",[7761]],[[7761,7761],"valid"],[[7762,7762],"mapped",[7763]],[[7763,7763],"valid"],[[7764,7764],"mapped",[7765]],[[7765,7765],"valid"],[[7766,7766],"mapped",[7767]],[[7767,7767],"valid"],[[7768,7768],"mapped",[7769]],[[7769,7769],"valid"],[[7770,7770],"mapped",[7771]],[[7771,7771],"valid"],[[7772,7772],"mapped",[7773]],[[7773,7773],"valid"],[[7774,7774],"mapped",[7775]],[[7775,7775],"valid"],[[7776,7776],"mapped",[7777]],[[7777,7777],"valid"],[[7778,7778],"mapped",[7779]],[[7779,7779],"valid"],[[7780,7780],"mapped",[7781]],[[7781,7781],"valid"],[[7782,7782],"mapped",[7783]],[[7783,7783],"valid"],[[7784,7784],"mapped",[7785]],[[7785,7785],"valid"],[[7786,7786],"mapped",[7787]],[[7787,7787],"valid"],[[7788,7788],"mapped",[7789]],[[7789,7789],"valid"],[[7790,7790],"mapped",[7791]],[[7791,7791],"valid"],[[7792,7792],"mapped",[7793]],[[7793,7793],"valid"],[[7794,7794],"mapped",[7795]],[[7795,7795],"valid"],[[7796,7796],"mapped",[7797]],[[7797,7797],"valid"],[[7798,7798],"mapped",[7799]],[[7799,7799],"valid"],[[7800,7800],"mapped",[7801]],[[7801,7801],"valid"],[[7802,7802],"mapped",[7803]],[[7803,7803],"valid"],[[7804,7804],"mapped",[7805]],[[7805,7805],"valid"],[[7806,7806],"mapped",[7807]],[[7807,7807],"valid"],[[7808,7808],"mapped",[7809]],[[7809,7809],"valid"],[[7810,7810],"mapped",[7811]],[[7811,7811],"valid"],[[7812,7812],"mapped",[7813]],[[7813,7813],"valid"],[[7814,7814],"mapped",[7815]],[[7815,7815],"valid"],[[7816,7816],"mapped",[7817]],[[7817,7817],"valid"],[[7818,7818],"mapped",[7819]],[[7819,7819],"valid"],[[7820,7820],"mapped",[7821]],[[7821,7821],"valid"],[[7822,7822],"mapped",[7823]],[[7823,7823],"valid"],[[7824,7824],"mapped",[7825]],[[7825,7825],"valid"],[[7826,7826],"mapped",[7827]],[[7827,7827],"valid"],[[7828,7828],"mapped",[7829]],[[7829,7833],"valid"],[[7834,7834],"mapped",[97,702]],[[7835,7835],"mapped",[7777]],[[7836,7837],"valid"],[[7838,7838],"mapped",[115,115]],[[7839,7839],"valid"],[[7840,7840],"mapped",[7841]],[[7841,7841],"valid"],[[7842,7842],"mapped",[7843]],[[7843,7843],"valid"],[[7844,7844],"mapped",[7845]],[[7845,7845],"valid"],[[7846,7846],"mapped",[7847]],[[7847,7847],"valid"],[[7848,7848],"mapped",[7849]],[[7849,7849],"valid"],[[7850,7850],"mapped",[7851]],[[7851,7851],"valid"],[[7852,7852],"mapped",[7853]],[[7853,7853],"valid"],[[7854,7854],"mapped",[7855]],[[7855,7855],"valid"],[[7856,7856],"mapped",[7857]],[[7857,7857],"valid"],[[7858,7858],"mapped",[7859]],[[7859,7859],"valid"],[[7860,7860],"mapped",[7861]],[[7861,7861],"valid"],[[7862,7862],"mapped",[7863]],[[7863,7863],"valid"],[[7864,7864],"mapped",[7865]],[[7865,7865],"valid"],[[7866,7866],"mapped",[7867]],[[7867,7867],"valid"],[[7868,7868],"mapped",[7869]],[[7869,7869],"valid"],[[7870,7870],"mapped",[7871]],[[7871,7871],"valid"],[[7872,7872],"mapped",[7873]],[[7873,7873],"valid"],[[7874,7874],"mapped",[7875]],[[7875,7875],"valid"],[[7876,7876],"mapped",[7877]],[[7877,7877],"valid"],[[7878,7878],"mapped",[7879]],[[7879,7879],"valid"],[[7880,7880],"mapped",[7881]],[[7881,7881],"valid"],[[7882,7882],"mapped",[7883]],[[7883,7883],"valid"],[[7884,7884],"mapped",[7885]],[[7885,7885],"valid"],[[7886,7886],"mapped",[7887]],[[7887,7887],"valid"],[[7888,7888],"mapped",[7889]],[[7889,7889],"valid"],[[7890,7890],"mapped",[7891]],[[7891,7891],"valid"],[[7892,7892],"mapped",[7893]],[[7893,7893],"valid"],[[7894,7894],"mapped",[7895]],[[7895,7895],"valid"],[[7896,7896],"mapped",[7897]],[[7897,7897],"valid"],[[7898,7898],"mapped",[7899]],[[7899,7899],"valid"],[[7900,7900],"mapped",[7901]],[[7901,7901],"valid"],[[7902,7902],"mapped",[7903]],[[7903,7903],"valid"],[[7904,7904],"mapped",[7905]],[[7905,7905],"valid"],[[7906,7906],"mapped",[7907]],[[7907,7907],"valid"],[[7908,7908],"mapped",[7909]],[[7909,7909],"valid"],[[7910,7910],"mapped",[7911]],[[7911,7911],"valid"],[[7912,7912],"mapped",[7913]],[[7913,7913],"valid"],[[7914,7914],"mapped",[7915]],[[7915,7915],"valid"],[[7916,7916],"mapped",[7917]],[[7917,7917],"valid"],[[7918,7918],"mapped",[7919]],[[7919,7919],"valid"],[[7920,7920],"mapped",[7921]],[[7921,7921],"valid"],[[7922,7922],"mapped",[7923]],[[7923,7923],"valid"],[[7924,7924],"mapped",[7925]],[[7925,7925],"valid"],[[7926,7926],"mapped",[7927]],[[7927,7927],"valid"],[[7928,7928],"mapped",[7929]],[[7929,7929],"valid"],[[7930,7930],"mapped",[7931]],[[7931,7931],"valid"],[[7932,7932],"mapped",[7933]],[[7933,7933],"valid"],[[7934,7934],"mapped",[7935]],[[7935,7935],"valid"],[[7936,7943],"valid"],[[7944,7944],"mapped",[7936]],[[7945,7945],"mapped",[7937]],[[7946,7946],"mapped",[7938]],[[7947,7947],"mapped",[7939]],[[7948,7948],"mapped",[7940]],[[7949,7949],"mapped",[7941]],[[7950,7950],"mapped",[7942]],[[7951,7951],"mapped",[7943]],[[7952,7957],"valid"],[[7958,7959],"disallowed"],[[7960,7960],"mapped",[7952]],[[7961,7961],"mapped",[7953]],[[7962,7962],"mapped",[7954]],[[7963,7963],"mapped",[7955]],[[7964,7964],"mapped",[7956]],[[7965,7965],"mapped",[7957]],[[7966,7967],"disallowed"],[[7968,7975],"valid"],[[7976,7976],"mapped",[7968]],[[7977,7977],"mapped",[7969]],[[7978,7978],"mapped",[7970]],[[7979,7979],"mapped",[7971]],[[7980,7980],"mapped",[7972]],[[7981,7981],"mapped",[7973]],[[7982,7982],"mapped",[7974]],[[7983,7983],"mapped",[7975]],[[7984,7991],"valid"],[[7992,7992],"mapped",[7984]],[[7993,7993],"mapped",[7985]],[[7994,7994],"mapped",[7986]],[[7995,7995],"mapped",[7987]],[[7996,7996],"mapped",[7988]],[[7997,7997],"mapped",[7989]],[[7998,7998],"mapped",[7990]],[[7999,7999],"mapped",[7991]],[[8000,8005],"valid"],[[8006,8007],"disallowed"],[[8008,8008],"mapped",[8000]],[[8009,8009],"mapped",[8001]],[[8010,8010],"mapped",[8002]],[[8011,8011],"mapped",[8003]],[[8012,8012],"mapped",[8004]],[[8013,8013],"mapped",[8005]],[[8014,8015],"disallowed"],[[8016,8023],"valid"],[[8024,8024],"disallowed"],[[8025,8025],"mapped",[8017]],[[8026,8026],"disallowed"],[[8027,8027],"mapped",[8019]],[[8028,8028],"disallowed"],[[8029,8029],"mapped",[8021]],[[8030,8030],"disallowed"],[[8031,8031],"mapped",[8023]],[[8032,8039],"valid"],[[8040,8040],"mapped",[8032]],[[8041,8041],"mapped",[8033]],[[8042,8042],"mapped",[8034]],[[8043,8043],"mapped",[8035]],[[8044,8044],"mapped",[8036]],[[8045,8045],"mapped",[8037]],[[8046,8046],"mapped",[8038]],[[8047,8047],"mapped",[8039]],[[8048,8048],"valid"],[[8049,8049],"mapped",[940]],[[8050,8050],"valid"],[[8051,8051],"mapped",[941]],[[8052,8052],"valid"],[[8053,8053],"mapped",[942]],[[8054,8054],"valid"],[[8055,8055],"mapped",[943]],[[8056,8056],"valid"],[[8057,8057],"mapped",[972]],[[8058,8058],"valid"],[[8059,8059],"mapped",[973]],[[8060,8060],"valid"],[[8061,8061],"mapped",[974]],[[8062,8063],"disallowed"],[[8064,8064],"mapped",[7936,953]],[[8065,8065],"mapped",[7937,953]],[[8066,8066],"mapped",[7938,953]],[[8067,8067],"mapped",[7939,953]],[[8068,8068],"mapped",[7940,953]],[[8069,8069],"mapped",[7941,953]],[[8070,8070],"mapped",[7942,953]],[[8071,8071],"mapped",[7943,953]],[[8072,8072],"mapped",[7936,953]],[[8073,8073],"mapped",[7937,953]],[[8074,8074],"mapped",[7938,953]],[[8075,8075],"mapped",[7939,953]],[[8076,8076],"mapped",[7940,953]],[[8077,8077],"mapped",[7941,953]],[[8078,8078],"mapped",[7942,953]],[[8079,8079],"mapped",[7943,953]],[[8080,8080],"mapped",[7968,953]],[[8081,8081],"mapped",[7969,953]],[[8082,8082],"mapped",[7970,953]],[[8083,8083],"mapped",[7971,953]],[[8084,8084],"mapped",[7972,953]],[[8085,8085],"mapped",[7973,953]],[[8086,8086],"mapped",[7974,953]],[[8087,8087],"mapped",[7975,953]],[[8088,8088],"mapped",[7968,953]],[[8089,8089],"mapped",[7969,953]],[[8090,8090],"mapped",[7970,953]],[[8091,8091],"mapped",[7971,953]],[[8092,8092],"mapped",[7972,953]],[[8093,8093],"mapped",[7973,953]],[[8094,8094],"mapped",[7974,953]],[[8095,8095],"mapped",[7975,953]],[[8096,8096],"mapped",[8032,953]],[[8097,8097],"mapped",[8033,953]],[[8098,8098],"mapped",[8034,953]],[[8099,8099],"mapped",[8035,953]],[[8100,8100],"mapped",[8036,953]],[[8101,8101],"mapped",[8037,953]],[[8102,8102],"mapped",[8038,953]],[[8103,8103],"mapped",[8039,953]],[[8104,8104],"mapped",[8032,953]],[[8105,8105],"mapped",[8033,953]],[[8106,8106],"mapped",[8034,953]],[[8107,8107],"mapped",[8035,953]],[[8108,8108],"mapped",[8036,953]],[[8109,8109],"mapped",[8037,953]],[[8110,8110],"mapped",[8038,953]],[[8111,8111],"mapped",[8039,953]],[[8112,8113],"valid"],[[8114,8114],"mapped",[8048,953]],[[8115,8115],"mapped",[945,953]],[[8116,8116],"mapped",[940,953]],[[8117,8117],"disallowed"],[[8118,8118],"valid"],[[8119,8119],"mapped",[8118,953]],[[8120,8120],"mapped",[8112]],[[8121,8121],"mapped",[8113]],[[8122,8122],"mapped",[8048]],[[8123,8123],"mapped",[940]],[[8124,8124],"mapped",[945,953]],[[8125,8125],"disallowed_STD3_mapped",[32,787]],[[8126,8126],"mapped",[953]],[[8127,8127],"disallowed_STD3_mapped",[32,787]],[[8128,8128],"disallowed_STD3_mapped",[32,834]],[[8129,8129],"disallowed_STD3_mapped",[32,776,834]],[[8130,8130],"mapped",[8052,953]],[[8131,8131],"mapped",[951,953]],[[8132,8132],"mapped",[942,953]],[[8133,8133],"disallowed"],[[8134,8134],"valid"],[[8135,8135],"mapped",[8134,953]],[[8136,8136],"mapped",[8050]],[[8137,8137],"mapped",[941]],[[8138,8138],"mapped",[8052]],[[8139,8139],"mapped",[942]],[[8140,8140],"mapped",[951,953]],[[8141,8141],"disallowed_STD3_mapped",[32,787,768]],[[8142,8142],"disallowed_STD3_mapped",[32,787,769]],[[8143,8143],"disallowed_STD3_mapped",[32,787,834]],[[8144,8146],"valid"],[[8147,8147],"mapped",[912]],[[8148,8149],"disallowed"],[[8150,8151],"valid"],[[8152,8152],"mapped",[8144]],[[8153,8153],"mapped",[8145]],[[8154,8154],"mapped",[8054]],[[8155,8155],"mapped",[943]],[[8156,8156],"disallowed"],[[8157,8157],"disallowed_STD3_mapped",[32,788,768]],[[8158,8158],"disallowed_STD3_mapped",[32,788,769]],[[8159,8159],"disallowed_STD3_mapped",[32,788,834]],[[8160,8162],"valid"],[[8163,8163],"mapped",[944]],[[8164,8167],"valid"],[[8168,8168],"mapped",[8160]],[[8169,8169],"mapped",[8161]],[[8170,8170],"mapped",[8058]],[[8171,8171],"mapped",[973]],[[8172,8172],"mapped",[8165]],[[8173,8173],"disallowed_STD3_mapped",[32,776,768]],[[8174,8174],"disallowed_STD3_mapped",[32,776,769]],[[8175,8175],"disallowed_STD3_mapped",[96]],[[8176,8177],"disallowed"],[[8178,8178],"mapped",[8060,953]],[[8179,8179],"mapped",[969,953]],[[8180,8180],"mapped",[974,953]],[[8181,8181],"disallowed"],[[8182,8182],"valid"],[[8183,8183],"mapped",[8182,953]],[[8184,8184],"mapped",[8056]],[[8185,8185],"mapped",[972]],[[8186,8186],"mapped",[8060]],[[8187,8187],"mapped",[974]],[[8188,8188],"mapped",[969,953]],[[8189,8189],"disallowed_STD3_mapped",[32,769]],[[8190,8190],"disallowed_STD3_mapped",[32,788]],[[8191,8191],"disallowed"],[[8192,8202],"disallowed_STD3_mapped",[32]],[[8203,8203],"ignored"],[[8204,8205],"deviation",[]],[[8206,8207],"disallowed"],[[8208,8208],"valid",[],"NV8"],[[8209,8209],"mapped",[8208]],[[8210,8214],"valid",[],"NV8"],[[8215,8215],"disallowed_STD3_mapped",[32,819]],[[8216,8227],"valid",[],"NV8"],[[8228,8230],"disallowed"],[[8231,8231],"valid",[],"NV8"],[[8232,8238],"disallowed"],[[8239,8239],"disallowed_STD3_mapped",[32]],[[8240,8242],"valid",[],"NV8"],[[8243,8243],"mapped",[8242,8242]],[[8244,8244],"mapped",[8242,8242,8242]],[[8245,8245],"valid",[],"NV8"],[[8246,8246],"mapped",[8245,8245]],[[8247,8247],"mapped",[8245,8245,8245]],[[8248,8251],"valid",[],"NV8"],[[8252,8252],"disallowed_STD3_mapped",[33,33]],[[8253,8253],"valid",[],"NV8"],[[8254,8254],"disallowed_STD3_mapped",[32,773]],[[8255,8262],"valid",[],"NV8"],[[8263,8263],"disallowed_STD3_mapped",[63,63]],[[8264,8264],"disallowed_STD3_mapped",[63,33]],[[8265,8265],"disallowed_STD3_mapped",[33,63]],[[8266,8269],"valid",[],"NV8"],[[8270,8274],"valid",[],"NV8"],[[8275,8276],"valid",[],"NV8"],[[8277,8278],"valid",[],"NV8"],[[8279,8279],"mapped",[8242,8242,8242,8242]],[[8280,8286],"valid",[],"NV8"],[[8287,8287],"disallowed_STD3_mapped",[32]],[[8288,8288],"ignored"],[[8289,8291],"disallowed"],[[8292,8292],"ignored"],[[8293,8293],"disallowed"],[[8294,8297],"disallowed"],[[8298,8303],"disallowed"],[[8304,8304],"mapped",[48]],[[8305,8305],"mapped",[105]],[[8306,8307],"disallowed"],[[8308,8308],"mapped",[52]],[[8309,8309],"mapped",[53]],[[8310,8310],"mapped",[54]],[[8311,8311],"mapped",[55]],[[8312,8312],"mapped",[56]],[[8313,8313],"mapped",[57]],[[8314,8314],"disallowed_STD3_mapped",[43]],[[8315,8315],"mapped",[8722]],[[8316,8316],"disallowed_STD3_mapped",[61]],[[8317,8317],"disallowed_STD3_mapped",[40]],[[8318,8318],"disallowed_STD3_mapped",[41]],[[8319,8319],"mapped",[110]],[[8320,8320],"mapped",[48]],[[8321,8321],"mapped",[49]],[[8322,8322],"mapped",[50]],[[8323,8323],"mapped",[51]],[[8324,8324],"mapped",[52]],[[8325,8325],"mapped",[53]],[[8326,8326],"mapped",[54]],[[8327,8327],"mapped",[55]],[[8328,8328],"mapped",[56]],[[8329,8329],"mapped",[57]],[[8330,8330],"disallowed_STD3_mapped",[43]],[[8331,8331],"mapped",[8722]],[[8332,8332],"disallowed_STD3_mapped",[61]],[[8333,8333],"disallowed_STD3_mapped",[40]],[[8334,8334],"disallowed_STD3_mapped",[41]],[[8335,8335],"disallowed"],[[8336,8336],"mapped",[97]],[[8337,8337],"mapped",[101]],[[8338,8338],"mapped",[111]],[[8339,8339],"mapped",[120]],[[8340,8340],"mapped",[601]],[[8341,8341],"mapped",[104]],[[8342,8342],"mapped",[107]],[[8343,8343],"mapped",[108]],[[8344,8344],"mapped",[109]],[[8345,8345],"mapped",[110]],[[8346,8346],"mapped",[112]],[[8347,8347],"mapped",[115]],[[8348,8348],"mapped",[116]],[[8349,8351],"disallowed"],[[8352,8359],"valid",[],"NV8"],[[8360,8360],"mapped",[114,115]],[[8361,8362],"valid",[],"NV8"],[[8363,8363],"valid",[],"NV8"],[[8364,8364],"valid",[],"NV8"],[[8365,8367],"valid",[],"NV8"],[[8368,8369],"valid",[],"NV8"],[[8370,8373],"valid",[],"NV8"],[[8374,8376],"valid",[],"NV8"],[[8377,8377],"valid",[],"NV8"],[[8378,8378],"valid",[],"NV8"],[[8379,8381],"valid",[],"NV8"],[[8382,8382],"valid",[],"NV8"],[[8383,8399],"disallowed"],[[8400,8417],"valid",[],"NV8"],[[8418,8419],"valid",[],"NV8"],[[8420,8426],"valid",[],"NV8"],[[8427,8427],"valid",[],"NV8"],[[8428,8431],"valid",[],"NV8"],[[8432,8432],"valid",[],"NV8"],[[8433,8447],"disallowed"],[[8448,8448],"disallowed_STD3_mapped",[97,47,99]],[[8449,8449],"disallowed_STD3_mapped",[97,47,115]],[[8450,8450],"mapped",[99]],[[8451,8451],"mapped",[176,99]],[[8452,8452],"valid",[],"NV8"],[[8453,8453],"disallowed_STD3_mapped",[99,47,111]],[[8454,8454],"disallowed_STD3_mapped",[99,47,117]],[[8455,8455],"mapped",[603]],[[8456,8456],"valid",[],"NV8"],[[8457,8457],"mapped",[176,102]],[[8458,8458],"mapped",[103]],[[8459,8462],"mapped",[104]],[[8463,8463],"mapped",[295]],[[8464,8465],"mapped",[105]],[[8466,8467],"mapped",[108]],[[8468,8468],"valid",[],"NV8"],[[8469,8469],"mapped",[110]],[[8470,8470],"mapped",[110,111]],[[8471,8472],"valid",[],"NV8"],[[8473,8473],"mapped",[112]],[[8474,8474],"mapped",[113]],[[8475,8477],"mapped",[114]],[[8478,8479],"valid",[],"NV8"],[[8480,8480],"mapped",[115,109]],[[8481,8481],"mapped",[116,101,108]],[[8482,8482],"mapped",[116,109]],[[8483,8483],"valid",[],"NV8"],[[8484,8484],"mapped",[122]],[[8485,8485],"valid",[],"NV8"],[[8486,8486],"mapped",[969]],[[8487,8487],"valid",[],"NV8"],[[8488,8488],"mapped",[122]],[[8489,8489],"valid",[],"NV8"],[[8490,8490],"mapped",[107]],[[8491,8491],"mapped",[229]],[[8492,8492],"mapped",[98]],[[8493,8493],"mapped",[99]],[[8494,8494],"valid",[],"NV8"],[[8495,8496],"mapped",[101]],[[8497,8497],"mapped",[102]],[[8498,8498],"disallowed"],[[8499,8499],"mapped",[109]],[[8500,8500],"mapped",[111]],[[8501,8501],"mapped",[1488]],[[8502,8502],"mapped",[1489]],[[8503,8503],"mapped",[1490]],[[8504,8504],"mapped",[1491]],[[8505,8505],"mapped",[105]],[[8506,8506],"valid",[],"NV8"],[[8507,8507],"mapped",[102,97,120]],[[8508,8508],"mapped",[960]],[[8509,8510],"mapped",[947]],[[8511,8511],"mapped",[960]],[[8512,8512],"mapped",[8721]],[[8513,8516],"valid",[],"NV8"],[[8517,8518],"mapped",[100]],[[8519,8519],"mapped",[101]],[[8520,8520],"mapped",[105]],[[8521,8521],"mapped",[106]],[[8522,8523],"valid",[],"NV8"],[[8524,8524],"valid",[],"NV8"],[[8525,8525],"valid",[],"NV8"],[[8526,8526],"valid"],[[8527,8527],"valid",[],"NV8"],[[8528,8528],"mapped",[49,8260,55]],[[8529,8529],"mapped",[49,8260,57]],[[8530,8530],"mapped",[49,8260,49,48]],[[8531,8531],"mapped",[49,8260,51]],[[8532,8532],"mapped",[50,8260,51]],[[8533,8533],"mapped",[49,8260,53]],[[8534,8534],"mapped",[50,8260,53]],[[8535,8535],"mapped",[51,8260,53]],[[8536,8536],"mapped",[52,8260,53]],[[8537,8537],"mapped",[49,8260,54]],[[8538,8538],"mapped",[53,8260,54]],[[8539,8539],"mapped",[49,8260,56]],[[8540,8540],"mapped",[51,8260,56]],[[8541,8541],"mapped",[53,8260,56]],[[8542,8542],"mapped",[55,8260,56]],[[8543,8543],"mapped",[49,8260]],[[8544,8544],"mapped",[105]],[[8545,8545],"mapped",[105,105]],[[8546,8546],"mapped",[105,105,105]],[[8547,8547],"mapped",[105,118]],[[8548,8548],"mapped",[118]],[[8549,8549],"mapped",[118,105]],[[8550,8550],"mapped",[118,105,105]],[[8551,8551],"mapped",[118,105,105,105]],[[8552,8552],"mapped",[105,120]],[[8553,8553],"mapped",[120]],[[8554,8554],"mapped",[120,105]],[[8555,8555],"mapped",[120,105,105]],[[8556,8556],"mapped",[108]],[[8557,8557],"mapped",[99]],[[8558,8558],"mapped",[100]],[[8559,8559],"mapped",[109]],[[8560,8560],"mapped",[105]],[[8561,8561],"mapped",[105,105]],[[8562,8562],"mapped",[105,105,105]],[[8563,8563],"mapped",[105,118]],[[8564,8564],"mapped",[118]],[[8565,8565],"mapped",[118,105]],[[8566,8566],"mapped",[118,105,105]],[[8567,8567],"mapped",[118,105,105,105]],[[8568,8568],"mapped",[105,120]],[[8569,8569],"mapped",[120]],[[8570,8570],"mapped",[120,105]],[[8571,8571],"mapped",[120,105,105]],[[8572,8572],"mapped",[108]],[[8573,8573],"mapped",[99]],[[8574,8574],"mapped",[100]],[[8575,8575],"mapped",[109]],[[8576,8578],"valid",[],"NV8"],[[8579,8579],"disallowed"],[[8580,8580],"valid"],[[8581,8584],"valid",[],"NV8"],[[8585,8585],"mapped",[48,8260,51]],[[8586,8587],"valid",[],"NV8"],[[8588,8591],"disallowed"],[[8592,8682],"valid",[],"NV8"],[[8683,8691],"valid",[],"NV8"],[[8692,8703],"valid",[],"NV8"],[[8704,8747],"valid",[],"NV8"],[[8748,8748],"mapped",[8747,8747]],[[8749,8749],"mapped",[8747,8747,8747]],[[8750,8750],"valid",[],"NV8"],[[8751,8751],"mapped",[8750,8750]],[[8752,8752],"mapped",[8750,8750,8750]],[[8753,8799],"valid",[],"NV8"],[[8800,8800],"disallowed_STD3_valid"],[[8801,8813],"valid",[],"NV8"],[[8814,8815],"disallowed_STD3_valid"],[[8816,8945],"valid",[],"NV8"],[[8946,8959],"valid",[],"NV8"],[[8960,8960],"valid",[],"NV8"],[[8961,8961],"valid",[],"NV8"],[[8962,9000],"valid",[],"NV8"],[[9001,9001],"mapped",[12296]],[[9002,9002],"mapped",[12297]],[[9003,9082],"valid",[],"NV8"],[[9083,9083],"valid",[],"NV8"],[[9084,9084],"valid",[],"NV8"],[[9085,9114],"valid",[],"NV8"],[[9115,9166],"valid",[],"NV8"],[[9167,9168],"valid",[],"NV8"],[[9169,9179],"valid",[],"NV8"],[[9180,9191],"valid",[],"NV8"],[[9192,9192],"valid",[],"NV8"],[[9193,9203],"valid",[],"NV8"],[[9204,9210],"valid",[],"NV8"],[[9211,9215],"disallowed"],[[9216,9252],"valid",[],"NV8"],[[9253,9254],"valid",[],"NV8"],[[9255,9279],"disallowed"],[[9280,9290],"valid",[],"NV8"],[[9291,9311],"disallowed"],[[9312,9312],"mapped",[49]],[[9313,9313],"mapped",[50]],[[9314,9314],"mapped",[51]],[[9315,9315],"mapped",[52]],[[9316,9316],"mapped",[53]],[[9317,9317],"mapped",[54]],[[9318,9318],"mapped",[55]],[[9319,9319],"mapped",[56]],[[9320,9320],"mapped",[57]],[[9321,9321],"mapped",[49,48]],[[9322,9322],"mapped",[49,49]],[[9323,9323],"mapped",[49,50]],[[9324,9324],"mapped",[49,51]],[[9325,9325],"mapped",[49,52]],[[9326,9326],"mapped",[49,53]],[[9327,9327],"mapped",[49,54]],[[9328,9328],"mapped",[49,55]],[[9329,9329],"mapped",[49,56]],[[9330,9330],"mapped",[49,57]],[[9331,9331],"mapped",[50,48]],[[9332,9332],"disallowed_STD3_mapped",[40,49,41]],[[9333,9333],"disallowed_STD3_mapped",[40,50,41]],[[9334,9334],"disallowed_STD3_mapped",[40,51,41]],[[9335,9335],"disallowed_STD3_mapped",[40,52,41]],[[9336,9336],"disallowed_STD3_mapped",[40,53,41]],[[9337,9337],"disallowed_STD3_mapped",[40,54,41]],[[9338,9338],"disallowed_STD3_mapped",[40,55,41]],[[9339,9339],"disallowed_STD3_mapped",[40,56,41]],[[9340,9340],"disallowed_STD3_mapped",[40,57,41]],[[9341,9341],"disallowed_STD3_mapped",[40,49,48,41]],[[9342,9342],"disallowed_STD3_mapped",[40,49,49,41]],[[9343,9343],"disallowed_STD3_mapped",[40,49,50,41]],[[9344,9344],"disallowed_STD3_mapped",[40,49,51,41]],[[9345,9345],"disallowed_STD3_mapped",[40,49,52,41]],[[9346,9346],"disallowed_STD3_mapped",[40,49,53,41]],[[9347,9347],"disallowed_STD3_mapped",[40,49,54,41]],[[9348,9348],"disallowed_STD3_mapped",[40,49,55,41]],[[9349,9349],"disallowed_STD3_mapped",[40,49,56,41]],[[9350,9350],"disallowed_STD3_mapped",[40,49,57,41]],[[9351,9351],"disallowed_STD3_mapped",[40,50,48,41]],[[9352,9371],"disallowed"],[[9372,9372],"disallowed_STD3_mapped",[40,97,41]],[[9373,9373],"disallowed_STD3_mapped",[40,98,41]],[[9374,9374],"disallowed_STD3_mapped",[40,99,41]],[[9375,9375],"disallowed_STD3_mapped",[40,100,41]],[[9376,9376],"disallowed_STD3_mapped",[40,101,41]],[[9377,9377],"disallowed_STD3_mapped",[40,102,41]],[[9378,9378],"disallowed_STD3_mapped",[40,103,41]],[[9379,9379],"disallowed_STD3_mapped",[40,104,41]],[[9380,9380],"disallowed_STD3_mapped",[40,105,41]],[[9381,9381],"disallowed_STD3_mapped",[40,106,41]],[[9382,9382],"disallowed_STD3_mapped",[40,107,41]],[[9383,9383],"disallowed_STD3_mapped",[40,108,41]],[[9384,9384],"disallowed_STD3_mapped",[40,109,41]],[[9385,9385],"disallowed_STD3_mapped",[40,110,41]],[[9386,9386],"disallowed_STD3_mapped",[40,111,41]],[[9387,9387],"disallowed_STD3_mapped",[40,112,41]],[[9388,9388],"disallowed_STD3_mapped",[40,113,41]],[[9389,9389],"disallowed_STD3_mapped",[40,114,41]],[[9390,9390],"disallowed_STD3_mapped",[40,115,41]],[[9391,9391],"disallowed_STD3_mapped",[40,116,41]],[[9392,9392],"disallowed_STD3_mapped",[40,117,41]],[[9393,9393],"disallowed_STD3_mapped",[40,118,41]],[[9394,9394],"disallowed_STD3_mapped",[40,119,41]],[[9395,9395],"disallowed_STD3_mapped",[40,120,41]],[[9396,9396],"disallowed_STD3_mapped",[40,121,41]],[[9397,9397],"disallowed_STD3_mapped",[40,122,41]],[[9398,9398],"mapped",[97]],[[9399,9399],"mapped",[98]],[[9400,9400],"mapped",[99]],[[9401,9401],"mapped",[100]],[[9402,9402],"mapped",[101]],[[9403,9403],"mapped",[102]],[[9404,9404],"mapped",[103]],[[9405,9405],"mapped",[104]],[[9406,9406],"mapped",[105]],[[9407,9407],"mapped",[106]],[[9408,9408],"mapped",[107]],[[9409,9409],"mapped",[108]],[[9410,9410],"mapped",[109]],[[9411,9411],"mapped",[110]],[[9412,9412],"mapped",[111]],[[9413,9413],"mapped",[112]],[[9414,9414],"mapped",[113]],[[9415,9415],"mapped",[114]],[[9416,9416],"mapped",[115]],[[9417,9417],"mapped",[116]],[[9418,9418],"mapped",[117]],[[9419,9419],"mapped",[118]],[[9420,9420],"mapped",[119]],[[9421,9421],"mapped",[120]],[[9422,9422],"mapped",[121]],[[9423,9423],"mapped",[122]],[[9424,9424],"mapped",[97]],[[9425,9425],"mapped",[98]],[[9426,9426],"mapped",[99]],[[9427,9427],"mapped",[100]],[[9428,9428],"mapped",[101]],[[9429,9429],"mapped",[102]],[[9430,9430],"mapped",[103]],[[9431,9431],"mapped",[104]],[[9432,9432],"mapped",[105]],[[9433,9433],"mapped",[106]],[[9434,9434],"mapped",[107]],[[9435,9435],"mapped",[108]],[[9436,9436],"mapped",[109]],[[9437,9437],"mapped",[110]],[[9438,9438],"mapped",[111]],[[9439,9439],"mapped",[112]],[[9440,9440],"mapped",[113]],[[9441,9441],"mapped",[114]],[[9442,9442],"mapped",[115]],[[9443,9443],"mapped",[116]],[[9444,9444],"mapped",[117]],[[9445,9445],"mapped",[118]],[[9446,9446],"mapped",[119]],[[9447,9447],"mapped",[120]],[[9448,9448],"mapped",[121]],[[9449,9449],"mapped",[122]],[[9450,9450],"mapped",[48]],[[9451,9470],"valid",[],"NV8"],[[9471,9471],"valid",[],"NV8"],[[9472,9621],"valid",[],"NV8"],[[9622,9631],"valid",[],"NV8"],[[9632,9711],"valid",[],"NV8"],[[9712,9719],"valid",[],"NV8"],[[9720,9727],"valid",[],"NV8"],[[9728,9747],"valid",[],"NV8"],[[9748,9749],"valid",[],"NV8"],[[9750,9751],"valid",[],"NV8"],[[9752,9752],"valid",[],"NV8"],[[9753,9753],"valid",[],"NV8"],[[9754,9839],"valid",[],"NV8"],[[9840,9841],"valid",[],"NV8"],[[9842,9853],"valid",[],"NV8"],[[9854,9855],"valid",[],"NV8"],[[9856,9865],"valid",[],"NV8"],[[9866,9873],"valid",[],"NV8"],[[9874,9884],"valid",[],"NV8"],[[9885,9885],"valid",[],"NV8"],[[9886,9887],"valid",[],"NV8"],[[9888,9889],"valid",[],"NV8"],[[9890,9905],"valid",[],"NV8"],[[9906,9906],"valid",[],"NV8"],[[9907,9916],"valid",[],"NV8"],[[9917,9919],"valid",[],"NV8"],[[9920,9923],"valid",[],"NV8"],[[9924,9933],"valid",[],"NV8"],[[9934,9934],"valid",[],"NV8"],[[9935,9953],"valid",[],"NV8"],[[9954,9954],"valid",[],"NV8"],[[9955,9955],"valid",[],"NV8"],[[9956,9959],"valid",[],"NV8"],[[9960,9983],"valid",[],"NV8"],[[9984,9984],"valid",[],"NV8"],[[9985,9988],"valid",[],"NV8"],[[9989,9989],"valid",[],"NV8"],[[9990,9993],"valid",[],"NV8"],[[9994,9995],"valid",[],"NV8"],[[9996,10023],"valid",[],"NV8"],[[10024,10024],"valid",[],"NV8"],[[10025,10059],"valid",[],"NV8"],[[10060,10060],"valid",[],"NV8"],[[10061,10061],"valid",[],"NV8"],[[10062,10062],"valid",[],"NV8"],[[10063,10066],"valid",[],"NV8"],[[10067,10069],"valid",[],"NV8"],[[10070,10070],"valid",[],"NV8"],[[10071,10071],"valid",[],"NV8"],[[10072,10078],"valid",[],"NV8"],[[10079,10080],"valid",[],"NV8"],[[10081,10087],"valid",[],"NV8"],[[10088,10101],"valid",[],"NV8"],[[10102,10132],"valid",[],"NV8"],[[10133,10135],"valid",[],"NV8"],[[10136,10159],"valid",[],"NV8"],[[10160,10160],"valid",[],"NV8"],[[10161,10174],"valid",[],"NV8"],[[10175,10175],"valid",[],"NV8"],[[10176,10182],"valid",[],"NV8"],[[10183,10186],"valid",[],"NV8"],[[10187,10187],"valid",[],"NV8"],[[10188,10188],"valid",[],"NV8"],[[10189,10189],"valid",[],"NV8"],[[10190,10191],"valid",[],"NV8"],[[10192,10219],"valid",[],"NV8"],[[10220,10223],"valid",[],"NV8"],[[10224,10239],"valid",[],"NV8"],[[10240,10495],"valid",[],"NV8"],[[10496,10763],"valid",[],"NV8"],[[10764,10764],"mapped",[8747,8747,8747,8747]],[[10765,10867],"valid",[],"NV8"],[[10868,10868],"disallowed_STD3_mapped",[58,58,61]],[[10869,10869],"disallowed_STD3_mapped",[61,61]],[[10870,10870],"disallowed_STD3_mapped",[61,61,61]],[[10871,10971],"valid",[],"NV8"],[[10972,10972],"mapped",[10973,824]],[[10973,11007],"valid",[],"NV8"],[[11008,11021],"valid",[],"NV8"],[[11022,11027],"valid",[],"NV8"],[[11028,11034],"valid",[],"NV8"],[[11035,11039],"valid",[],"NV8"],[[11040,11043],"valid",[],"NV8"],[[11044,11084],"valid",[],"NV8"],[[11085,11087],"valid",[],"NV8"],[[11088,11092],"valid",[],"NV8"],[[11093,11097],"valid",[],"NV8"],[[11098,11123],"valid",[],"NV8"],[[11124,11125],"disallowed"],[[11126,11157],"valid",[],"NV8"],[[11158,11159],"disallowed"],[[11160,11193],"valid",[],"NV8"],[[11194,11196],"disallowed"],[[11197,11208],"valid",[],"NV8"],[[11209,11209],"disallowed"],[[11210,11217],"valid",[],"NV8"],[[11218,11243],"disallowed"],[[11244,11247],"valid",[],"NV8"],[[11248,11263],"disallowed"],[[11264,11264],"mapped",[11312]],[[11265,11265],"mapped",[11313]],[[11266,11266],"mapped",[11314]],[[11267,11267],"mapped",[11315]],[[11268,11268],"mapped",[11316]],[[11269,11269],"mapped",[11317]],[[11270,11270],"mapped",[11318]],[[11271,11271],"mapped",[11319]],[[11272,11272],"mapped",[11320]],[[11273,11273],"mapped",[11321]],[[11274,11274],"mapped",[11322]],[[11275,11275],"mapped",[11323]],[[11276,11276],"mapped",[11324]],[[11277,11277],"mapped",[11325]],[[11278,11278],"mapped",[11326]],[[11279,11279],"mapped",[11327]],[[11280,11280],"mapped",[11328]],[[11281,11281],"mapped",[11329]],[[11282,11282],"mapped",[11330]],[[11283,11283],"mapped",[11331]],[[11284,11284],"mapped",[11332]],[[11285,11285],"mapped",[11333]],[[11286,11286],"mapped",[11334]],[[11287,11287],"mapped",[11335]],[[11288,11288],"mapped",[11336]],[[11289,11289],"mapped",[11337]],[[11290,11290],"mapped",[11338]],[[11291,11291],"mapped",[11339]],[[11292,11292],"mapped",[11340]],[[11293,11293],"mapped",[11341]],[[11294,11294],"mapped",[11342]],[[11295,11295],"mapped",[11343]],[[11296,11296],"mapped",[11344]],[[11297,11297],"mapped",[11345]],[[11298,11298],"mapped",[11346]],[[11299,11299],"mapped",[11347]],[[11300,11300],"mapped",[11348]],[[11301,11301],"mapped",[11349]],[[11302,11302],"mapped",[11350]],[[11303,11303],"mapped",[11351]],[[11304,11304],"mapped",[11352]],[[11305,11305],"mapped",[11353]],[[11306,11306],"mapped",[11354]],[[11307,11307],"mapped",[11355]],[[11308,11308],"mapped",[11356]],[[11309,11309],"mapped",[11357]],[[11310,11310],"mapped",[11358]],[[11311,11311],"disallowed"],[[11312,11358],"valid"],[[11359,11359],"disallowed"],[[11360,11360],"mapped",[11361]],[[11361,11361],"valid"],[[11362,11362],"mapped",[619]],[[11363,11363],"mapped",[7549]],[[11364,11364],"mapped",[637]],[[11365,11366],"valid"],[[11367,11367],"mapped",[11368]],[[11368,11368],"valid"],[[11369,11369],"mapped",[11370]],[[11370,11370],"valid"],[[11371,11371],"mapped",[11372]],[[11372,11372],"valid"],[[11373,11373],"mapped",[593]],[[11374,11374],"mapped",[625]],[[11375,11375],"mapped",[592]],[[11376,11376],"mapped",[594]],[[11377,11377],"valid"],[[11378,11378],"mapped",[11379]],[[11379,11379],"valid"],[[11380,11380],"valid"],[[11381,11381],"mapped",[11382]],[[11382,11383],"valid"],[[11384,11387],"valid"],[[11388,11388],"mapped",[106]],[[11389,11389],"mapped",[118]],[[11390,11390],"mapped",[575]],[[11391,11391],"mapped",[576]],[[11392,11392],"mapped",[11393]],[[11393,11393],"valid"],[[11394,11394],"mapped",[11395]],[[11395,11395],"valid"],[[11396,11396],"mapped",[11397]],[[11397,11397],"valid"],[[11398,11398],"mapped",[11399]],[[11399,11399],"valid"],[[11400,11400],"mapped",[11401]],[[11401,11401],"valid"],[[11402,11402],"mapped",[11403]],[[11403,11403],"valid"],[[11404,11404],"mapped",[11405]],[[11405,11405],"valid"],[[11406,11406],"mapped",[11407]],[[11407,11407],"valid"],[[11408,11408],"mapped",[11409]],[[11409,11409],"valid"],[[11410,11410],"mapped",[11411]],[[11411,11411],"valid"],[[11412,11412],"mapped",[11413]],[[11413,11413],"valid"],[[11414,11414],"mapped",[11415]],[[11415,11415],"valid"],[[11416,11416],"mapped",[11417]],[[11417,11417],"valid"],[[11418,11418],"mapped",[11419]],[[11419,11419],"valid"],[[11420,11420],"mapped",[11421]],[[11421,11421],"valid"],[[11422,11422],"mapped",[11423]],[[11423,11423],"valid"],[[11424,11424],"mapped",[11425]],[[11425,11425],"valid"],[[11426,11426],"mapped",[11427]],[[11427,11427],"valid"],[[11428,11428],"mapped",[11429]],[[11429,11429],"valid"],[[11430,11430],"mapped",[11431]],[[11431,11431],"valid"],[[11432,11432],"mapped",[11433]],[[11433,11433],"valid"],[[11434,11434],"mapped",[11435]],[[11435,11435],"valid"],[[11436,11436],"mapped",[11437]],[[11437,11437],"valid"],[[11438,11438],"mapped",[11439]],[[11439,11439],"valid"],[[11440,11440],"mapped",[11441]],[[11441,11441],"valid"],[[11442,11442],"mapped",[11443]],[[11443,11443],"valid"],[[11444,11444],"mapped",[11445]],[[11445,11445],"valid"],[[11446,11446],"mapped",[11447]],[[11447,11447],"valid"],[[11448,11448],"mapped",[11449]],[[11449,11449],"valid"],[[11450,11450],"mapped",[11451]],[[11451,11451],"valid"],[[11452,11452],"mapped",[11453]],[[11453,11453],"valid"],[[11454,11454],"mapped",[11455]],[[11455,11455],"valid"],[[11456,11456],"mapped",[11457]],[[11457,11457],"valid"],[[11458,11458],"mapped",[11459]],[[11459,11459],"valid"],[[11460,11460],"mapped",[11461]],[[11461,11461],"valid"],[[11462,11462],"mapped",[11463]],[[11463,11463],"valid"],[[11464,11464],"mapped",[11465]],[[11465,11465],"valid"],[[11466,11466],"mapped",[11467]],[[11467,11467],"valid"],[[11468,11468],"mapped",[11469]],[[11469,11469],"valid"],[[11470,11470],"mapped",[11471]],[[11471,11471],"valid"],[[11472,11472],"mapped",[11473]],[[11473,11473],"valid"],[[11474,11474],"mapped",[11475]],[[11475,11475],"valid"],[[11476,11476],"mapped",[11477]],[[11477,11477],"valid"],[[11478,11478],"mapped",[11479]],[[11479,11479],"valid"],[[11480,11480],"mapped",[11481]],[[11481,11481],"valid"],[[11482,11482],"mapped",[11483]],[[11483,11483],"valid"],[[11484,11484],"mapped",[11485]],[[11485,11485],"valid"],[[11486,11486],"mapped",[11487]],[[11487,11487],"valid"],[[11488,11488],"mapped",[11489]],[[11489,11489],"valid"],[[11490,11490],"mapped",[11491]],[[11491,11492],"valid"],[[11493,11498],"valid",[],"NV8"],[[11499,11499],"mapped",[11500]],[[11500,11500],"valid"],[[11501,11501],"mapped",[11502]],[[11502,11505],"valid"],[[11506,11506],"mapped",[11507]],[[11507,11507],"valid"],[[11508,11512],"disallowed"],[[11513,11519],"valid",[],"NV8"],[[11520,11557],"valid"],[[11558,11558],"disallowed"],[[11559,11559],"valid"],[[11560,11564],"disallowed"],[[11565,11565],"valid"],[[11566,11567],"disallowed"],[[11568,11621],"valid"],[[11622,11623],"valid"],[[11624,11630],"disallowed"],[[11631,11631],"mapped",[11617]],[[11632,11632],"valid",[],"NV8"],[[11633,11646],"disallowed"],[[11647,11647],"valid"],[[11648,11670],"valid"],[[11671,11679],"disallowed"],[[11680,11686],"valid"],[[11687,11687],"disallowed"],[[11688,11694],"valid"],[[11695,11695],"disallowed"],[[11696,11702],"valid"],[[11703,11703],"disallowed"],[[11704,11710],"valid"],[[11711,11711],"disallowed"],[[11712,11718],"valid"],[[11719,11719],"disallowed"],[[11720,11726],"valid"],[[11727,11727],"disallowed"],[[11728,11734],"valid"],[[11735,11735],"disallowed"],[[11736,11742],"valid"],[[11743,11743],"disallowed"],[[11744,11775],"valid"],[[11776,11799],"valid",[],"NV8"],[[11800,11803],"valid",[],"NV8"],[[11804,11805],"valid",[],"NV8"],[[11806,11822],"valid",[],"NV8"],[[11823,11823],"valid"],[[11824,11824],"valid",[],"NV8"],[[11825,11825],"valid",[],"NV8"],[[11826,11835],"valid",[],"NV8"],[[11836,11842],"valid",[],"NV8"],[[11843,11903],"disallowed"],[[11904,11929],"valid",[],"NV8"],[[11930,11930],"disallowed"],[[11931,11934],"valid",[],"NV8"],[[11935,11935],"mapped",[27597]],[[11936,12018],"valid",[],"NV8"],[[12019,12019],"mapped",[40863]],[[12020,12031],"disallowed"],[[12032,12032],"mapped",[19968]],[[12033,12033],"mapped",[20008]],[[12034,12034],"mapped",[20022]],[[12035,12035],"mapped",[20031]],[[12036,12036],"mapped",[20057]],[[12037,12037],"mapped",[20101]],[[12038,12038],"mapped",[20108]],[[12039,12039],"mapped",[20128]],[[12040,12040],"mapped",[20154]],[[12041,12041],"mapped",[20799]],[[12042,12042],"mapped",[20837]],[[12043,12043],"mapped",[20843]],[[12044,12044],"mapped",[20866]],[[12045,12045],"mapped",[20886]],[[12046,12046],"mapped",[20907]],[[12047,12047],"mapped",[20960]],[[12048,12048],"mapped",[20981]],[[12049,12049],"mapped",[20992]],[[12050,12050],"mapped",[21147]],[[12051,12051],"mapped",[21241]],[[12052,12052],"mapped",[21269]],[[12053,12053],"mapped",[21274]],[[12054,12054],"mapped",[21304]],[[12055,12055],"mapped",[21313]],[[12056,12056],"mapped",[21340]],[[12057,12057],"mapped",[21353]],[[12058,12058],"mapped",[21378]],[[12059,12059],"mapped",[21430]],[[12060,12060],"mapped",[21448]],[[12061,12061],"mapped",[21475]],[[12062,12062],"mapped",[22231]],[[12063,12063],"mapped",[22303]],[[12064,12064],"mapped",[22763]],[[12065,12065],"mapped",[22786]],[[12066,12066],"mapped",[22794]],[[12067,12067],"mapped",[22805]],[[12068,12068],"mapped",[22823]],[[12069,12069],"mapped",[22899]],[[12070,12070],"mapped",[23376]],[[12071,12071],"mapped",[23424]],[[12072,12072],"mapped",[23544]],[[12073,12073],"mapped",[23567]],[[12074,12074],"mapped",[23586]],[[12075,12075],"mapped",[23608]],[[12076,12076],"mapped",[23662]],[[12077,12077],"mapped",[23665]],[[12078,12078],"mapped",[24027]],[[12079,12079],"mapped",[24037]],[[12080,12080],"mapped",[24049]],[[12081,12081],"mapped",[24062]],[[12082,12082],"mapped",[24178]],[[12083,12083],"mapped",[24186]],[[12084,12084],"mapped",[24191]],[[12085,12085],"mapped",[24308]],[[12086,12086],"mapped",[24318]],[[12087,12087],"mapped",[24331]],[[12088,12088],"mapped",[24339]],[[12089,12089],"mapped",[24400]],[[12090,12090],"mapped",[24417]],[[12091,12091],"mapped",[24435]],[[12092,12092],"mapped",[24515]],[[12093,12093],"mapped",[25096]],[[12094,12094],"mapped",[25142]],[[12095,12095],"mapped",[25163]],[[12096,12096],"mapped",[25903]],[[12097,12097],"mapped",[25908]],[[12098,12098],"mapped",[25991]],[[12099,12099],"mapped",[26007]],[[12100,12100],"mapped",[26020]],[[12101,12101],"mapped",[26041]],[[12102,12102],"mapped",[26080]],[[12103,12103],"mapped",[26085]],[[12104,12104],"mapped",[26352]],[[12105,12105],"mapped",[26376]],[[12106,12106],"mapped",[26408]],[[12107,12107],"mapped",[27424]],[[12108,12108],"mapped",[27490]],[[12109,12109],"mapped",[27513]],[[12110,12110],"mapped",[27571]],[[12111,12111],"mapped",[27595]],[[12112,12112],"mapped",[27604]],[[12113,12113],"mapped",[27611]],[[12114,12114],"mapped",[27663]],[[12115,12115],"mapped",[27668]],[[12116,12116],"mapped",[27700]],[[12117,12117],"mapped",[28779]],[[12118,12118],"mapped",[29226]],[[12119,12119],"mapped",[29238]],[[12120,12120],"mapped",[29243]],[[12121,12121],"mapped",[29247]],[[12122,12122],"mapped",[29255]],[[12123,12123],"mapped",[29273]],[[12124,12124],"mapped",[29275]],[[12125,12125],"mapped",[29356]],[[12126,12126],"mapped",[29572]],[[12127,12127],"mapped",[29577]],[[12128,12128],"mapped",[29916]],[[12129,12129],"mapped",[29926]],[[12130,12130],"mapped",[29976]],[[12131,12131],"mapped",[29983]],[[12132,12132],"mapped",[29992]],[[12133,12133],"mapped",[30000]],[[12134,12134],"mapped",[30091]],[[12135,12135],"mapped",[30098]],[[12136,12136],"mapped",[30326]],[[12137,12137],"mapped",[30333]],[[12138,12138],"mapped",[30382]],[[12139,12139],"mapped",[30399]],[[12140,12140],"mapped",[30446]],[[12141,12141],"mapped",[30683]],[[12142,12142],"mapped",[30690]],[[12143,12143],"mapped",[30707]],[[12144,12144],"mapped",[31034]],[[12145,12145],"mapped",[31160]],[[12146,12146],"mapped",[31166]],[[12147,12147],"mapped",[31348]],[[12148,12148],"mapped",[31435]],[[12149,12149],"mapped",[31481]],[[12150,12150],"mapped",[31859]],[[12151,12151],"mapped",[31992]],[[12152,12152],"mapped",[32566]],[[12153,12153],"mapped",[32593]],[[12154,12154],"mapped",[32650]],[[12155,12155],"mapped",[32701]],[[12156,12156],"mapped",[32769]],[[12157,12157],"mapped",[32780]],[[12158,12158],"mapped",[32786]],[[12159,12159],"mapped",[32819]],[[12160,12160],"mapped",[32895]],[[12161,12161],"mapped",[32905]],[[12162,12162],"mapped",[33251]],[[12163,12163],"mapped",[33258]],[[12164,12164],"mapped",[33267]],[[12165,12165],"mapped",[33276]],[[12166,12166],"mapped",[33292]],[[12167,12167],"mapped",[33307]],[[12168,12168],"mapped",[33311]],[[12169,12169],"mapped",[33390]],[[12170,12170],"mapped",[33394]],[[12171,12171],"mapped",[33400]],[[12172,12172],"mapped",[34381]],[[12173,12173],"mapped",[34411]],[[12174,12174],"mapped",[34880]],[[12175,12175],"mapped",[34892]],[[12176,12176],"mapped",[34915]],[[12177,12177],"mapped",[35198]],[[12178,12178],"mapped",[35211]],[[12179,12179],"mapped",[35282]],[[12180,12180],"mapped",[35328]],[[12181,12181],"mapped",[35895]],[[12182,12182],"mapped",[35910]],[[12183,12183],"mapped",[35925]],[[12184,12184],"mapped",[35960]],[[12185,12185],"mapped",[35997]],[[12186,12186],"mapped",[36196]],[[12187,12187],"mapped",[36208]],[[12188,12188],"mapped",[36275]],[[12189,12189],"mapped",[36523]],[[12190,12190],"mapped",[36554]],[[12191,12191],"mapped",[36763]],[[12192,12192],"mapped",[36784]],[[12193,12193],"mapped",[36789]],[[12194,12194],"mapped",[37009]],[[12195,12195],"mapped",[37193]],[[12196,12196],"mapped",[37318]],[[12197,12197],"mapped",[37324]],[[12198,12198],"mapped",[37329]],[[12199,12199],"mapped",[38263]],[[12200,12200],"mapped",[38272]],[[12201,12201],"mapped",[38428]],[[12202,12202],"mapped",[38582]],[[12203,12203],"mapped",[38585]],[[12204,12204],"mapped",[38632]],[[12205,12205],"mapped",[38737]],[[12206,12206],"mapped",[38750]],[[12207,12207],"mapped",[38754]],[[12208,12208],"mapped",[38761]],[[12209,12209],"mapped",[38859]],[[12210,12210],"mapped",[38893]],[[12211,12211],"mapped",[38899]],[[12212,12212],"mapped",[38913]],[[12213,12213],"mapped",[39080]],[[12214,12214],"mapped",[39131]],[[12215,12215],"mapped",[39135]],[[12216,12216],"mapped",[39318]],[[12217,12217],"mapped",[39321]],[[12218,12218],"mapped",[39340]],[[12219,12219],"mapped",[39592]],[[12220,12220],"mapped",[39640]],[[12221,12221],"mapped",[39647]],[[12222,12222],"mapped",[39717]],[[12223,12223],"mapped",[39727]],[[12224,12224],"mapped",[39730]],[[12225,12225],"mapped",[39740]],[[12226,12226],"mapped",[39770]],[[12227,12227],"mapped",[40165]],[[12228,12228],"mapped",[40565]],[[12229,12229],"mapped",[40575]],[[12230,12230],"mapped",[40613]],[[12231,12231],"mapped",[40635]],[[12232,12232],"mapped",[40643]],[[12233,12233],"mapped",[40653]],[[12234,12234],"mapped",[40657]],[[12235,12235],"mapped",[40697]],[[12236,12236],"mapped",[40701]],[[12237,12237],"mapped",[40718]],[[12238,12238],"mapped",[40723]],[[12239,12239],"mapped",[40736]],[[12240,12240],"mapped",[40763]],[[12241,12241],"mapped",[40778]],[[12242,12242],"mapped",[40786]],[[12243,12243],"mapped",[40845]],[[12244,12244],"mapped",[40860]],[[12245,12245],"mapped",[40864]],[[12246,12271],"disallowed"],[[12272,12283],"disallowed"],[[12284,12287],"disallowed"],[[12288,12288],"disallowed_STD3_mapped",[32]],[[12289,12289],"valid",[],"NV8"],[[12290,12290],"mapped",[46]],[[12291,12292],"valid",[],"NV8"],[[12293,12295],"valid"],[[12296,12329],"valid",[],"NV8"],[[12330,12333],"valid"],[[12334,12341],"valid",[],"NV8"],[[12342,12342],"mapped",[12306]],[[12343,12343],"valid",[],"NV8"],[[12344,12344],"mapped",[21313]],[[12345,12345],"mapped",[21316]],[[12346,12346],"mapped",[21317]],[[12347,12347],"valid",[],"NV8"],[[12348,12348],"valid"],[[12349,12349],"valid",[],"NV8"],[[12350,12350],"valid",[],"NV8"],[[12351,12351],"valid",[],"NV8"],[[12352,12352],"disallowed"],[[12353,12436],"valid"],[[12437,12438],"valid"],[[12439,12440],"disallowed"],[[12441,12442],"valid"],[[12443,12443],"disallowed_STD3_mapped",[32,12441]],[[12444,12444],"disallowed_STD3_mapped",[32,12442]],[[12445,12446],"valid"],[[12447,12447],"mapped",[12424,12426]],[[12448,12448],"valid",[],"NV8"],[[12449,12542],"valid"],[[12543,12543],"mapped",[12467,12488]],[[12544,12548],"disallowed"],[[12549,12588],"valid"],[[12589,12589],"valid"],[[12590,12592],"disallowed"],[[12593,12593],"mapped",[4352]],[[12594,12594],"mapped",[4353]],[[12595,12595],"mapped",[4522]],[[12596,12596],"mapped",[4354]],[[12597,12597],"mapped",[4524]],[[12598,12598],"mapped",[4525]],[[12599,12599],"mapped",[4355]],[[12600,12600],"mapped",[4356]],[[12601,12601],"mapped",[4357]],[[12602,12602],"mapped",[4528]],[[12603,12603],"mapped",[4529]],[[12604,12604],"mapped",[4530]],[[12605,12605],"mapped",[4531]],[[12606,12606],"mapped",[4532]],[[12607,12607],"mapped",[4533]],[[12608,12608],"mapped",[4378]],[[12609,12609],"mapped",[4358]],[[12610,12610],"mapped",[4359]],[[12611,12611],"mapped",[4360]],[[12612,12612],"mapped",[4385]],[[12613,12613],"mapped",[4361]],[[12614,12614],"mapped",[4362]],[[12615,12615],"mapped",[4363]],[[12616,12616],"mapped",[4364]],[[12617,12617],"mapped",[4365]],[[12618,12618],"mapped",[4366]],[[12619,12619],"mapped",[4367]],[[12620,12620],"mapped",[4368]],[[12621,12621],"mapped",[4369]],[[12622,12622],"mapped",[4370]],[[12623,12623],"mapped",[4449]],[[12624,12624],"mapped",[4450]],[[12625,12625],"mapped",[4451]],[[12626,12626],"mapped",[4452]],[[12627,12627],"mapped",[4453]],[[12628,12628],"mapped",[4454]],[[12629,12629],"mapped",[4455]],[[12630,12630],"mapped",[4456]],[[12631,12631],"mapped",[4457]],[[12632,12632],"mapped",[4458]],[[12633,12633],"mapped",[4459]],[[12634,12634],"mapped",[4460]],[[12635,12635],"mapped",[4461]],[[12636,12636],"mapped",[4462]],[[12637,12637],"mapped",[4463]],[[12638,12638],"mapped",[4464]],[[12639,12639],"mapped",[4465]],[[12640,12640],"mapped",[4466]],[[12641,12641],"mapped",[4467]],[[12642,12642],"mapped",[4468]],[[12643,12643],"mapped",[4469]],[[12644,12644],"disallowed"],[[12645,12645],"mapped",[4372]],[[12646,12646],"mapped",[4373]],[[12647,12647],"mapped",[4551]],[[12648,12648],"mapped",[4552]],[[12649,12649],"mapped",[4556]],[[12650,12650],"mapped",[4558]],[[12651,12651],"mapped",[4563]],[[12652,12652],"mapped",[4567]],[[12653,12653],"mapped",[4569]],[[12654,12654],"mapped",[4380]],[[12655,12655],"mapped",[4573]],[[12656,12656],"mapped",[4575]],[[12657,12657],"mapped",[4381]],[[12658,12658],"mapped",[4382]],[[12659,12659],"mapped",[4384]],[[12660,12660],"mapped",[4386]],[[12661,12661],"mapped",[4387]],[[12662,12662],"mapped",[4391]],[[12663,12663],"mapped",[4393]],[[12664,12664],"mapped",[4395]],[[12665,12665],"mapped",[4396]],[[12666,12666],"mapped",[4397]],[[12667,12667],"mapped",[4398]],[[12668,12668],"mapped",[4399]],[[12669,12669],"mapped",[4402]],[[12670,12670],"mapped",[4406]],[[12671,12671],"mapped",[4416]],[[12672,12672],"mapped",[4423]],[[12673,12673],"mapped",[4428]],[[12674,12674],"mapped",[4593]],[[12675,12675],"mapped",[4594]],[[12676,12676],"mapped",[4439]],[[12677,12677],"mapped",[4440]],[[12678,12678],"mapped",[4441]],[[12679,12679],"mapped",[4484]],[[12680,12680],"mapped",[4485]],[[12681,12681],"mapped",[4488]],[[12682,12682],"mapped",[4497]],[[12683,12683],"mapped",[4498]],[[12684,12684],"mapped",[4500]],[[12685,12685],"mapped",[4510]],[[12686,12686],"mapped",[4513]],[[12687,12687],"disallowed"],[[12688,12689],"valid",[],"NV8"],[[12690,12690],"mapped",[19968]],[[12691,12691],"mapped",[20108]],[[12692,12692],"mapped",[19977]],[[12693,12693],"mapped",[22235]],[[12694,12694],"mapped",[19978]],[[12695,12695],"mapped",[20013]],[[12696,12696],"mapped",[19979]],[[12697,12697],"mapped",[30002]],[[12698,12698],"mapped",[20057]],[[12699,12699],"mapped",[19993]],[[12700,12700],"mapped",[19969]],[[12701,12701],"mapped",[22825]],[[12702,12702],"mapped",[22320]],[[12703,12703],"mapped",[20154]],[[12704,12727],"valid"],[[12728,12730],"valid"],[[12731,12735],"disallowed"],[[12736,12751],"valid",[],"NV8"],[[12752,12771],"valid",[],"NV8"],[[12772,12783],"disallowed"],[[12784,12799],"valid"],[[12800,12800],"disallowed_STD3_mapped",[40,4352,41]],[[12801,12801],"disallowed_STD3_mapped",[40,4354,41]],[[12802,12802],"disallowed_STD3_mapped",[40,4355,41]],[[12803,12803],"disallowed_STD3_mapped",[40,4357,41]],[[12804,12804],"disallowed_STD3_mapped",[40,4358,41]],[[12805,12805],"disallowed_STD3_mapped",[40,4359,41]],[[12806,12806],"disallowed_STD3_mapped",[40,4361,41]],[[12807,12807],"disallowed_STD3_mapped",[40,4363,41]],[[12808,12808],"disallowed_STD3_mapped",[40,4364,41]],[[12809,12809],"disallowed_STD3_mapped",[40,4366,41]],[[12810,12810],"disallowed_STD3_mapped",[40,4367,41]],[[12811,12811],"disallowed_STD3_mapped",[40,4368,41]],[[12812,12812],"disallowed_STD3_mapped",[40,4369,41]],[[12813,12813],"disallowed_STD3_mapped",[40,4370,41]],[[12814,12814],"disallowed_STD3_mapped",[40,44032,41]],[[12815,12815],"disallowed_STD3_mapped",[40,45208,41]],[[12816,12816],"disallowed_STD3_mapped",[40,45796,41]],[[12817,12817],"disallowed_STD3_mapped",[40,46972,41]],[[12818,12818],"disallowed_STD3_mapped",[40,47560,41]],[[12819,12819],"disallowed_STD3_mapped",[40,48148,41]],[[12820,12820],"disallowed_STD3_mapped",[40,49324,41]],[[12821,12821],"disallowed_STD3_mapped",[40,50500,41]],[[12822,12822],"disallowed_STD3_mapped",[40,51088,41]],[[12823,12823],"disallowed_STD3_mapped",[40,52264,41]],[[12824,12824],"disallowed_STD3_mapped",[40,52852,41]],[[12825,12825],"disallowed_STD3_mapped",[40,53440,41]],[[12826,12826],"disallowed_STD3_mapped",[40,54028,41]],[[12827,12827],"disallowed_STD3_mapped",[40,54616,41]],[[12828,12828],"disallowed_STD3_mapped",[40,51452,41]],[[12829,12829],"disallowed_STD3_mapped",[40,50724,51204,41]],[[12830,12830],"disallowed_STD3_mapped",[40,50724,54980,41]],[[12831,12831],"disallowed"],[[12832,12832],"disallowed_STD3_mapped",[40,19968,41]],[[12833,12833],"disallowed_STD3_mapped",[40,20108,41]],[[12834,12834],"disallowed_STD3_mapped",[40,19977,41]],[[12835,12835],"disallowed_STD3_mapped",[40,22235,41]],[[12836,12836],"disallowed_STD3_mapped",[40,20116,41]],[[12837,12837],"disallowed_STD3_mapped",[40,20845,41]],[[12838,12838],"disallowed_STD3_mapped",[40,19971,41]],[[12839,12839],"disallowed_STD3_mapped",[40,20843,41]],[[12840,12840],"disallowed_STD3_mapped",[40,20061,41]],[[12841,12841],"disallowed_STD3_mapped",[40,21313,41]],[[12842,12842],"disallowed_STD3_mapped",[40,26376,41]],[[12843,12843],"disallowed_STD3_mapped",[40,28779,41]],[[12844,12844],"disallowed_STD3_mapped",[40,27700,41]],[[12845,12845],"disallowed_STD3_mapped",[40,26408,41]],[[12846,12846],"disallowed_STD3_mapped",[40,37329,41]],[[12847,12847],"disallowed_STD3_mapped",[40,22303,41]],[[12848,12848],"disallowed_STD3_mapped",[40,26085,41]],[[12849,12849],"disallowed_STD3_mapped",[40,26666,41]],[[12850,12850],"disallowed_STD3_mapped",[40,26377,41]],[[12851,12851],"disallowed_STD3_mapped",[40,31038,41]],[[12852,12852],"disallowed_STD3_mapped",[40,21517,41]],[[12853,12853],"disallowed_STD3_mapped",[40,29305,41]],[[12854,12854],"disallowed_STD3_mapped",[40,36001,41]],[[12855,12855],"disallowed_STD3_mapped",[40,31069,41]],[[12856,12856],"disallowed_STD3_mapped",[40,21172,41]],[[12857,12857],"disallowed_STD3_mapped",[40,20195,41]],[[12858,12858],"disallowed_STD3_mapped",[40,21628,41]],[[12859,12859],"disallowed_STD3_mapped",[40,23398,41]],[[12860,12860],"disallowed_STD3_mapped",[40,30435,41]],[[12861,12861],"disallowed_STD3_mapped",[40,20225,41]],[[12862,12862],"disallowed_STD3_mapped",[40,36039,41]],[[12863,12863],"disallowed_STD3_mapped",[40,21332,41]],[[12864,12864],"disallowed_STD3_mapped",[40,31085,41]],[[12865,12865],"disallowed_STD3_mapped",[40,20241,41]],[[12866,12866],"disallowed_STD3_mapped",[40,33258,41]],[[12867,12867],"disallowed_STD3_mapped",[40,33267,41]],[[12868,12868],"mapped",[21839]],[[12869,12869],"mapped",[24188]],[[12870,12870],"mapped",[25991]],[[12871,12871],"mapped",[31631]],[[12872,12879],"valid",[],"NV8"],[[12880,12880],"mapped",[112,116,101]],[[12881,12881],"mapped",[50,49]],[[12882,12882],"mapped",[50,50]],[[12883,12883],"mapped",[50,51]],[[12884,12884],"mapped",[50,52]],[[12885,12885],"mapped",[50,53]],[[12886,12886],"mapped",[50,54]],[[12887,12887],"mapped",[50,55]],[[12888,12888],"mapped",[50,56]],[[12889,12889],"mapped",[50,57]],[[12890,12890],"mapped",[51,48]],[[12891,12891],"mapped",[51,49]],[[12892,12892],"mapped",[51,50]],[[12893,12893],"mapped",[51,51]],[[12894,12894],"mapped",[51,52]],[[12895,12895],"mapped",[51,53]],[[12896,12896],"mapped",[4352]],[[12897,12897],"mapped",[4354]],[[12898,12898],"mapped",[4355]],[[12899,12899],"mapped",[4357]],[[12900,12900],"mapped",[4358]],[[12901,12901],"mapped",[4359]],[[12902,12902],"mapped",[4361]],[[12903,12903],"mapped",[4363]],[[12904,12904],"mapped",[4364]],[[12905,12905],"mapped",[4366]],[[12906,12906],"mapped",[4367]],[[12907,12907],"mapped",[4368]],[[12908,12908],"mapped",[4369]],[[12909,12909],"mapped",[4370]],[[12910,12910],"mapped",[44032]],[[12911,12911],"mapped",[45208]],[[12912,12912],"mapped",[45796]],[[12913,12913],"mapped",[46972]],[[12914,12914],"mapped",[47560]],[[12915,12915],"mapped",[48148]],[[12916,12916],"mapped",[49324]],[[12917,12917],"mapped",[50500]],[[12918,12918],"mapped",[51088]],[[12919,12919],"mapped",[52264]],[[12920,12920],"mapped",[52852]],[[12921,12921],"mapped",[53440]],[[12922,12922],"mapped",[54028]],[[12923,12923],"mapped",[54616]],[[12924,12924],"mapped",[52280,44256]],[[12925,12925],"mapped",[51452,51032]],[[12926,12926],"mapped",[50864]],[[12927,12927],"valid",[],"NV8"],[[12928,12928],"mapped",[19968]],[[12929,12929],"mapped",[20108]],[[12930,12930],"mapped",[19977]],[[12931,12931],"mapped",[22235]],[[12932,12932],"mapped",[20116]],[[12933,12933],"mapped",[20845]],[[12934,12934],"mapped",[19971]],[[12935,12935],"mapped",[20843]],[[12936,12936],"mapped",[20061]],[[12937,12937],"mapped",[21313]],[[12938,12938],"mapped",[26376]],[[12939,12939],"mapped",[28779]],[[12940,12940],"mapped",[27700]],[[12941,12941],"mapped",[26408]],[[12942,12942],"mapped",[37329]],[[12943,12943],"mapped",[22303]],[[12944,12944],"mapped",[26085]],[[12945,12945],"mapped",[26666]],[[12946,12946],"mapped",[26377]],[[12947,12947],"mapped",[31038]],[[12948,12948],"mapped",[21517]],[[12949,12949],"mapped",[29305]],[[12950,12950],"mapped",[36001]],[[12951,12951],"mapped",[31069]],[[12952,12952],"mapped",[21172]],[[12953,12953],"mapped",[31192]],[[12954,12954],"mapped",[30007]],[[12955,12955],"mapped",[22899]],[[12956,12956],"mapped",[36969]],[[12957,12957],"mapped",[20778]],[[12958,12958],"mapped",[21360]],[[12959,12959],"mapped",[27880]],[[12960,12960],"mapped",[38917]],[[12961,12961],"mapped",[20241]],[[12962,12962],"mapped",[20889]],[[12963,12963],"mapped",[27491]],[[12964,12964],"mapped",[19978]],[[12965,12965],"mapped",[20013]],[[12966,12966],"mapped",[19979]],[[12967,12967],"mapped",[24038]],[[12968,12968],"mapped",[21491]],[[12969,12969],"mapped",[21307]],[[12970,12970],"mapped",[23447]],[[12971,12971],"mapped",[23398]],[[12972,12972],"mapped",[30435]],[[12973,12973],"mapped",[20225]],[[12974,12974],"mapped",[36039]],[[12975,12975],"mapped",[21332]],[[12976,12976],"mapped",[22812]],[[12977,12977],"mapped",[51,54]],[[12978,12978],"mapped",[51,55]],[[12979,12979],"mapped",[51,56]],[[12980,12980],"mapped",[51,57]],[[12981,12981],"mapped",[52,48]],[[12982,12982],"mapped",[52,49]],[[12983,12983],"mapped",[52,50]],[[12984,12984],"mapped",[52,51]],[[12985,12985],"mapped",[52,52]],[[12986,12986],"mapped",[52,53]],[[12987,12987],"mapped",[52,54]],[[12988,12988],"mapped",[52,55]],[[12989,12989],"mapped",[52,56]],[[12990,12990],"mapped",[52,57]],[[12991,12991],"mapped",[53,48]],[[12992,12992],"mapped",[49,26376]],[[12993,12993],"mapped",[50,26376]],[[12994,12994],"mapped",[51,26376]],[[12995,12995],"mapped",[52,26376]],[[12996,12996],"mapped",[53,26376]],[[12997,12997],"mapped",[54,26376]],[[12998,12998],"mapped",[55,26376]],[[12999,12999],"mapped",[56,26376]],[[13000,13000],"mapped",[57,26376]],[[13001,13001],"mapped",[49,48,26376]],[[13002,13002],"mapped",[49,49,26376]],[[13003,13003],"mapped",[49,50,26376]],[[13004,13004],"mapped",[104,103]],[[13005,13005],"mapped",[101,114,103]],[[13006,13006],"mapped",[101,118]],[[13007,13007],"mapped",[108,116,100]],[[13008,13008],"mapped",[12450]],[[13009,13009],"mapped",[12452]],[[13010,13010],"mapped",[12454]],[[13011,13011],"mapped",[12456]],[[13012,13012],"mapped",[12458]],[[13013,13013],"mapped",[12459]],[[13014,13014],"mapped",[12461]],[[13015,13015],"mapped",[12463]],[[13016,13016],"mapped",[12465]],[[13017,13017],"mapped",[12467]],[[13018,13018],"mapped",[12469]],[[13019,13019],"mapped",[12471]],[[13020,13020],"mapped",[12473]],[[13021,13021],"mapped",[12475]],[[13022,13022],"mapped",[12477]],[[13023,13023],"mapped",[12479]],[[13024,13024],"mapped",[12481]],[[13025,13025],"mapped",[12484]],[[13026,13026],"mapped",[12486]],[[13027,13027],"mapped",[12488]],[[13028,13028],"mapped",[12490]],[[13029,13029],"mapped",[12491]],[[13030,13030],"mapped",[12492]],[[13031,13031],"mapped",[12493]],[[13032,13032],"mapped",[12494]],[[13033,13033],"mapped",[12495]],[[13034,13034],"mapped",[12498]],[[13035,13035],"mapped",[12501]],[[13036,13036],"mapped",[12504]],[[13037,13037],"mapped",[12507]],[[13038,13038],"mapped",[12510]],[[13039,13039],"mapped",[12511]],[[13040,13040],"mapped",[12512]],[[13041,13041],"mapped",[12513]],[[13042,13042],"mapped",[12514]],[[13043,13043],"mapped",[12516]],[[13044,13044],"mapped",[12518]],[[13045,13045],"mapped",[12520]],[[13046,13046],"mapped",[12521]],[[13047,13047],"mapped",[12522]],[[13048,13048],"mapped",[12523]],[[13049,13049],"mapped",[12524]],[[13050,13050],"mapped",[12525]],[[13051,13051],"mapped",[12527]],[[13052,13052],"mapped",[12528]],[[13053,13053],"mapped",[12529]],[[13054,13054],"mapped",[12530]],[[13055,13055],"disallowed"],[[13056,13056],"mapped",[12450,12497,12540,12488]],[[13057,13057],"mapped",[12450,12523,12501,12449]],[[13058,13058],"mapped",[12450,12531,12506,12450]],[[13059,13059],"mapped",[12450,12540,12523]],[[13060,13060],"mapped",[12452,12491,12531,12464]],[[13061,13061],"mapped",[12452,12531,12481]],[[13062,13062],"mapped",[12454,12457,12531]],[[13063,13063],"mapped",[12456,12473,12463,12540,12489]],[[13064,13064],"mapped",[12456,12540,12459,12540]],[[13065,13065],"mapped",[12458,12531,12473]],[[13066,13066],"mapped",[12458,12540,12512]],[[13067,13067],"mapped",[12459,12452,12522]],[[13068,13068],"mapped",[12459,12521,12483,12488]],[[13069,13069],"mapped",[12459,12525,12522,12540]],[[13070,13070],"mapped",[12460,12525,12531]],[[13071,13071],"mapped",[12460,12531,12510]],[[13072,13072],"mapped",[12462,12460]],[[13073,13073],"mapped",[12462,12491,12540]],[[13074,13074],"mapped",[12461,12517,12522,12540]],[[13075,13075],"mapped",[12462,12523,12480,12540]],[[13076,13076],"mapped",[12461,12525]],[[13077,13077],"mapped",[12461,12525,12464,12521,12512]],[[13078,13078],"mapped",[12461,12525,12513,12540,12488,12523]],[[13079,13079],"mapped",[12461,12525,12527,12483,12488]],[[13080,13080],"mapped",[12464,12521,12512]],[[13081,13081],"mapped",[12464,12521,12512,12488,12531]],[[13082,13082],"mapped",[12463,12523,12476,12452,12525]],[[13083,13083],"mapped",[12463,12525,12540,12493]],[[13084,13084],"mapped",[12465,12540,12473]],[[13085,13085],"mapped",[12467,12523,12490]],[[13086,13086],"mapped",[12467,12540,12509]],[[13087,13087],"mapped",[12469,12452,12463,12523]],[[13088,13088],"mapped",[12469,12531,12481,12540,12512]],[[13089,13089],"mapped",[12471,12522,12531,12464]],[[13090,13090],"mapped",[12475,12531,12481]],[[13091,13091],"mapped",[12475,12531,12488]],[[13092,13092],"mapped",[12480,12540,12473]],[[13093,13093],"mapped",[12487,12471]],[[13094,13094],"mapped",[12489,12523]],[[13095,13095],"mapped",[12488,12531]],[[13096,13096],"mapped",[12490,12494]],[[13097,13097],"mapped",[12494,12483,12488]],[[13098,13098],"mapped",[12495,12452,12484]],[[13099,13099],"mapped",[12497,12540,12475,12531,12488]],[[13100,13100],"mapped",[12497,12540,12484]],[[13101,13101],"mapped",[12496,12540,12524,12523]],[[13102,13102],"mapped",[12500,12450,12473,12488,12523]],[[13103,13103],"mapped",[12500,12463,12523]],[[13104,13104],"mapped",[12500,12467]],[[13105,13105],"mapped",[12499,12523]],[[13106,13106],"mapped",[12501,12449,12521,12483,12489]],[[13107,13107],"mapped",[12501,12451,12540,12488]],[[13108,13108],"mapped",[12502,12483,12471,12455,12523]],[[13109,13109],"mapped",[12501,12521,12531]],[[13110,13110],"mapped",[12504,12463,12479,12540,12523]],[[13111,13111],"mapped",[12506,12477]],[[13112,13112],"mapped",[12506,12491,12498]],[[13113,13113],"mapped",[12504,12523,12484]],[[13114,13114],"mapped",[12506,12531,12473]],[[13115,13115],"mapped",[12506,12540,12472]],[[13116,13116],"mapped",[12505,12540,12479]],[[13117,13117],"mapped",[12509,12452,12531,12488]],[[13118,13118],"mapped",[12508,12523,12488]],[[13119,13119],"mapped",[12507,12531]],[[13120,13120],"mapped",[12509,12531,12489]],[[13121,13121],"mapped",[12507,12540,12523]],[[13122,13122],"mapped",[12507,12540,12531]],[[13123,13123],"mapped",[12510,12452,12463,12525]],[[13124,13124],"mapped",[12510,12452,12523]],[[13125,13125],"mapped",[12510,12483,12495]],[[13126,13126],"mapped",[12510,12523,12463]],[[13127,13127],"mapped",[12510,12531,12471,12519,12531]],[[13128,13128],"mapped",[12511,12463,12525,12531]],[[13129,13129],"mapped",[12511,12522]],[[13130,13130],"mapped",[12511,12522,12496,12540,12523]],[[13131,13131],"mapped",[12513,12460]],[[13132,13132],"mapped",[12513,12460,12488,12531]],[[13133,13133],"mapped",[12513,12540,12488,12523]],[[13134,13134],"mapped",[12516,12540,12489]],[[13135,13135],"mapped",[12516,12540,12523]],[[13136,13136],"mapped",[12518,12450,12531]],[[13137,13137],"mapped",[12522,12483,12488,12523]],[[13138,13138],"mapped",[12522,12521]],[[13139,13139],"mapped",[12523,12500,12540]],[[13140,13140],"mapped",[12523,12540,12502,12523]],[[13141,13141],"mapped",[12524,12512]],[[13142,13142],"mapped",[12524,12531,12488,12466,12531]],[[13143,13143],"mapped",[12527,12483,12488]],[[13144,13144],"mapped",[48,28857]],[[13145,13145],"mapped",[49,28857]],[[13146,13146],"mapped",[50,28857]],[[13147,13147],"mapped",[51,28857]],[[13148,13148],"mapped",[52,28857]],[[13149,13149],"mapped",[53,28857]],[[13150,13150],"mapped",[54,28857]],[[13151,13151],"mapped",[55,28857]],[[13152,13152],"mapped",[56,28857]],[[13153,13153],"mapped",[57,28857]],[[13154,13154],"mapped",[49,48,28857]],[[13155,13155],"mapped",[49,49,28857]],[[13156,13156],"mapped",[49,50,28857]],[[13157,13157],"mapped",[49,51,28857]],[[13158,13158],"mapped",[49,52,28857]],[[13159,13159],"mapped",[49,53,28857]],[[13160,13160],"mapped",[49,54,28857]],[[13161,13161],"mapped",[49,55,28857]],[[13162,13162],"mapped",[49,56,28857]],[[13163,13163],"mapped",[49,57,28857]],[[13164,13164],"mapped",[50,48,28857]],[[13165,13165],"mapped",[50,49,28857]],[[13166,13166],"mapped",[50,50,28857]],[[13167,13167],"mapped",[50,51,28857]],[[13168,13168],"mapped",[50,52,28857]],[[13169,13169],"mapped",[104,112,97]],[[13170,13170],"mapped",[100,97]],[[13171,13171],"mapped",[97,117]],[[13172,13172],"mapped",[98,97,114]],[[13173,13173],"mapped",[111,118]],[[13174,13174],"mapped",[112,99]],[[13175,13175],"mapped",[100,109]],[[13176,13176],"mapped",[100,109,50]],[[13177,13177],"mapped",[100,109,51]],[[13178,13178],"mapped",[105,117]],[[13179,13179],"mapped",[24179,25104]],[[13180,13180],"mapped",[26157,21644]],[[13181,13181],"mapped",[22823,27491]],[[13182,13182],"mapped",[26126,27835]],[[13183,13183],"mapped",[26666,24335,20250,31038]],[[13184,13184],"mapped",[112,97]],[[13185,13185],"mapped",[110,97]],[[13186,13186],"mapped",[956,97]],[[13187,13187],"mapped",[109,97]],[[13188,13188],"mapped",[107,97]],[[13189,13189],"mapped",[107,98]],[[13190,13190],"mapped",[109,98]],[[13191,13191],"mapped",[103,98]],[[13192,13192],"mapped",[99,97,108]],[[13193,13193],"mapped",[107,99,97,108]],[[13194,13194],"mapped",[112,102]],[[13195,13195],"mapped",[110,102]],[[13196,13196],"mapped",[956,102]],[[13197,13197],"mapped",[956,103]],[[13198,13198],"mapped",[109,103]],[[13199,13199],"mapped",[107,103]],[[13200,13200],"mapped",[104,122]],[[13201,13201],"mapped",[107,104,122]],[[13202,13202],"mapped",[109,104,122]],[[13203,13203],"mapped",[103,104,122]],[[13204,13204],"mapped",[116,104,122]],[[13205,13205],"mapped",[956,108]],[[13206,13206],"mapped",[109,108]],[[13207,13207],"mapped",[100,108]],[[13208,13208],"mapped",[107,108]],[[13209,13209],"mapped",[102,109]],[[13210,13210],"mapped",[110,109]],[[13211,13211],"mapped",[956,109]],[[13212,13212],"mapped",[109,109]],[[13213,13213],"mapped",[99,109]],[[13214,13214],"mapped",[107,109]],[[13215,13215],"mapped",[109,109,50]],[[13216,13216],"mapped",[99,109,50]],[[13217,13217],"mapped",[109,50]],[[13218,13218],"mapped",[107,109,50]],[[13219,13219],"mapped",[109,109,51]],[[13220,13220],"mapped",[99,109,51]],[[13221,13221],"mapped",[109,51]],[[13222,13222],"mapped",[107,109,51]],[[13223,13223],"mapped",[109,8725,115]],[[13224,13224],"mapped",[109,8725,115,50]],[[13225,13225],"mapped",[112,97]],[[13226,13226],"mapped",[107,112,97]],[[13227,13227],"mapped",[109,112,97]],[[13228,13228],"mapped",[103,112,97]],[[13229,13229],"mapped",[114,97,100]],[[13230,13230],"mapped",[114,97,100,8725,115]],[[13231,13231],"mapped",[114,97,100,8725,115,50]],[[13232,13232],"mapped",[112,115]],[[13233,13233],"mapped",[110,115]],[[13234,13234],"mapped",[956,115]],[[13235,13235],"mapped",[109,115]],[[13236,13236],"mapped",[112,118]],[[13237,13237],"mapped",[110,118]],[[13238,13238],"mapped",[956,118]],[[13239,13239],"mapped",[109,118]],[[13240,13240],"mapped",[107,118]],[[13241,13241],"mapped",[109,118]],[[13242,13242],"mapped",[112,119]],[[13243,13243],"mapped",[110,119]],[[13244,13244],"mapped",[956,119]],[[13245,13245],"mapped",[109,119]],[[13246,13246],"mapped",[107,119]],[[13247,13247],"mapped",[109,119]],[[13248,13248],"mapped",[107,969]],[[13249,13249],"mapped",[109,969]],[[13250,13250],"disallowed"],[[13251,13251],"mapped",[98,113]],[[13252,13252],"mapped",[99,99]],[[13253,13253],"mapped",[99,100]],[[13254,13254],"mapped",[99,8725,107,103]],[[13255,13255],"disallowed"],[[13256,13256],"mapped",[100,98]],[[13257,13257],"mapped",[103,121]],[[13258,13258],"mapped",[104,97]],[[13259,13259],"mapped",[104,112]],[[13260,13260],"mapped",[105,110]],[[13261,13261],"mapped",[107,107]],[[13262,13262],"mapped",[107,109]],[[13263,13263],"mapped",[107,116]],[[13264,13264],"mapped",[108,109]],[[13265,13265],"mapped",[108,110]],[[13266,13266],"mapped",[108,111,103]],[[13267,13267],"mapped",[108,120]],[[13268,13268],"mapped",[109,98]],[[13269,13269],"mapped",[109,105,108]],[[13270,13270],"mapped",[109,111,108]],[[13271,13271],"mapped",[112,104]],[[13272,13272],"disallowed"],[[13273,13273],"mapped",[112,112,109]],[[13274,13274],"mapped",[112,114]],[[13275,13275],"mapped",[115,114]],[[13276,13276],"mapped",[115,118]],[[13277,13277],"mapped",[119,98]],[[13278,13278],"mapped",[118,8725,109]],[[13279,13279],"mapped",[97,8725,109]],[[13280,13280],"mapped",[49,26085]],[[13281,13281],"mapped",[50,26085]],[[13282,13282],"mapped",[51,26085]],[[13283,13283],"mapped",[52,26085]],[[13284,13284],"mapped",[53,26085]],[[13285,13285],"mapped",[54,26085]],[[13286,13286],"mapped",[55,26085]],[[13287,13287],"mapped",[56,26085]],[[13288,13288],"mapped",[57,26085]],[[13289,13289],"mapped",[49,48,26085]],[[13290,13290],"mapped",[49,49,26085]],[[13291,13291],"mapped",[49,50,26085]],[[13292,13292],"mapped",[49,51,26085]],[[13293,13293],"mapped",[49,52,26085]],[[13294,13294],"mapped",[49,53,26085]],[[13295,13295],"mapped",[49,54,26085]],[[13296,13296],"mapped",[49,55,26085]],[[13297,13297],"mapped",[49,56,26085]],[[13298,13298],"mapped",[49,57,26085]],[[13299,13299],"mapped",[50,48,26085]],[[13300,13300],"mapped",[50,49,26085]],[[13301,13301],"mapped",[50,50,26085]],[[13302,13302],"mapped",[50,51,26085]],[[13303,13303],"mapped",[50,52,26085]],[[13304,13304],"mapped",[50,53,26085]],[[13305,13305],"mapped",[50,54,26085]],[[13306,13306],"mapped",[50,55,26085]],[[13307,13307],"mapped",[50,56,26085]],[[13308,13308],"mapped",[50,57,26085]],[[13309,13309],"mapped",[51,48,26085]],[[13310,13310],"mapped",[51,49,26085]],[[13311,13311],"mapped",[103,97,108]],[[13312,19893],"valid"],[[19894,19903],"disallowed"],[[19904,19967],"valid",[],"NV8"],[[19968,40869],"valid"],[[40870,40891],"valid"],[[40892,40899],"valid"],[[40900,40907],"valid"],[[40908,40908],"valid"],[[40909,40917],"valid"],[[40918,40959],"disallowed"],[[40960,42124],"valid"],[[42125,42127],"disallowed"],[[42128,42145],"valid",[],"NV8"],[[42146,42147],"valid",[],"NV8"],[[42148,42163],"valid",[],"NV8"],[[42164,42164],"valid",[],"NV8"],[[42165,42176],"valid",[],"NV8"],[[42177,42177],"valid",[],"NV8"],[[42178,42180],"valid",[],"NV8"],[[42181,42181],"valid",[],"NV8"],[[42182,42182],"valid",[],"NV8"],[[42183,42191],"disallowed"],[[42192,42237],"valid"],[[42238,42239],"valid",[],"NV8"],[[42240,42508],"valid"],[[42509,42511],"valid",[],"NV8"],[[42512,42539],"valid"],[[42540,42559],"disallowed"],[[42560,42560],"mapped",[42561]],[[42561,42561],"valid"],[[42562,42562],"mapped",[42563]],[[42563,42563],"valid"],[[42564,42564],"mapped",[42565]],[[42565,42565],"valid"],[[42566,42566],"mapped",[42567]],[[42567,42567],"valid"],[[42568,42568],"mapped",[42569]],[[42569,42569],"valid"],[[42570,42570],"mapped",[42571]],[[42571,42571],"valid"],[[42572,42572],"mapped",[42573]],[[42573,42573],"valid"],[[42574,42574],"mapped",[42575]],[[42575,42575],"valid"],[[42576,42576],"mapped",[42577]],[[42577,42577],"valid"],[[42578,42578],"mapped",[42579]],[[42579,42579],"valid"],[[42580,42580],"mapped",[42581]],[[42581,42581],"valid"],[[42582,42582],"mapped",[42583]],[[42583,42583],"valid"],[[42584,42584],"mapped",[42585]],[[42585,42585],"valid"],[[42586,42586],"mapped",[42587]],[[42587,42587],"valid"],[[42588,42588],"mapped",[42589]],[[42589,42589],"valid"],[[42590,42590],"mapped",[42591]],[[42591,42591],"valid"],[[42592,42592],"mapped",[42593]],[[42593,42593],"valid"],[[42594,42594],"mapped",[42595]],[[42595,42595],"valid"],[[42596,42596],"mapped",[42597]],[[42597,42597],"valid"],[[42598,42598],"mapped",[42599]],[[42599,42599],"valid"],[[42600,42600],"mapped",[42601]],[[42601,42601],"valid"],[[42602,42602],"mapped",[42603]],[[42603,42603],"valid"],[[42604,42604],"mapped",[42605]],[[42605,42607],"valid"],[[42608,42611],"valid",[],"NV8"],[[42612,42619],"valid"],[[42620,42621],"valid"],[[42622,42622],"valid",[],"NV8"],[[42623,42623],"valid"],[[42624,42624],"mapped",[42625]],[[42625,42625],"valid"],[[42626,42626],"mapped",[42627]],[[42627,42627],"valid"],[[42628,42628],"mapped",[42629]],[[42629,42629],"valid"],[[42630,42630],"mapped",[42631]],[[42631,42631],"valid"],[[42632,42632],"mapped",[42633]],[[42633,42633],"valid"],[[42634,42634],"mapped",[42635]],[[42635,42635],"valid"],[[42636,42636],"mapped",[42637]],[[42637,42637],"valid"],[[42638,42638],"mapped",[42639]],[[42639,42639],"valid"],[[42640,42640],"mapped",[42641]],[[42641,42641],"valid"],[[42642,42642],"mapped",[42643]],[[42643,42643],"valid"],[[42644,42644],"mapped",[42645]],[[42645,42645],"valid"],[[42646,42646],"mapped",[42647]],[[42647,42647],"valid"],[[42648,42648],"mapped",[42649]],[[42649,42649],"valid"],[[42650,42650],"mapped",[42651]],[[42651,42651],"valid"],[[42652,42652],"mapped",[1098]],[[42653,42653],"mapped",[1100]],[[42654,42654],"valid"],[[42655,42655],"valid"],[[42656,42725],"valid"],[[42726,42735],"valid",[],"NV8"],[[42736,42737],"valid"],[[42738,42743],"valid",[],"NV8"],[[42744,42751],"disallowed"],[[42752,42774],"valid",[],"NV8"],[[42775,42778],"valid"],[[42779,42783],"valid"],[[42784,42785],"valid",[],"NV8"],[[42786,42786],"mapped",[42787]],[[42787,42787],"valid"],[[42788,42788],"mapped",[42789]],[[42789,42789],"valid"],[[42790,42790],"mapped",[42791]],[[42791,42791],"valid"],[[42792,42792],"mapped",[42793]],[[42793,42793],"valid"],[[42794,42794],"mapped",[42795]],[[42795,42795],"valid"],[[42796,42796],"mapped",[42797]],[[42797,42797],"valid"],[[42798,42798],"mapped",[42799]],[[42799,42801],"valid"],[[42802,42802],"mapped",[42803]],[[42803,42803],"valid"],[[42804,42804],"mapped",[42805]],[[42805,42805],"valid"],[[42806,42806],"mapped",[42807]],[[42807,42807],"valid"],[[42808,42808],"mapped",[42809]],[[42809,42809],"valid"],[[42810,42810],"mapped",[42811]],[[42811,42811],"valid"],[[42812,42812],"mapped",[42813]],[[42813,42813],"valid"],[[42814,42814],"mapped",[42815]],[[42815,42815],"valid"],[[42816,42816],"mapped",[42817]],[[42817,42817],"valid"],[[42818,42818],"mapped",[42819]],[[42819,42819],"valid"],[[42820,42820],"mapped",[42821]],[[42821,42821],"valid"],[[42822,42822],"mapped",[42823]],[[42823,42823],"valid"],[[42824,42824],"mapped",[42825]],[[42825,42825],"valid"],[[42826,42826],"mapped",[42827]],[[42827,42827],"valid"],[[42828,42828],"mapped",[42829]],[[42829,42829],"valid"],[[42830,42830],"mapped",[42831]],[[42831,42831],"valid"],[[42832,42832],"mapped",[42833]],[[42833,42833],"valid"],[[42834,42834],"mapped",[42835]],[[42835,42835],"valid"],[[42836,42836],"mapped",[42837]],[[42837,42837],"valid"],[[42838,42838],"mapped",[42839]],[[42839,42839],"valid"],[[42840,42840],"mapped",[42841]],[[42841,42841],"valid"],[[42842,42842],"mapped",[42843]],[[42843,42843],"valid"],[[42844,42844],"mapped",[42845]],[[42845,42845],"valid"],[[42846,42846],"mapped",[42847]],[[42847,42847],"valid"],[[42848,42848],"mapped",[42849]],[[42849,42849],"valid"],[[42850,42850],"mapped",[42851]],[[42851,42851],"valid"],[[42852,42852],"mapped",[42853]],[[42853,42853],"valid"],[[42854,42854],"mapped",[42855]],[[42855,42855],"valid"],[[42856,42856],"mapped",[42857]],[[42857,42857],"valid"],[[42858,42858],"mapped",[42859]],[[42859,42859],"valid"],[[42860,42860],"mapped",[42861]],[[42861,42861],"valid"],[[42862,42862],"mapped",[42863]],[[42863,42863],"valid"],[[42864,42864],"mapped",[42863]],[[42865,42872],"valid"],[[42873,42873],"mapped",[42874]],[[42874,42874],"valid"],[[42875,42875],"mapped",[42876]],[[42876,42876],"valid"],[[42877,42877],"mapped",[7545]],[[42878,42878],"mapped",[42879]],[[42879,42879],"valid"],[[42880,42880],"mapped",[42881]],[[42881,42881],"valid"],[[42882,42882],"mapped",[42883]],[[42883,42883],"valid"],[[42884,42884],"mapped",[42885]],[[42885,42885],"valid"],[[42886,42886],"mapped",[42887]],[[42887,42888],"valid"],[[42889,42890],"valid",[],"NV8"],[[42891,42891],"mapped",[42892]],[[42892,42892],"valid"],[[42893,42893],"mapped",[613]],[[42894,42894],"valid"],[[42895,42895],"valid"],[[42896,42896],"mapped",[42897]],[[42897,42897],"valid"],[[42898,42898],"mapped",[42899]],[[42899,42899],"valid"],[[42900,42901],"valid"],[[42902,42902],"mapped",[42903]],[[42903,42903],"valid"],[[42904,42904],"mapped",[42905]],[[42905,42905],"valid"],[[42906,42906],"mapped",[42907]],[[42907,42907],"valid"],[[42908,42908],"mapped",[42909]],[[42909,42909],"valid"],[[42910,42910],"mapped",[42911]],[[42911,42911],"valid"],[[42912,42912],"mapped",[42913]],[[42913,42913],"valid"],[[42914,42914],"mapped",[42915]],[[42915,42915],"valid"],[[42916,42916],"mapped",[42917]],[[42917,42917],"valid"],[[42918,42918],"mapped",[42919]],[[42919,42919],"valid"],[[42920,42920],"mapped",[42921]],[[42921,42921],"valid"],[[42922,42922],"mapped",[614]],[[42923,42923],"mapped",[604]],[[42924,42924],"mapped",[609]],[[42925,42925],"mapped",[620]],[[42926,42927],"disallowed"],[[42928,42928],"mapped",[670]],[[42929,42929],"mapped",[647]],[[42930,42930],"mapped",[669]],[[42931,42931],"mapped",[43859]],[[42932,42932],"mapped",[42933]],[[42933,42933],"valid"],[[42934,42934],"mapped",[42935]],[[42935,42935],"valid"],[[42936,42998],"disallowed"],[[42999,42999],"valid"],[[43000,43000],"mapped",[295]],[[43001,43001],"mapped",[339]],[[43002,43002],"valid"],[[43003,43007],"valid"],[[43008,43047],"valid"],[[43048,43051],"valid",[],"NV8"],[[43052,43055],"disallowed"],[[43056,43065],"valid",[],"NV8"],[[43066,43071],"disallowed"],[[43072,43123],"valid"],[[43124,43127],"valid",[],"NV8"],[[43128,43135],"disallowed"],[[43136,43204],"valid"],[[43205,43213],"disallowed"],[[43214,43215],"valid",[],"NV8"],[[43216,43225],"valid"],[[43226,43231],"disallowed"],[[43232,43255],"valid"],[[43256,43258],"valid",[],"NV8"],[[43259,43259],"valid"],[[43260,43260],"valid",[],"NV8"],[[43261,43261],"valid"],[[43262,43263],"disallowed"],[[43264,43309],"valid"],[[43310,43311],"valid",[],"NV8"],[[43312,43347],"valid"],[[43348,43358],"disallowed"],[[43359,43359],"valid",[],"NV8"],[[43360,43388],"valid",[],"NV8"],[[43389,43391],"disallowed"],[[43392,43456],"valid"],[[43457,43469],"valid",[],"NV8"],[[43470,43470],"disallowed"],[[43471,43481],"valid"],[[43482,43485],"disallowed"],[[43486,43487],"valid",[],"NV8"],[[43488,43518],"valid"],[[43519,43519],"disallowed"],[[43520,43574],"valid"],[[43575,43583],"disallowed"],[[43584,43597],"valid"],[[43598,43599],"disallowed"],[[43600,43609],"valid"],[[43610,43611],"disallowed"],[[43612,43615],"valid",[],"NV8"],[[43616,43638],"valid"],[[43639,43641],"valid",[],"NV8"],[[43642,43643],"valid"],[[43644,43647],"valid"],[[43648,43714],"valid"],[[43715,43738],"disallowed"],[[43739,43741],"valid"],[[43742,43743],"valid",[],"NV8"],[[43744,43759],"valid"],[[43760,43761],"valid",[],"NV8"],[[43762,43766],"valid"],[[43767,43776],"disallowed"],[[43777,43782],"valid"],[[43783,43784],"disallowed"],[[43785,43790],"valid"],[[43791,43792],"disallowed"],[[43793,43798],"valid"],[[43799,43807],"disallowed"],[[43808,43814],"valid"],[[43815,43815],"disallowed"],[[43816,43822],"valid"],[[43823,43823],"disallowed"],[[43824,43866],"valid"],[[43867,43867],"valid",[],"NV8"],[[43868,43868],"mapped",[42791]],[[43869,43869],"mapped",[43831]],[[43870,43870],"mapped",[619]],[[43871,43871],"mapped",[43858]],[[43872,43875],"valid"],[[43876,43877],"valid"],[[43878,43887],"disallowed"],[[43888,43888],"mapped",[5024]],[[43889,43889],"mapped",[5025]],[[43890,43890],"mapped",[5026]],[[43891,43891],"mapped",[5027]],[[43892,43892],"mapped",[5028]],[[43893,43893],"mapped",[5029]],[[43894,43894],"mapped",[5030]],[[43895,43895],"mapped",[5031]],[[43896,43896],"mapped",[5032]],[[43897,43897],"mapped",[5033]],[[43898,43898],"mapped",[5034]],[[43899,43899],"mapped",[5035]],[[43900,43900],"mapped",[5036]],[[43901,43901],"mapped",[5037]],[[43902,43902],"mapped",[5038]],[[43903,43903],"mapped",[5039]],[[43904,43904],"mapped",[5040]],[[43905,43905],"mapped",[5041]],[[43906,43906],"mapped",[5042]],[[43907,43907],"mapped",[5043]],[[43908,43908],"mapped",[5044]],[[43909,43909],"mapped",[5045]],[[43910,43910],"mapped",[5046]],[[43911,43911],"mapped",[5047]],[[43912,43912],"mapped",[5048]],[[43913,43913],"mapped",[5049]],[[43914,43914],"mapped",[5050]],[[43915,43915],"mapped",[5051]],[[43916,43916],"mapped",[5052]],[[43917,43917],"mapped",[5053]],[[43918,43918],"mapped",[5054]],[[43919,43919],"mapped",[5055]],[[43920,43920],"mapped",[5056]],[[43921,43921],"mapped",[5057]],[[43922,43922],"mapped",[5058]],[[43923,43923],"mapped",[5059]],[[43924,43924],"mapped",[5060]],[[43925,43925],"mapped",[5061]],[[43926,43926],"mapped",[5062]],[[43927,43927],"mapped",[5063]],[[43928,43928],"mapped",[5064]],[[43929,43929],"mapped",[5065]],[[43930,43930],"mapped",[5066]],[[43931,43931],"mapped",[5067]],[[43932,43932],"mapped",[5068]],[[43933,43933],"mapped",[5069]],[[43934,43934],"mapped",[5070]],[[43935,43935],"mapped",[5071]],[[43936,43936],"mapped",[5072]],[[43937,43937],"mapped",[5073]],[[43938,43938],"mapped",[5074]],[[43939,43939],"mapped",[5075]],[[43940,43940],"mapped",[5076]],[[43941,43941],"mapped",[5077]],[[43942,43942],"mapped",[5078]],[[43943,43943],"mapped",[5079]],[[43944,43944],"mapped",[5080]],[[43945,43945],"mapped",[5081]],[[43946,43946],"mapped",[5082]],[[43947,43947],"mapped",[5083]],[[43948,43948],"mapped",[5084]],[[43949,43949],"mapped",[5085]],[[43950,43950],"mapped",[5086]],[[43951,43951],"mapped",[5087]],[[43952,43952],"mapped",[5088]],[[43953,43953],"mapped",[5089]],[[43954,43954],"mapped",[5090]],[[43955,43955],"mapped",[5091]],[[43956,43956],"mapped",[5092]],[[43957,43957],"mapped",[5093]],[[43958,43958],"mapped",[5094]],[[43959,43959],"mapped",[5095]],[[43960,43960],"mapped",[5096]],[[43961,43961],"mapped",[5097]],[[43962,43962],"mapped",[5098]],[[43963,43963],"mapped",[5099]],[[43964,43964],"mapped",[5100]],[[43965,43965],"mapped",[5101]],[[43966,43966],"mapped",[5102]],[[43967,43967],"mapped",[5103]],[[43968,44010],"valid"],[[44011,44011],"valid",[],"NV8"],[[44012,44013],"valid"],[[44014,44015],"disallowed"],[[44016,44025],"valid"],[[44026,44031],"disallowed"],[[44032,55203],"valid"],[[55204,55215],"disallowed"],[[55216,55238],"valid",[],"NV8"],[[55239,55242],"disallowed"],[[55243,55291],"valid",[],"NV8"],[[55292,55295],"disallowed"],[[55296,57343],"disallowed"],[[57344,63743],"disallowed"],[[63744,63744],"mapped",[35912]],[[63745,63745],"mapped",[26356]],[[63746,63746],"mapped",[36554]],[[63747,63747],"mapped",[36040]],[[63748,63748],"mapped",[28369]],[[63749,63749],"mapped",[20018]],[[63750,63750],"mapped",[21477]],[[63751,63752],"mapped",[40860]],[[63753,63753],"mapped",[22865]],[[63754,63754],"mapped",[37329]],[[63755,63755],"mapped",[21895]],[[63756,63756],"mapped",[22856]],[[63757,63757],"mapped",[25078]],[[63758,63758],"mapped",[30313]],[[63759,63759],"mapped",[32645]],[[63760,63760],"mapped",[34367]],[[63761,63761],"mapped",[34746]],[[63762,63762],"mapped",[35064]],[[63763,63763],"mapped",[37007]],[[63764,63764],"mapped",[27138]],[[63765,63765],"mapped",[27931]],[[63766,63766],"mapped",[28889]],[[63767,63767],"mapped",[29662]],[[63768,63768],"mapped",[33853]],[[63769,63769],"mapped",[37226]],[[63770,63770],"mapped",[39409]],[[63771,63771],"mapped",[20098]],[[63772,63772],"mapped",[21365]],[[63773,63773],"mapped",[27396]],[[63774,63774],"mapped",[29211]],[[63775,63775],"mapped",[34349]],[[63776,63776],"mapped",[40478]],[[63777,63777],"mapped",[23888]],[[63778,63778],"mapped",[28651]],[[63779,63779],"mapped",[34253]],[[63780,63780],"mapped",[35172]],[[63781,63781],"mapped",[25289]],[[63782,63782],"mapped",[33240]],[[63783,63783],"mapped",[34847]],[[63784,63784],"mapped",[24266]],[[63785,63785],"mapped",[26391]],[[63786,63786],"mapped",[28010]],[[63787,63787],"mapped",[29436]],[[63788,63788],"mapped",[37070]],[[63789,63789],"mapped",[20358]],[[63790,63790],"mapped",[20919]],[[63791,63791],"mapped",[21214]],[[63792,63792],"mapped",[25796]],[[63793,63793],"mapped",[27347]],[[63794,63794],"mapped",[29200]],[[63795,63795],"mapped",[30439]],[[63796,63796],"mapped",[32769]],[[63797,63797],"mapped",[34310]],[[63798,63798],"mapped",[34396]],[[63799,63799],"mapped",[36335]],[[63800,63800],"mapped",[38706]],[[63801,63801],"mapped",[39791]],[[63802,63802],"mapped",[40442]],[[63803,63803],"mapped",[30860]],[[63804,63804],"mapped",[31103]],[[63805,63805],"mapped",[32160]],[[63806,63806],"mapped",[33737]],[[63807,63807],"mapped",[37636]],[[63808,63808],"mapped",[40575]],[[63809,63809],"mapped",[35542]],[[63810,63810],"mapped",[22751]],[[63811,63811],"mapped",[24324]],[[63812,63812],"mapped",[31840]],[[63813,63813],"mapped",[32894]],[[63814,63814],"mapped",[29282]],[[63815,63815],"mapped",[30922]],[[63816,63816],"mapped",[36034]],[[63817,63817],"mapped",[38647]],[[63818,63818],"mapped",[22744]],[[63819,63819],"mapped",[23650]],[[63820,63820],"mapped",[27155]],[[63821,63821],"mapped",[28122]],[[63822,63822],"mapped",[28431]],[[63823,63823],"mapped",[32047]],[[63824,63824],"mapped",[32311]],[[63825,63825],"mapped",[38475]],[[63826,63826],"mapped",[21202]],[[63827,63827],"mapped",[32907]],[[63828,63828],"mapped",[20956]],[[63829,63829],"mapped",[20940]],[[63830,63830],"mapped",[31260]],[[63831,63831],"mapped",[32190]],[[63832,63832],"mapped",[33777]],[[63833,63833],"mapped",[38517]],[[63834,63834],"mapped",[35712]],[[63835,63835],"mapped",[25295]],[[63836,63836],"mapped",[27138]],[[63837,63837],"mapped",[35582]],[[63838,63838],"mapped",[20025]],[[63839,63839],"mapped",[23527]],[[63840,63840],"mapped",[24594]],[[63841,63841],"mapped",[29575]],[[63842,63842],"mapped",[30064]],[[63843,63843],"mapped",[21271]],[[63844,63844],"mapped",[30971]],[[63845,63845],"mapped",[20415]],[[63846,63846],"mapped",[24489]],[[63847,63847],"mapped",[19981]],[[63848,63848],"mapped",[27852]],[[63849,63849],"mapped",[25976]],[[63850,63850],"mapped",[32034]],[[63851,63851],"mapped",[21443]],[[63852,63852],"mapped",[22622]],[[63853,63853],"mapped",[30465]],[[63854,63854],"mapped",[33865]],[[63855,63855],"mapped",[35498]],[[63856,63856],"mapped",[27578]],[[63857,63857],"mapped",[36784]],[[63858,63858],"mapped",[27784]],[[63859,63859],"mapped",[25342]],[[63860,63860],"mapped",[33509]],[[63861,63861],"mapped",[25504]],[[63862,63862],"mapped",[30053]],[[63863,63863],"mapped",[20142]],[[63864,63864],"mapped",[20841]],[[63865,63865],"mapped",[20937]],[[63866,63866],"mapped",[26753]],[[63867,63867],"mapped",[31975]],[[63868,63868],"mapped",[33391]],[[63869,63869],"mapped",[35538]],[[63870,63870],"mapped",[37327]],[[63871,63871],"mapped",[21237]],[[63872,63872],"mapped",[21570]],[[63873,63873],"mapped",[22899]],[[63874,63874],"mapped",[24300]],[[63875,63875],"mapped",[26053]],[[63876,63876],"mapped",[28670]],[[63877,63877],"mapped",[31018]],[[63878,63878],"mapped",[38317]],[[63879,63879],"mapped",[39530]],[[63880,63880],"mapped",[40599]],[[63881,63881],"mapped",[40654]],[[63882,63882],"mapped",[21147]],[[63883,63883],"mapped",[26310]],[[63884,63884],"mapped",[27511]],[[63885,63885],"mapped",[36706]],[[63886,63886],"mapped",[24180]],[[63887,63887],"mapped",[24976]],[[63888,63888],"mapped",[25088]],[[63889,63889],"mapped",[25754]],[[63890,63890],"mapped",[28451]],[[63891,63891],"mapped",[29001]],[[63892,63892],"mapped",[29833]],[[63893,63893],"mapped",[31178]],[[63894,63894],"mapped",[32244]],[[63895,63895],"mapped",[32879]],[[63896,63896],"mapped",[36646]],[[63897,63897],"mapped",[34030]],[[63898,63898],"mapped",[36899]],[[63899,63899],"mapped",[37706]],[[63900,63900],"mapped",[21015]],[[63901,63901],"mapped",[21155]],[[63902,63902],"mapped",[21693]],[[63903,63903],"mapped",[28872]],[[63904,63904],"mapped",[35010]],[[63905,63905],"mapped",[35498]],[[63906,63906],"mapped",[24265]],[[63907,63907],"mapped",[24565]],[[63908,63908],"mapped",[25467]],[[63909,63909],"mapped",[27566]],[[63910,63910],"mapped",[31806]],[[63911,63911],"mapped",[29557]],[[63912,63912],"mapped",[20196]],[[63913,63913],"mapped",[22265]],[[63914,63914],"mapped",[23527]],[[63915,63915],"mapped",[23994]],[[63916,63916],"mapped",[24604]],[[63917,63917],"mapped",[29618]],[[63918,63918],"mapped",[29801]],[[63919,63919],"mapped",[32666]],[[63920,63920],"mapped",[32838]],[[63921,63921],"mapped",[37428]],[[63922,63922],"mapped",[38646]],[[63923,63923],"mapped",[38728]],[[63924,63924],"mapped",[38936]],[[63925,63925],"mapped",[20363]],[[63926,63926],"mapped",[31150]],[[63927,63927],"mapped",[37300]],[[63928,63928],"mapped",[38584]],[[63929,63929],"mapped",[24801]],[[63930,63930],"mapped",[20102]],[[63931,63931],"mapped",[20698]],[[63932,63932],"mapped",[23534]],[[63933,63933],"mapped",[23615]],[[63934,63934],"mapped",[26009]],[[63935,63935],"mapped",[27138]],[[63936,63936],"mapped",[29134]],[[63937,63937],"mapped",[30274]],[[63938,63938],"mapped",[34044]],[[63939,63939],"mapped",[36988]],[[63940,63940],"mapped",[40845]],[[63941,63941],"mapped",[26248]],[[63942,63942],"mapped",[38446]],[[63943,63943],"mapped",[21129]],[[63944,63944],"mapped",[26491]],[[63945,63945],"mapped",[26611]],[[63946,63946],"mapped",[27969]],[[63947,63947],"mapped",[28316]],[[63948,63948],"mapped",[29705]],[[63949,63949],"mapped",[30041]],[[63950,63950],"mapped",[30827]],[[63951,63951],"mapped",[32016]],[[63952,63952],"mapped",[39006]],[[63953,63953],"mapped",[20845]],[[63954,63954],"mapped",[25134]],[[63955,63955],"mapped",[38520]],[[63956,63956],"mapped",[20523]],[[63957,63957],"mapped",[23833]],[[63958,63958],"mapped",[28138]],[[63959,63959],"mapped",[36650]],[[63960,63960],"mapped",[24459]],[[63961,63961],"mapped",[24900]],[[63962,63962],"mapped",[26647]],[[63963,63963],"mapped",[29575]],[[63964,63964],"mapped",[38534]],[[63965,63965],"mapped",[21033]],[[63966,63966],"mapped",[21519]],[[63967,63967],"mapped",[23653]],[[63968,63968],"mapped",[26131]],[[63969,63969],"mapped",[26446]],[[63970,63970],"mapped",[26792]],[[63971,63971],"mapped",[27877]],[[63972,63972],"mapped",[29702]],[[63973,63973],"mapped",[30178]],[[63974,63974],"mapped",[32633]],[[63975,63975],"mapped",[35023]],[[63976,63976],"mapped",[35041]],[[63977,63977],"mapped",[37324]],[[63978,63978],"mapped",[38626]],[[63979,63979],"mapped",[21311]],[[63980,63980],"mapped",[28346]],[[63981,63981],"mapped",[21533]],[[63982,63982],"mapped",[29136]],[[63983,63983],"mapped",[29848]],[[63984,63984],"mapped",[34298]],[[63985,63985],"mapped",[38563]],[[63986,63986],"mapped",[40023]],[[63987,63987],"mapped",[40607]],[[63988,63988],"mapped",[26519]],[[63989,63989],"mapped",[28107]],[[63990,63990],"mapped",[33256]],[[63991,63991],"mapped",[31435]],[[63992,63992],"mapped",[31520]],[[63993,63993],"mapped",[31890]],[[63994,63994],"mapped",[29376]],[[63995,63995],"mapped",[28825]],[[63996,63996],"mapped",[35672]],[[63997,63997],"mapped",[20160]],[[63998,63998],"mapped",[33590]],[[63999,63999],"mapped",[21050]],[[64000,64000],"mapped",[20999]],[[64001,64001],"mapped",[24230]],[[64002,64002],"mapped",[25299]],[[64003,64003],"mapped",[31958]],[[64004,64004],"mapped",[23429]],[[64005,64005],"mapped",[27934]],[[64006,64006],"mapped",[26292]],[[64007,64007],"mapped",[36667]],[[64008,64008],"mapped",[34892]],[[64009,64009],"mapped",[38477]],[[64010,64010],"mapped",[35211]],[[64011,64011],"mapped",[24275]],[[64012,64012],"mapped",[20800]],[[64013,64013],"mapped",[21952]],[[64014,64015],"valid"],[[64016,64016],"mapped",[22618]],[[64017,64017],"valid"],[[64018,64018],"mapped",[26228]],[[64019,64020],"valid"],[[64021,64021],"mapped",[20958]],[[64022,64022],"mapped",[29482]],[[64023,64023],"mapped",[30410]],[[64024,64024],"mapped",[31036]],[[64025,64025],"mapped",[31070]],[[64026,64026],"mapped",[31077]],[[64027,64027],"mapped",[31119]],[[64028,64028],"mapped",[38742]],[[64029,64029],"mapped",[31934]],[[64030,64030],"mapped",[32701]],[[64031,64031],"valid"],[[64032,64032],"mapped",[34322]],[[64033,64033],"valid"],[[64034,64034],"mapped",[35576]],[[64035,64036],"valid"],[[64037,64037],"mapped",[36920]],[[64038,64038],"mapped",[37117]],[[64039,64041],"valid"],[[64042,64042],"mapped",[39151]],[[64043,64043],"mapped",[39164]],[[64044,64044],"mapped",[39208]],[[64045,64045],"mapped",[40372]],[[64046,64046],"mapped",[37086]],[[64047,64047],"mapped",[38583]],[[64048,64048],"mapped",[20398]],[[64049,64049],"mapped",[20711]],[[64050,64050],"mapped",[20813]],[[64051,64051],"mapped",[21193]],[[64052,64052],"mapped",[21220]],[[64053,64053],"mapped",[21329]],[[64054,64054],"mapped",[21917]],[[64055,64055],"mapped",[22022]],[[64056,64056],"mapped",[22120]],[[64057,64057],"mapped",[22592]],[[64058,64058],"mapped",[22696]],[[64059,64059],"mapped",[23652]],[[64060,64060],"mapped",[23662]],[[64061,64061],"mapped",[24724]],[[64062,64062],"mapped",[24936]],[[64063,64063],"mapped",[24974]],[[64064,64064],"mapped",[25074]],[[64065,64065],"mapped",[25935]],[[64066,64066],"mapped",[26082]],[[64067,64067],"mapped",[26257]],[[64068,64068],"mapped",[26757]],[[64069,64069],"mapped",[28023]],[[64070,64070],"mapped",[28186]],[[64071,64071],"mapped",[28450]],[[64072,64072],"mapped",[29038]],[[64073,64073],"mapped",[29227]],[[64074,64074],"mapped",[29730]],[[64075,64075],"mapped",[30865]],[[64076,64076],"mapped",[31038]],[[64077,64077],"mapped",[31049]],[[64078,64078],"mapped",[31048]],[[64079,64079],"mapped",[31056]],[[64080,64080],"mapped",[31062]],[[64081,64081],"mapped",[31069]],[[64082,64082],"mapped",[31117]],[[64083,64083],"mapped",[31118]],[[64084,64084],"mapped",[31296]],[[64085,64085],"mapped",[31361]],[[64086,64086],"mapped",[31680]],[[64087,64087],"mapped",[32244]],[[64088,64088],"mapped",[32265]],[[64089,64089],"mapped",[32321]],[[64090,64090],"mapped",[32626]],[[64091,64091],"mapped",[32773]],[[64092,64092],"mapped",[33261]],[[64093,64094],"mapped",[33401]],[[64095,64095],"mapped",[33879]],[[64096,64096],"mapped",[35088]],[[64097,64097],"mapped",[35222]],[[64098,64098],"mapped",[35585]],[[64099,64099],"mapped",[35641]],[[64100,64100],"mapped",[36051]],[[64101,64101],"mapped",[36104]],[[64102,64102],"mapped",[36790]],[[64103,64103],"mapped",[36920]],[[64104,64104],"mapped",[38627]],[[64105,64105],"mapped",[38911]],[[64106,64106],"mapped",[38971]],[[64107,64107],"mapped",[24693]],[[64108,64108],"mapped",[148206]],[[64109,64109],"mapped",[33304]],[[64110,64111],"disallowed"],[[64112,64112],"mapped",[20006]],[[64113,64113],"mapped",[20917]],[[64114,64114],"mapped",[20840]],[[64115,64115],"mapped",[20352]],[[64116,64116],"mapped",[20805]],[[64117,64117],"mapped",[20864]],[[64118,64118],"mapped",[21191]],[[64119,64119],"mapped",[21242]],[[64120,64120],"mapped",[21917]],[[64121,64121],"mapped",[21845]],[[64122,64122],"mapped",[21913]],[[64123,64123],"mapped",[21986]],[[64124,64124],"mapped",[22618]],[[64125,64125],"mapped",[22707]],[[64126,64126],"mapped",[22852]],[[64127,64127],"mapped",[22868]],[[64128,64128],"mapped",[23138]],[[64129,64129],"mapped",[23336]],[[64130,64130],"mapped",[24274]],[[64131,64131],"mapped",[24281]],[[64132,64132],"mapped",[24425]],[[64133,64133],"mapped",[24493]],[[64134,64134],"mapped",[24792]],[[64135,64135],"mapped",[24910]],[[64136,64136],"mapped",[24840]],[[64137,64137],"mapped",[24974]],[[64138,64138],"mapped",[24928]],[[64139,64139],"mapped",[25074]],[[64140,64140],"mapped",[25140]],[[64141,64141],"mapped",[25540]],[[64142,64142],"mapped",[25628]],[[64143,64143],"mapped",[25682]],[[64144,64144],"mapped",[25942]],[[64145,64145],"mapped",[26228]],[[64146,64146],"mapped",[26391]],[[64147,64147],"mapped",[26395]],[[64148,64148],"mapped",[26454]],[[64149,64149],"mapped",[27513]],[[64150,64150],"mapped",[27578]],[[64151,64151],"mapped",[27969]],[[64152,64152],"mapped",[28379]],[[64153,64153],"mapped",[28363]],[[64154,64154],"mapped",[28450]],[[64155,64155],"mapped",[28702]],[[64156,64156],"mapped",[29038]],[[64157,64157],"mapped",[30631]],[[64158,64158],"mapped",[29237]],[[64159,64159],"mapped",[29359]],[[64160,64160],"mapped",[29482]],[[64161,64161],"mapped",[29809]],[[64162,64162],"mapped",[29958]],[[64163,64163],"mapped",[30011]],[[64164,64164],"mapped",[30237]],[[64165,64165],"mapped",[30239]],[[64166,64166],"mapped",[30410]],[[64167,64167],"mapped",[30427]],[[64168,64168],"mapped",[30452]],[[64169,64169],"mapped",[30538]],[[64170,64170],"mapped",[30528]],[[64171,64171],"mapped",[30924]],[[64172,64172],"mapped",[31409]],[[64173,64173],"mapped",[31680]],[[64174,64174],"mapped",[31867]],[[64175,64175],"mapped",[32091]],[[64176,64176],"mapped",[32244]],[[64177,64177],"mapped",[32574]],[[64178,64178],"mapped",[32773]],[[64179,64179],"mapped",[33618]],[[64180,64180],"mapped",[33775]],[[64181,64181],"mapped",[34681]],[[64182,64182],"mapped",[35137]],[[64183,64183],"mapped",[35206]],[[64184,64184],"mapped",[35222]],[[64185,64185],"mapped",[35519]],[[64186,64186],"mapped",[35576]],[[64187,64187],"mapped",[35531]],[[64188,64188],"mapped",[35585]],[[64189,64189],"mapped",[35582]],[[64190,64190],"mapped",[35565]],[[64191,64191],"mapped",[35641]],[[64192,64192],"mapped",[35722]],[[64193,64193],"mapped",[36104]],[[64194,64194],"mapped",[36664]],[[64195,64195],"mapped",[36978]],[[64196,64196],"mapped",[37273]],[[64197,64197],"mapped",[37494]],[[64198,64198],"mapped",[38524]],[[64199,64199],"mapped",[38627]],[[64200,64200],"mapped",[38742]],[[64201,64201],"mapped",[38875]],[[64202,64202],"mapped",[38911]],[[64203,64203],"mapped",[38923]],[[64204,64204],"mapped",[38971]],[[64205,64205],"mapped",[39698]],[[64206,64206],"mapped",[40860]],[[64207,64207],"mapped",[141386]],[[64208,64208],"mapped",[141380]],[[64209,64209],"mapped",[144341]],[[64210,64210],"mapped",[15261]],[[64211,64211],"mapped",[16408]],[[64212,64212],"mapped",[16441]],[[64213,64213],"mapped",[152137]],[[64214,64214],"mapped",[154832]],[[64215,64215],"mapped",[163539]],[[64216,64216],"mapped",[40771]],[[64217,64217],"mapped",[40846]],[[64218,64255],"disallowed"],[[64256,64256],"mapped",[102,102]],[[64257,64257],"mapped",[102,105]],[[64258,64258],"mapped",[102,108]],[[64259,64259],"mapped",[102,102,105]],[[64260,64260],"mapped",[102,102,108]],[[64261,64262],"mapped",[115,116]],[[64263,64274],"disallowed"],[[64275,64275],"mapped",[1396,1398]],[[64276,64276],"mapped",[1396,1381]],[[64277,64277],"mapped",[1396,1387]],[[64278,64278],"mapped",[1406,1398]],[[64279,64279],"mapped",[1396,1389]],[[64280,64284],"disallowed"],[[64285,64285],"mapped",[1497,1460]],[[64286,64286],"valid"],[[64287,64287],"mapped",[1522,1463]],[[64288,64288],"mapped",[1506]],[[64289,64289],"mapped",[1488]],[[64290,64290],"mapped",[1491]],[[64291,64291],"mapped",[1492]],[[64292,64292],"mapped",[1499]],[[64293,64293],"mapped",[1500]],[[64294,64294],"mapped",[1501]],[[64295,64295],"mapped",[1512]],[[64296,64296],"mapped",[1514]],[[64297,64297],"disallowed_STD3_mapped",[43]],[[64298,64298],"mapped",[1513,1473]],[[64299,64299],"mapped",[1513,1474]],[[64300,64300],"mapped",[1513,1468,1473]],[[64301,64301],"mapped",[1513,1468,1474]],[[64302,64302],"mapped",[1488,1463]],[[64303,64303],"mapped",[1488,1464]],[[64304,64304],"mapped",[1488,1468]],[[64305,64305],"mapped",[1489,1468]],[[64306,64306],"mapped",[1490,1468]],[[64307,64307],"mapped",[1491,1468]],[[64308,64308],"mapped",[1492,1468]],[[64309,64309],"mapped",[1493,1468]],[[64310,64310],"mapped",[1494,1468]],[[64311,64311],"disallowed"],[[64312,64312],"mapped",[1496,1468]],[[64313,64313],"mapped",[1497,1468]],[[64314,64314],"mapped",[1498,1468]],[[64315,64315],"mapped",[1499,1468]],[[64316,64316],"mapped",[1500,1468]],[[64317,64317],"disallowed"],[[64318,64318],"mapped",[1502,1468]],[[64319,64319],"disallowed"],[[64320,64320],"mapped",[1504,1468]],[[64321,64321],"mapped",[1505,1468]],[[64322,64322],"disallowed"],[[64323,64323],"mapped",[1507,1468]],[[64324,64324],"mapped",[1508,1468]],[[64325,64325],"disallowed"],[[64326,64326],"mapped",[1510,1468]],[[64327,64327],"mapped",[1511,1468]],[[64328,64328],"mapped",[1512,1468]],[[64329,64329],"mapped",[1513,1468]],[[64330,64330],"mapped",[1514,1468]],[[64331,64331],"mapped",[1493,1465]],[[64332,64332],"mapped",[1489,1471]],[[64333,64333],"mapped",[1499,1471]],[[64334,64334],"mapped",[1508,1471]],[[64335,64335],"mapped",[1488,1500]],[[64336,64337],"mapped",[1649]],[[64338,64341],"mapped",[1659]],[[64342,64345],"mapped",[1662]],[[64346,64349],"mapped",[1664]],[[64350,64353],"mapped",[1658]],[[64354,64357],"mapped",[1663]],[[64358,64361],"mapped",[1657]],[[64362,64365],"mapped",[1700]],[[64366,64369],"mapped",[1702]],[[64370,64373],"mapped",[1668]],[[64374,64377],"mapped",[1667]],[[64378,64381],"mapped",[1670]],[[64382,64385],"mapped",[1671]],[[64386,64387],"mapped",[1677]],[[64388,64389],"mapped",[1676]],[[64390,64391],"mapped",[1678]],[[64392,64393],"mapped",[1672]],[[64394,64395],"mapped",[1688]],[[64396,64397],"mapped",[1681]],[[64398,64401],"mapped",[1705]],[[64402,64405],"mapped",[1711]],[[64406,64409],"mapped",[1715]],[[64410,64413],"mapped",[1713]],[[64414,64415],"mapped",[1722]],[[64416,64419],"mapped",[1723]],[[64420,64421],"mapped",[1728]],[[64422,64425],"mapped",[1729]],[[64426,64429],"mapped",[1726]],[[64430,64431],"mapped",[1746]],[[64432,64433],"mapped",[1747]],[[64434,64449],"valid",[],"NV8"],[[64450,64466],"disallowed"],[[64467,64470],"mapped",[1709]],[[64471,64472],"mapped",[1735]],[[64473,64474],"mapped",[1734]],[[64475,64476],"mapped",[1736]],[[64477,64477],"mapped",[1735,1652]],[[64478,64479],"mapped",[1739]],[[64480,64481],"mapped",[1733]],[[64482,64483],"mapped",[1737]],[[64484,64487],"mapped",[1744]],[[64488,64489],"mapped",[1609]],[[64490,64491],"mapped",[1574,1575]],[[64492,64493],"mapped",[1574,1749]],[[64494,64495],"mapped",[1574,1608]],[[64496,64497],"mapped",[1574,1735]],[[64498,64499],"mapped",[1574,1734]],[[64500,64501],"mapped",[1574,1736]],[[64502,64504],"mapped",[1574,1744]],[[64505,64507],"mapped",[1574,1609]],[[64508,64511],"mapped",[1740]],[[64512,64512],"mapped",[1574,1580]],[[64513,64513],"mapped",[1574,1581]],[[64514,64514],"mapped",[1574,1605]],[[64515,64515],"mapped",[1574,1609]],[[64516,64516],"mapped",[1574,1610]],[[64517,64517],"mapped",[1576,1580]],[[64518,64518],"mapped",[1576,1581]],[[64519,64519],"mapped",[1576,1582]],[[64520,64520],"mapped",[1576,1605]],[[64521,64521],"mapped",[1576,1609]],[[64522,64522],"mapped",[1576,1610]],[[64523,64523],"mapped",[1578,1580]],[[64524,64524],"mapped",[1578,1581]],[[64525,64525],"mapped",[1578,1582]],[[64526,64526],"mapped",[1578,1605]],[[64527,64527],"mapped",[1578,1609]],[[64528,64528],"mapped",[1578,1610]],[[64529,64529],"mapped",[1579,1580]],[[64530,64530],"mapped",[1579,1605]],[[64531,64531],"mapped",[1579,1609]],[[64532,64532],"mapped",[1579,1610]],[[64533,64533],"mapped",[1580,1581]],[[64534,64534],"mapped",[1580,1605]],[[64535,64535],"mapped",[1581,1580]],[[64536,64536],"mapped",[1581,1605]],[[64537,64537],"mapped",[1582,1580]],[[64538,64538],"mapped",[1582,1581]],[[64539,64539],"mapped",[1582,1605]],[[64540,64540],"mapped",[1587,1580]],[[64541,64541],"mapped",[1587,1581]],[[64542,64542],"mapped",[1587,1582]],[[64543,64543],"mapped",[1587,1605]],[[64544,64544],"mapped",[1589,1581]],[[64545,64545],"mapped",[1589,1605]],[[64546,64546],"mapped",[1590,1580]],[[64547,64547],"mapped",[1590,1581]],[[64548,64548],"mapped",[1590,1582]],[[64549,64549],"mapped",[1590,1605]],[[64550,64550],"mapped",[1591,1581]],[[64551,64551],"mapped",[1591,1605]],[[64552,64552],"mapped",[1592,1605]],[[64553,64553],"mapped",[1593,1580]],[[64554,64554],"mapped",[1593,1605]],[[64555,64555],"mapped",[1594,1580]],[[64556,64556],"mapped",[1594,1605]],[[64557,64557],"mapped",[1601,1580]],[[64558,64558],"mapped",[1601,1581]],[[64559,64559],"mapped",[1601,1582]],[[64560,64560],"mapped",[1601,1605]],[[64561,64561],"mapped",[1601,1609]],[[64562,64562],"mapped",[1601,1610]],[[64563,64563],"mapped",[1602,1581]],[[64564,64564],"mapped",[1602,1605]],[[64565,64565],"mapped",[1602,1609]],[[64566,64566],"mapped",[1602,1610]],[[64567,64567],"mapped",[1603,1575]],[[64568,64568],"mapped",[1603,1580]],[[64569,64569],"mapped",[1603,1581]],[[64570,64570],"mapped",[1603,1582]],[[64571,64571],"mapped",[1603,1604]],[[64572,64572],"mapped",[1603,1605]],[[64573,64573],"mapped",[1603,1609]],[[64574,64574],"mapped",[1603,1610]],[[64575,64575],"mapped",[1604,1580]],[[64576,64576],"mapped",[1604,1581]],[[64577,64577],"mapped",[1604,1582]],[[64578,64578],"mapped",[1604,1605]],[[64579,64579],"mapped",[1604,1609]],[[64580,64580],"mapped",[1604,1610]],[[64581,64581],"mapped",[1605,1580]],[[64582,64582],"mapped",[1605,1581]],[[64583,64583],"mapped",[1605,1582]],[[64584,64584],"mapped",[1605,1605]],[[64585,64585],"mapped",[1605,1609]],[[64586,64586],"mapped",[1605,1610]],[[64587,64587],"mapped",[1606,1580]],[[64588,64588],"mapped",[1606,1581]],[[64589,64589],"mapped",[1606,1582]],[[64590,64590],"mapped",[1606,1605]],[[64591,64591],"mapped",[1606,1609]],[[64592,64592],"mapped",[1606,1610]],[[64593,64593],"mapped",[1607,1580]],[[64594,64594],"mapped",[1607,1605]],[[64595,64595],"mapped",[1607,1609]],[[64596,64596],"mapped",[1607,1610]],[[64597,64597],"mapped",[1610,1580]],[[64598,64598],"mapped",[1610,1581]],[[64599,64599],"mapped",[1610,1582]],[[64600,64600],"mapped",[1610,1605]],[[64601,64601],"mapped",[1610,1609]],[[64602,64602],"mapped",[1610,1610]],[[64603,64603],"mapped",[1584,1648]],[[64604,64604],"mapped",[1585,1648]],[[64605,64605],"mapped",[1609,1648]],[[64606,64606],"disallowed_STD3_mapped",[32,1612,1617]],[[64607,64607],"disallowed_STD3_mapped",[32,1613,1617]],[[64608,64608],"disallowed_STD3_mapped",[32,1614,1617]],[[64609,64609],"disallowed_STD3_mapped",[32,1615,1617]],[[64610,64610],"disallowed_STD3_mapped",[32,1616,1617]],[[64611,64611],"disallowed_STD3_mapped",[32,1617,1648]],[[64612,64612],"mapped",[1574,1585]],[[64613,64613],"mapped",[1574,1586]],[[64614,64614],"mapped",[1574,1605]],[[64615,64615],"mapped",[1574,1606]],[[64616,64616],"mapped",[1574,1609]],[[64617,64617],"mapped",[1574,1610]],[[64618,64618],"mapped",[1576,1585]],[[64619,64619],"mapped",[1576,1586]],[[64620,64620],"mapped",[1576,1605]],[[64621,64621],"mapped",[1576,1606]],[[64622,64622],"mapped",[1576,1609]],[[64623,64623],"mapped",[1576,1610]],[[64624,64624],"mapped",[1578,1585]],[[64625,64625],"mapped",[1578,1586]],[[64626,64626],"mapped",[1578,1605]],[[64627,64627],"mapped",[1578,1606]],[[64628,64628],"mapped",[1578,1609]],[[64629,64629],"mapped",[1578,1610]],[[64630,64630],"mapped",[1579,1585]],[[64631,64631],"mapped",[1579,1586]],[[64632,64632],"mapped",[1579,1605]],[[64633,64633],"mapped",[1579,1606]],[[64634,64634],"mapped",[1579,1609]],[[64635,64635],"mapped",[1579,1610]],[[64636,64636],"mapped",[1601,1609]],[[64637,64637],"mapped",[1601,1610]],[[64638,64638],"mapped",[1602,1609]],[[64639,64639],"mapped",[1602,1610]],[[64640,64640],"mapped",[1603,1575]],[[64641,64641],"mapped",[1603,1604]],[[64642,64642],"mapped",[1603,1605]],[[64643,64643],"mapped",[1603,1609]],[[64644,64644],"mapped",[1603,1610]],[[64645,64645],"mapped",[1604,1605]],[[64646,64646],"mapped",[1604,1609]],[[64647,64647],"mapped",[1604,1610]],[[64648,64648],"mapped",[1605,1575]],[[64649,64649],"mapped",[1605,1605]],[[64650,64650],"mapped",[1606,1585]],[[64651,64651],"mapped",[1606,1586]],[[64652,64652],"mapped",[1606,1605]],[[64653,64653],"mapped",[1606,1606]],[[64654,64654],"mapped",[1606,1609]],[[64655,64655],"mapped",[1606,1610]],[[64656,64656],"mapped",[1609,1648]],[[64657,64657],"mapped",[1610,1585]],[[64658,64658],"mapped",[1610,1586]],[[64659,64659],"mapped",[1610,1605]],[[64660,64660],"mapped",[1610,1606]],[[64661,64661],"mapped",[1610,1609]],[[64662,64662],"mapped",[1610,1610]],[[64663,64663],"mapped",[1574,1580]],[[64664,64664],"mapped",[1574,1581]],[[64665,64665],"mapped",[1574,1582]],[[64666,64666],"mapped",[1574,1605]],[[64667,64667],"mapped",[1574,1607]],[[64668,64668],"mapped",[1576,1580]],[[64669,64669],"mapped",[1576,1581]],[[64670,64670],"mapped",[1576,1582]],[[64671,64671],"mapped",[1576,1605]],[[64672,64672],"mapped",[1576,1607]],[[64673,64673],"mapped",[1578,1580]],[[64674,64674],"mapped",[1578,1581]],[[64675,64675],"mapped",[1578,1582]],[[64676,64676],"mapped",[1578,1605]],[[64677,64677],"mapped",[1578,1607]],[[64678,64678],"mapped",[1579,1605]],[[64679,64679],"mapped",[1580,1581]],[[64680,64680],"mapped",[1580,1605]],[[64681,64681],"mapped",[1581,1580]],[[64682,64682],"mapped",[1581,1605]],[[64683,64683],"mapped",[1582,1580]],[[64684,64684],"mapped",[1582,1605]],[[64685,64685],"mapped",[1587,1580]],[[64686,64686],"mapped",[1587,1581]],[[64687,64687],"mapped",[1587,1582]],[[64688,64688],"mapped",[1587,1605]],[[64689,64689],"mapped",[1589,1581]],[[64690,64690],"mapped",[1589,1582]],[[64691,64691],"mapped",[1589,1605]],[[64692,64692],"mapped",[1590,1580]],[[64693,64693],"mapped",[1590,1581]],[[64694,64694],"mapped",[1590,1582]],[[64695,64695],"mapped",[1590,1605]],[[64696,64696],"mapped",[1591,1581]],[[64697,64697],"mapped",[1592,1605]],[[64698,64698],"mapped",[1593,1580]],[[64699,64699],"mapped",[1593,1605]],[[64700,64700],"mapped",[1594,1580]],[[64701,64701],"mapped",[1594,1605]],[[64702,64702],"mapped",[1601,1580]],[[64703,64703],"mapped",[1601,1581]],[[64704,64704],"mapped",[1601,1582]],[[64705,64705],"mapped",[1601,1605]],[[64706,64706],"mapped",[1602,1581]],[[64707,64707],"mapped",[1602,1605]],[[64708,64708],"mapped",[1603,1580]],[[64709,64709],"mapped",[1603,1581]],[[64710,64710],"mapped",[1603,1582]],[[64711,64711],"mapped",[1603,1604]],[[64712,64712],"mapped",[1603,1605]],[[64713,64713],"mapped",[1604,1580]],[[64714,64714],"mapped",[1604,1581]],[[64715,64715],"mapped",[1604,1582]],[[64716,64716],"mapped",[1604,1605]],[[64717,64717],"mapped",[1604,1607]],[[64718,64718],"mapped",[1605,1580]],[[64719,64719],"mapped",[1605,1581]],[[64720,64720],"mapped",[1605,1582]],[[64721,64721],"mapped",[1605,1605]],[[64722,64722],"mapped",[1606,1580]],[[64723,64723],"mapped",[1606,1581]],[[64724,64724],"mapped",[1606,1582]],[[64725,64725],"mapped",[1606,1605]],[[64726,64726],"mapped",[1606,1607]],[[64727,64727],"mapped",[1607,1580]],[[64728,64728],"mapped",[1607,1605]],[[64729,64729],"mapped",[1607,1648]],[[64730,64730],"mapped",[1610,1580]],[[64731,64731],"mapped",[1610,1581]],[[64732,64732],"mapped",[1610,1582]],[[64733,64733],"mapped",[1610,1605]],[[64734,64734],"mapped",[1610,1607]],[[64735,64735],"mapped",[1574,1605]],[[64736,64736],"mapped",[1574,1607]],[[64737,64737],"mapped",[1576,1605]],[[64738,64738],"mapped",[1576,1607]],[[64739,64739],"mapped",[1578,1605]],[[64740,64740],"mapped",[1578,1607]],[[64741,64741],"mapped",[1579,1605]],[[64742,64742],"mapped",[1579,1607]],[[64743,64743],"mapped",[1587,1605]],[[64744,64744],"mapped",[1587,1607]],[[64745,64745],"mapped",[1588,1605]],[[64746,64746],"mapped",[1588,1607]],[[64747,64747],"mapped",[1603,1604]],[[64748,64748],"mapped",[1603,1605]],[[64749,64749],"mapped",[1604,1605]],[[64750,64750],"mapped",[1606,1605]],[[64751,64751],"mapped",[1606,1607]],[[64752,64752],"mapped",[1610,1605]],[[64753,64753],"mapped",[1610,1607]],[[64754,64754],"mapped",[1600,1614,1617]],[[64755,64755],"mapped",[1600,1615,1617]],[[64756,64756],"mapped",[1600,1616,1617]],[[64757,64757],"mapped",[1591,1609]],[[64758,64758],"mapped",[1591,1610]],[[64759,64759],"mapped",[1593,1609]],[[64760,64760],"mapped",[1593,1610]],[[64761,64761],"mapped",[1594,1609]],[[64762,64762],"mapped",[1594,1610]],[[64763,64763],"mapped",[1587,1609]],[[64764,64764],"mapped",[1587,1610]],[[64765,64765],"mapped",[1588,1609]],[[64766,64766],"mapped",[1588,1610]],[[64767,64767],"mapped",[1581,1609]],[[64768,64768],"mapped",[1581,1610]],[[64769,64769],"mapped",[1580,1609]],[[64770,64770],"mapped",[1580,1610]],[[64771,64771],"mapped",[1582,1609]],[[64772,64772],"mapped",[1582,1610]],[[64773,64773],"mapped",[1589,1609]],[[64774,64774],"mapped",[1589,1610]],[[64775,64775],"mapped",[1590,1609]],[[64776,64776],"mapped",[1590,1610]],[[64777,64777],"mapped",[1588,1580]],[[64778,64778],"mapped",[1588,1581]],[[64779,64779],"mapped",[1588,1582]],[[64780,64780],"mapped",[1588,1605]],[[64781,64781],"mapped",[1588,1585]],[[64782,64782],"mapped",[1587,1585]],[[64783,64783],"mapped",[1589,1585]],[[64784,64784],"mapped",[1590,1585]],[[64785,64785],"mapped",[1591,1609]],[[64786,64786],"mapped",[1591,1610]],[[64787,64787],"mapped",[1593,1609]],[[64788,64788],"mapped",[1593,1610]],[[64789,64789],"mapped",[1594,1609]],[[64790,64790],"mapped",[1594,1610]],[[64791,64791],"mapped",[1587,1609]],[[64792,64792],"mapped",[1587,1610]],[[64793,64793],"mapped",[1588,1609]],[[64794,64794],"mapped",[1588,1610]],[[64795,64795],"mapped",[1581,1609]],[[64796,64796],"mapped",[1581,1610]],[[64797,64797],"mapped",[1580,1609]],[[64798,64798],"mapped",[1580,1610]],[[64799,64799],"mapped",[1582,1609]],[[64800,64800],"mapped",[1582,1610]],[[64801,64801],"mapped",[1589,1609]],[[64802,64802],"mapped",[1589,1610]],[[64803,64803],"mapped",[1590,1609]],[[64804,64804],"mapped",[1590,1610]],[[64805,64805],"mapped",[1588,1580]],[[64806,64806],"mapped",[1588,1581]],[[64807,64807],"mapped",[1588,1582]],[[64808,64808],"mapped",[1588,1605]],[[64809,64809],"mapped",[1588,1585]],[[64810,64810],"mapped",[1587,1585]],[[64811,64811],"mapped",[1589,1585]],[[64812,64812],"mapped",[1590,1585]],[[64813,64813],"mapped",[1588,1580]],[[64814,64814],"mapped",[1588,1581]],[[64815,64815],"mapped",[1588,1582]],[[64816,64816],"mapped",[1588,1605]],[[64817,64817],"mapped",[1587,1607]],[[64818,64818],"mapped",[1588,1607]],[[64819,64819],"mapped",[1591,1605]],[[64820,64820],"mapped",[1587,1580]],[[64821,64821],"mapped",[1587,1581]],[[64822,64822],"mapped",[1587,1582]],[[64823,64823],"mapped",[1588,1580]],[[64824,64824],"mapped",[1588,1581]],[[64825,64825],"mapped",[1588,1582]],[[64826,64826],"mapped",[1591,1605]],[[64827,64827],"mapped",[1592,1605]],[[64828,64829],"mapped",[1575,1611]],[[64830,64831],"valid",[],"NV8"],[[64832,64847],"disallowed"],[[64848,64848],"mapped",[1578,1580,1605]],[[64849,64850],"mapped",[1578,1581,1580]],[[64851,64851],"mapped",[1578,1581,1605]],[[64852,64852],"mapped",[1578,1582,1605]],[[64853,64853],"mapped",[1578,1605,1580]],[[64854,64854],"mapped",[1578,1605,1581]],[[64855,64855],"mapped",[1578,1605,1582]],[[64856,64857],"mapped",[1580,1605,1581]],[[64858,64858],"mapped",[1581,1605,1610]],[[64859,64859],"mapped",[1581,1605,1609]],[[64860,64860],"mapped",[1587,1581,1580]],[[64861,64861],"mapped",[1587,1580,1581]],[[64862,64862],"mapped",[1587,1580,1609]],[[64863,64864],"mapped",[1587,1605,1581]],[[64865,64865],"mapped",[1587,1605,1580]],[[64866,64867],"mapped",[1587,1605,1605]],[[64868,64869],"mapped",[1589,1581,1581]],[[64870,64870],"mapped",[1589,1605,1605]],[[64871,64872],"mapped",[1588,1581,1605]],[[64873,64873],"mapped",[1588,1580,1610]],[[64874,64875],"mapped",[1588,1605,1582]],[[64876,64877],"mapped",[1588,1605,1605]],[[64878,64878],"mapped",[1590,1581,1609]],[[64879,64880],"mapped",[1590,1582,1605]],[[64881,64882],"mapped",[1591,1605,1581]],[[64883,64883],"mapped",[1591,1605,1605]],[[64884,64884],"mapped",[1591,1605,1610]],[[64885,64885],"mapped",[1593,1580,1605]],[[64886,64887],"mapped",[1593,1605,1605]],[[64888,64888],"mapped",[1593,1605,1609]],[[64889,64889],"mapped",[1594,1605,1605]],[[64890,64890],"mapped",[1594,1605,1610]],[[64891,64891],"mapped",[1594,1605,1609]],[[64892,64893],"mapped",[1601,1582,1605]],[[64894,64894],"mapped",[1602,1605,1581]],[[64895,64895],"mapped",[1602,1605,1605]],[[64896,64896],"mapped",[1604,1581,1605]],[[64897,64897],"mapped",[1604,1581,1610]],[[64898,64898],"mapped",[1604,1581,1609]],[[64899,64900],"mapped",[1604,1580,1580]],[[64901,64902],"mapped",[1604,1582,1605]],[[64903,64904],"mapped",[1604,1605,1581]],[[64905,64905],"mapped",[1605,1581,1580]],[[64906,64906],"mapped",[1605,1581,1605]],[[64907,64907],"mapped",[1605,1581,1610]],[[64908,64908],"mapped",[1605,1580,1581]],[[64909,64909],"mapped",[1605,1580,1605]],[[64910,64910],"mapped",[1605,1582,1580]],[[64911,64911],"mapped",[1605,1582,1605]],[[64912,64913],"disallowed"],[[64914,64914],"mapped",[1605,1580,1582]],[[64915,64915],"mapped",[1607,1605,1580]],[[64916,64916],"mapped",[1607,1605,1605]],[[64917,64917],"mapped",[1606,1581,1605]],[[64918,64918],"mapped",[1606,1581,1609]],[[64919,64920],"mapped",[1606,1580,1605]],[[64921,64921],"mapped",[1606,1580,1609]],[[64922,64922],"mapped",[1606,1605,1610]],[[64923,64923],"mapped",[1606,1605,1609]],[[64924,64925],"mapped",[1610,1605,1605]],[[64926,64926],"mapped",[1576,1582,1610]],[[64927,64927],"mapped",[1578,1580,1610]],[[64928,64928],"mapped",[1578,1580,1609]],[[64929,64929],"mapped",[1578,1582,1610]],[[64930,64930],"mapped",[1578,1582,1609]],[[64931,64931],"mapped",[1578,1605,1610]],[[64932,64932],"mapped",[1578,1605,1609]],[[64933,64933],"mapped",[1580,1605,1610]],[[64934,64934],"mapped",[1580,1581,1609]],[[64935,64935],"mapped",[1580,1605,1609]],[[64936,64936],"mapped",[1587,1582,1609]],[[64937,64937],"mapped",[1589,1581,1610]],[[64938,64938],"mapped",[1588,1581,1610]],[[64939,64939],"mapped",[1590,1581,1610]],[[64940,64940],"mapped",[1604,1580,1610]],[[64941,64941],"mapped",[1604,1605,1610]],[[64942,64942],"mapped",[1610,1581,1610]],[[64943,64943],"mapped",[1610,1580,1610]],[[64944,64944],"mapped",[1610,1605,1610]],[[64945,64945],"mapped",[1605,1605,1610]],[[64946,64946],"mapped",[1602,1605,1610]],[[64947,64947],"mapped",[1606,1581,1610]],[[64948,64948],"mapped",[1602,1605,1581]],[[64949,64949],"mapped",[1604,1581,1605]],[[64950,64950],"mapped",[1593,1605,1610]],[[64951,64951],"mapped",[1603,1605,1610]],[[64952,64952],"mapped",[1606,1580,1581]],[[64953,64953],"mapped",[1605,1582,1610]],[[64954,64954],"mapped",[1604,1580,1605]],[[64955,64955],"mapped",[1603,1605,1605]],[[64956,64956],"mapped",[1604,1580,1605]],[[64957,64957],"mapped",[1606,1580,1581]],[[64958,64958],"mapped",[1580,1581,1610]],[[64959,64959],"mapped",[1581,1580,1610]],[[64960,64960],"mapped",[1605,1580,1610]],[[64961,64961],"mapped",[1601,1605,1610]],[[64962,64962],"mapped",[1576,1581,1610]],[[64963,64963],"mapped",[1603,1605,1605]],[[64964,64964],"mapped",[1593,1580,1605]],[[64965,64965],"mapped",[1589,1605,1605]],[[64966,64966],"mapped",[1587,1582,1610]],[[64967,64967],"mapped",[1606,1580,1610]],[[64968,64975],"disallowed"],[[64976,65007],"disallowed"],[[65008,65008],"mapped",[1589,1604,1746]],[[65009,65009],"mapped",[1602,1604,1746]],[[65010,65010],"mapped",[1575,1604,1604,1607]],[[65011,65011],"mapped",[1575,1603,1576,1585]],[[65012,65012],"mapped",[1605,1581,1605,1583]],[[65013,65013],"mapped",[1589,1604,1593,1605]],[[65014,65014],"mapped",[1585,1587,1608,1604]],[[65015,65015],"mapped",[1593,1604,1610,1607]],[[65016,65016],"mapped",[1608,1587,1604,1605]],[[65017,65017],"mapped",[1589,1604,1609]],[[65018,65018],"disallowed_STD3_mapped",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],"disallowed_STD3_mapped",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],"mapped",[1585,1740,1575,1604]],[[65021,65021],"valid",[],"NV8"],[[65022,65023],"disallowed"],[[65024,65039],"ignored"],[[65040,65040],"disallowed_STD3_mapped",[44]],[[65041,65041],"mapped",[12289]],[[65042,65042],"disallowed"],[[65043,65043],"disallowed_STD3_mapped",[58]],[[65044,65044],"disallowed_STD3_mapped",[59]],[[65045,65045],"disallowed_STD3_mapped",[33]],[[65046,65046],"disallowed_STD3_mapped",[63]],[[65047,65047],"mapped",[12310]],[[65048,65048],"mapped",[12311]],[[65049,65049],"disallowed"],[[65050,65055],"disallowed"],[[65056,65059],"valid"],[[65060,65062],"valid"],[[65063,65069],"valid"],[[65070,65071],"valid"],[[65072,65072],"disallowed"],[[65073,65073],"mapped",[8212]],[[65074,65074],"mapped",[8211]],[[65075,65076],"disallowed_STD3_mapped",[95]],[[65077,65077],"disallowed_STD3_mapped",[40]],[[65078,65078],"disallowed_STD3_mapped",[41]],[[65079,65079],"disallowed_STD3_mapped",[123]],[[65080,65080],"disallowed_STD3_mapped",[125]],[[65081,65081],"mapped",[12308]],[[65082,65082],"mapped",[12309]],[[65083,65083],"mapped",[12304]],[[65084,65084],"mapped",[12305]],[[65085,65085],"mapped",[12298]],[[65086,65086],"mapped",[12299]],[[65087,65087],"mapped",[12296]],[[65088,65088],"mapped",[12297]],[[65089,65089],"mapped",[12300]],[[65090,65090],"mapped",[12301]],[[65091,65091],"mapped",[12302]],[[65092,65092],"mapped",[12303]],[[65093,65094],"valid",[],"NV8"],[[65095,65095],"disallowed_STD3_mapped",[91]],[[65096,65096],"disallowed_STD3_mapped",[93]],[[65097,65100],"disallowed_STD3_mapped",[32,773]],[[65101,65103],"disallowed_STD3_mapped",[95]],[[65104,65104],"disallowed_STD3_mapped",[44]],[[65105,65105],"mapped",[12289]],[[65106,65106],"disallowed"],[[65107,65107],"disallowed"],[[65108,65108],"disallowed_STD3_mapped",[59]],[[65109,65109],"disallowed_STD3_mapped",[58]],[[65110,65110],"disallowed_STD3_mapped",[63]],[[65111,65111],"disallowed_STD3_mapped",[33]],[[65112,65112],"mapped",[8212]],[[65113,65113],"disallowed_STD3_mapped",[40]],[[65114,65114],"disallowed_STD3_mapped",[41]],[[65115,65115],"disallowed_STD3_mapped",[123]],[[65116,65116],"disallowed_STD3_mapped",[125]],[[65117,65117],"mapped",[12308]],[[65118,65118],"mapped",[12309]],[[65119,65119],"disallowed_STD3_mapped",[35]],[[65120,65120],"disallowed_STD3_mapped",[38]],[[65121,65121],"disallowed_STD3_mapped",[42]],[[65122,65122],"disallowed_STD3_mapped",[43]],[[65123,65123],"mapped",[45]],[[65124,65124],"disallowed_STD3_mapped",[60]],[[65125,65125],"disallowed_STD3_mapped",[62]],[[65126,65126],"disallowed_STD3_mapped",[61]],[[65127,65127],"disallowed"],[[65128,65128],"disallowed_STD3_mapped",[92]],[[65129,65129],"disallowed_STD3_mapped",[36]],[[65130,65130],"disallowed_STD3_mapped",[37]],[[65131,65131],"disallowed_STD3_mapped",[64]],[[65132,65135],"disallowed"],[[65136,65136],"disallowed_STD3_mapped",[32,1611]],[[65137,65137],"mapped",[1600,1611]],[[65138,65138],"disallowed_STD3_mapped",[32,1612]],[[65139,65139],"valid"],[[65140,65140],"disallowed_STD3_mapped",[32,1613]],[[65141,65141],"disallowed"],[[65142,65142],"disallowed_STD3_mapped",[32,1614]],[[65143,65143],"mapped",[1600,1614]],[[65144,65144],"disallowed_STD3_mapped",[32,1615]],[[65145,65145],"mapped",[1600,1615]],[[65146,65146],"disallowed_STD3_mapped",[32,1616]],[[65147,65147],"mapped",[1600,1616]],[[65148,65148],"disallowed_STD3_mapped",[32,1617]],[[65149,65149],"mapped",[1600,1617]],[[65150,65150],"disallowed_STD3_mapped",[32,1618]],[[65151,65151],"mapped",[1600,1618]],[[65152,65152],"mapped",[1569]],[[65153,65154],"mapped",[1570]],[[65155,65156],"mapped",[1571]],[[65157,65158],"mapped",[1572]],[[65159,65160],"mapped",[1573]],[[65161,65164],"mapped",[1574]],[[65165,65166],"mapped",[1575]],[[65167,65170],"mapped",[1576]],[[65171,65172],"mapped",[1577]],[[65173,65176],"mapped",[1578]],[[65177,65180],"mapped",[1579]],[[65181,65184],"mapped",[1580]],[[65185,65188],"mapped",[1581]],[[65189,65192],"mapped",[1582]],[[65193,65194],"mapped",[1583]],[[65195,65196],"mapped",[1584]],[[65197,65198],"mapped",[1585]],[[65199,65200],"mapped",[1586]],[[65201,65204],"mapped",[1587]],[[65205,65208],"mapped",[1588]],[[65209,65212],"mapped",[1589]],[[65213,65216],"mapped",[1590]],[[65217,65220],"mapped",[1591]],[[65221,65224],"mapped",[1592]],[[65225,65228],"mapped",[1593]],[[65229,65232],"mapped",[1594]],[[65233,65236],"mapped",[1601]],[[65237,65240],"mapped",[1602]],[[65241,65244],"mapped",[1603]],[[65245,65248],"mapped",[1604]],[[65249,65252],"mapped",[1605]],[[65253,65256],"mapped",[1606]],[[65257,65260],"mapped",[1607]],[[65261,65262],"mapped",[1608]],[[65263,65264],"mapped",[1609]],[[65265,65268],"mapped",[1610]],[[65269,65270],"mapped",[1604,1570]],[[65271,65272],"mapped",[1604,1571]],[[65273,65274],"mapped",[1604,1573]],[[65275,65276],"mapped",[1604,1575]],[[65277,65278],"disallowed"],[[65279,65279],"ignored"],[[65280,65280],"disallowed"],[[65281,65281],"disallowed_STD3_mapped",[33]],[[65282,65282],"disallowed_STD3_mapped",[34]],[[65283,65283],"disallowed_STD3_mapped",[35]],[[65284,65284],"disallowed_STD3_mapped",[36]],[[65285,65285],"disallowed_STD3_mapped",[37]],[[65286,65286],"disallowed_STD3_mapped",[38]],[[65287,65287],"disallowed_STD3_mapped",[39]],[[65288,65288],"disallowed_STD3_mapped",[40]],[[65289,65289],"disallowed_STD3_mapped",[41]],[[65290,65290],"disallowed_STD3_mapped",[42]],[[65291,65291],"disallowed_STD3_mapped",[43]],[[65292,65292],"disallowed_STD3_mapped",[44]],[[65293,65293],"mapped",[45]],[[65294,65294],"mapped",[46]],[[65295,65295],"disallowed_STD3_mapped",[47]],[[65296,65296],"mapped",[48]],[[65297,65297],"mapped",[49]],[[65298,65298],"mapped",[50]],[[65299,65299],"mapped",[51]],[[65300,65300],"mapped",[52]],[[65301,65301],"mapped",[53]],[[65302,65302],"mapped",[54]],[[65303,65303],"mapped",[55]],[[65304,65304],"mapped",[56]],[[65305,65305],"mapped",[57]],[[65306,65306],"disallowed_STD3_mapped",[58]],[[65307,65307],"disallowed_STD3_mapped",[59]],[[65308,65308],"disallowed_STD3_mapped",[60]],[[65309,65309],"disallowed_STD3_mapped",[61]],[[65310,65310],"disallowed_STD3_mapped",[62]],[[65311,65311],"disallowed_STD3_mapped",[63]],[[65312,65312],"disallowed_STD3_mapped",[64]],[[65313,65313],"mapped",[97]],[[65314,65314],"mapped",[98]],[[65315,65315],"mapped",[99]],[[65316,65316],"mapped",[100]],[[65317,65317],"mapped",[101]],[[65318,65318],"mapped",[102]],[[65319,65319],"mapped",[103]],[[65320,65320],"mapped",[104]],[[65321,65321],"mapped",[105]],[[65322,65322],"mapped",[106]],[[65323,65323],"mapped",[107]],[[65324,65324],"mapped",[108]],[[65325,65325],"mapped",[109]],[[65326,65326],"mapped",[110]],[[65327,65327],"mapped",[111]],[[65328,65328],"mapped",[112]],[[65329,65329],"mapped",[113]],[[65330,65330],"mapped",[114]],[[65331,65331],"mapped",[115]],[[65332,65332],"mapped",[116]],[[65333,65333],"mapped",[117]],[[65334,65334],"mapped",[118]],[[65335,65335],"mapped",[119]],[[65336,65336],"mapped",[120]],[[65337,65337],"mapped",[121]],[[65338,65338],"mapped",[122]],[[65339,65339],"disallowed_STD3_mapped",[91]],[[65340,65340],"disallowed_STD3_mapped",[92]],[[65341,65341],"disallowed_STD3_mapped",[93]],[[65342,65342],"disallowed_STD3_mapped",[94]],[[65343,65343],"disallowed_STD3_mapped",[95]],[[65344,65344],"disallowed_STD3_mapped",[96]],[[65345,65345],"mapped",[97]],[[65346,65346],"mapped",[98]],[[65347,65347],"mapped",[99]],[[65348,65348],"mapped",[100]],[[65349,65349],"mapped",[101]],[[65350,65350],"mapped",[102]],[[65351,65351],"mapped",[103]],[[65352,65352],"mapped",[104]],[[65353,65353],"mapped",[105]],[[65354,65354],"mapped",[106]],[[65355,65355],"mapped",[107]],[[65356,65356],"mapped",[108]],[[65357,65357],"mapped",[109]],[[65358,65358],"mapped",[110]],[[65359,65359],"mapped",[111]],[[65360,65360],"mapped",[112]],[[65361,65361],"mapped",[113]],[[65362,65362],"mapped",[114]],[[65363,65363],"mapped",[115]],[[65364,65364],"mapped",[116]],[[65365,65365],"mapped",[117]],[[65366,65366],"mapped",[118]],[[65367,65367],"mapped",[119]],[[65368,65368],"mapped",[120]],[[65369,65369],"mapped",[121]],[[65370,65370],"mapped",[122]],[[65371,65371],"disallowed_STD3_mapped",[123]],[[65372,65372],"disallowed_STD3_mapped",[124]],[[65373,65373],"disallowed_STD3_mapped",[125]],[[65374,65374],"disallowed_STD3_mapped",[126]],[[65375,65375],"mapped",[10629]],[[65376,65376],"mapped",[10630]],[[65377,65377],"mapped",[46]],[[65378,65378],"mapped",[12300]],[[65379,65379],"mapped",[12301]],[[65380,65380],"mapped",[12289]],[[65381,65381],"mapped",[12539]],[[65382,65382],"mapped",[12530]],[[65383,65383],"mapped",[12449]],[[65384,65384],"mapped",[12451]],[[65385,65385],"mapped",[12453]],[[65386,65386],"mapped",[12455]],[[65387,65387],"mapped",[12457]],[[65388,65388],"mapped",[12515]],[[65389,65389],"mapped",[12517]],[[65390,65390],"mapped",[12519]],[[65391,65391],"mapped",[12483]],[[65392,65392],"mapped",[12540]],[[65393,65393],"mapped",[12450]],[[65394,65394],"mapped",[12452]],[[65395,65395],"mapped",[12454]],[[65396,65396],"mapped",[12456]],[[65397,65397],"mapped",[12458]],[[65398,65398],"mapped",[12459]],[[65399,65399],"mapped",[12461]],[[65400,65400],"mapped",[12463]],[[65401,65401],"mapped",[12465]],[[65402,65402],"mapped",[12467]],[[65403,65403],"mapped",[12469]],[[65404,65404],"mapped",[12471]],[[65405,65405],"mapped",[12473]],[[65406,65406],"mapped",[12475]],[[65407,65407],"mapped",[12477]],[[65408,65408],"mapped",[12479]],[[65409,65409],"mapped",[12481]],[[65410,65410],"mapped",[12484]],[[65411,65411],"mapped",[12486]],[[65412,65412],"mapped",[12488]],[[65413,65413],"mapped",[12490]],[[65414,65414],"mapped",[12491]],[[65415,65415],"mapped",[12492]],[[65416,65416],"mapped",[12493]],[[65417,65417],"mapped",[12494]],[[65418,65418],"mapped",[12495]],[[65419,65419],"mapped",[12498]],[[65420,65420],"mapped",[12501]],[[65421,65421],"mapped",[12504]],[[65422,65422],"mapped",[12507]],[[65423,65423],"mapped",[12510]],[[65424,65424],"mapped",[12511]],[[65425,65425],"mapped",[12512]],[[65426,65426],"mapped",[12513]],[[65427,65427],"mapped",[12514]],[[65428,65428],"mapped",[12516]],[[65429,65429],"mapped",[12518]],[[65430,65430],"mapped",[12520]],[[65431,65431],"mapped",[12521]],[[65432,65432],"mapped",[12522]],[[65433,65433],"mapped",[12523]],[[65434,65434],"mapped",[12524]],[[65435,65435],"mapped",[12525]],[[65436,65436],"mapped",[12527]],[[65437,65437],"mapped",[12531]],[[65438,65438],"mapped",[12441]],[[65439,65439],"mapped",[12442]],[[65440,65440],"disallowed"],[[65441,65441],"mapped",[4352]],[[65442,65442],"mapped",[4353]],[[65443,65443],"mapped",[4522]],[[65444,65444],"mapped",[4354]],[[65445,65445],"mapped",[4524]],[[65446,65446],"mapped",[4525]],[[65447,65447],"mapped",[4355]],[[65448,65448],"mapped",[4356]],[[65449,65449],"mapped",[4357]],[[65450,65450],"mapped",[4528]],[[65451,65451],"mapped",[4529]],[[65452,65452],"mapped",[4530]],[[65453,65453],"mapped",[4531]],[[65454,65454],"mapped",[4532]],[[65455,65455],"mapped",[4533]],[[65456,65456],"mapped",[4378]],[[65457,65457],"mapped",[4358]],[[65458,65458],"mapped",[4359]],[[65459,65459],"mapped",[4360]],[[65460,65460],"mapped",[4385]],[[65461,65461],"mapped",[4361]],[[65462,65462],"mapped",[4362]],[[65463,65463],"mapped",[4363]],[[65464,65464],"mapped",[4364]],[[65465,65465],"mapped",[4365]],[[65466,65466],"mapped",[4366]],[[65467,65467],"mapped",[4367]],[[65468,65468],"mapped",[4368]],[[65469,65469],"mapped",[4369]],[[65470,65470],"mapped",[4370]],[[65471,65473],"disallowed"],[[65474,65474],"mapped",[4449]],[[65475,65475],"mapped",[4450]],[[65476,65476],"mapped",[4451]],[[65477,65477],"mapped",[4452]],[[65478,65478],"mapped",[4453]],[[65479,65479],"mapped",[4454]],[[65480,65481],"disallowed"],[[65482,65482],"mapped",[4455]],[[65483,65483],"mapped",[4456]],[[65484,65484],"mapped",[4457]],[[65485,65485],"mapped",[4458]],[[65486,65486],"mapped",[4459]],[[65487,65487],"mapped",[4460]],[[65488,65489],"disallowed"],[[65490,65490],"mapped",[4461]],[[65491,65491],"mapped",[4462]],[[65492,65492],"mapped",[4463]],[[65493,65493],"mapped",[4464]],[[65494,65494],"mapped",[4465]],[[65495,65495],"mapped",[4466]],[[65496,65497],"disallowed"],[[65498,65498],"mapped",[4467]],[[65499,65499],"mapped",[4468]],[[65500,65500],"mapped",[4469]],[[65501,65503],"disallowed"],[[65504,65504],"mapped",[162]],[[65505,65505],"mapped",[163]],[[65506,65506],"mapped",[172]],[[65507,65507],"disallowed_STD3_mapped",[32,772]],[[65508,65508],"mapped",[166]],[[65509,65509],"mapped",[165]],[[65510,65510],"mapped",[8361]],[[65511,65511],"disallowed"],[[65512,65512],"mapped",[9474]],[[65513,65513],"mapped",[8592]],[[65514,65514],"mapped",[8593]],[[65515,65515],"mapped",[8594]],[[65516,65516],"mapped",[8595]],[[65517,65517],"mapped",[9632]],[[65518,65518],"mapped",[9675]],[[65519,65528],"disallowed"],[[65529,65531],"disallowed"],[[65532,65532],"disallowed"],[[65533,65533],"disallowed"],[[65534,65535],"disallowed"],[[65536,65547],"valid"],[[65548,65548],"disallowed"],[[65549,65574],"valid"],[[65575,65575],"disallowed"],[[65576,65594],"valid"],[[65595,65595],"disallowed"],[[65596,65597],"valid"],[[65598,65598],"disallowed"],[[65599,65613],"valid"],[[65614,65615],"disallowed"],[[65616,65629],"valid"],[[65630,65663],"disallowed"],[[65664,65786],"valid"],[[65787,65791],"disallowed"],[[65792,65794],"valid",[],"NV8"],[[65795,65798],"disallowed"],[[65799,65843],"valid",[],"NV8"],[[65844,65846],"disallowed"],[[65847,65855],"valid",[],"NV8"],[[65856,65930],"valid",[],"NV8"],[[65931,65932],"valid",[],"NV8"],[[65933,65935],"disallowed"],[[65936,65947],"valid",[],"NV8"],[[65948,65951],"disallowed"],[[65952,65952],"valid",[],"NV8"],[[65953,65999],"disallowed"],[[66000,66044],"valid",[],"NV8"],[[66045,66045],"valid"],[[66046,66175],"disallowed"],[[66176,66204],"valid"],[[66205,66207],"disallowed"],[[66208,66256],"valid"],[[66257,66271],"disallowed"],[[66272,66272],"valid"],[[66273,66299],"valid",[],"NV8"],[[66300,66303],"disallowed"],[[66304,66334],"valid"],[[66335,66335],"valid"],[[66336,66339],"valid",[],"NV8"],[[66340,66351],"disallowed"],[[66352,66368],"valid"],[[66369,66369],"valid",[],"NV8"],[[66370,66377],"valid"],[[66378,66378],"valid",[],"NV8"],[[66379,66383],"disallowed"],[[66384,66426],"valid"],[[66427,66431],"disallowed"],[[66432,66461],"valid"],[[66462,66462],"disallowed"],[[66463,66463],"valid",[],"NV8"],[[66464,66499],"valid"],[[66500,66503],"disallowed"],[[66504,66511],"valid"],[[66512,66517],"valid",[],"NV8"],[[66518,66559],"disallowed"],[[66560,66560],"mapped",[66600]],[[66561,66561],"mapped",[66601]],[[66562,66562],"mapped",[66602]],[[66563,66563],"mapped",[66603]],[[66564,66564],"mapped",[66604]],[[66565,66565],"mapped",[66605]],[[66566,66566],"mapped",[66606]],[[66567,66567],"mapped",[66607]],[[66568,66568],"mapped",[66608]],[[66569,66569],"mapped",[66609]],[[66570,66570],"mapped",[66610]],[[66571,66571],"mapped",[66611]],[[66572,66572],"mapped",[66612]],[[66573,66573],"mapped",[66613]],[[66574,66574],"mapped",[66614]],[[66575,66575],"mapped",[66615]],[[66576,66576],"mapped",[66616]],[[66577,66577],"mapped",[66617]],[[66578,66578],"mapped",[66618]],[[66579,66579],"mapped",[66619]],[[66580,66580],"mapped",[66620]],[[66581,66581],"mapped",[66621]],[[66582,66582],"mapped",[66622]],[[66583,66583],"mapped",[66623]],[[66584,66584],"mapped",[66624]],[[66585,66585],"mapped",[66625]],[[66586,66586],"mapped",[66626]],[[66587,66587],"mapped",[66627]],[[66588,66588],"mapped",[66628]],[[66589,66589],"mapped",[66629]],[[66590,66590],"mapped",[66630]],[[66591,66591],"mapped",[66631]],[[66592,66592],"mapped",[66632]],[[66593,66593],"mapped",[66633]],[[66594,66594],"mapped",[66634]],[[66595,66595],"mapped",[66635]],[[66596,66596],"mapped",[66636]],[[66597,66597],"mapped",[66637]],[[66598,66598],"mapped",[66638]],[[66599,66599],"mapped",[66639]],[[66600,66637],"valid"],[[66638,66717],"valid"],[[66718,66719],"disallowed"],[[66720,66729],"valid"],[[66730,66815],"disallowed"],[[66816,66855],"valid"],[[66856,66863],"disallowed"],[[66864,66915],"valid"],[[66916,66926],"disallowed"],[[66927,66927],"valid",[],"NV8"],[[66928,67071],"disallowed"],[[67072,67382],"valid"],[[67383,67391],"disallowed"],[[67392,67413],"valid"],[[67414,67423],"disallowed"],[[67424,67431],"valid"],[[67432,67583],"disallowed"],[[67584,67589],"valid"],[[67590,67591],"disallowed"],[[67592,67592],"valid"],[[67593,67593],"disallowed"],[[67594,67637],"valid"],[[67638,67638],"disallowed"],[[67639,67640],"valid"],[[67641,67643],"disallowed"],[[67644,67644],"valid"],[[67645,67646],"disallowed"],[[67647,67647],"valid"],[[67648,67669],"valid"],[[67670,67670],"disallowed"],[[67671,67679],"valid",[],"NV8"],[[67680,67702],"valid"],[[67703,67711],"valid",[],"NV8"],[[67712,67742],"valid"],[[67743,67750],"disallowed"],[[67751,67759],"valid",[],"NV8"],[[67760,67807],"disallowed"],[[67808,67826],"valid"],[[67827,67827],"disallowed"],[[67828,67829],"valid"],[[67830,67834],"disallowed"],[[67835,67839],"valid",[],"NV8"],[[67840,67861],"valid"],[[67862,67865],"valid",[],"NV8"],[[67866,67867],"valid",[],"NV8"],[[67868,67870],"disallowed"],[[67871,67871],"valid",[],"NV8"],[[67872,67897],"valid"],[[67898,67902],"disallowed"],[[67903,67903],"valid",[],"NV8"],[[67904,67967],"disallowed"],[[67968,68023],"valid"],[[68024,68027],"disallowed"],[[68028,68029],"valid",[],"NV8"],[[68030,68031],"valid"],[[68032,68047],"valid",[],"NV8"],[[68048,68049],"disallowed"],[[68050,68095],"valid",[],"NV8"],[[68096,68099],"valid"],[[68100,68100],"disallowed"],[[68101,68102],"valid"],[[68103,68107],"disallowed"],[[68108,68115],"valid"],[[68116,68116],"disallowed"],[[68117,68119],"valid"],[[68120,68120],"disallowed"],[[68121,68147],"valid"],[[68148,68151],"disallowed"],[[68152,68154],"valid"],[[68155,68158],"disallowed"],[[68159,68159],"valid"],[[68160,68167],"valid",[],"NV8"],[[68168,68175],"disallowed"],[[68176,68184],"valid",[],"NV8"],[[68185,68191],"disallowed"],[[68192,68220],"valid"],[[68221,68223],"valid",[],"NV8"],[[68224,68252],"valid"],[[68253,68255],"valid",[],"NV8"],[[68256,68287],"disallowed"],[[68288,68295],"valid"],[[68296,68296],"valid",[],"NV8"],[[68297,68326],"valid"],[[68327,68330],"disallowed"],[[68331,68342],"valid",[],"NV8"],[[68343,68351],"disallowed"],[[68352,68405],"valid"],[[68406,68408],"disallowed"],[[68409,68415],"valid",[],"NV8"],[[68416,68437],"valid"],[[68438,68439],"disallowed"],[[68440,68447],"valid",[],"NV8"],[[68448,68466],"valid"],[[68467,68471],"disallowed"],[[68472,68479],"valid",[],"NV8"],[[68480,68497],"valid"],[[68498,68504],"disallowed"],[[68505,68508],"valid",[],"NV8"],[[68509,68520],"disallowed"],[[68521,68527],"valid",[],"NV8"],[[68528,68607],"disallowed"],[[68608,68680],"valid"],[[68681,68735],"disallowed"],[[68736,68736],"mapped",[68800]],[[68737,68737],"mapped",[68801]],[[68738,68738],"mapped",[68802]],[[68739,68739],"mapped",[68803]],[[68740,68740],"mapped",[68804]],[[68741,68741],"mapped",[68805]],[[68742,68742],"mapped",[68806]],[[68743,68743],"mapped",[68807]],[[68744,68744],"mapped",[68808]],[[68745,68745],"mapped",[68809]],[[68746,68746],"mapped",[68810]],[[68747,68747],"mapped",[68811]],[[68748,68748],"mapped",[68812]],[[68749,68749],"mapped",[68813]],[[68750,68750],"mapped",[68814]],[[68751,68751],"mapped",[68815]],[[68752,68752],"mapped",[68816]],[[68753,68753],"mapped",[68817]],[[68754,68754],"mapped",[68818]],[[68755,68755],"mapped",[68819]],[[68756,68756],"mapped",[68820]],[[68757,68757],"mapped",[68821]],[[68758,68758],"mapped",[68822]],[[68759,68759],"mapped",[68823]],[[68760,68760],"mapped",[68824]],[[68761,68761],"mapped",[68825]],[[68762,68762],"mapped",[68826]],[[68763,68763],"mapped",[68827]],[[68764,68764],"mapped",[68828]],[[68765,68765],"mapped",[68829]],[[68766,68766],"mapped",[68830]],[[68767,68767],"mapped",[68831]],[[68768,68768],"mapped",[68832]],[[68769,68769],"mapped",[68833]],[[68770,68770],"mapped",[68834]],[[68771,68771],"mapped",[68835]],[[68772,68772],"mapped",[68836]],[[68773,68773],"mapped",[68837]],[[68774,68774],"mapped",[68838]],[[68775,68775],"mapped",[68839]],[[68776,68776],"mapped",[68840]],[[68777,68777],"mapped",[68841]],[[68778,68778],"mapped",[68842]],[[68779,68779],"mapped",[68843]],[[68780,68780],"mapped",[68844]],[[68781,68781],"mapped",[68845]],[[68782,68782],"mapped",[68846]],[[68783,68783],"mapped",[68847]],[[68784,68784],"mapped",[68848]],[[68785,68785],"mapped",[68849]],[[68786,68786],"mapped",[68850]],[[68787,68799],"disallowed"],[[68800,68850],"valid"],[[68851,68857],"disallowed"],[[68858,68863],"valid",[],"NV8"],[[68864,69215],"disallowed"],[[69216,69246],"valid",[],"NV8"],[[69247,69631],"disallowed"],[[69632,69702],"valid"],[[69703,69709],"valid",[],"NV8"],[[69710,69713],"disallowed"],[[69714,69733],"valid",[],"NV8"],[[69734,69743],"valid"],[[69744,69758],"disallowed"],[[69759,69759],"valid"],[[69760,69818],"valid"],[[69819,69820],"valid",[],"NV8"],[[69821,69821],"disallowed"],[[69822,69825],"valid",[],"NV8"],[[69826,69839],"disallowed"],[[69840,69864],"valid"],[[69865,69871],"disallowed"],[[69872,69881],"valid"],[[69882,69887],"disallowed"],[[69888,69940],"valid"],[[69941,69941],"disallowed"],[[69942,69951],"valid"],[[69952,69955],"valid",[],"NV8"],[[69956,69967],"disallowed"],[[69968,70003],"valid"],[[70004,70005],"valid",[],"NV8"],[[70006,70006],"valid"],[[70007,70015],"disallowed"],[[70016,70084],"valid"],[[70085,70088],"valid",[],"NV8"],[[70089,70089],"valid",[],"NV8"],[[70090,70092],"valid"],[[70093,70093],"valid",[],"NV8"],[[70094,70095],"disallowed"],[[70096,70105],"valid"],[[70106,70106],"valid"],[[70107,70107],"valid",[],"NV8"],[[70108,70108],"valid"],[[70109,70111],"valid",[],"NV8"],[[70112,70112],"disallowed"],[[70113,70132],"valid",[],"NV8"],[[70133,70143],"disallowed"],[[70144,70161],"valid"],[[70162,70162],"disallowed"],[[70163,70199],"valid"],[[70200,70205],"valid",[],"NV8"],[[70206,70271],"disallowed"],[[70272,70278],"valid"],[[70279,70279],"disallowed"],[[70280,70280],"valid"],[[70281,70281],"disallowed"],[[70282,70285],"valid"],[[70286,70286],"disallowed"],[[70287,70301],"valid"],[[70302,70302],"disallowed"],[[70303,70312],"valid"],[[70313,70313],"valid",[],"NV8"],[[70314,70319],"disallowed"],[[70320,70378],"valid"],[[70379,70383],"disallowed"],[[70384,70393],"valid"],[[70394,70399],"disallowed"],[[70400,70400],"valid"],[[70401,70403],"valid"],[[70404,70404],"disallowed"],[[70405,70412],"valid"],[[70413,70414],"disallowed"],[[70415,70416],"valid"],[[70417,70418],"disallowed"],[[70419,70440],"valid"],[[70441,70441],"disallowed"],[[70442,70448],"valid"],[[70449,70449],"disallowed"],[[70450,70451],"valid"],[[70452,70452],"disallowed"],[[70453,70457],"valid"],[[70458,70459],"disallowed"],[[70460,70468],"valid"],[[70469,70470],"disallowed"],[[70471,70472],"valid"],[[70473,70474],"disallowed"],[[70475,70477],"valid"],[[70478,70479],"disallowed"],[[70480,70480],"valid"],[[70481,70486],"disallowed"],[[70487,70487],"valid"],[[70488,70492],"disallowed"],[[70493,70499],"valid"],[[70500,70501],"disallowed"],[[70502,70508],"valid"],[[70509,70511],"disallowed"],[[70512,70516],"valid"],[[70517,70783],"disallowed"],[[70784,70853],"valid"],[[70854,70854],"valid",[],"NV8"],[[70855,70855],"valid"],[[70856,70863],"disallowed"],[[70864,70873],"valid"],[[70874,71039],"disallowed"],[[71040,71093],"valid"],[[71094,71095],"disallowed"],[[71096,71104],"valid"],[[71105,71113],"valid",[],"NV8"],[[71114,71127],"valid",[],"NV8"],[[71128,71133],"valid"],[[71134,71167],"disallowed"],[[71168,71232],"valid"],[[71233,71235],"valid",[],"NV8"],[[71236,71236],"valid"],[[71237,71247],"disallowed"],[[71248,71257],"valid"],[[71258,71295],"disallowed"],[[71296,71351],"valid"],[[71352,71359],"disallowed"],[[71360,71369],"valid"],[[71370,71423],"disallowed"],[[71424,71449],"valid"],[[71450,71452],"disallowed"],[[71453,71467],"valid"],[[71468,71471],"disallowed"],[[71472,71481],"valid"],[[71482,71487],"valid",[],"NV8"],[[71488,71839],"disallowed"],[[71840,71840],"mapped",[71872]],[[71841,71841],"mapped",[71873]],[[71842,71842],"mapped",[71874]],[[71843,71843],"mapped",[71875]],[[71844,71844],"mapped",[71876]],[[71845,71845],"mapped",[71877]],[[71846,71846],"mapped",[71878]],[[71847,71847],"mapped",[71879]],[[71848,71848],"mapped",[71880]],[[71849,71849],"mapped",[71881]],[[71850,71850],"mapped",[71882]],[[71851,71851],"mapped",[71883]],[[71852,71852],"mapped",[71884]],[[71853,71853],"mapped",[71885]],[[71854,71854],"mapped",[71886]],[[71855,71855],"mapped",[71887]],[[71856,71856],"mapped",[71888]],[[71857,71857],"mapped",[71889]],[[71858,71858],"mapped",[71890]],[[71859,71859],"mapped",[71891]],[[71860,71860],"mapped",[71892]],[[71861,71861],"mapped",[71893]],[[71862,71862],"mapped",[71894]],[[71863,71863],"mapped",[71895]],[[71864,71864],"mapped",[71896]],[[71865,71865],"mapped",[71897]],[[71866,71866],"mapped",[71898]],[[71867,71867],"mapped",[71899]],[[71868,71868],"mapped",[71900]],[[71869,71869],"mapped",[71901]],[[71870,71870],"mapped",[71902]],[[71871,71871],"mapped",[71903]],[[71872,71913],"valid"],[[71914,71922],"valid",[],"NV8"],[[71923,71934],"disallowed"],[[71935,71935],"valid"],[[71936,72383],"disallowed"],[[72384,72440],"valid"],[[72441,73727],"disallowed"],[[73728,74606],"valid"],[[74607,74648],"valid"],[[74649,74649],"valid"],[[74650,74751],"disallowed"],[[74752,74850],"valid",[],"NV8"],[[74851,74862],"valid",[],"NV8"],[[74863,74863],"disallowed"],[[74864,74867],"valid",[],"NV8"],[[74868,74868],"valid",[],"NV8"],[[74869,74879],"disallowed"],[[74880,75075],"valid"],[[75076,77823],"disallowed"],[[77824,78894],"valid"],[[78895,82943],"disallowed"],[[82944,83526],"valid"],[[83527,92159],"disallowed"],[[92160,92728],"valid"],[[92729,92735],"disallowed"],[[92736,92766],"valid"],[[92767,92767],"disallowed"],[[92768,92777],"valid"],[[92778,92781],"disallowed"],[[92782,92783],"valid",[],"NV8"],[[92784,92879],"disallowed"],[[92880,92909],"valid"],[[92910,92911],"disallowed"],[[92912,92916],"valid"],[[92917,92917],"valid",[],"NV8"],[[92918,92927],"disallowed"],[[92928,92982],"valid"],[[92983,92991],"valid",[],"NV8"],[[92992,92995],"valid"],[[92996,92997],"valid",[],"NV8"],[[92998,93007],"disallowed"],[[93008,93017],"valid"],[[93018,93018],"disallowed"],[[93019,93025],"valid",[],"NV8"],[[93026,93026],"disallowed"],[[93027,93047],"valid"],[[93048,93052],"disallowed"],[[93053,93071],"valid"],[[93072,93951],"disallowed"],[[93952,94020],"valid"],[[94021,94031],"disallowed"],[[94032,94078],"valid"],[[94079,94094],"disallowed"],[[94095,94111],"valid"],[[94112,110591],"disallowed"],[[110592,110593],"valid"],[[110594,113663],"disallowed"],[[113664,113770],"valid"],[[113771,113775],"disallowed"],[[113776,113788],"valid"],[[113789,113791],"disallowed"],[[113792,113800],"valid"],[[113801,113807],"disallowed"],[[113808,113817],"valid"],[[113818,113819],"disallowed"],[[113820,113820],"valid",[],"NV8"],[[113821,113822],"valid"],[[113823,113823],"valid",[],"NV8"],[[113824,113827],"ignored"],[[113828,118783],"disallowed"],[[118784,119029],"valid",[],"NV8"],[[119030,119039],"disallowed"],[[119040,119078],"valid",[],"NV8"],[[119079,119080],"disallowed"],[[119081,119081],"valid",[],"NV8"],[[119082,119133],"valid",[],"NV8"],[[119134,119134],"mapped",[119127,119141]],[[119135,119135],"mapped",[119128,119141]],[[119136,119136],"mapped",[119128,119141,119150]],[[119137,119137],"mapped",[119128,119141,119151]],[[119138,119138],"mapped",[119128,119141,119152]],[[119139,119139],"mapped",[119128,119141,119153]],[[119140,119140],"mapped",[119128,119141,119154]],[[119141,119154],"valid",[],"NV8"],[[119155,119162],"disallowed"],[[119163,119226],"valid",[],"NV8"],[[119227,119227],"mapped",[119225,119141]],[[119228,119228],"mapped",[119226,119141]],[[119229,119229],"mapped",[119225,119141,119150]],[[119230,119230],"mapped",[119226,119141,119150]],[[119231,119231],"mapped",[119225,119141,119151]],[[119232,119232],"mapped",[119226,119141,119151]],[[119233,119261],"valid",[],"NV8"],[[119262,119272],"valid",[],"NV8"],[[119273,119295],"disallowed"],[[119296,119365],"valid",[],"NV8"],[[119366,119551],"disallowed"],[[119552,119638],"valid",[],"NV8"],[[119639,119647],"disallowed"],[[119648,119665],"valid",[],"NV8"],[[119666,119807],"disallowed"],[[119808,119808],"mapped",[97]],[[119809,119809],"mapped",[98]],[[119810,119810],"mapped",[99]],[[119811,119811],"mapped",[100]],[[119812,119812],"mapped",[101]],[[119813,119813],"mapped",[102]],[[119814,119814],"mapped",[103]],[[119815,119815],"mapped",[104]],[[119816,119816],"mapped",[105]],[[119817,119817],"mapped",[106]],[[119818,119818],"mapped",[107]],[[119819,119819],"mapped",[108]],[[119820,119820],"mapped",[109]],[[119821,119821],"mapped",[110]],[[119822,119822],"mapped",[111]],[[119823,119823],"mapped",[112]],[[119824,119824],"mapped",[113]],[[119825,119825],"mapped",[114]],[[119826,119826],"mapped",[115]],[[119827,119827],"mapped",[116]],[[119828,119828],"mapped",[117]],[[119829,119829],"mapped",[118]],[[119830,119830],"mapped",[119]],[[119831,119831],"mapped",[120]],[[119832,119832],"mapped",[121]],[[119833,119833],"mapped",[122]],[[119834,119834],"mapped",[97]],[[119835,119835],"mapped",[98]],[[119836,119836],"mapped",[99]],[[119837,119837],"mapped",[100]],[[119838,119838],"mapped",[101]],[[119839,119839],"mapped",[102]],[[119840,119840],"mapped",[103]],[[119841,119841],"mapped",[104]],[[119842,119842],"mapped",[105]],[[119843,119843],"mapped",[106]],[[119844,119844],"mapped",[107]],[[119845,119845],"mapped",[108]],[[119846,119846],"mapped",[109]],[[119847,119847],"mapped",[110]],[[119848,119848],"mapped",[111]],[[119849,119849],"mapped",[112]],[[119850,119850],"mapped",[113]],[[119851,119851],"mapped",[114]],[[119852,119852],"mapped",[115]],[[119853,119853],"mapped",[116]],[[119854,119854],"mapped",[117]],[[119855,119855],"mapped",[118]],[[119856,119856],"mapped",[119]],[[119857,119857],"mapped",[120]],[[119858,119858],"mapped",[121]],[[119859,119859],"mapped",[122]],[[119860,119860],"mapped",[97]],[[119861,119861],"mapped",[98]],[[119862,119862],"mapped",[99]],[[119863,119863],"mapped",[100]],[[119864,119864],"mapped",[101]],[[119865,119865],"mapped",[102]],[[119866,119866],"mapped",[103]],[[119867,119867],"mapped",[104]],[[119868,119868],"mapped",[105]],[[119869,119869],"mapped",[106]],[[119870,119870],"mapped",[107]],[[119871,119871],"mapped",[108]],[[119872,119872],"mapped",[109]],[[119873,119873],"mapped",[110]],[[119874,119874],"mapped",[111]],[[119875,119875],"mapped",[112]],[[119876,119876],"mapped",[113]],[[119877,119877],"mapped",[114]],[[119878,119878],"mapped",[115]],[[119879,119879],"mapped",[116]],[[119880,119880],"mapped",[117]],[[119881,119881],"mapped",[118]],[[119882,119882],"mapped",[119]],[[119883,119883],"mapped",[120]],[[119884,119884],"mapped",[121]],[[119885,119885],"mapped",[122]],[[119886,119886],"mapped",[97]],[[119887,119887],"mapped",[98]],[[119888,119888],"mapped",[99]],[[119889,119889],"mapped",[100]],[[119890,119890],"mapped",[101]],[[119891,119891],"mapped",[102]],[[119892,119892],"mapped",[103]],[[119893,119893],"disallowed"],[[119894,119894],"mapped",[105]],[[119895,119895],"mapped",[106]],[[119896,119896],"mapped",[107]],[[119897,119897],"mapped",[108]],[[119898,119898],"mapped",[109]],[[119899,119899],"mapped",[110]],[[119900,119900],"mapped",[111]],[[119901,119901],"mapped",[112]],[[119902,119902],"mapped",[113]],[[119903,119903],"mapped",[114]],[[119904,119904],"mapped",[115]],[[119905,119905],"mapped",[116]],[[119906,119906],"mapped",[117]],[[119907,119907],"mapped",[118]],[[119908,119908],"mapped",[119]],[[119909,119909],"mapped",[120]],[[119910,119910],"mapped",[121]],[[119911,119911],"mapped",[122]],[[119912,119912],"mapped",[97]],[[119913,119913],"mapped",[98]],[[119914,119914],"mapped",[99]],[[119915,119915],"mapped",[100]],[[119916,119916],"mapped",[101]],[[119917,119917],"mapped",[102]],[[119918,119918],"mapped",[103]],[[119919,119919],"mapped",[104]],[[119920,119920],"mapped",[105]],[[119921,119921],"mapped",[106]],[[119922,119922],"mapped",[107]],[[119923,119923],"mapped",[108]],[[119924,119924],"mapped",[109]],[[119925,119925],"mapped",[110]],[[119926,119926],"mapped",[111]],[[119927,119927],"mapped",[112]],[[119928,119928],"mapped",[113]],[[119929,119929],"mapped",[114]],[[119930,119930],"mapped",[115]],[[119931,119931],"mapped",[116]],[[119932,119932],"mapped",[117]],[[119933,119933],"mapped",[118]],[[119934,119934],"mapped",[119]],[[119935,119935],"mapped",[120]],[[119936,119936],"mapped",[121]],[[119937,119937],"mapped",[122]],[[119938,119938],"mapped",[97]],[[119939,119939],"mapped",[98]],[[119940,119940],"mapped",[99]],[[119941,119941],"mapped",[100]],[[119942,119942],"mapped",[101]],[[119943,119943],"mapped",[102]],[[119944,119944],"mapped",[103]],[[119945,119945],"mapped",[104]],[[119946,119946],"mapped",[105]],[[119947,119947],"mapped",[106]],[[119948,119948],"mapped",[107]],[[119949,119949],"mapped",[108]],[[119950,119950],"mapped",[109]],[[119951,119951],"mapped",[110]],[[119952,119952],"mapped",[111]],[[119953,119953],"mapped",[112]],[[119954,119954],"mapped",[113]],[[119955,119955],"mapped",[114]],[[119956,119956],"mapped",[115]],[[119957,119957],"mapped",[116]],[[119958,119958],"mapped",[117]],[[119959,119959],"mapped",[118]],[[119960,119960],"mapped",[119]],[[119961,119961],"mapped",[120]],[[119962,119962],"mapped",[121]],[[119963,119963],"mapped",[122]],[[119964,119964],"mapped",[97]],[[119965,119965],"disallowed"],[[119966,119966],"mapped",[99]],[[119967,119967],"mapped",[100]],[[119968,119969],"disallowed"],[[119970,119970],"mapped",[103]],[[119971,119972],"disallowed"],[[119973,119973],"mapped",[106]],[[119974,119974],"mapped",[107]],[[119975,119976],"disallowed"],[[119977,119977],"mapped",[110]],[[119978,119978],"mapped",[111]],[[119979,119979],"mapped",[112]],[[119980,119980],"mapped",[113]],[[119981,119981],"disallowed"],[[119982,119982],"mapped",[115]],[[119983,119983],"mapped",[116]],[[119984,119984],"mapped",[117]],[[119985,119985],"mapped",[118]],[[119986,119986],"mapped",[119]],[[119987,119987],"mapped",[120]],[[119988,119988],"mapped",[121]],[[119989,119989],"mapped",[122]],[[119990,119990],"mapped",[97]],[[119991,119991],"mapped",[98]],[[119992,119992],"mapped",[99]],[[119993,119993],"mapped",[100]],[[119994,119994],"disallowed"],[[119995,119995],"mapped",[102]],[[119996,119996],"disallowed"],[[119997,119997],"mapped",[104]],[[119998,119998],"mapped",[105]],[[119999,119999],"mapped",[106]],[[120000,120000],"mapped",[107]],[[120001,120001],"mapped",[108]],[[120002,120002],"mapped",[109]],[[120003,120003],"mapped",[110]],[[120004,120004],"disallowed"],[[120005,120005],"mapped",[112]],[[120006,120006],"mapped",[113]],[[120007,120007],"mapped",[114]],[[120008,120008],"mapped",[115]],[[120009,120009],"mapped",[116]],[[120010,120010],"mapped",[117]],[[120011,120011],"mapped",[118]],[[120012,120012],"mapped",[119]],[[120013,120013],"mapped",[120]],[[120014,120014],"mapped",[121]],[[120015,120015],"mapped",[122]],[[120016,120016],"mapped",[97]],[[120017,120017],"mapped",[98]],[[120018,120018],"mapped",[99]],[[120019,120019],"mapped",[100]],[[120020,120020],"mapped",[101]],[[120021,120021],"mapped",[102]],[[120022,120022],"mapped",[103]],[[120023,120023],"mapped",[104]],[[120024,120024],"mapped",[105]],[[120025,120025],"mapped",[106]],[[120026,120026],"mapped",[107]],[[120027,120027],"mapped",[108]],[[120028,120028],"mapped",[109]],[[120029,120029],"mapped",[110]],[[120030,120030],"mapped",[111]],[[120031,120031],"mapped",[112]],[[120032,120032],"mapped",[113]],[[120033,120033],"mapped",[114]],[[120034,120034],"mapped",[115]],[[120035,120035],"mapped",[116]],[[120036,120036],"mapped",[117]],[[120037,120037],"mapped",[118]],[[120038,120038],"mapped",[119]],[[120039,120039],"mapped",[120]],[[120040,120040],"mapped",[121]],[[120041,120041],"mapped",[122]],[[120042,120042],"mapped",[97]],[[120043,120043],"mapped",[98]],[[120044,120044],"mapped",[99]],[[120045,120045],"mapped",[100]],[[120046,120046],"mapped",[101]],[[120047,120047],"mapped",[102]],[[120048,120048],"mapped",[103]],[[120049,120049],"mapped",[104]],[[120050,120050],"mapped",[105]],[[120051,120051],"mapped",[106]],[[120052,120052],"mapped",[107]],[[120053,120053],"mapped",[108]],[[120054,120054],"mapped",[109]],[[120055,120055],"mapped",[110]],[[120056,120056],"mapped",[111]],[[120057,120057],"mapped",[112]],[[120058,120058],"mapped",[113]],[[120059,120059],"mapped",[114]],[[120060,120060],"mapped",[115]],[[120061,120061],"mapped",[116]],[[120062,120062],"mapped",[117]],[[120063,120063],"mapped",[118]],[[120064,120064],"mapped",[119]],[[120065,120065],"mapped",[120]],[[120066,120066],"mapped",[121]],[[120067,120067],"mapped",[122]],[[120068,120068],"mapped",[97]],[[120069,120069],"mapped",[98]],[[120070,120070],"disallowed"],[[120071,120071],"mapped",[100]],[[120072,120072],"mapped",[101]],[[120073,120073],"mapped",[102]],[[120074,120074],"mapped",[103]],[[120075,120076],"disallowed"],[[120077,120077],"mapped",[106]],[[120078,120078],"mapped",[107]],[[120079,120079],"mapped",[108]],[[120080,120080],"mapped",[109]],[[120081,120081],"mapped",[110]],[[120082,120082],"mapped",[111]],[[120083,120083],"mapped",[112]],[[120084,120084],"mapped",[113]],[[120085,120085],"disallowed"],[[120086,120086],"mapped",[115]],[[120087,120087],"mapped",[116]],[[120088,120088],"mapped",[117]],[[120089,120089],"mapped",[118]],[[120090,120090],"mapped",[119]],[[120091,120091],"mapped",[120]],[[120092,120092],"mapped",[121]],[[120093,120093],"disallowed"],[[120094,120094],"mapped",[97]],[[120095,120095],"mapped",[98]],[[120096,120096],"mapped",[99]],[[120097,120097],"mapped",[100]],[[120098,120098],"mapped",[101]],[[120099,120099],"mapped",[102]],[[120100,120100],"mapped",[103]],[[120101,120101],"mapped",[104]],[[120102,120102],"mapped",[105]],[[120103,120103],"mapped",[106]],[[120104,120104],"mapped",[107]],[[120105,120105],"mapped",[108]],[[120106,120106],"mapped",[109]],[[120107,120107],"mapped",[110]],[[120108,120108],"mapped",[111]],[[120109,120109],"mapped",[112]],[[120110,120110],"mapped",[113]],[[120111,120111],"mapped",[114]],[[120112,120112],"mapped",[115]],[[120113,120113],"mapped",[116]],[[120114,120114],"mapped",[117]],[[120115,120115],"mapped",[118]],[[120116,120116],"mapped",[119]],[[120117,120117],"mapped",[120]],[[120118,120118],"mapped",[121]],[[120119,120119],"mapped",[122]],[[120120,120120],"mapped",[97]],[[120121,120121],"mapped",[98]],[[120122,120122],"disallowed"],[[120123,120123],"mapped",[100]],[[120124,120124],"mapped",[101]],[[120125,120125],"mapped",[102]],[[120126,120126],"mapped",[103]],[[120127,120127],"disallowed"],[[120128,120128],"mapped",[105]],[[120129,120129],"mapped",[106]],[[120130,120130],"mapped",[107]],[[120131,120131],"mapped",[108]],[[120132,120132],"mapped",[109]],[[120133,120133],"disallowed"],[[120134,120134],"mapped",[111]],[[120135,120137],"disallowed"],[[120138,120138],"mapped",[115]],[[120139,120139],"mapped",[116]],[[120140,120140],"mapped",[117]],[[120141,120141],"mapped",[118]],[[120142,120142],"mapped",[119]],[[120143,120143],"mapped",[120]],[[120144,120144],"mapped",[121]],[[120145,120145],"disallowed"],[[120146,120146],"mapped",[97]],[[120147,120147],"mapped",[98]],[[120148,120148],"mapped",[99]],[[120149,120149],"mapped",[100]],[[120150,120150],"mapped",[101]],[[120151,120151],"mapped",[102]],[[120152,120152],"mapped",[103]],[[120153,120153],"mapped",[104]],[[120154,120154],"mapped",[105]],[[120155,120155],"mapped",[106]],[[120156,120156],"mapped",[107]],[[120157,120157],"mapped",[108]],[[120158,120158],"mapped",[109]],[[120159,120159],"mapped",[110]],[[120160,120160],"mapped",[111]],[[120161,120161],"mapped",[112]],[[120162,120162],"mapped",[113]],[[120163,120163],"mapped",[114]],[[120164,120164],"mapped",[115]],[[120165,120165],"mapped",[116]],[[120166,120166],"mapped",[117]],[[120167,120167],"mapped",[118]],[[120168,120168],"mapped",[119]],[[120169,120169],"mapped",[120]],[[120170,120170],"mapped",[121]],[[120171,120171],"mapped",[122]],[[120172,120172],"mapped",[97]],[[120173,120173],"mapped",[98]],[[120174,120174],"mapped",[99]],[[120175,120175],"mapped",[100]],[[120176,120176],"mapped",[101]],[[120177,120177],"mapped",[102]],[[120178,120178],"mapped",[103]],[[120179,120179],"mapped",[104]],[[120180,120180],"mapped",[105]],[[120181,120181],"mapped",[106]],[[120182,120182],"mapped",[107]],[[120183,120183],"mapped",[108]],[[120184,120184],"mapped",[109]],[[120185,120185],"mapped",[110]],[[120186,120186],"mapped",[111]],[[120187,120187],"mapped",[112]],[[120188,120188],"mapped",[113]],[[120189,120189],"mapped",[114]],[[120190,120190],"mapped",[115]],[[120191,120191],"mapped",[116]],[[120192,120192],"mapped",[117]],[[120193,120193],"mapped",[118]],[[120194,120194],"mapped",[119]],[[120195,120195],"mapped",[120]],[[120196,120196],"mapped",[121]],[[120197,120197],"mapped",[122]],[[120198,120198],"mapped",[97]],[[120199,120199],"mapped",[98]],[[120200,120200],"mapped",[99]],[[120201,120201],"mapped",[100]],[[120202,120202],"mapped",[101]],[[120203,120203],"mapped",[102]],[[120204,120204],"mapped",[103]],[[120205,120205],"mapped",[104]],[[120206,120206],"mapped",[105]],[[120207,120207],"mapped",[106]],[[120208,120208],"mapped",[107]],[[120209,120209],"mapped",[108]],[[120210,120210],"mapped",[109]],[[120211,120211],"mapped",[110]],[[120212,120212],"mapped",[111]],[[120213,120213],"mapped",[112]],[[120214,120214],"mapped",[113]],[[120215,120215],"mapped",[114]],[[120216,120216],"mapped",[115]],[[120217,120217],"mapped",[116]],[[120218,120218],"mapped",[117]],[[120219,120219],"mapped",[118]],[[120220,120220],"mapped",[119]],[[120221,120221],"mapped",[120]],[[120222,120222],"mapped",[121]],[[120223,120223],"mapped",[122]],[[120224,120224],"mapped",[97]],[[120225,120225],"mapped",[98]],[[120226,120226],"mapped",[99]],[[120227,120227],"mapped",[100]],[[120228,120228],"mapped",[101]],[[120229,120229],"mapped",[102]],[[120230,120230],"mapped",[103]],[[120231,120231],"mapped",[104]],[[120232,120232],"mapped",[105]],[[120233,120233],"mapped",[106]],[[120234,120234],"mapped",[107]],[[120235,120235],"mapped",[108]],[[120236,120236],"mapped",[109]],[[120237,120237],"mapped",[110]],[[120238,120238],"mapped",[111]],[[120239,120239],"mapped",[112]],[[120240,120240],"mapped",[113]],[[120241,120241],"mapped",[114]],[[120242,120242],"mapped",[115]],[[120243,120243],"mapped",[116]],[[120244,120244],"mapped",[117]],[[120245,120245],"mapped",[118]],[[120246,120246],"mapped",[119]],[[120247,120247],"mapped",[120]],[[120248,120248],"mapped",[121]],[[120249,120249],"mapped",[122]],[[120250,120250],"mapped",[97]],[[120251,120251],"mapped",[98]],[[120252,120252],"mapped",[99]],[[120253,120253],"mapped",[100]],[[120254,120254],"mapped",[101]],[[120255,120255],"mapped",[102]],[[120256,120256],"mapped",[103]],[[120257,120257],"mapped",[104]],[[120258,120258],"mapped",[105]],[[120259,120259],"mapped",[106]],[[120260,120260],"mapped",[107]],[[120261,120261],"mapped",[108]],[[120262,120262],"mapped",[109]],[[120263,120263],"mapped",[110]],[[120264,120264],"mapped",[111]],[[120265,120265],"mapped",[112]],[[120266,120266],"mapped",[113]],[[120267,120267],"mapped",[114]],[[120268,120268],"mapped",[115]],[[120269,120269],"mapped",[116]],[[120270,120270],"mapped",[117]],[[120271,120271],"mapped",[118]],[[120272,120272],"mapped",[119]],[[120273,120273],"mapped",[120]],[[120274,120274],"mapped",[121]],[[120275,120275],"mapped",[122]],[[120276,120276],"mapped",[97]],[[120277,120277],"mapped",[98]],[[120278,120278],"mapped",[99]],[[120279,120279],"mapped",[100]],[[120280,120280],"mapped",[101]],[[120281,120281],"mapped",[102]],[[120282,120282],"mapped",[103]],[[120283,120283],"mapped",[104]],[[120284,120284],"mapped",[105]],[[120285,120285],"mapped",[106]],[[120286,120286],"mapped",[107]],[[120287,120287],"mapped",[108]],[[120288,120288],"mapped",[109]],[[120289,120289],"mapped",[110]],[[120290,120290],"mapped",[111]],[[120291,120291],"mapped",[112]],[[120292,120292],"mapped",[113]],[[120293,120293],"mapped",[114]],[[120294,120294],"mapped",[115]],[[120295,120295],"mapped",[116]],[[120296,120296],"mapped",[117]],[[120297,120297],"mapped",[118]],[[120298,120298],"mapped",[119]],[[120299,120299],"mapped",[120]],[[120300,120300],"mapped",[121]],[[120301,120301],"mapped",[122]],[[120302,120302],"mapped",[97]],[[120303,120303],"mapped",[98]],[[120304,120304],"mapped",[99]],[[120305,120305],"mapped",[100]],[[120306,120306],"mapped",[101]],[[120307,120307],"mapped",[102]],[[120308,120308],"mapped",[103]],[[120309,120309],"mapped",[104]],[[120310,120310],"mapped",[105]],[[120311,120311],"mapped",[106]],[[120312,120312],"mapped",[107]],[[120313,120313],"mapped",[108]],[[120314,120314],"mapped",[109]],[[120315,120315],"mapped",[110]],[[120316,120316],"mapped",[111]],[[120317,120317],"mapped",[112]],[[120318,120318],"mapped",[113]],[[120319,120319],"mapped",[114]],[[120320,120320],"mapped",[115]],[[120321,120321],"mapped",[116]],[[120322,120322],"mapped",[117]],[[120323,120323],"mapped",[118]],[[120324,120324],"mapped",[119]],[[120325,120325],"mapped",[120]],[[120326,120326],"mapped",[121]],[[120327,120327],"mapped",[122]],[[120328,120328],"mapped",[97]],[[120329,120329],"mapped",[98]],[[120330,120330],"mapped",[99]],[[120331,120331],"mapped",[100]],[[120332,120332],"mapped",[101]],[[120333,120333],"mapped",[102]],[[120334,120334],"mapped",[103]],[[120335,120335],"mapped",[104]],[[120336,120336],"mapped",[105]],[[120337,120337],"mapped",[106]],[[120338,120338],"mapped",[107]],[[120339,120339],"mapped",[108]],[[120340,120340],"mapped",[109]],[[120341,120341],"mapped",[110]],[[120342,120342],"mapped",[111]],[[120343,120343],"mapped",[112]],[[120344,120344],"mapped",[113]],[[120345,120345],"mapped",[114]],[[120346,120346],"mapped",[115]],[[120347,120347],"mapped",[116]],[[120348,120348],"mapped",[117]],[[120349,120349],"mapped",[118]],[[120350,120350],"mapped",[119]],[[120351,120351],"mapped",[120]],[[120352,120352],"mapped",[121]],[[120353,120353],"mapped",[122]],[[120354,120354],"mapped",[97]],[[120355,120355],"mapped",[98]],[[120356,120356],"mapped",[99]],[[120357,120357],"mapped",[100]],[[120358,120358],"mapped",[101]],[[120359,120359],"mapped",[102]],[[120360,120360],"mapped",[103]],[[120361,120361],"mapped",[104]],[[120362,120362],"mapped",[105]],[[120363,120363],"mapped",[106]],[[120364,120364],"mapped",[107]],[[120365,120365],"mapped",[108]],[[120366,120366],"mapped",[109]],[[120367,120367],"mapped",[110]],[[120368,120368],"mapped",[111]],[[120369,120369],"mapped",[112]],[[120370,120370],"mapped",[113]],[[120371,120371],"mapped",[114]],[[120372,120372],"mapped",[115]],[[120373,120373],"mapped",[116]],[[120374,120374],"mapped",[117]],[[120375,120375],"mapped",[118]],[[120376,120376],"mapped",[119]],[[120377,120377],"mapped",[120]],[[120378,120378],"mapped",[121]],[[120379,120379],"mapped",[122]],[[120380,120380],"mapped",[97]],[[120381,120381],"mapped",[98]],[[120382,120382],"mapped",[99]],[[120383,120383],"mapped",[100]],[[120384,120384],"mapped",[101]],[[120385,120385],"mapped",[102]],[[120386,120386],"mapped",[103]],[[120387,120387],"mapped",[104]],[[120388,120388],"mapped",[105]],[[120389,120389],"mapped",[106]],[[120390,120390],"mapped",[107]],[[120391,120391],"mapped",[108]],[[120392,120392],"mapped",[109]],[[120393,120393],"mapped",[110]],[[120394,120394],"mapped",[111]],[[120395,120395],"mapped",[112]],[[120396,120396],"mapped",[113]],[[120397,120397],"mapped",[114]],[[120398,120398],"mapped",[115]],[[120399,120399],"mapped",[116]],[[120400,120400],"mapped",[117]],[[120401,120401],"mapped",[118]],[[120402,120402],"mapped",[119]],[[120403,120403],"mapped",[120]],[[120404,120404],"mapped",[121]],[[120405,120405],"mapped",[122]],[[120406,120406],"mapped",[97]],[[120407,120407],"mapped",[98]],[[120408,120408],"mapped",[99]],[[120409,120409],"mapped",[100]],[[120410,120410],"mapped",[101]],[[120411,120411],"mapped",[102]],[[120412,120412],"mapped",[103]],[[120413,120413],"mapped",[104]],[[120414,120414],"mapped",[105]],[[120415,120415],"mapped",[106]],[[120416,120416],"mapped",[107]],[[120417,120417],"mapped",[108]],[[120418,120418],"mapped",[109]],[[120419,120419],"mapped",[110]],[[120420,120420],"mapped",[111]],[[120421,120421],"mapped",[112]],[[120422,120422],"mapped",[113]],[[120423,120423],"mapped",[114]],[[120424,120424],"mapped",[115]],[[120425,120425],"mapped",[116]],[[120426,120426],"mapped",[117]],[[120427,120427],"mapped",[118]],[[120428,120428],"mapped",[119]],[[120429,120429],"mapped",[120]],[[120430,120430],"mapped",[121]],[[120431,120431],"mapped",[122]],[[120432,120432],"mapped",[97]],[[120433,120433],"mapped",[98]],[[120434,120434],"mapped",[99]],[[120435,120435],"mapped",[100]],[[120436,120436],"mapped",[101]],[[120437,120437],"mapped",[102]],[[120438,120438],"mapped",[103]],[[120439,120439],"mapped",[104]],[[120440,120440],"mapped",[105]],[[120441,120441],"mapped",[106]],[[120442,120442],"mapped",[107]],[[120443,120443],"mapped",[108]],[[120444,120444],"mapped",[109]],[[120445,120445],"mapped",[110]],[[120446,120446],"mapped",[111]],[[120447,120447],"mapped",[112]],[[120448,120448],"mapped",[113]],[[120449,120449],"mapped",[114]],[[120450,120450],"mapped",[115]],[[120451,120451],"mapped",[116]],[[120452,120452],"mapped",[117]],[[120453,120453],"mapped",[118]],[[120454,120454],"mapped",[119]],[[120455,120455],"mapped",[120]],[[120456,120456],"mapped",[121]],[[120457,120457],"mapped",[122]],[[120458,120458],"mapped",[97]],[[120459,120459],"mapped",[98]],[[120460,120460],"mapped",[99]],[[120461,120461],"mapped",[100]],[[120462,120462],"mapped",[101]],[[120463,120463],"mapped",[102]],[[120464,120464],"mapped",[103]],[[120465,120465],"mapped",[104]],[[120466,120466],"mapped",[105]],[[120467,120467],"mapped",[106]],[[120468,120468],"mapped",[107]],[[120469,120469],"mapped",[108]],[[120470,120470],"mapped",[109]],[[120471,120471],"mapped",[110]],[[120472,120472],"mapped",[111]],[[120473,120473],"mapped",[112]],[[120474,120474],"mapped",[113]],[[120475,120475],"mapped",[114]],[[120476,120476],"mapped",[115]],[[120477,120477],"mapped",[116]],[[120478,120478],"mapped",[117]],[[120479,120479],"mapped",[118]],[[120480,120480],"mapped",[119]],[[120481,120481],"mapped",[120]],[[120482,120482],"mapped",[121]],[[120483,120483],"mapped",[122]],[[120484,120484],"mapped",[305]],[[120485,120485],"mapped",[567]],[[120486,120487],"disallowed"],[[120488,120488],"mapped",[945]],[[120489,120489],"mapped",[946]],[[120490,120490],"mapped",[947]],[[120491,120491],"mapped",[948]],[[120492,120492],"mapped",[949]],[[120493,120493],"mapped",[950]],[[120494,120494],"mapped",[951]],[[120495,120495],"mapped",[952]],[[120496,120496],"mapped",[953]],[[120497,120497],"mapped",[954]],[[120498,120498],"mapped",[955]],[[120499,120499],"mapped",[956]],[[120500,120500],"mapped",[957]],[[120501,120501],"mapped",[958]],[[120502,120502],"mapped",[959]],[[120503,120503],"mapped",[960]],[[120504,120504],"mapped",[961]],[[120505,120505],"mapped",[952]],[[120506,120506],"mapped",[963]],[[120507,120507],"mapped",[964]],[[120508,120508],"mapped",[965]],[[120509,120509],"mapped",[966]],[[120510,120510],"mapped",[967]],[[120511,120511],"mapped",[968]],[[120512,120512],"mapped",[969]],[[120513,120513],"mapped",[8711]],[[120514,120514],"mapped",[945]],[[120515,120515],"mapped",[946]],[[120516,120516],"mapped",[947]],[[120517,120517],"mapped",[948]],[[120518,120518],"mapped",[949]],[[120519,120519],"mapped",[950]],[[120520,120520],"mapped",[951]],[[120521,120521],"mapped",[952]],[[120522,120522],"mapped",[953]],[[120523,120523],"mapped",[954]],[[120524,120524],"mapped",[955]],[[120525,120525],"mapped",[956]],[[120526,120526],"mapped",[957]],[[120527,120527],"mapped",[958]],[[120528,120528],"mapped",[959]],[[120529,120529],"mapped",[960]],[[120530,120530],"mapped",[961]],[[120531,120532],"mapped",[963]],[[120533,120533],"mapped",[964]],[[120534,120534],"mapped",[965]],[[120535,120535],"mapped",[966]],[[120536,120536],"mapped",[967]],[[120537,120537],"mapped",[968]],[[120538,120538],"mapped",[969]],[[120539,120539],"mapped",[8706]],[[120540,120540],"mapped",[949]],[[120541,120541],"mapped",[952]],[[120542,120542],"mapped",[954]],[[120543,120543],"mapped",[966]],[[120544,120544],"mapped",[961]],[[120545,120545],"mapped",[960]],[[120546,120546],"mapped",[945]],[[120547,120547],"mapped",[946]],[[120548,120548],"mapped",[947]],[[120549,120549],"mapped",[948]],[[120550,120550],"mapped",[949]],[[120551,120551],"mapped",[950]],[[120552,120552],"mapped",[951]],[[120553,120553],"mapped",[952]],[[120554,120554],"mapped",[953]],[[120555,120555],"mapped",[954]],[[120556,120556],"mapped",[955]],[[120557,120557],"mapped",[956]],[[120558,120558],"mapped",[957]],[[120559,120559],"mapped",[958]],[[120560,120560],"mapped",[959]],[[120561,120561],"mapped",[960]],[[120562,120562],"mapped",[961]],[[120563,120563],"mapped",[952]],[[120564,120564],"mapped",[963]],[[120565,120565],"mapped",[964]],[[120566,120566],"mapped",[965]],[[120567,120567],"mapped",[966]],[[120568,120568],"mapped",[967]],[[120569,120569],"mapped",[968]],[[120570,120570],"mapped",[969]],[[120571,120571],"mapped",[8711]],[[120572,120572],"mapped",[945]],[[120573,120573],"mapped",[946]],[[120574,120574],"mapped",[947]],[[120575,120575],"mapped",[948]],[[120576,120576],"mapped",[949]],[[120577,120577],"mapped",[950]],[[120578,120578],"mapped",[951]],[[120579,120579],"mapped",[952]],[[120580,120580],"mapped",[953]],[[120581,120581],"mapped",[954]],[[120582,120582],"mapped",[955]],[[120583,120583],"mapped",[956]],[[120584,120584],"mapped",[957]],[[120585,120585],"mapped",[958]],[[120586,120586],"mapped",[959]],[[120587,120587],"mapped",[960]],[[120588,120588],"mapped",[961]],[[120589,120590],"mapped",[963]],[[120591,120591],"mapped",[964]],[[120592,120592],"mapped",[965]],[[120593,120593],"mapped",[966]],[[120594,120594],"mapped",[967]],[[120595,120595],"mapped",[968]],[[120596,120596],"mapped",[969]],[[120597,120597],"mapped",[8706]],[[120598,120598],"mapped",[949]],[[120599,120599],"mapped",[952]],[[120600,120600],"mapped",[954]],[[120601,120601],"mapped",[966]],[[120602,120602],"mapped",[961]],[[120603,120603],"mapped",[960]],[[120604,120604],"mapped",[945]],[[120605,120605],"mapped",[946]],[[120606,120606],"mapped",[947]],[[120607,120607],"mapped",[948]],[[120608,120608],"mapped",[949]],[[120609,120609],"mapped",[950]],[[120610,120610],"mapped",[951]],[[120611,120611],"mapped",[952]],[[120612,120612],"mapped",[953]],[[120613,120613],"mapped",[954]],[[120614,120614],"mapped",[955]],[[120615,120615],"mapped",[956]],[[120616,120616],"mapped",[957]],[[120617,120617],"mapped",[958]],[[120618,120618],"mapped",[959]],[[120619,120619],"mapped",[960]],[[120620,120620],"mapped",[961]],[[120621,120621],"mapped",[952]],[[120622,120622],"mapped",[963]],[[120623,120623],"mapped",[964]],[[120624,120624],"mapped",[965]],[[120625,120625],"mapped",[966]],[[120626,120626],"mapped",[967]],[[120627,120627],"mapped",[968]],[[120628,120628],"mapped",[969]],[[120629,120629],"mapped",[8711]],[[120630,120630],"mapped",[945]],[[120631,120631],"mapped",[946]],[[120632,120632],"mapped",[947]],[[120633,120633],"mapped",[948]],[[120634,120634],"mapped",[949]],[[120635,120635],"mapped",[950]],[[120636,120636],"mapped",[951]],[[120637,120637],"mapped",[952]],[[120638,120638],"mapped",[953]],[[120639,120639],"mapped",[954]],[[120640,120640],"mapped",[955]],[[120641,120641],"mapped",[956]],[[120642,120642],"mapped",[957]],[[120643,120643],"mapped",[958]],[[120644,120644],"mapped",[959]],[[120645,120645],"mapped",[960]],[[120646,120646],"mapped",[961]],[[120647,120648],"mapped",[963]],[[120649,120649],"mapped",[964]],[[120650,120650],"mapped",[965]],[[120651,120651],"mapped",[966]],[[120652,120652],"mapped",[967]],[[120653,120653],"mapped",[968]],[[120654,120654],"mapped",[969]],[[120655,120655],"mapped",[8706]],[[120656,120656],"mapped",[949]],[[120657,120657],"mapped",[952]],[[120658,120658],"mapped",[954]],[[120659,120659],"mapped",[966]],[[120660,120660],"mapped",[961]],[[120661,120661],"mapped",[960]],[[120662,120662],"mapped",[945]],[[120663,120663],"mapped",[946]],[[120664,120664],"mapped",[947]],[[120665,120665],"mapped",[948]],[[120666,120666],"mapped",[949]],[[120667,120667],"mapped",[950]],[[120668,120668],"mapped",[951]],[[120669,120669],"mapped",[952]],[[120670,120670],"mapped",[953]],[[120671,120671],"mapped",[954]],[[120672,120672],"mapped",[955]],[[120673,120673],"mapped",[956]],[[120674,120674],"mapped",[957]],[[120675,120675],"mapped",[958]],[[120676,120676],"mapped",[959]],[[120677,120677],"mapped",[960]],[[120678,120678],"mapped",[961]],[[120679,120679],"mapped",[952]],[[120680,120680],"mapped",[963]],[[120681,120681],"mapped",[964]],[[120682,120682],"mapped",[965]],[[120683,120683],"mapped",[966]],[[120684,120684],"mapped",[967]],[[120685,120685],"mapped",[968]],[[120686,120686],"mapped",[969]],[[120687,120687],"mapped",[8711]],[[120688,120688],"mapped",[945]],[[120689,120689],"mapped",[946]],[[120690,120690],"mapped",[947]],[[120691,120691],"mapped",[948]],[[120692,120692],"mapped",[949]],[[120693,120693],"mapped",[950]],[[120694,120694],"mapped",[951]],[[120695,120695],"mapped",[952]],[[120696,120696],"mapped",[953]],[[120697,120697],"mapped",[954]],[[120698,120698],"mapped",[955]],[[120699,120699],"mapped",[956]],[[120700,120700],"mapped",[957]],[[120701,120701],"mapped",[958]],[[120702,120702],"mapped",[959]],[[120703,120703],"mapped",[960]],[[120704,120704],"mapped",[961]],[[120705,120706],"mapped",[963]],[[120707,120707],"mapped",[964]],[[120708,120708],"mapped",[965]],[[120709,120709],"mapped",[966]],[[120710,120710],"mapped",[967]],[[120711,120711],"mapped",[968]],[[120712,120712],"mapped",[969]],[[120713,120713],"mapped",[8706]],[[120714,120714],"mapped",[949]],[[120715,120715],"mapped",[952]],[[120716,120716],"mapped",[954]],[[120717,120717],"mapped",[966]],[[120718,120718],"mapped",[961]],[[120719,120719],"mapped",[960]],[[120720,120720],"mapped",[945]],[[120721,120721],"mapped",[946]],[[120722,120722],"mapped",[947]],[[120723,120723],"mapped",[948]],[[120724,120724],"mapped",[949]],[[120725,120725],"mapped",[950]],[[120726,120726],"mapped",[951]],[[120727,120727],"mapped",[952]],[[120728,120728],"mapped",[953]],[[120729,120729],"mapped",[954]],[[120730,120730],"mapped",[955]],[[120731,120731],"mapped",[956]],[[120732,120732],"mapped",[957]],[[120733,120733],"mapped",[958]],[[120734,120734],"mapped",[959]],[[120735,120735],"mapped",[960]],[[120736,120736],"mapped",[961]],[[120737,120737],"mapped",[952]],[[120738,120738],"mapped",[963]],[[120739,120739],"mapped",[964]],[[120740,120740],"mapped",[965]],[[120741,120741],"mapped",[966]],[[120742,120742],"mapped",[967]],[[120743,120743],"mapped",[968]],[[120744,120744],"mapped",[969]],[[120745,120745],"mapped",[8711]],[[120746,120746],"mapped",[945]],[[120747,120747],"mapped",[946]],[[120748,120748],"mapped",[947]],[[120749,120749],"mapped",[948]],[[120750,120750],"mapped",[949]],[[120751,120751],"mapped",[950]],[[120752,120752],"mapped",[951]],[[120753,120753],"mapped",[952]],[[120754,120754],"mapped",[953]],[[120755,120755],"mapped",[954]],[[120756,120756],"mapped",[955]],[[120757,120757],"mapped",[956]],[[120758,120758],"mapped",[957]],[[120759,120759],"mapped",[958]],[[120760,120760],"mapped",[959]],[[120761,120761],"mapped",[960]],[[120762,120762],"mapped",[961]],[[120763,120764],"mapped",[963]],[[120765,120765],"mapped",[964]],[[120766,120766],"mapped",[965]],[[120767,120767],"mapped",[966]],[[120768,120768],"mapped",[967]],[[120769,120769],"mapped",[968]],[[120770,120770],"mapped",[969]],[[120771,120771],"mapped",[8706]],[[120772,120772],"mapped",[949]],[[120773,120773],"mapped",[952]],[[120774,120774],"mapped",[954]],[[120775,120775],"mapped",[966]],[[120776,120776],"mapped",[961]],[[120777,120777],"mapped",[960]],[[120778,120779],"mapped",[989]],[[120780,120781],"disallowed"],[[120782,120782],"mapped",[48]],[[120783,120783],"mapped",[49]],[[120784,120784],"mapped",[50]],[[120785,120785],"mapped",[51]],[[120786,120786],"mapped",[52]],[[120787,120787],"mapped",[53]],[[120788,120788],"mapped",[54]],[[120789,120789],"mapped",[55]],[[120790,120790],"mapped",[56]],[[120791,120791],"mapped",[57]],[[120792,120792],"mapped",[48]],[[120793,120793],"mapped",[49]],[[120794,120794],"mapped",[50]],[[120795,120795],"mapped",[51]],[[120796,120796],"mapped",[52]],[[120797,120797],"mapped",[53]],[[120798,120798],"mapped",[54]],[[120799,120799],"mapped",[55]],[[120800,120800],"mapped",[56]],[[120801,120801],"mapped",[57]],[[120802,120802],"mapped",[48]],[[120803,120803],"mapped",[49]],[[120804,120804],"mapped",[50]],[[120805,120805],"mapped",[51]],[[120806,120806],"mapped",[52]],[[120807,120807],"mapped",[53]],[[120808,120808],"mapped",[54]],[[120809,120809],"mapped",[55]],[[120810,120810],"mapped",[56]],[[120811,120811],"mapped",[57]],[[120812,120812],"mapped",[48]],[[120813,120813],"mapped",[49]],[[120814,120814],"mapped",[50]],[[120815,120815],"mapped",[51]],[[120816,120816],"mapped",[52]],[[120817,120817],"mapped",[53]],[[120818,120818],"mapped",[54]],[[120819,120819],"mapped",[55]],[[120820,120820],"mapped",[56]],[[120821,120821],"mapped",[57]],[[120822,120822],"mapped",[48]],[[120823,120823],"mapped",[49]],[[120824,120824],"mapped",[50]],[[120825,120825],"mapped",[51]],[[120826,120826],"mapped",[52]],[[120827,120827],"mapped",[53]],[[120828,120828],"mapped",[54]],[[120829,120829],"mapped",[55]],[[120830,120830],"mapped",[56]],[[120831,120831],"mapped",[57]],[[120832,121343],"valid",[],"NV8"],[[121344,121398],"valid"],[[121399,121402],"valid",[],"NV8"],[[121403,121452],"valid"],[[121453,121460],"valid",[],"NV8"],[[121461,121461],"valid"],[[121462,121475],"valid",[],"NV8"],[[121476,121476],"valid"],[[121477,121483],"valid",[],"NV8"],[[121484,121498],"disallowed"],[[121499,121503],"valid"],[[121504,121504],"disallowed"],[[121505,121519],"valid"],[[121520,124927],"disallowed"],[[124928,125124],"valid"],[[125125,125126],"disallowed"],[[125127,125135],"valid",[],"NV8"],[[125136,125142],"valid"],[[125143,126463],"disallowed"],[[126464,126464],"mapped",[1575]],[[126465,126465],"mapped",[1576]],[[126466,126466],"mapped",[1580]],[[126467,126467],"mapped",[1583]],[[126468,126468],"disallowed"],[[126469,126469],"mapped",[1608]],[[126470,126470],"mapped",[1586]],[[126471,126471],"mapped",[1581]],[[126472,126472],"mapped",[1591]],[[126473,126473],"mapped",[1610]],[[126474,126474],"mapped",[1603]],[[126475,126475],"mapped",[1604]],[[126476,126476],"mapped",[1605]],[[126477,126477],"mapped",[1606]],[[126478,126478],"mapped",[1587]],[[126479,126479],"mapped",[1593]],[[126480,126480],"mapped",[1601]],[[126481,126481],"mapped",[1589]],[[126482,126482],"mapped",[1602]],[[126483,126483],"mapped",[1585]],[[126484,126484],"mapped",[1588]],[[126485,126485],"mapped",[1578]],[[126486,126486],"mapped",[1579]],[[126487,126487],"mapped",[1582]],[[126488,126488],"mapped",[1584]],[[126489,126489],"mapped",[1590]],[[126490,126490],"mapped",[1592]],[[126491,126491],"mapped",[1594]],[[126492,126492],"mapped",[1646]],[[126493,126493],"mapped",[1722]],[[126494,126494],"mapped",[1697]],[[126495,126495],"mapped",[1647]],[[126496,126496],"disallowed"],[[126497,126497],"mapped",[1576]],[[126498,126498],"mapped",[1580]],[[126499,126499],"disallowed"],[[126500,126500],"mapped",[1607]],[[126501,126502],"disallowed"],[[126503,126503],"mapped",[1581]],[[126504,126504],"disallowed"],[[126505,126505],"mapped",[1610]],[[126506,126506],"mapped",[1603]],[[126507,126507],"mapped",[1604]],[[126508,126508],"mapped",[1605]],[[126509,126509],"mapped",[1606]],[[126510,126510],"mapped",[1587]],[[126511,126511],"mapped",[1593]],[[126512,126512],"mapped",[1601]],[[126513,126513],"mapped",[1589]],[[126514,126514],"mapped",[1602]],[[126515,126515],"disallowed"],[[126516,126516],"mapped",[1588]],[[126517,126517],"mapped",[1578]],[[126518,126518],"mapped",[1579]],[[126519,126519],"mapped",[1582]],[[126520,126520],"disallowed"],[[126521,126521],"mapped",[1590]],[[126522,126522],"disallowed"],[[126523,126523],"mapped",[1594]],[[126524,126529],"disallowed"],[[126530,126530],"mapped",[1580]],[[126531,126534],"disallowed"],[[126535,126535],"mapped",[1581]],[[126536,126536],"disallowed"],[[126537,126537],"mapped",[1610]],[[126538,126538],"disallowed"],[[126539,126539],"mapped",[1604]],[[126540,126540],"disallowed"],[[126541,126541],"mapped",[1606]],[[126542,126542],"mapped",[1587]],[[126543,126543],"mapped",[1593]],[[126544,126544],"disallowed"],[[126545,126545],"mapped",[1589]],[[126546,126546],"mapped",[1602]],[[126547,126547],"disallowed"],[[126548,126548],"mapped",[1588]],[[126549,126550],"disallowed"],[[126551,126551],"mapped",[1582]],[[126552,126552],"disallowed"],[[126553,126553],"mapped",[1590]],[[126554,126554],"disallowed"],[[126555,126555],"mapped",[1594]],[[126556,126556],"disallowed"],[[126557,126557],"mapped",[1722]],[[126558,126558],"disallowed"],[[126559,126559],"mapped",[1647]],[[126560,126560],"disallowed"],[[126561,126561],"mapped",[1576]],[[126562,126562],"mapped",[1580]],[[126563,126563],"disallowed"],[[126564,126564],"mapped",[1607]],[[126565,126566],"disallowed"],[[126567,126567],"mapped",[1581]],[[126568,126568],"mapped",[1591]],[[126569,126569],"mapped",[1610]],[[126570,126570],"mapped",[1603]],[[126571,126571],"disallowed"],[[126572,126572],"mapped",[1605]],[[126573,126573],"mapped",[1606]],[[126574,126574],"mapped",[1587]],[[126575,126575],"mapped",[1593]],[[126576,126576],"mapped",[1601]],[[126577,126577],"mapped",[1589]],[[126578,126578],"mapped",[1602]],[[126579,126579],"disallowed"],[[126580,126580],"mapped",[1588]],[[126581,126581],"mapped",[1578]],[[126582,126582],"mapped",[1579]],[[126583,126583],"mapped",[1582]],[[126584,126584],"disallowed"],[[126585,126585],"mapped",[1590]],[[126586,126586],"mapped",[1592]],[[126587,126587],"mapped",[1594]],[[126588,126588],"mapped",[1646]],[[126589,126589],"disallowed"],[[126590,126590],"mapped",[1697]],[[126591,126591],"disallowed"],[[126592,126592],"mapped",[1575]],[[126593,126593],"mapped",[1576]],[[126594,126594],"mapped",[1580]],[[126595,126595],"mapped",[1583]],[[126596,126596],"mapped",[1607]],[[126597,126597],"mapped",[1608]],[[126598,126598],"mapped",[1586]],[[126599,126599],"mapped",[1581]],[[126600,126600],"mapped",[1591]],[[126601,126601],"mapped",[1610]],[[126602,126602],"disallowed"],[[126603,126603],"mapped",[1604]],[[126604,126604],"mapped",[1605]],[[126605,126605],"mapped",[1606]],[[126606,126606],"mapped",[1587]],[[126607,126607],"mapped",[1593]],[[126608,126608],"mapped",[1601]],[[126609,126609],"mapped",[1589]],[[126610,126610],"mapped",[1602]],[[126611,126611],"mapped",[1585]],[[126612,126612],"mapped",[1588]],[[126613,126613],"mapped",[1578]],[[126614,126614],"mapped",[1579]],[[126615,126615],"mapped",[1582]],[[126616,126616],"mapped",[1584]],[[126617,126617],"mapped",[1590]],[[126618,126618],"mapped",[1592]],[[126619,126619],"mapped",[1594]],[[126620,126624],"disallowed"],[[126625,126625],"mapped",[1576]],[[126626,126626],"mapped",[1580]],[[126627,126627],"mapped",[1583]],[[126628,126628],"disallowed"],[[126629,126629],"mapped",[1608]],[[126630,126630],"mapped",[1586]],[[126631,126631],"mapped",[1581]],[[126632,126632],"mapped",[1591]],[[126633,126633],"mapped",[1610]],[[126634,126634],"disallowed"],[[126635,126635],"mapped",[1604]],[[126636,126636],"mapped",[1605]],[[126637,126637],"mapped",[1606]],[[126638,126638],"mapped",[1587]],[[126639,126639],"mapped",[1593]],[[126640,126640],"mapped",[1601]],[[126641,126641],"mapped",[1589]],[[126642,126642],"mapped",[1602]],[[126643,126643],"mapped",[1585]],[[126644,126644],"mapped",[1588]],[[126645,126645],"mapped",[1578]],[[126646,126646],"mapped",[1579]],[[126647,126647],"mapped",[1582]],[[126648,126648],"mapped",[1584]],[[126649,126649],"mapped",[1590]],[[126650,126650],"mapped",[1592]],[[126651,126651],"mapped",[1594]],[[126652,126703],"disallowed"],[[126704,126705],"valid",[],"NV8"],[[126706,126975],"disallowed"],[[126976,127019],"valid",[],"NV8"],[[127020,127023],"disallowed"],[[127024,127123],"valid",[],"NV8"],[[127124,127135],"disallowed"],[[127136,127150],"valid",[],"NV8"],[[127151,127152],"disallowed"],[[127153,127166],"valid",[],"NV8"],[[127167,127167],"valid",[],"NV8"],[[127168,127168],"disallowed"],[[127169,127183],"valid",[],"NV8"],[[127184,127184],"disallowed"],[[127185,127199],"valid",[],"NV8"],[[127200,127221],"valid",[],"NV8"],[[127222,127231],"disallowed"],[[127232,127232],"disallowed"],[[127233,127233],"disallowed_STD3_mapped",[48,44]],[[127234,127234],"disallowed_STD3_mapped",[49,44]],[[127235,127235],"disallowed_STD3_mapped",[50,44]],[[127236,127236],"disallowed_STD3_mapped",[51,44]],[[127237,127237],"disallowed_STD3_mapped",[52,44]],[[127238,127238],"disallowed_STD3_mapped",[53,44]],[[127239,127239],"disallowed_STD3_mapped",[54,44]],[[127240,127240],"disallowed_STD3_mapped",[55,44]],[[127241,127241],"disallowed_STD3_mapped",[56,44]],[[127242,127242],"disallowed_STD3_mapped",[57,44]],[[127243,127244],"valid",[],"NV8"],[[127245,127247],"disallowed"],[[127248,127248],"disallowed_STD3_mapped",[40,97,41]],[[127249,127249],"disallowed_STD3_mapped",[40,98,41]],[[127250,127250],"disallowed_STD3_mapped",[40,99,41]],[[127251,127251],"disallowed_STD3_mapped",[40,100,41]],[[127252,127252],"disallowed_STD3_mapped",[40,101,41]],[[127253,127253],"disallowed_STD3_mapped",[40,102,41]],[[127254,127254],"disallowed_STD3_mapped",[40,103,41]],[[127255,127255],"disallowed_STD3_mapped",[40,104,41]],[[127256,127256],"disallowed_STD3_mapped",[40,105,41]],[[127257,127257],"disallowed_STD3_mapped",[40,106,41]],[[127258,127258],"disallowed_STD3_mapped",[40,107,41]],[[127259,127259],"disallowed_STD3_mapped",[40,108,41]],[[127260,127260],"disallowed_STD3_mapped",[40,109,41]],[[127261,127261],"disallowed_STD3_mapped",[40,110,41]],[[127262,127262],"disallowed_STD3_mapped",[40,111,41]],[[127263,127263],"disallowed_STD3_mapped",[40,112,41]],[[127264,127264],"disallowed_STD3_mapped",[40,113,41]],[[127265,127265],"disallowed_STD3_mapped",[40,114,41]],[[127266,127266],"disallowed_STD3_mapped",[40,115,41]],[[127267,127267],"disallowed_STD3_mapped",[40,116,41]],[[127268,127268],"disallowed_STD3_mapped",[40,117,41]],[[127269,127269],"disallowed_STD3_mapped",[40,118,41]],[[127270,127270],"disallowed_STD3_mapped",[40,119,41]],[[127271,127271],"disallowed_STD3_mapped",[40,120,41]],[[127272,127272],"disallowed_STD3_mapped",[40,121,41]],[[127273,127273],"disallowed_STD3_mapped",[40,122,41]],[[127274,127274],"mapped",[12308,115,12309]],[[127275,127275],"mapped",[99]],[[127276,127276],"mapped",[114]],[[127277,127277],"mapped",[99,100]],[[127278,127278],"mapped",[119,122]],[[127279,127279],"disallowed"],[[127280,127280],"mapped",[97]],[[127281,127281],"mapped",[98]],[[127282,127282],"mapped",[99]],[[127283,127283],"mapped",[100]],[[127284,127284],"mapped",[101]],[[127285,127285],"mapped",[102]],[[127286,127286],"mapped",[103]],[[127287,127287],"mapped",[104]],[[127288,127288],"mapped",[105]],[[127289,127289],"mapped",[106]],[[127290,127290],"mapped",[107]],[[127291,127291],"mapped",[108]],[[127292,127292],"mapped",[109]],[[127293,127293],"mapped",[110]],[[127294,127294],"mapped",[111]],[[127295,127295],"mapped",[112]],[[127296,127296],"mapped",[113]],[[127297,127297],"mapped",[114]],[[127298,127298],"mapped",[115]],[[127299,127299],"mapped",[116]],[[127300,127300],"mapped",[117]],[[127301,127301],"mapped",[118]],[[127302,127302],"mapped",[119]],[[127303,127303],"mapped",[120]],[[127304,127304],"mapped",[121]],[[127305,127305],"mapped",[122]],[[127306,127306],"mapped",[104,118]],[[127307,127307],"mapped",[109,118]],[[127308,127308],"mapped",[115,100]],[[127309,127309],"mapped",[115,115]],[[127310,127310],"mapped",[112,112,118]],[[127311,127311],"mapped",[119,99]],[[127312,127318],"valid",[],"NV8"],[[127319,127319],"valid",[],"NV8"],[[127320,127326],"valid",[],"NV8"],[[127327,127327],"valid",[],"NV8"],[[127328,127337],"valid",[],"NV8"],[[127338,127338],"mapped",[109,99]],[[127339,127339],"mapped",[109,100]],[[127340,127343],"disallowed"],[[127344,127352],"valid",[],"NV8"],[[127353,127353],"valid",[],"NV8"],[[127354,127354],"valid",[],"NV8"],[[127355,127356],"valid",[],"NV8"],[[127357,127358],"valid",[],"NV8"],[[127359,127359],"valid",[],"NV8"],[[127360,127369],"valid",[],"NV8"],[[127370,127373],"valid",[],"NV8"],[[127374,127375],"valid",[],"NV8"],[[127376,127376],"mapped",[100,106]],[[127377,127386],"valid",[],"NV8"],[[127387,127461],"disallowed"],[[127462,127487],"valid",[],"NV8"],[[127488,127488],"mapped",[12411,12363]],[[127489,127489],"mapped",[12467,12467]],[[127490,127490],"mapped",[12469]],[[127491,127503],"disallowed"],[[127504,127504],"mapped",[25163]],[[127505,127505],"mapped",[23383]],[[127506,127506],"mapped",[21452]],[[127507,127507],"mapped",[12487]],[[127508,127508],"mapped",[20108]],[[127509,127509],"mapped",[22810]],[[127510,127510],"mapped",[35299]],[[127511,127511],"mapped",[22825]],[[127512,127512],"mapped",[20132]],[[127513,127513],"mapped",[26144]],[[127514,127514],"mapped",[28961]],[[127515,127515],"mapped",[26009]],[[127516,127516],"mapped",[21069]],[[127517,127517],"mapped",[24460]],[[127518,127518],"mapped",[20877]],[[127519,127519],"mapped",[26032]],[[127520,127520],"mapped",[21021]],[[127521,127521],"mapped",[32066]],[[127522,127522],"mapped",[29983]],[[127523,127523],"mapped",[36009]],[[127524,127524],"mapped",[22768]],[[127525,127525],"mapped",[21561]],[[127526,127526],"mapped",[28436]],[[127527,127527],"mapped",[25237]],[[127528,127528],"mapped",[25429]],[[127529,127529],"mapped",[19968]],[[127530,127530],"mapped",[19977]],[[127531,127531],"mapped",[36938]],[[127532,127532],"mapped",[24038]],[[127533,127533],"mapped",[20013]],[[127534,127534],"mapped",[21491]],[[127535,127535],"mapped",[25351]],[[127536,127536],"mapped",[36208]],[[127537,127537],"mapped",[25171]],[[127538,127538],"mapped",[31105]],[[127539,127539],"mapped",[31354]],[[127540,127540],"mapped",[21512]],[[127541,127541],"mapped",[28288]],[[127542,127542],"mapped",[26377]],[[127543,127543],"mapped",[26376]],[[127544,127544],"mapped",[30003]],[[127545,127545],"mapped",[21106]],[[127546,127546],"mapped",[21942]],[[127547,127551],"disallowed"],[[127552,127552],"mapped",[12308,26412,12309]],[[127553,127553],"mapped",[12308,19977,12309]],[[127554,127554],"mapped",[12308,20108,12309]],[[127555,127555],"mapped",[12308,23433,12309]],[[127556,127556],"mapped",[12308,28857,12309]],[[127557,127557],"mapped",[12308,25171,12309]],[[127558,127558],"mapped",[12308,30423,12309]],[[127559,127559],"mapped",[12308,21213,12309]],[[127560,127560],"mapped",[12308,25943,12309]],[[127561,127567],"disallowed"],[[127568,127568],"mapped",[24471]],[[127569,127569],"mapped",[21487]],[[127570,127743],"disallowed"],[[127744,127776],"valid",[],"NV8"],[[127777,127788],"valid",[],"NV8"],[[127789,127791],"valid",[],"NV8"],[[127792,127797],"valid",[],"NV8"],[[127798,127798],"valid",[],"NV8"],[[127799,127868],"valid",[],"NV8"],[[127869,127869],"valid",[],"NV8"],[[127870,127871],"valid",[],"NV8"],[[127872,127891],"valid",[],"NV8"],[[127892,127903],"valid",[],"NV8"],[[127904,127940],"valid",[],"NV8"],[[127941,127941],"valid",[],"NV8"],[[127942,127946],"valid",[],"NV8"],[[127947,127950],"valid",[],"NV8"],[[127951,127955],"valid",[],"NV8"],[[127956,127967],"valid",[],"NV8"],[[127968,127984],"valid",[],"NV8"],[[127985,127991],"valid",[],"NV8"],[[127992,127999],"valid",[],"NV8"],[[128000,128062],"valid",[],"NV8"],[[128063,128063],"valid",[],"NV8"],[[128064,128064],"valid",[],"NV8"],[[128065,128065],"valid",[],"NV8"],[[128066,128247],"valid",[],"NV8"],[[128248,128248],"valid",[],"NV8"],[[128249,128252],"valid",[],"NV8"],[[128253,128254],"valid",[],"NV8"],[[128255,128255],"valid",[],"NV8"],[[128256,128317],"valid",[],"NV8"],[[128318,128319],"valid",[],"NV8"],[[128320,128323],"valid",[],"NV8"],[[128324,128330],"valid",[],"NV8"],[[128331,128335],"valid",[],"NV8"],[[128336,128359],"valid",[],"NV8"],[[128360,128377],"valid",[],"NV8"],[[128378,128378],"disallowed"],[[128379,128419],"valid",[],"NV8"],[[128420,128420],"disallowed"],[[128421,128506],"valid",[],"NV8"],[[128507,128511],"valid",[],"NV8"],[[128512,128512],"valid",[],"NV8"],[[128513,128528],"valid",[],"NV8"],[[128529,128529],"valid",[],"NV8"],[[128530,128532],"valid",[],"NV8"],[[128533,128533],"valid",[],"NV8"],[[128534,128534],"valid",[],"NV8"],[[128535,128535],"valid",[],"NV8"],[[128536,128536],"valid",[],"NV8"],[[128537,128537],"valid",[],"NV8"],[[128538,128538],"valid",[],"NV8"],[[128539,128539],"valid",[],"NV8"],[[128540,128542],"valid",[],"NV8"],[[128543,128543],"valid",[],"NV8"],[[128544,128549],"valid",[],"NV8"],[[128550,128551],"valid",[],"NV8"],[[128552,128555],"valid",[],"NV8"],[[128556,128556],"valid",[],"NV8"],[[128557,128557],"valid",[],"NV8"],[[128558,128559],"valid",[],"NV8"],[[128560,128563],"valid",[],"NV8"],[[128564,128564],"valid",[],"NV8"],[[128565,128576],"valid",[],"NV8"],[[128577,128578],"valid",[],"NV8"],[[128579,128580],"valid",[],"NV8"],[[128581,128591],"valid",[],"NV8"],[[128592,128639],"valid",[],"NV8"],[[128640,128709],"valid",[],"NV8"],[[128710,128719],"valid",[],"NV8"],[[128720,128720],"valid",[],"NV8"],[[128721,128735],"disallowed"],[[128736,128748],"valid",[],"NV8"],[[128749,128751],"disallowed"],[[128752,128755],"valid",[],"NV8"],[[128756,128767],"disallowed"],[[128768,128883],"valid",[],"NV8"],[[128884,128895],"disallowed"],[[128896,128980],"valid",[],"NV8"],[[128981,129023],"disallowed"],[[129024,129035],"valid",[],"NV8"],[[129036,129039],"disallowed"],[[129040,129095],"valid",[],"NV8"],[[129096,129103],"disallowed"],[[129104,129113],"valid",[],"NV8"],[[129114,129119],"disallowed"],[[129120,129159],"valid",[],"NV8"],[[129160,129167],"disallowed"],[[129168,129197],"valid",[],"NV8"],[[129198,129295],"disallowed"],[[129296,129304],"valid",[],"NV8"],[[129305,129407],"disallowed"],[[129408,129412],"valid",[],"NV8"],[[129413,129471],"disallowed"],[[129472,129472],"valid",[],"NV8"],[[129473,131069],"disallowed"],[[131070,131071],"disallowed"],[[131072,173782],"valid"],[[173783,173823],"disallowed"],[[173824,177972],"valid"],[[177973,177983],"disallowed"],[[177984,178205],"valid"],[[178206,178207],"disallowed"],[[178208,183969],"valid"],[[183970,194559],"disallowed"],[[194560,194560],"mapped",[20029]],[[194561,194561],"mapped",[20024]],[[194562,194562],"mapped",[20033]],[[194563,194563],"mapped",[131362]],[[194564,194564],"mapped",[20320]],[[194565,194565],"mapped",[20398]],[[194566,194566],"mapped",[20411]],[[194567,194567],"mapped",[20482]],[[194568,194568],"mapped",[20602]],[[194569,194569],"mapped",[20633]],[[194570,194570],"mapped",[20711]],[[194571,194571],"mapped",[20687]],[[194572,194572],"mapped",[13470]],[[194573,194573],"mapped",[132666]],[[194574,194574],"mapped",[20813]],[[194575,194575],"mapped",[20820]],[[194576,194576],"mapped",[20836]],[[194577,194577],"mapped",[20855]],[[194578,194578],"mapped",[132380]],[[194579,194579],"mapped",[13497]],[[194580,194580],"mapped",[20839]],[[194581,194581],"mapped",[20877]],[[194582,194582],"mapped",[132427]],[[194583,194583],"mapped",[20887]],[[194584,194584],"mapped",[20900]],[[194585,194585],"mapped",[20172]],[[194586,194586],"mapped",[20908]],[[194587,194587],"mapped",[20917]],[[194588,194588],"mapped",[168415]],[[194589,194589],"mapped",[20981]],[[194590,194590],"mapped",[20995]],[[194591,194591],"mapped",[13535]],[[194592,194592],"mapped",[21051]],[[194593,194593],"mapped",[21062]],[[194594,194594],"mapped",[21106]],[[194595,194595],"mapped",[21111]],[[194596,194596],"mapped",[13589]],[[194597,194597],"mapped",[21191]],[[194598,194598],"mapped",[21193]],[[194599,194599],"mapped",[21220]],[[194600,194600],"mapped",[21242]],[[194601,194601],"mapped",[21253]],[[194602,194602],"mapped",[21254]],[[194603,194603],"mapped",[21271]],[[194604,194604],"mapped",[21321]],[[194605,194605],"mapped",[21329]],[[194606,194606],"mapped",[21338]],[[194607,194607],"mapped",[21363]],[[194608,194608],"mapped",[21373]],[[194609,194611],"mapped",[21375]],[[194612,194612],"mapped",[133676]],[[194613,194613],"mapped",[28784]],[[194614,194614],"mapped",[21450]],[[194615,194615],"mapped",[21471]],[[194616,194616],"mapped",[133987]],[[194617,194617],"mapped",[21483]],[[194618,194618],"mapped",[21489]],[[194619,194619],"mapped",[21510]],[[194620,194620],"mapped",[21662]],[[194621,194621],"mapped",[21560]],[[194622,194622],"mapped",[21576]],[[194623,194623],"mapped",[21608]],[[194624,194624],"mapped",[21666]],[[194625,194625],"mapped",[21750]],[[194626,194626],"mapped",[21776]],[[194627,194627],"mapped",[21843]],[[194628,194628],"mapped",[21859]],[[194629,194630],"mapped",[21892]],[[194631,194631],"mapped",[21913]],[[194632,194632],"mapped",[21931]],[[194633,194633],"mapped",[21939]],[[194634,194634],"mapped",[21954]],[[194635,194635],"mapped",[22294]],[[194636,194636],"mapped",[22022]],[[194637,194637],"mapped",[22295]],[[194638,194638],"mapped",[22097]],[[194639,194639],"mapped",[22132]],[[194640,194640],"mapped",[20999]],[[194641,194641],"mapped",[22766]],[[194642,194642],"mapped",[22478]],[[194643,194643],"mapped",[22516]],[[194644,194644],"mapped",[22541]],[[194645,194645],"mapped",[22411]],[[194646,194646],"mapped",[22578]],[[194647,194647],"mapped",[22577]],[[194648,194648],"mapped",[22700]],[[194649,194649],"mapped",[136420]],[[194650,194650],"mapped",[22770]],[[194651,194651],"mapped",[22775]],[[194652,194652],"mapped",[22790]],[[194653,194653],"mapped",[22810]],[[194654,194654],"mapped",[22818]],[[194655,194655],"mapped",[22882]],[[194656,194656],"mapped",[136872]],[[194657,194657],"mapped",[136938]],[[194658,194658],"mapped",[23020]],[[194659,194659],"mapped",[23067]],[[194660,194660],"mapped",[23079]],[[194661,194661],"mapped",[23000]],[[194662,194662],"mapped",[23142]],[[194663,194663],"mapped",[14062]],[[194664,194664],"disallowed"],[[194665,194665],"mapped",[23304]],[[194666,194667],"mapped",[23358]],[[194668,194668],"mapped",[137672]],[[194669,194669],"mapped",[23491]],[[194670,194670],"mapped",[23512]],[[194671,194671],"mapped",[23527]],[[194672,194672],"mapped",[23539]],[[194673,194673],"mapped",[138008]],[[194674,194674],"mapped",[23551]],[[194675,194675],"mapped",[23558]],[[194676,194676],"disallowed"],[[194677,194677],"mapped",[23586]],[[194678,194678],"mapped",[14209]],[[194679,194679],"mapped",[23648]],[[194680,194680],"mapped",[23662]],[[194681,194681],"mapped",[23744]],[[194682,194682],"mapped",[23693]],[[194683,194683],"mapped",[138724]],[[194684,194684],"mapped",[23875]],[[194685,194685],"mapped",[138726]],[[194686,194686],"mapped",[23918]],[[194687,194687],"mapped",[23915]],[[194688,194688],"mapped",[23932]],[[194689,194689],"mapped",[24033]],[[194690,194690],"mapped",[24034]],[[194691,194691],"mapped",[14383]],[[194692,194692],"mapped",[24061]],[[194693,194693],"mapped",[24104]],[[194694,194694],"mapped",[24125]],[[194695,194695],"mapped",[24169]],[[194696,194696],"mapped",[14434]],[[194697,194697],"mapped",[139651]],[[194698,194698],"mapped",[14460]],[[194699,194699],"mapped",[24240]],[[194700,194700],"mapped",[24243]],[[194701,194701],"mapped",[24246]],[[194702,194702],"mapped",[24266]],[[194703,194703],"mapped",[172946]],[[194704,194704],"mapped",[24318]],[[194705,194706],"mapped",[140081]],[[194707,194707],"mapped",[33281]],[[194708,194709],"mapped",[24354]],[[194710,194710],"mapped",[14535]],[[194711,194711],"mapped",[144056]],[[194712,194712],"mapped",[156122]],[[194713,194713],"mapped",[24418]],[[194714,194714],"mapped",[24427]],[[194715,194715],"mapped",[14563]],[[194716,194716],"mapped",[24474]],[[194717,194717],"mapped",[24525]],[[194718,194718],"mapped",[24535]],[[194719,194719],"mapped",[24569]],[[194720,194720],"mapped",[24705]],[[194721,194721],"mapped",[14650]],[[194722,194722],"mapped",[14620]],[[194723,194723],"mapped",[24724]],[[194724,194724],"mapped",[141012]],[[194725,194725],"mapped",[24775]],[[194726,194726],"mapped",[24904]],[[194727,194727],"mapped",[24908]],[[194728,194728],"mapped",[24910]],[[194729,194729],"mapped",[24908]],[[194730,194730],"mapped",[24954]],[[194731,194731],"mapped",[24974]],[[194732,194732],"mapped",[25010]],[[194733,194733],"mapped",[24996]],[[194734,194734],"mapped",[25007]],[[194735,194735],"mapped",[25054]],[[194736,194736],"mapped",[25074]],[[194737,194737],"mapped",[25078]],[[194738,194738],"mapped",[25104]],[[194739,194739],"mapped",[25115]],[[194740,194740],"mapped",[25181]],[[194741,194741],"mapped",[25265]],[[194742,194742],"mapped",[25300]],[[194743,194743],"mapped",[25424]],[[194744,194744],"mapped",[142092]],[[194745,194745],"mapped",[25405]],[[194746,194746],"mapped",[25340]],[[194747,194747],"mapped",[25448]],[[194748,194748],"mapped",[25475]],[[194749,194749],"mapped",[25572]],[[194750,194750],"mapped",[142321]],[[194751,194751],"mapped",[25634]],[[194752,194752],"mapped",[25541]],[[194753,194753],"mapped",[25513]],[[194754,194754],"mapped",[14894]],[[194755,194755],"mapped",[25705]],[[194756,194756],"mapped",[25726]],[[194757,194757],"mapped",[25757]],[[194758,194758],"mapped",[25719]],[[194759,194759],"mapped",[14956]],[[194760,194760],"mapped",[25935]],[[194761,194761],"mapped",[25964]],[[194762,194762],"mapped",[143370]],[[194763,194763],"mapped",[26083]],[[194764,194764],"mapped",[26360]],[[194765,194765],"mapped",[26185]],[[194766,194766],"mapped",[15129]],[[194767,194767],"mapped",[26257]],[[194768,194768],"mapped",[15112]],[[194769,194769],"mapped",[15076]],[[194770,194770],"mapped",[20882]],[[194771,194771],"mapped",[20885]],[[194772,194772],"mapped",[26368]],[[194773,194773],"mapped",[26268]],[[194774,194774],"mapped",[32941]],[[194775,194775],"mapped",[17369]],[[194776,194776],"mapped",[26391]],[[194777,194777],"mapped",[26395]],[[194778,194778],"mapped",[26401]],[[194779,194779],"mapped",[26462]],[[194780,194780],"mapped",[26451]],[[194781,194781],"mapped",[144323]],[[194782,194782],"mapped",[15177]],[[194783,194783],"mapped",[26618]],[[194784,194784],"mapped",[26501]],[[194785,194785],"mapped",[26706]],[[194786,194786],"mapped",[26757]],[[194787,194787],"mapped",[144493]],[[194788,194788],"mapped",[26766]],[[194789,194789],"mapped",[26655]],[[194790,194790],"mapped",[26900]],[[194791,194791],"mapped",[15261]],[[194792,194792],"mapped",[26946]],[[194793,194793],"mapped",[27043]],[[194794,194794],"mapped",[27114]],[[194795,194795],"mapped",[27304]],[[194796,194796],"mapped",[145059]],[[194797,194797],"mapped",[27355]],[[194798,194798],"mapped",[15384]],[[194799,194799],"mapped",[27425]],[[194800,194800],"mapped",[145575]],[[194801,194801],"mapped",[27476]],[[194802,194802],"mapped",[15438]],[[194803,194803],"mapped",[27506]],[[194804,194804],"mapped",[27551]],[[194805,194805],"mapped",[27578]],[[194806,194806],"mapped",[27579]],[[194807,194807],"mapped",[146061]],[[194808,194808],"mapped",[138507]],[[194809,194809],"mapped",[146170]],[[194810,194810],"mapped",[27726]],[[194811,194811],"mapped",[146620]],[[194812,194812],"mapped",[27839]],[[194813,194813],"mapped",[27853]],[[194814,194814],"mapped",[27751]],[[194815,194815],"mapped",[27926]],[[194816,194816],"mapped",[27966]],[[194817,194817],"mapped",[28023]],[[194818,194818],"mapped",[27969]],[[194819,194819],"mapped",[28009]],[[194820,194820],"mapped",[28024]],[[194821,194821],"mapped",[28037]],[[194822,194822],"mapped",[146718]],[[194823,194823],"mapped",[27956]],[[194824,194824],"mapped",[28207]],[[194825,194825],"mapped",[28270]],[[194826,194826],"mapped",[15667]],[[194827,194827],"mapped",[28363]],[[194828,194828],"mapped",[28359]],[[194829,194829],"mapped",[147153]],[[194830,194830],"mapped",[28153]],[[194831,194831],"mapped",[28526]],[[194832,194832],"mapped",[147294]],[[194833,194833],"mapped",[147342]],[[194834,194834],"mapped",[28614]],[[194835,194835],"mapped",[28729]],[[194836,194836],"mapped",[28702]],[[194837,194837],"mapped",[28699]],[[194838,194838],"mapped",[15766]],[[194839,194839],"mapped",[28746]],[[194840,194840],"mapped",[28797]],[[194841,194841],"mapped",[28791]],[[194842,194842],"mapped",[28845]],[[194843,194843],"mapped",[132389]],[[194844,194844],"mapped",[28997]],[[194845,194845],"mapped",[148067]],[[194846,194846],"mapped",[29084]],[[194847,194847],"disallowed"],[[194848,194848],"mapped",[29224]],[[194849,194849],"mapped",[29237]],[[194850,194850],"mapped",[29264]],[[194851,194851],"mapped",[149000]],[[194852,194852],"mapped",[29312]],[[194853,194853],"mapped",[29333]],[[194854,194854],"mapped",[149301]],[[194855,194855],"mapped",[149524]],[[194856,194856],"mapped",[29562]],[[194857,194857],"mapped",[29579]],[[194858,194858],"mapped",[16044]],[[194859,194859],"mapped",[29605]],[[194860,194861],"mapped",[16056]],[[194862,194862],"mapped",[29767]],[[194863,194863],"mapped",[29788]],[[194864,194864],"mapped",[29809]],[[194865,194865],"mapped",[29829]],[[194866,194866],"mapped",[29898]],[[194867,194867],"mapped",[16155]],[[194868,194868],"mapped",[29988]],[[194869,194869],"mapped",[150582]],[[194870,194870],"mapped",[30014]],[[194871,194871],"mapped",[150674]],[[194872,194872],"mapped",[30064]],[[194873,194873],"mapped",[139679]],[[194874,194874],"mapped",[30224]],[[194875,194875],"mapped",[151457]],[[194876,194876],"mapped",[151480]],[[194877,194877],"mapped",[151620]],[[194878,194878],"mapped",[16380]],[[194879,194879],"mapped",[16392]],[[194880,194880],"mapped",[30452]],[[194881,194881],"mapped",[151795]],[[194882,194882],"mapped",[151794]],[[194883,194883],"mapped",[151833]],[[194884,194884],"mapped",[151859]],[[194885,194885],"mapped",[30494]],[[194886,194887],"mapped",[30495]],[[194888,194888],"mapped",[30538]],[[194889,194889],"mapped",[16441]],[[194890,194890],"mapped",[30603]],[[194891,194891],"mapped",[16454]],[[194892,194892],"mapped",[16534]],[[194893,194893],"mapped",[152605]],[[194894,194894],"mapped",[30798]],[[194895,194895],"mapped",[30860]],[[194896,194896],"mapped",[30924]],[[194897,194897],"mapped",[16611]],[[194898,194898],"mapped",[153126]],[[194899,194899],"mapped",[31062]],[[194900,194900],"mapped",[153242]],[[194901,194901],"mapped",[153285]],[[194902,194902],"mapped",[31119]],[[194903,194903],"mapped",[31211]],[[194904,194904],"mapped",[16687]],[[194905,194905],"mapped",[31296]],[[194906,194906],"mapped",[31306]],[[194907,194907],"mapped",[31311]],[[194908,194908],"mapped",[153980]],[[194909,194910],"mapped",[154279]],[[194911,194911],"disallowed"],[[194912,194912],"mapped",[16898]],[[194913,194913],"mapped",[154539]],[[194914,194914],"mapped",[31686]],[[194915,194915],"mapped",[31689]],[[194916,194916],"mapped",[16935]],[[194917,194917],"mapped",[154752]],[[194918,194918],"mapped",[31954]],[[194919,194919],"mapped",[17056]],[[194920,194920],"mapped",[31976]],[[194921,194921],"mapped",[31971]],[[194922,194922],"mapped",[32000]],[[194923,194923],"mapped",[155526]],[[194924,194924],"mapped",[32099]],[[194925,194925],"mapped",[17153]],[[194926,194926],"mapped",[32199]],[[194927,194927],"mapped",[32258]],[[194928,194928],"mapped",[32325]],[[194929,194929],"mapped",[17204]],[[194930,194930],"mapped",[156200]],[[194931,194931],"mapped",[156231]],[[194932,194932],"mapped",[17241]],[[194933,194933],"mapped",[156377]],[[194934,194934],"mapped",[32634]],[[194935,194935],"mapped",[156478]],[[194936,194936],"mapped",[32661]],[[194937,194937],"mapped",[32762]],[[194938,194938],"mapped",[32773]],[[194939,194939],"mapped",[156890]],[[194940,194940],"mapped",[156963]],[[194941,194941],"mapped",[32864]],[[194942,194942],"mapped",[157096]],[[194943,194943],"mapped",[32880]],[[194944,194944],"mapped",[144223]],[[194945,194945],"mapped",[17365]],[[194946,194946],"mapped",[32946]],[[194947,194947],"mapped",[33027]],[[194948,194948],"mapped",[17419]],[[194949,194949],"mapped",[33086]],[[194950,194950],"mapped",[23221]],[[194951,194951],"mapped",[157607]],[[194952,194952],"mapped",[157621]],[[194953,194953],"mapped",[144275]],[[194954,194954],"mapped",[144284]],[[194955,194955],"mapped",[33281]],[[194956,194956],"mapped",[33284]],[[194957,194957],"mapped",[36766]],[[194958,194958],"mapped",[17515]],[[194959,194959],"mapped",[33425]],[[194960,194960],"mapped",[33419]],[[194961,194961],"mapped",[33437]],[[194962,194962],"mapped",[21171]],[[194963,194963],"mapped",[33457]],[[194964,194964],"mapped",[33459]],[[194965,194965],"mapped",[33469]],[[194966,194966],"mapped",[33510]],[[194967,194967],"mapped",[158524]],[[194968,194968],"mapped",[33509]],[[194969,194969],"mapped",[33565]],[[194970,194970],"mapped",[33635]],[[194971,194971],"mapped",[33709]],[[194972,194972],"mapped",[33571]],[[194973,194973],"mapped",[33725]],[[194974,194974],"mapped",[33767]],[[194975,194975],"mapped",[33879]],[[194976,194976],"mapped",[33619]],[[194977,194977],"mapped",[33738]],[[194978,194978],"mapped",[33740]],[[194979,194979],"mapped",[33756]],[[194980,194980],"mapped",[158774]],[[194981,194981],"mapped",[159083]],[[194982,194982],"mapped",[158933]],[[194983,194983],"mapped",[17707]],[[194984,194984],"mapped",[34033]],[[194985,194985],"mapped",[34035]],[[194986,194986],"mapped",[34070]],[[194987,194987],"mapped",[160714]],[[194988,194988],"mapped",[34148]],[[194989,194989],"mapped",[159532]],[[194990,194990],"mapped",[17757]],[[194991,194991],"mapped",[17761]],[[194992,194992],"mapped",[159665]],[[194993,194993],"mapped",[159954]],[[194994,194994],"mapped",[17771]],[[194995,194995],"mapped",[34384]],[[194996,194996],"mapped",[34396]],[[194997,194997],"mapped",[34407]],[[194998,194998],"mapped",[34409]],[[194999,194999],"mapped",[34473]],[[195000,195000],"mapped",[34440]],[[195001,195001],"mapped",[34574]],[[195002,195002],"mapped",[34530]],[[195003,195003],"mapped",[34681]],[[195004,195004],"mapped",[34600]],[[195005,195005],"mapped",[34667]],[[195006,195006],"mapped",[34694]],[[195007,195007],"disallowed"],[[195008,195008],"mapped",[34785]],[[195009,195009],"mapped",[34817]],[[195010,195010],"mapped",[17913]],[[195011,195011],"mapped",[34912]],[[195012,195012],"mapped",[34915]],[[195013,195013],"mapped",[161383]],[[195014,195014],"mapped",[35031]],[[195015,195015],"mapped",[35038]],[[195016,195016],"mapped",[17973]],[[195017,195017],"mapped",[35066]],[[195018,195018],"mapped",[13499]],[[195019,195019],"mapped",[161966]],[[195020,195020],"mapped",[162150]],[[195021,195021],"mapped",[18110]],[[195022,195022],"mapped",[18119]],[[195023,195023],"mapped",[35488]],[[195024,195024],"mapped",[35565]],[[195025,195025],"mapped",[35722]],[[195026,195026],"mapped",[35925]],[[195027,195027],"mapped",[162984]],[[195028,195028],"mapped",[36011]],[[195029,195029],"mapped",[36033]],[[195030,195030],"mapped",[36123]],[[195031,195031],"mapped",[36215]],[[195032,195032],"mapped",[163631]],[[195033,195033],"mapped",[133124]],[[195034,195034],"mapped",[36299]],[[195035,195035],"mapped",[36284]],[[195036,195036],"mapped",[36336]],[[195037,195037],"mapped",[133342]],[[195038,195038],"mapped",[36564]],[[195039,195039],"mapped",[36664]],[[195040,195040],"mapped",[165330]],[[195041,195041],"mapped",[165357]],[[195042,195042],"mapped",[37012]],[[195043,195043],"mapped",[37105]],[[195044,195044],"mapped",[37137]],[[195045,195045],"mapped",[165678]],[[195046,195046],"mapped",[37147]],[[195047,195047],"mapped",[37432]],[[195048,195048],"mapped",[37591]],[[195049,195049],"mapped",[37592]],[[195050,195050],"mapped",[37500]],[[195051,195051],"mapped",[37881]],[[195052,195052],"mapped",[37909]],[[195053,195053],"mapped",[166906]],[[195054,195054],"mapped",[38283]],[[195055,195055],"mapped",[18837]],[[195056,195056],"mapped",[38327]],[[195057,195057],"mapped",[167287]],[[195058,195058],"mapped",[18918]],[[195059,195059],"mapped",[38595]],[[195060,195060],"mapped",[23986]],[[195061,195061],"mapped",[38691]],[[195062,195062],"mapped",[168261]],[[195063,195063],"mapped",[168474]],[[195064,195064],"mapped",[19054]],[[195065,195065],"mapped",[19062]],[[195066,195066],"mapped",[38880]],[[195067,195067],"mapped",[168970]],[[195068,195068],"mapped",[19122]],[[195069,195069],"mapped",[169110]],[[195070,195071],"mapped",[38923]],[[195072,195072],"mapped",[38953]],[[195073,195073],"mapped",[169398]],[[195074,195074],"mapped",[39138]],[[195075,195075],"mapped",[19251]],[[195076,195076],"mapped",[39209]],[[195077,195077],"mapped",[39335]],[[195078,195078],"mapped",[39362]],[[195079,195079],"mapped",[39422]],[[195080,195080],"mapped",[19406]],[[195081,195081],"mapped",[170800]],[[195082,195082],"mapped",[39698]],[[195083,195083],"mapped",[40000]],[[195084,195084],"mapped",[40189]],[[195085,195085],"mapped",[19662]],[[195086,195086],"mapped",[19693]],[[195087,195087],"mapped",[40295]],[[195088,195088],"mapped",[172238]],[[195089,195089],"mapped",[19704]],[[195090,195090],"mapped",[172293]],[[195091,195091],"mapped",[172558]],[[195092,195092],"mapped",[172689]],[[195093,195093],"mapped",[40635]],[[195094,195094],"mapped",[19798]],[[195095,195095],"mapped",[40697]],[[195096,195096],"mapped",[40702]],[[195097,195097],"mapped",[40709]],[[195098,195098],"mapped",[40719]],[[195099,195099],"mapped",[40726]],[[195100,195100],"mapped",[40763]],[[195101,195101],"mapped",[173568]],[[195102,196605],"disallowed"],[[196606,196607],"disallowed"],[[196608,262141],"disallowed"],[[262142,262143],"disallowed"],[[262144,327677],"disallowed"],[[327678,327679],"disallowed"],[[327680,393213],"disallowed"],[[393214,393215],"disallowed"],[[393216,458749],"disallowed"],[[458750,458751],"disallowed"],[[458752,524285],"disallowed"],[[524286,524287],"disallowed"],[[524288,589821],"disallowed"],[[589822,589823],"disallowed"],[[589824,655357],"disallowed"],[[655358,655359],"disallowed"],[[655360,720893],"disallowed"],[[720894,720895],"disallowed"],[[720896,786429],"disallowed"],[[786430,786431],"disallowed"],[[786432,851965],"disallowed"],[[851966,851967],"disallowed"],[[851968,917501],"disallowed"],[[917502,917503],"disallowed"],[[917504,917504],"disallowed"],[[917505,917505],"disallowed"],[[917506,917535],"disallowed"],[[917536,917631],"disallowed"],[[917632,917759],"disallowed"],[[917760,917999],"ignored"],[[918000,983037],"disallowed"],[[983038,983039],"disallowed"],[[983040,1048573],"disallowed"],[[1048574,1048575],"disallowed"],[[1048576,1114109],"disallowed"],[[1114110,1114111],"disallowed"]]')}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var __webpack_exports__={};(()=>{"use strict";const e=__webpack_require__(37100),t=__webpack_require__(13736),n=__webpack_require__(75077),o=__webpack_require__(42036),r=process.argv.slice(2);!async function(){"execute-flow"===r[0]&&function(){try{const r=t.Utils.parseJsonFile(n.globals.inputFile);n.globals.workerToken=r.workerToken,n.globals.apiUrl=r.apiUrl;const i=new o.ExecutionState;i.insertStep(r.triggerPayload,"trigger",[]),new e.FlowExecutor(i).executeFlow(r.collectionVersionId,r.flowVersionId).then((e=>{t.Utils.writeToJsonFile(n.globals.outputFile,e)}))}catch(e){t.Utils.writeToJsonFile(n.globals.outputFile,e.message)}}()}()})()})(); \ No newline at end of file diff --git a/packages/backend/src/flags/flag.service.ts b/packages/backend/src/flags/flag.service.ts index bc78fe4122..fa03053bf7 100755 --- a/packages/backend/src/flags/flag.service.ts +++ b/packages/backend/src/flags/flag.service.ts @@ -1,5 +1,6 @@ import { Flag } from "shared"; import { databaseConnection } from "../database/database-connection"; +import { getBackendUrl } from "../helper/public-ip-utils"; import { system } from "../helper/system/system"; import { SystemProp } from "../helper/system/system-prop"; import { FlagEntity } from "./flag-entity"; @@ -28,7 +29,7 @@ export const flagService = { flags.push( { id: FlagId.BACKEND_URL, - value: system.get(SystemProp.BACKEND_URL), + value: await getBackendUrl(), created, updated, }, diff --git a/packages/backend/src/helper/public-ip-utils.ts b/packages/backend/src/helper/public-ip-utils.ts index 6bc2b3ee1f..970cf50a88 100644 --- a/packages/backend/src/helper/public-ip-utils.ts +++ b/packages/backend/src/helper/public-ip-utils.ts @@ -1,11 +1,13 @@ import dns from "node:dns/promises"; +import { system } from "./system/system"; +import { SystemProp } from "./system/system-prop"; const GOOGLE_DNS = "216.239.32.10"; const PUBLIC_IP_ADDRESS_QUERY = "o-o.myaddr.l.google.com"; let ipMetadata: IpMetadata | undefined; -export const getPublicIp = async (): Promise => { +const getPublicIp = async (): Promise => { if (ipMetadata !== undefined) { return ipMetadata; } @@ -24,3 +26,12 @@ export const getPublicIp = async (): Promise => { interface IpMetadata { ip: string; } + +export const getBackendUrl = async (): Promise => { + let backendUrl = system.get(SystemProp.BACKEND_URL); + if (backendUrl === undefined) { + const { ip } = await getPublicIp(); + backendUrl = `http://${ip}:3000` + } + return backendUrl; +} \ No newline at end of file diff --git a/packages/backend/src/helper/trigger-utils.ts b/packages/backend/src/helper/trigger-utils.ts index 111f0226bd..1cb2006732 100755 --- a/packages/backend/src/helper/trigger-utils.ts +++ b/packages/backend/src/helper/trigger-utils.ts @@ -11,9 +11,7 @@ import { import { ActivepiecesError, ErrorCode } from "./activepieces-error"; import { flowQueue } from "../workers/flow-worker/flow-queue"; import { createContextStore } from "../store-entry/store-entry.service"; -import { getPublicIp } from "./public-ip-utils"; -import { system } from "./system/system"; -import { SystemProp } from "./system/system-prop"; +import { getBackendUrl } from "./public-ip-utils"; const EVERY_FIFTEEN_MINUTES = "* 15 * * * *"; @@ -166,13 +164,7 @@ const getPieceTrigger = (trigger: PieceTrigger): Trigger => { const getWebhookUrl = async (flowId: FlowId): Promise => { const webhookPath = `v1/webhooks?flowId=${flowId}`; - let serverUrl = system.get(SystemProp.BACKEND_URL); - - if (serverUrl === undefined) { - const { ip } = await getPublicIp(); - serverUrl = `http://${ip}:3000` - } - + let serverUrl = await getBackendUrl(); return `${serverUrl}/${webhookPath}`; }; diff --git a/packages/frontend/src/app/modules/common/components/configs-form/configs-form.component.ts b/packages/frontend/src/app/modules/common/components/configs-form/configs-form.component.ts index b384eb883f..1f62a9dd19 100644 --- a/packages/frontend/src/app/modules/common/components/configs-form/configs-form.component.ts +++ b/packages/frontend/src/app/modules/common/components/configs-form/configs-form.component.ts @@ -240,7 +240,7 @@ export class ConfigsFormComponent implements ControlValueAccessor { } } openNewAuthenticationModal(authConfigName: string) { - this.updateOrAddConfigModalClosed$ = this.authenticationService.getServerUrl().pipe( + this.updateOrAddConfigModalClosed$ = this.authenticationService.getFrontendUrl().pipe( switchMap(serverUrl => { return this.dialogService .open(NewAuthenticationModalComponent, { diff --git a/packages/frontend/src/app/modules/common/service/authentication.service.ts b/packages/frontend/src/app/modules/common/service/authentication.service.ts index ba2dd43a23..941fb72f4a 100755 --- a/packages/frontend/src/app/modules/common/service/authentication.service.ts +++ b/packages/frontend/src/app/modules/common/service/authentication.service.ts @@ -108,7 +108,7 @@ export class AuthenticationService { }) ); } - getApiUrl(): Observable { + getBackendUrl(): Observable { return this.getAllFlags().pipe( map(flags => { return flags['BACKEND_URL'] as string; @@ -116,7 +116,7 @@ export class AuthenticationService { ); } - getServerUrl(): Observable { + getFrontendUrl(): Observable { return this.getAllFlags().pipe( map(flags => { return flags['FRONTEND_URL'] as string; diff --git a/packages/frontend/src/app/modules/flow-builder/page/flow-builder/flow-right-sidebar/edit-step-sidebar/edit-step-accordion/edit-step-accodion.component.ts b/packages/frontend/src/app/modules/flow-builder/page/flow-builder/flow-right-sidebar/edit-step-sidebar/edit-step-accordion/edit-step-accodion.component.ts index b0239e689c..529e91a7d9 100755 --- a/packages/frontend/src/app/modules/flow-builder/page/flow-builder/flow-right-sidebar/edit-step-sidebar/edit-step-accordion/edit-step-accodion.component.ts +++ b/packages/frontend/src/app/modules/flow-builder/page/flow-builder/flow-right-sidebar/edit-step-sidebar/edit-step-accordion/edit-step-accodion.component.ts @@ -56,7 +56,7 @@ export class EditStepAccordionComponent implements AfterViewInit { ) { this.webhookUrl$ = forkJoin({ flowId: this.store.select(BuilderSelectors.selectCurrentFlowId).pipe(take(1)), - serverUrl: this.authenticationService.getApiUrl(), + serverUrl: this.authenticationService.getBackendUrl(), }).pipe( map(res => { return `${res.serverUrl}/v1/webhooks?flowId=${res.flowId}`; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c125f3bd21..59ddb8df9c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -261,7 +261,7 @@ importers: jszip: 3.10.1 kl-angular-mentions: 1.2.3_wcjhsjedbutghxn65tv34lliyq marked: 4.2.5 - monaco-editor: 0.33.0 + monaco-editor: link:dist/activepieces/assets/monaco-editor ngx-skeleton-loader: 5.0.0_wcjhsjedbutghxn65tv34lliyq posthog-js: 1.39.0 prismjs: 1.29.0 @@ -303,6 +303,64 @@ importers: tailwindcss: 3.2.4_postcss@8.4.20 typescript: 4.8.4 + packages/frontend/dist/activepieces/assets/monaco-editor: + specifiers: + '@types/mocha': ^9.1.0 + '@typescript/vfs': ^1.3.5 + chai: ^4.3.6 + clean-css: ^5.2.4 + esbuild: ^0.14.18 + esbuild-plugin-alias: ^0.2.1 + glob: ^7.2.0 + husky: ^7.0.4 + jsdom: ^19.0.0 + jsonc-parser: ^3.0.0 + mocha: ^9.2.0 + monaco-editor-core: 0.33.0 + playwright: ^1.18.1 + prettier: ^2.5.1 + pretty-quick: ^3.1.3 + requirejs: ^2.3.6 + terser: ^5.10.0 + ts-node: ^10.6.0 + typedoc: ^0.22.11 + typescript: 4.5.5 + vscode-css-languageservice: ^5.1.12 + vscode-html-languageservice: ^4.2.1 + vscode-json-languageservice: 4.2.0 + vscode-languageserver-textdocument: ^1.0.4 + vscode-languageserver-types: 3.16.0 + vscode-uri: 3.0.3 + yaserver: ^0.4.0 + devDependencies: + '@types/mocha': 9.1.1 + '@typescript/vfs': 1.4.0 + chai: 4.3.7 + clean-css: 5.3.1 + esbuild: 0.14.54 + esbuild-plugin-alias: 0.2.1 + glob: 7.2.3 + husky: 7.0.4 + jsdom: 19.0.0 + jsonc-parser: 3.2.0 + mocha: 9.2.2 + monaco-editor-core: 0.33.0 + playwright: 1.29.2 + prettier: 2.8.1 + pretty-quick: 3.1.3_prettier@2.8.1 + requirejs: 2.3.6 + terser: 5.16.1 + ts-node: 10.9.1_typescript@4.5.5 + typedoc: 0.22.18_typescript@4.5.5 + typescript: 4.5.5 + vscode-css-languageservice: 5.4.2 + vscode-html-languageservice: 4.2.5 + vscode-json-languageservice: 4.2.0 + vscode-languageserver-textdocument: 1.0.8 + vscode-languageserver-types: 3.16.0 + vscode-uri: 3.0.3 + yaserver: 0.4.0 + packages/pieces: specifiers: '@google-cloud/vision': ^3.0.1 @@ -2298,6 +2356,15 @@ packages: dev: true optional: true + /@esbuild/linux-loong64/0.14.54: + resolution: {integrity: sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-loong64/0.15.13: resolution: {integrity: sha512-+BoyIm4I8uJmH/QDIH0fu7MG0AEx9OXEDXnqptXCwKOlOqZiS4iraH1Nr7/ObLMokW3sOCeBNyD68ATcV9b9Ag==} engines: {node: '>=12'} @@ -4214,10 +4281,18 @@ packages: resolution: {integrity: sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==} dev: true + /@types/minimatch/3.0.5: + resolution: {integrity: sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==} + dev: true + /@types/minimist/1.2.2: resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} dev: true + /@types/mocha/9.1.1: + resolution: {integrity: sha512-Z61JK7DKDtdKTWwLeElSEBcWGRLY8g95ic5FoQqI9CMx0ns/Ghep3B4DfcEimiKMvtamNVULVNKEsiwV3aQmXw==} + dev: true + /@types/node/12.20.55: resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} dev: true @@ -4798,6 +4873,18 @@ packages: eslint-visitor-keys: 3.3.0 dev: true + /@typescript/vfs/1.4.0: + resolution: {integrity: sha512-Pood7yv5YWMIX+yCHo176OnF8WUlKGImFG7XlsuH14Zb1YN5+dYD3uUtS7lqZtsH7tAveNUi2NzdpQCN0yRbaw==} + dependencies: + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: true + + /@ungap/promise-all-settled/1.1.2: + resolution: {integrity: sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==} + dev: true + /@webassemblyjs/ast/1.11.1: resolution: {integrity: sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==} dependencies: @@ -4992,6 +5079,13 @@ packages: negotiator: 0.6.3 dev: true + /acorn-globals/6.0.0: + resolution: {integrity: sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==} + dependencies: + acorn: 7.4.1 + acorn-walk: 7.2.0 + dev: true + /acorn-import-assertions/1.8.0_acorn@8.8.1: resolution: {integrity: sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==} peerDependencies: @@ -5138,6 +5232,11 @@ packages: resolution: {integrity: sha512-6AXPyii9q8KBFGagybLNVmdGJLPcVZAhmv3odNGSJIA18LuJ3xOe6uN9GvjlQsGfdmYeuxlsGnFEUu7gPhkc+g==} dev: false + /ansi-colors/4.1.1: + resolution: {integrity: sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==} + engines: {node: '>=6'} + dev: true + /ansi-colors/4.1.3: resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} engines: {node: '>=6'} @@ -5251,6 +5350,11 @@ packages: '@babel/runtime-corejs3': 7.20.7 dev: true + /array-differ/3.0.0: + resolution: {integrity: sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==} + engines: {node: '>=8'} + dev: true + /array-flatten/1.1.1: resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} dev: true @@ -5293,7 +5397,6 @@ packages: /arrify/2.0.1: resolution: {integrity: sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==} engines: {node: '>=8'} - dev: false /asn1.js/5.4.1: resolution: {integrity: sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==} @@ -5304,6 +5407,10 @@ packages: safer-buffer: 2.1.2 dev: false + /assertion-error/1.1.0: + resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} + dev: true + /astral-regex/2.0.0: resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} engines: {node: '>=8'} @@ -5654,6 +5761,14 @@ packages: fill-range: 7.0.1 dev: true + /browser-process-hrtime/1.0.0: + resolution: {integrity: sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==} + dev: true + + /browser-stdout/1.3.1: + resolution: {integrity: sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==} + dev: true + /browserslist/4.21.4: resolution: {integrity: sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} @@ -5881,6 +5996,19 @@ packages: lodash: 4.17.21 dev: false + /chai/4.3.7: + resolution: {integrity: sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==} + engines: {node: '>=4'} + dependencies: + assertion-error: 1.1.0 + check-error: 1.0.2 + deep-eql: 4.1.3 + get-func-name: 2.0.0 + loupe: 2.3.6 + pathval: 1.1.1 + type-detect: 4.0.8 + dev: true + /chainsaw/0.1.0: resolution: {integrity: sha512-75kWfWt6MEKNC8xYXIdRpDehRYY/tNSgwKaJq+dbbDcxORuVrrQ+SEHoWsniVn9XPYfP4gmdWIeDk/4YNp1rNQ==} dependencies: @@ -5895,6 +6023,14 @@ packages: escape-string-regexp: 1.0.5 supports-color: 5.5.0 + /chalk/3.0.0: + resolution: {integrity: sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==} + engines: {node: '>=8'} + dependencies: + ansi-styles: 4.3.0 + supports-color: 7.2.0 + dev: true + /chalk/4.1.0: resolution: {integrity: sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==} engines: {node: '>=10'} @@ -5919,6 +6055,10 @@ packages: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} dev: true + /check-error/1.0.2: + resolution: {integrity: sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==} + dev: true + /chokidar/3.5.3: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} @@ -5952,6 +6092,13 @@ packages: resolution: {integrity: sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA==} dev: true + /clean-css/5.3.1: + resolution: {integrity: sha512-lCr8OHhiWCTw4v8POJovCoh4T7I9U11yVsPjMWWnnMmp9ZowCxyad1Pathle/9HjaDp+fdQKjO9fQydE6RHTZg==} + engines: {node: '>= 10.0'} + dependencies: + source-map: 0.6.1 + dev: true + /clean-stack/2.2.0: resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} engines: {node: '>=6'} @@ -6334,10 +6481,34 @@ packages: hasBin: true dev: true + /cssom/0.3.8: + resolution: {integrity: sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==} + dev: true + + /cssom/0.5.0: + resolution: {integrity: sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==} + dev: true + + /cssstyle/2.3.0: + resolution: {integrity: sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==} + engines: {node: '>=8'} + dependencies: + cssom: 0.3.8 + dev: true + /custom-event/1.0.1: resolution: {integrity: sha512-GAj5FOq0Hd+RsCGVJxZuKaIDXDf3h6GQoNEjFgbLLI/trgtavwUbSnZ5pVfg27DVCaWjIohryS0JFwIJyT2cMg==} dev: true + /data-urls/3.0.2: + resolution: {integrity: sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==} + engines: {node: '>=12'} + dependencies: + abab: 2.0.6 + whatwg-mimetype: 3.0.0 + whatwg-url: 11.0.0 + dev: true + /date-fns/2.29.3: resolution: {integrity: sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA==} engines: {node: '>=0.11'} @@ -6385,6 +6556,19 @@ packages: supports-color: 5.5.0 dev: true + /debug/4.3.3_supports-color@8.1.1: + resolution: {integrity: sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.2 + supports-color: 8.1.1 + dev: true + /debug/4.3.4: resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} engines: {node: '>=6.0'} @@ -6409,11 +6593,20 @@ packages: engines: {node: '>=0.10.0'} dev: true + /decamelize/4.0.0: + resolution: {integrity: sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==} + engines: {node: '>=10'} + dev: true + /decamelize/5.0.1: resolution: {integrity: sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==} engines: {node: '>=10'} dev: true + /decimal.js/10.4.3: + resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} + dev: true + /decompress-tar/4.1.1: resolution: {integrity: sha512-JdJMaCrGpB5fESVyxwpCx4Jdj2AagLmv3y58Qy4GE6HMVjWz1FeVQk1Ct4Kye7PftcdOo/7U7UKzYBJgqnGeUQ==} engines: {node: '>=4'} @@ -6471,6 +6664,13 @@ packages: resolution: {integrity: sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==} dev: true + /deep-eql/4.1.3: + resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==} + engines: {node: '>=6'} + dependencies: + type-detect: 4.0.8 + dev: true + /deep-equal/2.1.0: resolution: {integrity: sha512-2pxgvWu3Alv1PoWEyVg7HS8YhGlUFUV7N5oOvfL6d+7xAmLSemMwv/c8Zv/i9KFzxV5Kt5CAvQc70fLwVuf4UA==} dependencies: @@ -6601,6 +6801,11 @@ packages: resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} engines: {node: '>=0.3.1'} + /diff/5.0.0: + resolution: {integrity: sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==} + engines: {node: '>=0.3.1'} + dev: true + /dir-glob/3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} @@ -6668,6 +6873,13 @@ packages: /domelementtype/2.3.0: resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} + /domexception/4.0.0: + resolution: {integrity: sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==} + engines: {node: '>=12'} + dependencies: + webidl-conversions: 7.0.0 + dev: true + /domhandler/2.3.0: resolution: {integrity: sha512-q9bUwjfp7Eif8jWxxxPSykdRZAb6GkguBGSgvvCrhI9wB71W2K/Kvv4E61CF/mcCfnVJDeDWx/Vb/uAqbDj6UQ==} dependencies: @@ -6952,6 +7164,15 @@ packages: is-symbol: 1.0.4 dev: true + /esbuild-android-64/0.14.54: + resolution: {integrity: sha512-Tz2++Aqqz0rJ7kYBfz+iqyE3QMycD4vk7LBRyWaAVFgFtQ/O8EJOnVmTOiDWYZ/uYzB4kvP+bqejYdVKzE5lAQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + /esbuild-android-64/0.15.13: resolution: {integrity: sha512-yRorukXBlokwTip+Sy4MYskLhJsO0Kn0/Fj43s1krVblfwP+hMD37a4Wmg139GEsMLl+vh8WXp2mq/cTA9J97g==} engines: {node: '>=12'} @@ -6961,6 +7182,15 @@ packages: dev: true optional: true + /esbuild-android-arm64/0.14.54: + resolution: {integrity: sha512-F9E+/QDi9sSkLaClO8SOV6etqPd+5DgJje1F9lOWoNncDdOBL2YF59IhsWATSt0TLZbYCf3pNlTHvVV5VfHdvg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + /esbuild-android-arm64/0.15.13: resolution: {integrity: sha512-TKzyymLD6PiVeyYa4c5wdPw87BeAiTXNtK6amWUcXZxkV51gOk5u5qzmDaYSwiWeecSNHamFsaFjLoi32QR5/w==} engines: {node: '>=12'} @@ -6970,6 +7200,15 @@ packages: dev: true optional: true + /esbuild-darwin-64/0.14.54: + resolution: {integrity: sha512-jtdKWV3nBviOd5v4hOpkVmpxsBy90CGzebpbO9beiqUYVMBtSc0AL9zGftFuBon7PNDcdvNCEuQqw2x0wP9yug==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /esbuild-darwin-64/0.15.13: resolution: {integrity: sha512-WAx7c2DaOS6CrRcoYCgXgkXDliLnFv3pQLV6GeW1YcGEZq2Gnl8s9Pg7ahValZkpOa0iE/ojRVQ87sbUhF1Cbg==} engines: {node: '>=12'} @@ -6979,6 +7218,15 @@ packages: dev: true optional: true + /esbuild-darwin-arm64/0.14.54: + resolution: {integrity: sha512-OPafJHD2oUPyvJMrsCvDGkRrVCar5aVyHfWGQzY1dWnzErjrDuSETxwA2HSsyg2jORLY8yBfzc1MIpUkXlctmw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /esbuild-darwin-arm64/0.15.13: resolution: {integrity: sha512-U6jFsPfSSxC3V1CLiQqwvDuj3GGrtQNB3P3nNC3+q99EKf94UGpsG9l4CQ83zBs1NHrk1rtCSYT0+KfK5LsD8A==} engines: {node: '>=12'} @@ -6988,6 +7236,15 @@ packages: dev: true optional: true + /esbuild-freebsd-64/0.14.54: + resolution: {integrity: sha512-OKwd4gmwHqOTp4mOGZKe/XUlbDJ4Q9TjX0hMPIDBUWWu/kwhBAudJdBoxnjNf9ocIB6GN6CPowYpR/hRCbSYAg==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /esbuild-freebsd-64/0.15.13: resolution: {integrity: sha512-whItJgDiOXaDG/idy75qqevIpZjnReZkMGCgQaBWZuKHoElDJC1rh7MpoUgupMcdfOd+PgdEwNQW9DAE6i8wyA==} engines: {node: '>=12'} @@ -6997,6 +7254,15 @@ packages: dev: true optional: true + /esbuild-freebsd-arm64/0.14.54: + resolution: {integrity: sha512-sFwueGr7OvIFiQT6WeG0jRLjkjdqWWSrfbVwZp8iMP+8UHEHRBvlaxL6IuKNDwAozNUmbb8nIMXa7oAOARGs1Q==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /esbuild-freebsd-arm64/0.15.13: resolution: {integrity: sha512-6pCSWt8mLUbPtygv7cufV0sZLeylaMwS5Fznj6Rsx9G2AJJsAjQ9ifA+0rQEIg7DwJmi9it+WjzNTEAzzdoM3Q==} engines: {node: '>=12'} @@ -7006,6 +7272,15 @@ packages: dev: true optional: true + /esbuild-linux-32/0.14.54: + resolution: {integrity: sha512-1ZuY+JDI//WmklKlBgJnglpUL1owm2OX+8E1syCD6UAxcMM/XoWd76OHSjl/0MR0LisSAXDqgjT3uJqT67O3qw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-32/0.15.13: resolution: {integrity: sha512-VbZdWOEdrJiYApm2kkxoTOgsoCO1krBZ3quHdYk3g3ivWaMwNIVPIfEE0f0XQQ0u5pJtBsnk2/7OPiCFIPOe/w==} engines: {node: '>=12'} @@ -7015,6 +7290,15 @@ packages: dev: true optional: true + /esbuild-linux-64/0.14.54: + resolution: {integrity: sha512-EgjAgH5HwTbtNsTqQOXWApBaPVdDn7XcK+/PtJwZLT1UmpLoznPd8c5CxqsH2dQK3j05YsB3L17T8vE7cp4cCg==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-64/0.15.13: resolution: {integrity: sha512-rXmnArVNio6yANSqDQlIO4WiP+Cv7+9EuAHNnag7rByAqFVuRusLbGi2697A5dFPNXoO//IiogVwi3AdcfPC6A==} engines: {node: '>=12'} @@ -7024,6 +7308,15 @@ packages: dev: true optional: true + /esbuild-linux-arm/0.14.54: + resolution: {integrity: sha512-qqz/SjemQhVMTnvcLGoLOdFpCYbz4v4fUo+TfsWG+1aOu70/80RV6bgNpR2JCrppV2moUQkww+6bWxXRL9YMGw==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-arm/0.15.13: resolution: {integrity: sha512-Ac6LpfmJO8WhCMQmO253xX2IU2B3wPDbl4IvR0hnqcPrdfCaUa2j/lLMGTjmQ4W5JsJIdHEdW12dG8lFS0MbxQ==} engines: {node: '>=12'} @@ -7033,6 +7326,15 @@ packages: dev: true optional: true + /esbuild-linux-arm64/0.14.54: + resolution: {integrity: sha512-WL71L+0Rwv+Gv/HTmxTEmpv0UgmxYa5ftZILVi2QmZBgX3q7+tDeOQNqGtdXSdsL8TQi1vIaVFHUPDe0O0kdig==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-arm64/0.15.13: resolution: {integrity: sha512-alEMGU4Z+d17U7KQQw2IV8tQycO6T+rOrgW8OS22Ua25x6kHxoG6Ngry6Aq6uranC+pNWNMB6aHFPh7aTQdORQ==} engines: {node: '>=12'} @@ -7042,6 +7344,15 @@ packages: dev: true optional: true + /esbuild-linux-mips64le/0.14.54: + resolution: {integrity: sha512-qTHGQB8D1etd0u1+sB6p0ikLKRVuCWhYQhAHRPkO+OF3I/iSlTKNNS0Lh2Oc0g0UFGguaFZZiPJdJey3AGpAlw==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-mips64le/0.15.13: resolution: {integrity: sha512-47PgmyYEu+yN5rD/MbwS6DxP2FSGPo4Uxg5LwIdxTiyGC2XKwHhHyW7YYEDlSuXLQXEdTO7mYe8zQ74czP7W8A==} engines: {node: '>=12'} @@ -7051,6 +7362,15 @@ packages: dev: true optional: true + /esbuild-linux-ppc64le/0.14.54: + resolution: {integrity: sha512-j3OMlzHiqwZBDPRCDFKcx595XVfOfOnv68Ax3U4UKZ3MTYQB5Yz3X1mn5GnodEVYzhtZgxEBidLWeIs8FDSfrQ==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-ppc64le/0.15.13: resolution: {integrity: sha512-z6n28h2+PC1Ayle9DjKoBRcx/4cxHoOa2e689e2aDJSaKug3jXcQw7mM+GLg+9ydYoNzj8QxNL8ihOv/OnezhA==} engines: {node: '>=12'} @@ -7060,6 +7380,15 @@ packages: dev: true optional: true + /esbuild-linux-riscv64/0.14.54: + resolution: {integrity: sha512-y7Vt7Wl9dkOGZjxQZnDAqqn+XOqFD7IMWiewY5SPlNlzMX39ocPQlOaoxvT4FllA5viyV26/QzHtvTjVNOxHZg==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-riscv64/0.15.13: resolution: {integrity: sha512-+Lu4zuuXuQhgLUGyZloWCqTslcCAjMZH1k3Xc9MSEJEpEFdpsSU0sRDXAnk18FKOfEjhu4YMGaykx9xjtpA6ow==} engines: {node: '>=12'} @@ -7069,6 +7398,15 @@ packages: dev: true optional: true + /esbuild-linux-s390x/0.14.54: + resolution: {integrity: sha512-zaHpW9dziAsi7lRcyV4r8dhfG1qBidQWUXweUjnw+lliChJqQr+6XD71K41oEIC3Mx1KStovEmlzm+MkGZHnHA==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-s390x/0.15.13: resolution: {integrity: sha512-BMeXRljruf7J0TMxD5CIXS65y7puiZkAh+s4XFV9qy16SxOuMhxhVIXYLnbdfLrsYGFzx7U9mcdpFWkkvy/Uag==} engines: {node: '>=12'} @@ -7078,6 +7416,15 @@ packages: dev: true optional: true + /esbuild-netbsd-64/0.14.54: + resolution: {integrity: sha512-PR01lmIMnfJTgeU9VJTDY9ZerDWVFIUzAtJuDHwwceppW7cQWjBBqP48NdeRtoP04/AtO9a7w3viI+PIDr6d+w==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + /esbuild-netbsd-64/0.15.13: resolution: {integrity: sha512-EHj9QZOTel581JPj7UO3xYbltFTYnHy+SIqJVq6yd3KkCrsHRbapiPb0Lx3EOOtybBEE9EyqbmfW1NlSDsSzvQ==} engines: {node: '>=12'} @@ -7087,6 +7434,15 @@ packages: dev: true optional: true + /esbuild-openbsd-64/0.14.54: + resolution: {integrity: sha512-Qyk7ikT2o7Wu76UsvvDS5q0amJvmRzDyVlL0qf5VLsLchjCa1+IAvd8kTBgUxD7VBUUVgItLkk609ZHUc1oCaw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + /esbuild-openbsd-64/0.15.13: resolution: {integrity: sha512-nkuDlIjF/sfUhfx8SKq0+U+Fgx5K9JcPq1mUodnxI0x4kBdCv46rOGWbuJ6eof2n3wdoCLccOoJAbg9ba/bT2w==} engines: {node: '>=12'} @@ -7096,6 +7452,19 @@ packages: dev: true optional: true + /esbuild-plugin-alias/0.2.1: + resolution: {integrity: sha512-jyfL/pwPqaFXyKnj8lP8iLk6Z0m099uXR45aSN8Av1XD4vhvQutxxPzgA2bTcAwQpa1zCXDcWOlhFgyP3GKqhQ==} + dev: true + + /esbuild-sunos-64/0.14.54: + resolution: {integrity: sha512-28GZ24KmMSeKi5ueWzMcco6EBHStL3B6ubM7M51RmPwXQGLe0teBGJocmWhgwccA1GeFXqxzILIxXpHbl9Q/Kw==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + /esbuild-sunos-64/0.15.13: resolution: {integrity: sha512-jVeu2GfxZQ++6lRdY43CS0Tm/r4WuQQ0Pdsrxbw+aOrHQPHV0+LNOLnvbN28M7BSUGnJnHkHm2HozGgNGyeIRw==} engines: {node: '>=12'} @@ -7111,6 +7480,15 @@ packages: hasBin: true dev: true + /esbuild-windows-32/0.14.54: + resolution: {integrity: sha512-T+rdZW19ql9MjS7pixmZYVObd9G7kcaZo+sETqNH4RCkuuYSuv9AGHUVnPoP9hhuE1WM1ZimHz1CIBHBboLU7w==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild-windows-32/0.15.13: resolution: {integrity: sha512-XoF2iBf0wnqo16SDq+aDGi/+QbaLFpkiRarPVssMh9KYbFNCqPLlGAWwDvxEVz+ywX6Si37J2AKm+AXq1kC0JA==} engines: {node: '>=12'} @@ -7120,6 +7498,15 @@ packages: dev: true optional: true + /esbuild-windows-64/0.14.54: + resolution: {integrity: sha512-AoHTRBUuYwXtZhjXZbA1pGfTo8cJo3vZIcWGLiUcTNgHpJJMC1rVA44ZereBHMJtotyN71S8Qw0npiCIkW96cQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild-windows-64/0.15.13: resolution: {integrity: sha512-Et6htEfGycjDrtqb2ng6nT+baesZPYQIW+HUEHK4D1ncggNrDNk3yoboYQ5KtiVrw/JaDMNttz8rrPubV/fvPQ==} engines: {node: '>=12'} @@ -7129,6 +7516,15 @@ packages: dev: true optional: true + /esbuild-windows-arm64/0.14.54: + resolution: {integrity: sha512-M0kuUvXhot1zOISQGXwWn6YtS+Y/1RT9WrVIOywZnJHo3jCDyewAc79aKNQWFCQm+xNHVTq9h8dZKvygoXQQRg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild-windows-arm64/0.15.13: resolution: {integrity: sha512-3bv7tqntThQC9SWLRouMDmZnlOukBhOCTlkzNqzGCmrkCJI7io5LLjwJBOVY6kOUlIvdxbooNZwjtBvj+7uuVg==} engines: {node: '>=12'} @@ -7138,6 +7534,35 @@ packages: dev: true optional: true + /esbuild/0.14.54: + resolution: {integrity: sha512-Cy9llcy8DvET5uznocPyqL3BFRrFXSVqbgpMJ9Wz8oVjZlh/zUSNbPRbov0VX7VxN2JH1Oa0uNxZ7eLRb62pJA==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/linux-loong64': 0.14.54 + esbuild-android-64: 0.14.54 + esbuild-android-arm64: 0.14.54 + esbuild-darwin-64: 0.14.54 + esbuild-darwin-arm64: 0.14.54 + esbuild-freebsd-64: 0.14.54 + esbuild-freebsd-arm64: 0.14.54 + esbuild-linux-32: 0.14.54 + esbuild-linux-64: 0.14.54 + esbuild-linux-arm: 0.14.54 + esbuild-linux-arm64: 0.14.54 + esbuild-linux-mips64le: 0.14.54 + esbuild-linux-ppc64le: 0.14.54 + esbuild-linux-riscv64: 0.14.54 + esbuild-linux-s390x: 0.14.54 + esbuild-netbsd-64: 0.14.54 + esbuild-openbsd-64: 0.14.54 + esbuild-sunos-64: 0.14.54 + esbuild-windows-32: 0.14.54 + esbuild-windows-64: 0.14.54 + esbuild-windows-arm64: 0.14.54 + dev: true + /esbuild/0.15.13: resolution: {integrity: sha512-Cu3SC84oyzzhrK/YyN4iEVy2jZu5t2fz66HEOShHURcjSkOSAVL8C/gfUT+lDJxkVHpg8GZ10DD0rMHRPqMFaQ==} engines: {node: '>=12'} @@ -7202,13 +7627,26 @@ packages: source-map: 0.6.1 dev: false - /eslint-config-prettier/8.5.0_eslint@8.30.0: - resolution: {integrity: sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==} + /escodegen/2.0.0: + resolution: {integrity: sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==} + engines: {node: '>=6.0'} hasBin: true - peerDependencies: - eslint: '>=7.0.0' dependencies: - eslint: 8.30.0 + esprima: 4.0.1 + estraverse: 5.3.0 + esutils: 2.0.3 + optionator: 0.8.3 + optionalDependencies: + source-map: 0.6.1 + dev: true + + /eslint-config-prettier/8.5.0_eslint@8.30.0: + resolution: {integrity: sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==} + hasBin: true + peerDependencies: + eslint: '>=7.0.0' + dependencies: + eslint: 8.30.0 dev: true /eslint-config-prettier/8.5.0_eslint@8.31.0: @@ -7703,6 +8141,21 @@ packages: resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} engines: {node: '>=0.8.x'} + /execa/4.1.0: + resolution: {integrity: sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==} + engines: {node: '>=10'} + dependencies: + cross-spawn: 7.0.3 + get-stream: 5.2.0 + human-signals: 1.1.1 + is-stream: 2.0.1 + merge-stream: 2.0.0 + npm-run-path: 4.0.1 + onetime: 5.1.2 + signal-exit: 3.0.7 + strip-final-newline: 2.0.0 + dev: true + /execa/5.1.1: resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} engines: {node: '>=10'} @@ -8292,6 +8745,10 @@ packages: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} + /get-func-name/2.0.0: + resolution: {integrity: sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==} + dev: true + /get-intrinsic/1.1.3: resolution: {integrity: sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==} dependencies: @@ -8312,6 +8769,13 @@ packages: pinkie-promise: 2.0.1 dev: false + /get-stream/5.2.0: + resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==} + engines: {node: '>=8'} + dependencies: + pump: 3.0.0 + dev: true + /get-stream/6.0.1: resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} engines: {node: '>=10'} @@ -8354,6 +8818,17 @@ packages: path-is-absolute: 1.0.1 dev: true + /glob/7.2.0: + resolution: {integrity: sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==} + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + dev: true + /glob/7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} dependencies: @@ -8471,6 +8946,11 @@ packages: resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} dev: true + /growl/1.10.5: + resolution: {integrity: sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==} + engines: {node: '>=4.x'} + dev: true + /gtoken/6.1.2: resolution: {integrity: sha512-4ccGpzz7YAr7lxrT2neugmXQ3hP9ho2gcaityLVkiUecAiwiy60Ii8gRbZeOsXV19fYaRjgBSshs8kXw+NKCPQ==} engines: {node: '>=12.0.0'} @@ -8566,6 +9046,11 @@ packages: resolution: {integrity: sha512-7kIufnBqdsBGcSZLPJwqHT3yhk1QTsSlFsVD3kx5ixH/AlgBs9yM1q6DPhXZ8f8gtdqgh7N7/5btRLpQsS2gHw==} dev: true + /he/1.2.0: + resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} + hasBin: true + dev: true + /highlight.js/10.7.3: resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==} dev: false @@ -8604,6 +9089,13 @@ packages: wbuf: 1.7.3 dev: true + /html-encoding-sniffer/3.0.0: + resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==} + engines: {node: '>=12'} + dependencies: + whatwg-encoding: 2.0.0 + dev: true + /html-entities/2.3.3: resolution: {integrity: sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA==} dev: true @@ -8709,6 +9201,11 @@ packages: transitivePeerDependencies: - supports-color + /human-signals/1.1.1: + resolution: {integrity: sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==} + engines: {node: '>=8.12.0'} + dev: true + /human-signals/2.1.0: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} engines: {node: '>=10.17.0'} @@ -8772,6 +9269,12 @@ packages: zephyr: 1.2.8 dev: true + /husky/7.0.4: + resolution: {integrity: sha512-vbaCKN2QLtP/vD4yvs6iz6hBEo6wkSzs8HpRah1Z6aGmF2KW5PdYuAd7uX5a+OyBZHBhd+TFLqgjUgytQr4RvQ==} + engines: {node: '>=12'} + hasBin: true + dev: true + /iconv-lite/0.4.24: resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} engines: {node: '>=0.10.0'} @@ -9090,6 +9593,11 @@ packages: engines: {node: '>=0.10.0'} dev: true + /is-plain-obj/2.1.0: + resolution: {integrity: sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==} + engines: {node: '>=8'} + dev: true + /is-plain-obj/3.0.0: resolution: {integrity: sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==} engines: {node: '>=10'} @@ -9102,6 +9610,10 @@ packages: isobject: 3.0.1 dev: true + /is-potential-custom-element-name/1.0.1: + resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} + dev: true + /is-regex/1.1.4: resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} engines: {node: '>= 0.4'} @@ -9847,6 +10359,48 @@ packages: underscore: 1.13.6 dev: false + /jsdom/19.0.0: + resolution: {integrity: sha512-RYAyjCbxy/vri/CfnjUWJQQtZ3LKlLnDqj+9XLNnJPgEGeirZs3hllKR20re8LUZ6o1b1X4Jat+Qd26zmP41+A==} + engines: {node: '>=12'} + peerDependencies: + canvas: ^2.5.0 + peerDependenciesMeta: + canvas: + optional: true + dependencies: + abab: 2.0.6 + acorn: 8.8.1 + acorn-globals: 6.0.0 + cssom: 0.5.0 + cssstyle: 2.3.0 + data-urls: 3.0.2 + decimal.js: 10.4.3 + domexception: 4.0.0 + escodegen: 2.0.0 + form-data: 4.0.0 + html-encoding-sniffer: 3.0.0 + http-proxy-agent: 5.0.0 + https-proxy-agent: 5.0.1 + is-potential-custom-element-name: 1.0.1 + nwsapi: 2.2.2 + parse5: 6.0.1 + saxes: 5.0.1 + symbol-tree: 3.2.4 + tough-cookie: 4.1.2 + w3c-hr-time: 1.0.2 + w3c-xmlserializer: 3.0.0 + webidl-conversions: 7.0.0 + whatwg-encoding: 2.0.0 + whatwg-mimetype: 3.0.0 + whatwg-url: 10.0.0 + ws: 8.11.0 + xml-name-validator: 4.0.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + dev: true + /jsesc/0.5.0: resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} hasBin: true @@ -10160,7 +10714,6 @@ packages: dependencies: prelude-ls: 1.1.2 type-check: 0.3.2 - dev: false /levn/0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} @@ -10365,6 +10918,12 @@ packages: resolution: {integrity: sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A==} dev: false + /loupe/2.3.6: + resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==} + dependencies: + get-func-name: 2.0.0 + dev: true + /lru-cache/5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} dependencies: @@ -10382,6 +10941,10 @@ packages: engines: {node: '>=12'} dev: true + /lunr/2.3.9: + resolution: {integrity: sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==} + dev: true + /luxon/3.2.0: resolution: {integrity: sha512-Namj3XqoJjFekq/JHQEaaAv4zyE/fyyDBrMEBnIL2s/X54SC8W5Ea0uej1TRXUArWec8OojsAVsGBYhNRjpMVw==} engines: {node: '>=12'} @@ -10518,7 +11081,6 @@ packages: resolution: {integrity: sha512-jPueVhumq7idETHkb203WDD4fMA3yV9emQ5vLwop58lu8bTclMghBWcYAavlDqIEMaisADinV1TooIFCfqOsYQ==} engines: {node: '>= 12'} hasBin: true - dev: false /mdurl/1.0.1: resolution: {integrity: sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==} @@ -10646,6 +11208,13 @@ packages: dependencies: brace-expansion: 1.1.11 + /minimatch/4.2.1: + resolution: {integrity: sha512-9Uq1ChtSZO+Mxa/CL1eGizn2vRn3MlLgzhT0Iz8zaY8NdvxvB0d5QdPFmCKf7JKA9Lerx5vRrnwO03jsSfGG9g==} + engines: {node: '>=10'} + dependencies: + brace-expansion: 1.1.11 + dev: true + /minimatch/5.1.2: resolution: {integrity: sha512-bNH9mmM9qsJ2X4r2Nat1B//1dJVcn3+iBLa3IgqJ7EbGaDNepL9QSHOxN4ng33s52VMMhhIfgCYDk3C4ZmlDAg==} engines: {node: '>=10'} @@ -10757,9 +11326,45 @@ packages: obliterator: 2.0.4 dev: false - /monaco-editor/0.33.0: - resolution: {integrity: sha512-VcRWPSLIUEgQJQIE0pVT8FcGBIgFoxz7jtqctE+IiCxWugD0DwgyQBcZBhdSrdMC84eumoqMZsGl2GTreOzwqw==} - dev: false + /mocha/9.2.2: + resolution: {integrity: sha512-L6XC3EdwT6YrIk0yXpavvLkn8h+EU+Y5UcCHKECyMbdUIxyMuZj4bX4U9e1nvnvUUvQVsV2VHQr5zLdcUkhW/g==} + engines: {node: '>= 12.0.0'} + hasBin: true + dependencies: + '@ungap/promise-all-settled': 1.1.2 + ansi-colors: 4.1.1 + browser-stdout: 1.3.1 + chokidar: 3.5.3 + debug: 4.3.3_supports-color@8.1.1 + diff: 5.0.0 + escape-string-regexp: 4.0.0 + find-up: 5.0.0 + glob: 7.2.0 + growl: 1.10.5 + he: 1.2.0 + js-yaml: 4.1.0 + log-symbols: 4.1.0 + minimatch: 4.2.1 + ms: 2.1.3 + nanoid: 3.3.1 + serialize-javascript: 6.0.0 + strip-json-comments: 3.1.1 + supports-color: 8.1.1 + which: 2.0.2 + workerpool: 6.2.0 + yargs: 16.2.0 + yargs-parser: 20.2.4 + yargs-unparser: 2.0.0 + dev: true + + /monaco-editor-core/0.33.0: + resolution: {integrity: sha512-Kzxak8jnMS8vI08DcseBuOfeQlcVPpGXO210D8M+QnaNR92s4IYzgUeiow/Hld9Gi5pGvjDbPsdUXkPewoTA5g==} + dev: true + + /mri/1.2.0: + resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} + engines: {node: '>=4'} + dev: true /ms/2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} @@ -10801,6 +11406,17 @@ packages: thunky: 1.1.0 dev: true + /multimatch/4.0.0: + resolution: {integrity: sha512-lDmx79y1z6i7RNx0ZGCPq1bzJ6ZoDDKbvh7jxr9SJcWLkShMzXrHbYVpTdnhNM5MXpDUxCQ4DgqVttVXlBgiBQ==} + engines: {node: '>=8'} + dependencies: + '@types/minimatch': 3.0.5 + array-differ: 3.0.0 + array-union: 2.1.0 + arrify: 2.0.1 + minimatch: 3.1.2 + dev: true + /mute-stream/0.0.8: resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==} dev: true @@ -10813,6 +11429,12 @@ packages: thenify-all: 1.6.0 dev: false + /nanoid/3.3.1: + resolution: {integrity: sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + dev: true + /nanoid/3.3.4: resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -11129,6 +11751,10 @@ packages: boolbase: 1.0.0 dev: true + /nwsapi/2.2.2: + resolution: {integrity: sha512-90yv+6538zuvUMnN+zCr8LuV6bPFdq50304114vJYJ8RDyK8D5O9Phpbd6SZWgI7PwzmmfN1upeOJlvybDSgCw==} + dev: true + /nx/13.1.3: resolution: {integrity: sha512-clM0NQhQKYkqcNz2E3uYRMLwhp2L/9dBhJhQi9XBX4IAyA2gWAomhRIlLm5Xxg3g4h1xwSpP3eJ5t89VikY8Pw==} hasBin: true @@ -11363,7 +11989,6 @@ packages: prelude-ls: 1.1.2 type-check: 0.3.2 word-wrap: 1.2.3 - dev: false /optionator/0.9.1: resolution: {integrity: sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==} @@ -11571,6 +12196,10 @@ packages: engines: {node: '>=8'} dev: true + /pathval/1.1.1: + resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + dev: true + /pend/1.2.0: resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==} dev: false @@ -11730,6 +12359,21 @@ packages: find-up: 4.1.0 dev: true + /playwright-core/1.29.2: + resolution: {integrity: sha512-94QXm4PMgFoHAhlCuoWyaBYKb92yOcGVHdQLoxQ7Wjlc7Flg4aC/jbFW7xMR52OfXMVkWicue4WXE7QEegbIRA==} + engines: {node: '>=14'} + hasBin: true + dev: true + + /playwright/1.29.2: + resolution: {integrity: sha512-hKBYJUtdmYzcjdhYDkP9WGtORwwZBBKAW8+Lz7sr0ZMxtJr04ASXVzH5eBWtDkdb0c3LLFsehfPBTRfvlfKJOA==} + engines: {node: '>=14'} + hasBin: true + requiresBuild: true + dependencies: + playwright-core: 1.29.2 + dev: true + /postcss-import/14.1.0_postcss@8.4.20: resolution: {integrity: sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==} engines: {node: '>=10.0.0'} @@ -11897,7 +12541,6 @@ packages: /prelude-ls/1.1.2: resolution: {integrity: sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==} engines: {node: '>= 0.8.0'} - dev: false /prelude-ls/1.2.1: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} @@ -11938,6 +12581,22 @@ packages: react-is: 18.2.0 dev: true + /pretty-quick/3.1.3_prettier@2.8.1: + resolution: {integrity: sha512-kOCi2FJabvuh1as9enxYmrnBC6tVMoVOenMaBqRfsvBHB0cbpYHjdQEpSglpASDFEXVwplpcGR4CLEaisYAFcA==} + engines: {node: '>=10.13'} + hasBin: true + peerDependencies: + prettier: '>=2.0.0' + dependencies: + chalk: 3.0.0 + execa: 4.1.0 + find-up: 4.1.0 + ignore: 5.2.4 + mri: 1.2.0 + multimatch: 4.0.0 + prettier: 2.8.1 + dev: true + /print-flow/1.0.2: resolution: {integrity: sha512-yg5dgWP8pvtV0vWEQNXP47Nwnmt+3gOJg0EgH6mXfrUUlz/fVX7Xkif5gGMiSDMq3QGwswE3RoTlgzSMpRLs1g==} dependencies: @@ -12062,10 +12721,21 @@ packages: resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==} dev: true + /psl/1.9.0: + resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} + dev: true + /pstree.remy/1.1.8: resolution: {integrity: sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==} dev: true + /pump/3.0.0: + resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==} + dependencies: + end-of-stream: 1.4.4 + once: 1.4.0 + dev: true + /punycode/2.1.1: resolution: {integrity: sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==} engines: {node: '>=6'} @@ -12081,6 +12751,10 @@ packages: dependencies: side-channel: 1.0.4 + /querystringify/2.2.0: + resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} + dev: true + /queue-microtask/1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} dev: true @@ -12343,6 +13017,12 @@ packages: engines: {node: '>=0.10.5'} dev: true + /requirejs/2.3.6: + resolution: {integrity: sha512-ipEzlWQe6RK3jkzikgCupiTbTvm4S0/CAU5GlgptkN5SO6F3u0UD0K18wy6ErDqiCyP4J4YYe1HuAShvsxePLg==} + engines: {node: '>=0.4.0'} + hasBin: true + dev: true + /requires-port/1.0.0: resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} dev: true @@ -12561,6 +13241,13 @@ packages: /sax/1.2.4: resolution: {integrity: sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==} + /saxes/5.0.1: + resolution: {integrity: sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==} + engines: {node: '>=10'} + dependencies: + xmlchars: 2.2.0 + dev: true + /schema-utils/3.1.1: resolution: {integrity: sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==} engines: {node: '>= 10.13.0'} @@ -12731,6 +13418,14 @@ packages: engines: {node: '>=8'} dev: true + /shiki/0.10.1: + resolution: {integrity: sha512-VsY7QJVzU51j5o1+DguUd+6vmCmZ5v/6gYu4vyYAhzjuNQU6P/vmSy4uQaOhvje031qQMiW0d2BwgMH52vqMng==} + dependencies: + jsonc-parser: 3.2.0 + vscode-oniguruma: 1.7.0 + vscode-textmate: 5.2.0 + dev: true + /side-channel/1.0.4: resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} dependencies: @@ -13204,6 +13899,10 @@ packages: engines: {node: '>=0.10'} dev: true + /symbol-tree/3.2.4: + resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} + dev: true + /taffydb/2.6.2: resolution: {integrity: sha512-y3JaeRSplks6NYQuCOj3ZFMO3j60rTwbuKCvZxsAraGYH2epusatvZ0baZYA01WsGqJBq/Dl6vOrMUJqyMj8kA==} dev: false @@ -13464,10 +14163,27 @@ packages: nopt: 1.0.10 dev: true + /tough-cookie/4.1.2: + resolution: {integrity: sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ==} + engines: {node: '>=6'} + dependencies: + psl: 1.9.0 + punycode: 2.1.1 + universalify: 0.2.0 + url-parse: 1.5.10 + dev: true + /tr46/0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} dev: false + /tr46/3.0.0: + resolution: {integrity: sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==} + engines: {node: '>=12'} + dependencies: + punycode: 2.1.1 + dev: true + /traverse/0.3.9: resolution: {integrity: sha512-iawgk0hLP3SxGKDfnDJf8wTz4p2qImnyihM5Hh/sGvQ3K37dPi/w8sRhdNIxYA1TwFwc5mDhIJq+O0RsvXBKdQ==} dev: false @@ -13546,6 +14262,36 @@ packages: typescript: 4.9.4 dev: true + /ts-node/10.9.1_typescript@4.5.5: + resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} + hasBin: true + peerDependencies: + '@swc/core': '>=1.2.50' + '@swc/wasm': '>=1.2.50' + '@types/node': '*' + typescript: '>=2.7' + peerDependenciesMeta: + '@swc/core': + optional: true + '@swc/wasm': + optional: true + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.9 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.3 + acorn: 8.8.1 + acorn-walk: 8.2.0 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 4.5.5 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + dev: true + /ts-node/10.9.1_zpb5kzpnyozdjq4cwaojlul57u: resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true @@ -13629,7 +14375,6 @@ packages: engines: {node: '>= 0.8.0'} dependencies: prelude-ls: 1.1.2 - dev: false /type-check/0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} @@ -13680,6 +14425,21 @@ packages: resolution: {integrity: sha512-KNNZtayBCtmnNmbo5mG47p1XsCyrx6iVqomjcZnec/1Y5GGARaxPs6r49RnSPeUP3YjNYiU9sQHAtY4BBvnZwg==} dev: true + /typedoc/0.22.18_typescript@4.5.5: + resolution: {integrity: sha512-NK9RlLhRUGMvc6Rw5USEYgT4DVAUFk7IF7Q6MYfpJ88KnTZP7EneEa4RcP+tX1auAcz7QT1Iy0bUSZBYYHdoyA==} + engines: {node: '>= 12.10.0'} + hasBin: true + peerDependencies: + typescript: 4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x || 4.5.x || 4.6.x || 4.7.x + dependencies: + glob: 8.0.3 + lunr: 2.3.9 + marked: 4.2.5 + minimatch: 5.1.2 + shiki: 0.10.1 + typescript: 4.5.5 + dev: true + /typeorm-extension/2.4.1_typeorm@0.3.11: resolution: {integrity: sha512-dabV2fgy2xzL1p/2dS174F49JsUv2kRbZS3GZO89z3TmdeMUX5OX6Aa7l8ZJfQXhH8AaKuQ2HGbShu58FhZn0w==} hasBin: true @@ -13777,6 +14537,12 @@ packages: - supports-color dev: false + /typescript/4.5.5: + resolution: {integrity: sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==} + engines: {node: '>=4.2.0'} + hasBin: true + dev: true + /typescript/4.8.4: resolution: {integrity: sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==} engines: {node: '>=4.2.0'} @@ -13882,6 +14648,11 @@ packages: engines: {node: '>= 4.0.0'} dev: true + /universalify/0.2.0: + resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} + engines: {node: '>= 4.0.0'} + dev: true + /universalify/2.0.0: resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==} engines: {node: '>= 10.0.0'} @@ -13914,6 +14685,13 @@ packages: dependencies: punycode: 2.1.1 + /url-parse/1.5.10: + resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} + dependencies: + querystringify: 2.2.0 + requires-port: 1.0.0 + dev: true + /util-deprecate/1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -13978,6 +14756,72 @@ packages: engines: {node: '>=0.10.0'} dev: true + /vscode-css-languageservice/5.4.2: + resolution: {integrity: sha512-DT7+7vfdT2HDNjDoXWtYJ0lVDdeDEdbMNdK4PKqUl2MS8g7PWt7J5G9B6k9lYox8nOfhCEjLnoNC3UKHHCR1lg==} + dependencies: + vscode-languageserver-textdocument: 1.0.8 + vscode-languageserver-types: 3.16.0 + vscode-nls: 5.2.0 + vscode-uri: 3.0.3 + dev: true + + /vscode-html-languageservice/4.2.5: + resolution: {integrity: sha512-dbr10KHabB9EaK8lI0XZW7SqOsTfrNyT3Nuj0GoPi4LjGKUmMiLtsqzfedIzRTzqY+w0FiLdh0/kQrnQ0tLxrw==} + dependencies: + vscode-languageserver-textdocument: 1.0.8 + vscode-languageserver-types: 3.16.0 + vscode-nls: 5.2.0 + vscode-uri: 3.0.3 + dev: true + + /vscode-json-languageservice/4.2.0: + resolution: {integrity: sha512-XNawv0Vdy/sUK0S+hGf7cq/qsVAbIniGJr89TvZOqMCNJmpgKTy1e8PL1aWW0uy6BfWMG7vxa5lZb3ypuFtuGQ==} + dependencies: + jsonc-parser: 3.2.0 + vscode-languageserver-textdocument: 1.0.8 + vscode-languageserver-types: 3.16.0 + vscode-nls: 5.2.0 + vscode-uri: 3.0.3 + dev: true + + /vscode-languageserver-textdocument/1.0.8: + resolution: {integrity: sha512-1bonkGqQs5/fxGT5UchTgjGVnfysL0O8v1AYMBjqTbWQTFn721zaPGDYFkOKtfDgFiSgXM3KwaG3FMGfW4Ed9Q==} + dev: true + + /vscode-languageserver-types/3.16.0: + resolution: {integrity: sha512-k8luDIWJWyenLc5ToFQQMaSrqCHiLwyKPHKPQZ5zz21vM+vIVUSvsRpcbiECH4WR88K2XZqc4ScRcZ7nk/jbeA==} + dev: true + + /vscode-nls/5.2.0: + resolution: {integrity: sha512-RAaHx7B14ZU04EU31pT+rKz2/zSl7xMsfIZuo8pd+KZO6PXtQmpevpq3vxvWNcrGbdmhM/rr5Uw5Mz+NBfhVng==} + dev: true + + /vscode-oniguruma/1.7.0: + resolution: {integrity: sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==} + dev: true + + /vscode-textmate/5.2.0: + resolution: {integrity: sha512-Uw5ooOQxRASHgu6C7GVvUxisKXfSgW4oFlO+aa+PAkgmH89O3CXxEEzNRNtHSqtXFTl0nAC1uYj0GMSH27uwtQ==} + dev: true + + /vscode-uri/3.0.3: + resolution: {integrity: sha512-EcswR2S8bpR7fD0YPeS7r2xXExrScVMxg4MedACaWHEtx9ftCF/qHG1xGkolzTPcEmjTavCQgbVzHUIdTMzFGA==} + dev: true + + /w3c-hr-time/1.0.2: + resolution: {integrity: sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==} + deprecated: Use your platform's native performance.now() and performance.timeOrigin. + dependencies: + browser-process-hrtime: 1.0.0 + dev: true + + /w3c-xmlserializer/3.0.0: + resolution: {integrity: sha512-3WFqGEgSXIyGhOmAFtlicJNMjEps8b1MG31NCA0/vOF9+nKMUW1ckhi9cnNHmf88Rzw5V+dwIwsm2C7X8k9aQg==} + engines: {node: '>=12'} + dependencies: + xml-name-validator: 4.0.0 + dev: true + /walker/1.0.8: resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} dependencies: @@ -14008,6 +14852,11 @@ packages: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} dev: false + /webidl-conversions/7.0.0: + resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} + engines: {node: '>=12'} + dev: true + /webpack-cli/4.10.0_webpack@5.75.0: resolution: {integrity: sha512-NLhDfH/h4O6UOy+0LSso42xvYypClINuMNBVVzX4vX98TmTaTUxwRbXdhucbFMd2qLaCTcLq/PdYrvi8onw90w==} engines: {node: '>=10.13.0'} @@ -14236,6 +15085,34 @@ packages: engines: {node: '>=0.8.0'} dev: true + /whatwg-encoding/2.0.0: + resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} + engines: {node: '>=12'} + dependencies: + iconv-lite: 0.6.3 + dev: true + + /whatwg-mimetype/3.0.0: + resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==} + engines: {node: '>=12'} + dev: true + + /whatwg-url/10.0.0: + resolution: {integrity: sha512-CLxxCmdUby142H5FZzn4D8ikO1cmypvXVQktsgosNy4a4BHrDHeciBBGZhb0bNoR5/MltoCatso+vFjjGx8t0w==} + engines: {node: '>=12'} + dependencies: + tr46: 3.0.0 + webidl-conversions: 7.0.0 + dev: true + + /whatwg-url/11.0.0: + resolution: {integrity: sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==} + engines: {node: '>=12'} + dependencies: + tr46: 3.0.0 + webidl-conversions: 7.0.0 + dev: true + /whatwg-url/5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} dependencies: @@ -14309,6 +15186,10 @@ packages: resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==} engines: {node: '>=0.10.0'} + /workerpool/6.2.0: + resolution: {integrity: sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A==} + dev: true + /wrap-ansi/6.2.0: resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} engines: {node: '>=8'} @@ -14363,6 +15244,11 @@ packages: optional: true dev: true + /xml-name-validator/4.0.0: + resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} + engines: {node: '>=12'} + dev: true + /xml2js/0.4.23: resolution: {integrity: sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==} engines: {node: '>=4.0.0'} @@ -14376,6 +15262,10 @@ packages: engines: {node: '>=4.0'} dev: false + /xmlchars/2.2.0: + resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} + dev: true + /xmlcreate/2.0.4: resolution: {integrity: sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==} dev: false @@ -14410,6 +15300,11 @@ packages: engines: {node: '>=10'} dev: true + /yargs-parser/20.2.4: + resolution: {integrity: sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==} + engines: {node: '>=10'} + dev: true + /yargs-parser/20.2.9: resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} engines: {node: '>=10'} @@ -14418,6 +15313,16 @@ packages: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} + /yargs-unparser/2.0.0: + resolution: {integrity: sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==} + engines: {node: '>=10'} + dependencies: + camelcase: 6.3.0 + decamelize: 4.0.0 + flat: 5.0.2 + is-plain-obj: 2.1.0 + dev: true + /yargs/16.2.0: resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} engines: {node: '>=10'} @@ -14442,6 +15347,11 @@ packages: y18n: 5.0.8 yargs-parser: 21.1.1 + /yaserver/0.4.0: + resolution: {integrity: sha512-98Vj4sgqB1fLcpf2wK7h3dFCaabISHU9CXZHaAx3QLkvTTCD31MzMcNbw5V5jZFBK7ffkFqfWig6B20KQt4wtA==} + hasBin: true + dev: true + /yauzl/2.10.0: resolution: {integrity: sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==} dependencies: From 5990739c4d7a6a6a7b81b11e02b49417b95ba82f Mon Sep 17 00:00:00 2001 From: abuaboud Date: Sat, 14 Jan 2023 12:36:35 +0000 Subject: [PATCH 3/4] bumped frontend version --- docker-compose.yml | 2 +- packages/frontend/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index d92d69f744..3202c0b8f4 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,7 +26,7 @@ services: - activepieces frontend: - image: activepieces/frontend:0.1.72 + image: activepieces/frontend:0.1.73 container_name: activepieces-frontend restart: unless-stopped depends_on: [ backend ] diff --git a/packages/frontend/package.json b/packages/frontend/package.json index a237eb00d9..ea74523850 100755 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -1,6 +1,6 @@ { "name": "frontend", - "version": "0.1.72", + "version": "0.1.73", "scripts": { "ng": "ng", "start": "ng serve", From e060cf4dfd8f0787fea38c59c7b21455eeac425f Mon Sep 17 00:00:00 2001 From: abuaboud Date: Sat, 14 Jan 2023 15:07:18 +0000 Subject: [PATCH 4/4] bumped version 0.1.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0676c40dc7..30af629fde 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "activepieces", - "version": "0.1.2", + "version": "0.1.3", "license": "MIT", "scripts": { "start": "nx run backend:start & nx run frontend:start",